Questions tagged [apt]
APT is short for Advanced Packaging Tool, the package manager for Debian-based distributions. It is also the most used tool for installing packages in Ubuntu. Questions about using any of the apt commands should use this tag.
17,511
questions
1
vote
1
answer
2k
views
Repository no longer has Release file during apt-get [duplicate]
I am running Ubuntu 18.04 in WSL1 on my Windows computer
When I try to run apt-get update I see the following in the output:
Err:8 https://dl.bintray.com/sbt/debian Release
404 Not Found [IP: 3....
0
votes
1
answer
250
views
Dependency problem libsensors4
I just tried upgrading from Ubuntu 18.04 to 20.04. The upgrade seems to have been successful. However, I cannot get away with dependency problems with libsensors4.
Running sudo apt upgrade yields:
...
1
vote
0
answers
3k
views
How to remove Ubuntu Pro from a machine?
What is the process to stop using Ubuntu Pro and return the machine to what would have been it's general configuration before using Ubuntu Pro?
I've done "sudo pro detach" which said it ...
0
votes
0
answers
49
views
Can't install .deb files (or any packages, it seems) [duplicate]
I just installed ubuntu, and anytime I try to open a .deb file, it just opens up in the archive manager. When I try to open with another application, there's no option for "software install" ...
1
vote
0
answers
47
views
apt update can't find http://us.archive.ubuntu.com/ubuntu/pool/universe/m/mutter/mutter_42.9-0ubuntu1_amd64.deb
I ran apt update today after maybe 6 months and it can't find mutter_42.9-0ubuntu1_amd64.deb. If I browse the archive URL with Firefox, I can see the following:
mutter_42.9-0ubuntu5_amd64.deb 2023-09-...
0
votes
0
answers
173
views
Attempting to upgrade to latest release from 22.10 and I get this error [duplicate]
I can see that it looks like the system is unable to reach these packages that don't exist on the source server(s) but ... trying to change to different ones in the Updating Settings GUI doesn't seem ...
2
votes
1
answer
3k
views
Is there a way to install python 3.12 on ubuntu 23.04 through apt?
There's no python 3.12 in Main or Universe and deadsnakes doesn't support it for 23.04. I'm hoping to avoid having to compile it from source (since I want to use it in Docker images based off of 23.04)...
0
votes
0
answers
95
views
/usr/lib/ubuntu-advantage/apt-esm-hook: error while loading shared libraries: libapt-pkg.so.5.0: cannot open shared object file: No such file or
although I've seen similar issues googling, none of the proposed solutions seem to work in my case.
Getting this message when using apt. libapt-pkg.so.5.0 does not seem to be part of release 20.04 and ...
0
votes
1
answer
942
views
Error while upgrading Ubuntu 20.04 to 23.04 , installed linux-headers-6.2.0-33-generic package
installed linux-headers-6.2.0-33-generic package post-installation script subprocess returned error exit status 1
After upgrading it is showing like this:
sudo apt upgrade
Reading package lists... ...
-1
votes
1
answer
1k
views
Cannot install ubuntu-desktop on Ubuntu 22.04 LTS
I am sorry for this newbie question. I removed my desktop manager and many gnome packages by mistake in my Ubuntu 22.04 LTS.
I tried sudo apt install ubuntu-desktop, which leads to:
Reading package ...
0
votes
0
answers
467
views
sudo apt-get update returns 400 Bad Request
After 20 years+ of using UNIX/Linux, I don't mind admitting that the problem described below has beaten me.
I run Ubuntu 22.04.3 LTS, and I try to ensure that updates are installed every week. But ...
1
vote
1
answer
240
views
error processing package initramfs-tools (--configure):
I'm installing openstack in Virtual Box ubuntu VDI 22.04.
I try tu run
./stack.sh
But i get error message :
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or ...
1
vote
0
answers
149
views
How do I install 32-bit Mono in Ubuntu 20.04
I have a Windows app that requires a 32-bit runtime to execute with Mono. I have installed Mono 5.x (a requirement, it can't use 6.x or later) from archive.org using these commands:
sudo apt install ...
0
votes
0
answers
715
views
Unable to add kisak-mesa PPA following the command on Launchpad
I am trying to add the kisak-mesa PPA to my system. I usually add PPAs by following the instructions on Launchpad. For this PPA, the instructions look like this:
However, when I run sudo add-apt-...
1
vote
1
answer
153
views
Volian Scar repo wants to update python3-anyio, but this gives dependency problems
I'm using Ubuntu 22.04.3 Server. I've installed nala using the Volian Scar repo. Recently, this repo has included a number of updated Python 3 packages, including python3-anyio.
However, this ...
0
votes
0
answers
124
views
Failed system update and waydroid error [duplicate]
I am currently using Ubuntu 22.04.3LTS and when i try updating i recieve this error:
When i try updating I recieve this error
404 Not Found [IP: 205.185.118.53 443]
...
0
votes
0
answers
569
views
Attempting to install, uninstall, or update anything results in the same error code
I run sudo apt update and then sudo apt upgrade and the following displays:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
...
0
votes
2
answers
1k
views
WSL 2, Ubuntu 22.04: apt-get update 403 authenticationrequired [closed]
I have a fresh install of WSL 2 with Ubuntu 22.04 and I cannot perform an sudo apt-get update because of a 403 authentication required error (the full output is at the end).
EDIT0: I am running this ...
0
votes
0
answers
708
views
apt cannot find header files: linux-image-unsigned-6.5.0-060500-generic
When I run anything with apt, it tells me to install missing header files. For example, running sudo apt updgrade produces:
Reading package lists... Done
Building dependency tree... Done
Reading state ...
0
votes
1
answer
93
views
Unable to reinstall vlc
OS: Ubuntu 20.04.4 LTS x86_64
I was trying to download and compile VLC ...
During that process I have broken already installed vlc
Reinstalling does not help.
Here is what I have tried so far:
apt ...
0
votes
0
answers
74
views
How to install easytag or Ex Falso on 20.04.5
When trying to install easytag I get the following error message:
Unable to install gnome-easytag: cannot perform the following tasks
Trying to install exfalso gives the following error message :
sudo ...
0
votes
0
answers
29
views
E: Package 'snapd' has no installation candidate. Snap not installed and is not available [duplicate]
I'm new to Ubuntu and Linux as a whole. I accidentally deleted snap and tried to reinstall it, but I've also been having issues installing other packages.
After inputting sudo apt install snapd, I get ...
0
votes
2
answers
274
views
One of three systems doesn't upgrade to the latest kernel
Three systems, two show ls /boot config-6.2.0-33-generic config-6.2.0-34-generic, The third shows config-6.2.0-32-generic config-6.2.0-33-generic. uname -sr is still Linux 6.2.0-33-generic.
I have ...
0
votes
0
answers
147
views
Everytime i try to install something i get this error: dpkg: unrecoverable fatal error, aborting:
Hey everytime i try to apt install something i get an error
dpkg: unrecoverable fatal error, aborting:
loading files list file for package 'linux-hwe-6.2-headers-6.2.0-33': cannot read /var/lib/dpkg/...
-1
votes
1
answer
165
views
The Internet works fine until Ubuntu wants to perform an update! [duplicate]
I'm able to connect to the Internet (I'm typing this message on the same machine) but Ubuntu won't connect to my net connection when trying to update the OS and software, both via the GUI and via the ...
0
votes
0
answers
27
views
Failed to fetch error while downloading wine in different country [duplicate]
I set up my computer in the USA, so my sources.list file is the default USA sources.list. I am, however, now based in mainland China. I am trying to install wine using the command
sudo apt install ...
0
votes
0
answers
297
views
Rcraid-dkms compilation error in apt install
I`m trying install rcraid-dkms in my Ubuntu 22.04.3 system new installation. When I make a
sudo apt install rcraid-dkms
, the process results in a compilation error because It can not find any .h ...
0
votes
0
answers
20
views
This does not seem to be an official Ubuntu Package. Please retry after updating the indexes of available packages [duplicate]
From time to time all kind of applications (like Upwork, Visual Code) running on Ubuntu crashing suddenly. When I open the report tool that pops up and look for the specific error which caused the ...
0
votes
0
answers
29
views
failed to fetch libraries for openssh-server + Temporary failure resolving software sources [duplicate]
I tried many ways like tried to find here gone through http://in.archive.ubuntu.com folders.
0
votes
0
answers
30
views
What happened to the Bionic Beaver openjfx 8 libraries? [duplicate]
I'm trying to install JavaFX for Java 8 on Ubuntu 22.04.3 LTS.
I saw the answer at Installing Old Package from Old Ubuntu to New version of Ubuntu modified my sources list and issued the commands, but ...
0
votes
0
answers
183
views
sudo add-apt-repository ppa: is throwing errors
Trying to add multiple repositories to my Ubuntu 22.04 vm and I'm getting this error. This occurs with all repo's I try to add. What's going on here? What's the fix?
kaplah@UbuntuARM:~$ sudo add-...
0
votes
0
answers
48
views
ttf-mscorefonts-installer gives "system problem detected"
I was trying to get vlc to read encrypted dvds. So I was trying to get libdvdcss. I read somewhere (sorry, I can't remember more than what I am saying) that it came in a bundle package, so I apt ...
-2
votes
1
answer
443
views
Unable to locate package for very package [duplicate]
I'm new to Linux and I want to use it as my main os but I got a problem while installing apps
For example I type :
sudo apt install chromium-browser
It says unable to locate package
I know it's so ...
-1
votes
3
answers
3k
views
E: Unable to correct problems, you have held broken packages. installing nvidia-driver 535
sudo apt install nvidia-driver-535
The following packages have unmet dependencies:
nvidia-driver-535 : Depends: libnvidia-compute-535 (= 535.104.12-0ubuntu1) but 535.113.01-0ubuntu0.22.04.3 is to be ...
1
vote
0
answers
39
views
apt-get remove wants to remove and upgrade at the same time
I updated an installation of postgresql-14 following this document:
https://www.kostolansky.sk/posts/upgrading-to-postgresql-15/
Everything worked fine until I entered sudo apt-get remove postgresql-...
1
vote
2
answers
990
views
Ubuntu 20.04 stuck on boot screen : unmet dependencies after version upgrade
I tried to upgrade from Ubuntu 18.04 to 20.04 on a dual booted system with Windows. There was some issue during upgrade and system rebooted. It restarted fine and then as I continued with the upgrade, ...
0
votes
1
answer
113
views
apt-get update problem
When i connect to my phone hotspot on my pc it connect normally and internet is ok but when i use the command sudo apt-get update doesn't work some errors appears, but when i use another phone it ...
0
votes
1
answer
342
views
Python disfunctional after upgrading to Ubuntu 22.04
I just upgraded to Ubuntu 22.04 (WSL) and somehow my Python is all messed up.
When I load Ubuntu, I get:
/usr/bin/env: ‘python3’: No such file or directory
/usr/bin/env: ‘python3’: No such file or ...
0
votes
1
answer
833
views
Cannot install `libdrm-dev` on Ubuntu 20.04 because it requires dependencies which are older than what I have
$ sudo apt install libdrm-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
...
0
votes
1
answer
4k
views
Installing displaylink-driver on Ubuntu 20.04: unmet dependency `evdi`
I'm trying to follow my own installation instructions here: USB to HDMI adapter that works with Ubuntu. They work great on Ubuntu 22.04, but not 20.04. On 20.04 when I do the sudo apt install ...
0
votes
1
answer
276
views
System display time is out of sync with specified install time on Ubuntu 22.04.02 LTS install
On installing Ununtu 22.04.02 LTS from a USB key on to an HP Pavilion Laptop. I have encountered the following problem:
When I run sudo apt update && sudo apt upgrade -y
I get:
E: Release file ...
4
votes
2
answers
532
views
How to fix the error of complete removing python from Ubuntu 20.04 [duplicate]
I made a stupid mistake of complete deleting python 3.10 from my laptop with Ubuntu 20.04, when I tried to update it to 22.04 version. After doing this, I can only access tty1 mode (i.e. a black ...
0
votes
0
answers
2k
views
(Ubuntu 22.04.3 LTS) Cannot install python3-pip, error message (code 1) appear
I have a problem when trying to install python3-pip on Ubuntu 22.04.
I got the Ubuntu from here and run on USB drive. Then as python3/pip is in the universe repository, I enabled the universe ...
0
votes
0
answers
20
views
Upgrading an old dusty 20.04 installation on a new motherboard, ethernet not working
I have an old 20.04.1 Ubuntu installation that wasn't touched since 2020, that I need to boot on to revive an old development project that was let unfinished. The motherboard & CPU changed and are ...
0
votes
0
answers
22
views
No apt_pkg and black screen after installing Python version [duplicate]
I was having some trouble installing things due to a python library not being found. I don't remember exactly, but I may have installed a different python version.
Now on start up my screen is black ...
0
votes
0
answers
144
views
Is it safe to remove linux-generic-hwe-20.04?
After upgrading Kubuntu 20.10 to 21.04 to 21.10 to 22.04 LTS I now had both linux-generic-hwe-20.04 and linux-generic-hwe-22.04 installed. Weirdly enough when I tried to remove linux-generic-hwe-20.04 ...
0
votes
0
answers
25
views
Install ros2 humble desktop in my Ubuntu it shows E : unable to locate package [duplicate]
I am trying to install ros2 humble desktop in my Ubuntu it shows:
E : Unable to locate package ros-humble-desktop
Issues I faced during dual boot and installing ros2
0
votes
0
answers
244
views
Can't remove Nvidia linux module
I'm trying to remove a specific nvidia linux module but it doesn't work:
sudo dpkg --remove --force-remove-reinstreq linux-modules-nvidia-525-5.15.0-84-generic
which returns:
Reading database...
...
0
votes
1
answer
332
views
problems in running sudo apt update and upgrade [duplicate]
this is the output:
Ign:2 ://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:1 ://archive.ubuntu.com/ubuntu jammy InRelease
Err:2 ://security.ubuntu.com/ubuntu jammy-security InRelease
...
0
votes
0
answers
27
views
Ubuntu 22.04.3 LTS "cal" cmd is not working [duplicate]
I attempted to install 'ncal' using 'sudo apt install ncal,' but I encountered multiple errors:
I also tried 'sudo apt install command-no-found,' and the results were identical:
.