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,684
questions
0
votes
0
answers
21
views
'Skipping acquire' error messages when running 'sudo apt update' [duplicate]
I have started to get multiple 'Skipping acquired' error messages when running 'sudo apt update':
W: Skipping acquire of configured file '-security/binary-amd64/Packages' as repository 'http://archive....
-3
votes
1
answer
277
views
rtl8812au-dkms Error during upgrade Ubuntu 24.04
How to solve this problem?
When I wright this command "sudo apt-get upgrade" to upgrade the app. the following error is shown up in the end of the result:
Setting up rtl8812au-dkms (4.3.8....
-2
votes
0
answers
51
views
Error while installing spotify
I'm trying to install spotify without using snap to use spicefly
I'm using these commands to install it
curl -sS https://download.spotify.com/debian/pubkey_6224F9941A8AA6D1.gpg | sudo gpg --dearmor --...
0
votes
2
answers
52
views
copy some apt packages so that they can be installed offline [duplicate]
Often I have to use a live cd installation of Ubuntu like the 20.04 lts.
I found that there are lot of tools and packages that are missing like brasero and wodim
However I'm unable to always access ...
0
votes
1
answer
90
views
Ubuntu server 22.04 installing Nvidia drivers with libnvcuvid1 without also installing GUI
I have had a working setup using tdarr inside a docker container for multiple months now, but it stopped working after an update to the container and my ubuntu packages.
Tracking down the issue led me ...
-1
votes
0
answers
105
views
Post Ubuntu 24.04 LTS install Errors on http://security.ubuntu.com after apt upgrade command
It says connection failed. But I can successfully ping these IP addresses.
This is the error output.
Err:2 http://security.ubuntu.com/ubuntu noble-updates/main amd64 libwebkit2gtk-4.1-0 amd64 2.44.2-...
0
votes
0
answers
135
views
apt update unable to connect after kernel upgrade
Ubuntu 24.04 (upgraded from a long sequence of earlier releases). I recently updated from 6.8.0-31-generic kernel to 6.8.0-35-generic. After restarting the system, apt update could no longer connect ...
3
votes
3
answers
2k
views
Missing Signed-By in the sources.list(5) entry after installing Ubuntu 24.04
Hope you are doing well. The problem started to show up after I upgraded Ubuntu 23.10 ---> Ubuntu 24.04 LTS (through the Gnome Software Updater).
Here is the output of the sudo apt update -y ...
0
votes
1
answer
54
views
apt install with specific version cannot find prior version
I am trying to install specific package versions to maintain my production server in sync with my staging system. When I specify the version I get this:
root@ip-172-19-69-40:~/installs# apt install ...
-1
votes
1
answer
115
views
sudo apt update not working getting the error shown below [duplicate]
I am using Ubuntu 24.04. sudo apt install, sudo apt update or sudo apt upgrade, any of these type of commands that start with sudo apt are not working and giving this output. I just changed some ...
0
votes
0
answers
57
views
ssmtp question 22.04.4 and 22.04.3
why I cant use sudo apt-get install ssmtp mailutils at version 22.04.4,but 22.04.3 can do it?
if I use sudo apt-get install ssmtp mailutils ,the error reason is "ssmtp is not available"
0
votes
1
answer
62
views
"ModuleNotFoundError: No Module named apt_pkg" Occuring For All apt Related Commands; Ubuntu [Xubuntu] 22.04, No Solutions Working
Just today I was attempting to install something through the terminal and noticed that running 'sudo apt update' gave me a strange error I don't normally see. In an attempt to fix this, I ended up ...
0
votes
1
answer
371
views
How to install intl and imagick library for PHP8.3 on Ubuntu 22.04
I have PHP8.3 installed on Ubuntu 22.04. However, when I install WordPress, it suggests two PHP modules have to be enabled, intl and imagick.
I search the apt repository, and notice that both ...
-1
votes
0
answers
19
views
Dual boot system fails after switching out of x.org x server
I switched out of the X.org X server today to Nvidia graphics driver and now my Ubuntu or Windows won't boot correctly. I found a temporary solution by switching out of RAID On to AHCI but I want to ...
-1
votes
0
answers
16
views
How can I install this apt package without wifi or ethernet access? [duplicate]
Running Ubuntu 22.04.4 LTS
The Alder Lake-P PCH CNVi wifi controller on my lenovo yoga slim 7 pro is incompatible with my current network drivers. Or thats at least what it seems like since the ...
0
votes
0
answers
25
views
24.04 LTS || Unable to install Tomcat 9 - "Package 'tomcat9' has no installation candidate" [duplicate]
I'm trying to install Tomcat 9 on my Ubuntu system using `*
sudo apt-get install tomcat9
but I keep running into the following error:
monirul@nitacl-Veriton-Series:~$ sudo apt-get install tomcat9 ...
0
votes
0
answers
38
views
How do I get rid of these errors when running apt-get update on Ubuntu? [duplicate]
How do I get rid of these errors when running apt-get update on Ubuntu?
I have tried asking ChatGPT. It provided answers, and I tried them but the issue still persists.
root@localhost:~# sudo apt-get ...
0
votes
1
answer
32
views
How to fix libpoppler-qt5-1 dependency on older package
I'm trying to install the packages krop and kile on my Ubuntu 22.04.04 (Jammy) system:
sudo apt-get install krop
I get the following error: packages have unmet dependencies
The following packages ...
0
votes
0
answers
56
views
how to upgrade unsupported ubuntu 23.04 to 23.10 [duplicate]
I haven’t been able to update Ubbuntu from 23.04 to 23.10 for several months, I tried changing servers
serg@serg-HP-Laptop-14s-fq0xxx:~$ sudo apt-get update
Hit:1 https://repo.yandex.ru/yandex-browser/...
-1
votes
0
answers
44
views
How to reinstall some package from scrach?
I installed cassandra via sudo apt-get install cassandra and then something wasn't working, so I removed it via sudo apt remove cassandra and also removed by hand several directories mentioned here:
...
1
vote
1
answer
43
views
Ubuntu server installation stuck at "configuring apt"
I am turning a laptop I don't need into an ubuntu server, but when I get to the installing system section the installation gets stuck at "configuring apt". I have been waiting for 2 hours to ...
4
votes
1
answer
1k
views
Installing nvidia drivers on 24.04 is an impossible task
My expectation is that installing drivers is a ten minute task, max.
My actual result is that it's taken two, three days of work to get no results.
sudo apt install nvidia-driver-535-open followed by ...
-1
votes
0
answers
49
views
How to install SQL on Ubuntu 20.04
I am trying to install SQL19 on Ubuntu and I am having issues.
My command and the resulting error messages follow:
sudo apt-get install mssql-tools18 unixodbc-dev
Reading package lists... Done
...
0
votes
0
answers
32
views
repository 'file:/cdrom noble Release' no longer has a Release file [duplicate]
I just installed Ubuntu 24.04, however after running 'sudo apt update' after installation it gives a strange result:
E: The repository 'file:/cdrom noble Release' no longer has a Release file.
N: ...
-1
votes
0
answers
81
views
NVIDIA Driver Issues, Sub-process /usr/bin/dpkg returned an error code (1)
I am trying to get steam and dota 2 to work on my machine, it's using Ubuntu (game worked on the same machine running windows).
I think maybe there might be a driver issue
Errors ...
-2
votes
0
answers
26
views
apt update monitoring via glances
Is there a mechanism to distribute apt update status via glances so that I can see that there are updates needed alongside the other telemetry that glances provides e.g. cpu load, disk usage, temp, ...
0
votes
0
answers
52
views
Upgrade from 20.04.4 LTS to 22.04 Fails
Running do-release-upgrade fails with a log of
2024-06-01 08:32:52,160 DEBUG Upgradable, but held- back:
2024-06-01 08:32:52,160 DEBUG Remove:
2024-06-01 08:32:52,160 DEBUG Install:
2024-06-01 ...
0
votes
0
answers
47
views
E: Unable to locate package libncurses5 [duplicate]
Ubuntu 24.04 LTS
I am trying to build AOSP from source. I am unable as I recieve this error:
error while loading shared
libraries:
libncurses.so.5: cannot
open shared object file:
...
-1
votes
1
answer
151
views
something is broken while trying to install anything using apt install. Can't install any nvidia driver or Nodejs, can't apt purge
I found this error today while trying to install a nvidia driver for my clean ubuntu install.
sudo ubuntu-drivers install fails:
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is ...
0
votes
0
answers
14
views
Problem with updating on Ubuntu Server [duplicate]
How can I fix this update issue?
0
votes
0
answers
22
views
Upgrade Issues on Ubuntu 18.04 LTS: Stuck Despite All Updates Installed [duplicate]
Hello Ubuntu Community,
I am facing a challenge while trying to upgrade from Ubuntu 18.04 LTS and seek your expertise. Here's a detailed description of my issue:
Issue Description:
Attempting to run ...
0
votes
2
answers
134
views
public key is not available: NO_PUBKEY
I am running UBUNTU 23.04 and trying to update it in order to upgrade tot 24.04lts.
During the process I get several times the below mentioned error message. The upgrade is then aborted.
Why do I get ...
0
votes
1
answer
63
views
libeccodes-data update error while upgrading from 23.10 to 24.04
While upgrading my Ubuntu version from 23.1 to 24.04, the installation of the package libeccodes-data failed - while unpacking (2.34.1-1build2) on (2.31.1-1). dpkg could not open
/usr/share/eccodes/...
1
vote
0
answers
166
views
Some third party sources weren't added back after 24.04 upgrade
So, I recently upgraded from 23.10 to 24.04. This wasn't a issue in other minor upgrade, but it seems that my third party repos for vscode weren't turned added back to sources after the upgrade was ...
0
votes
0
answers
81
views
Unmet dependency on libodbc2 blocks apt from functioning, including attempts to reinstall libodbc2
Currently running Ubuntu 23.10, I can't install or update any packages using apt or upgrade Ubuntu to 24.04. When I try to run sudo apt upgrade, or install any packages through apt, it gives me the ...
-1
votes
1
answer
36
views
Why apt remove tries to remove a file that matches the package name pattern?
At Ubuntu Desktop 22.04 is installed VirtualBox 7 and if exists the /home/<username>/deb directory - deb is a custom directory - and there is located the virtualbox-7.0_7.0.14-161095~Ubuntu~...
0
votes
0
answers
24
views
Conflicting values set for option Signed-By regarding source [duplicate]
After I installed postgresql, i have errors:
E: Des valeurs entrant en conflit ont été renseignées pour l'option Signed-By à propos de la source https://apt.postgresql.org/pub/repos/apt/ noble-pgdg: /...
0
votes
0
answers
26
views
how to remove postgresql completely? [duplicate]
in my kubuntu postgres is install but i have to remove from my system.
but when remove from my system by this command
dpkg -l | grep postgres
and :
sudo apt-get --purge remove postgresql-common
I ...
1
vote
0
answers
56
views
Error reading CPU table when running `apt` inside a chroot environment on Ubuntu server
Following this question, I am trying to set up a chroot environment on my Ubuntu server running on a Raspberry Pi. Here are the steps I followed to create the chroot environment:
mkdir -p myenv
mkdir -...
0
votes
0
answers
29
views
problem in reinstall postgresql on ubuntu
I had installed postgresql 16. I deleted postqresql using the following commands:
sudo apt-get --purge remove postgresql postgresql-*
dpkg -l | grep postgres
sudo apt-get --purge remove postgresql ...
0
votes
0
answers
78
views
How to install Rancher Desktop on Ubuntu Server 24.04? [duplicate]
I tried to install Rancher Desktop on Ubuntu Server 24.04.
This is the official guide:
https://docs.rancherdesktop.io/getting-started/installation/#linux
I did every setting before installation.
But ...
0
votes
0
answers
79
views
Errors during updates (key issue)
So I have updated my system and sources list only to get errors during apt update about the keyring. I have attempted to restore the keystores with success excluding one key. Here is a list of the ...
5
votes
2
answers
1k
views
When did `apt` output change to include "Done" after "Building dependency tree"?
Recently, I noticed that there was something different about the output from apt update and apt upgrade. After looking at earlier output, the difference seems to be the addition of ... Done after ...
0
votes
1
answer
99
views
E: Malformed entry 1 in sources file /etc/apt/sources.list.d/ubuntu-esm-apps.sources (Suite) [duplicate]
I recently upgraded to ubuntu 24.04. When I run apt update I get the error: Malformed entry 1 in sources file /etc/apt/sources.list.d/ubuntu-esm-apps.sources (Suite)
How can I resolve this?
0
votes
1
answer
56
views
'apt' system now producing "N: Skipping acquire of configured file..."
My errors say NOTHING about "i386".
Ubuntu 22.04 - seems the problem began after retiring Cinnamon DE, replacing with MATE.
(sudo apt update)
Hit:1 https://brave-browser-apt-release.s3.brave....
0
votes
0
answers
14
views
Ubuntu Error in 'sudo apt update' ROS installation [duplicate]
I'm getting this error when trying to install ROS Noetic. I've tried quite a few fixes on this website, but none work. Would appreciate it if someone looked over and suggested fixes:
sudo apt update
...
0
votes
0
answers
58
views
Manually Building LLVM: libstdc++ version must be atleast 7.4
I am currently trying to install/build LLVM and MLIR on my machine, and have everything set up das suggested by LLVM/MLIR. This is the 'CMake' call I make:
cmake -G Ninja ../llvm -...
-2
votes
1
answer
83
views
I am new to ubuntu and i am trying to install but it does not work after I write sudo apt update or sudo apt install some errors appears [duplicate]
I am new to ubuntu and i am trying to install but it does not work fter I write sudo apt update or sudo apt install some errors appears and i dont know what it means.Please help
These are the errors:
...
1
vote
1
answer
564
views
How to use apt to install MySQL 8.0.37 on Ubuntu 22.04
A scan detected that MySQL 8.0.36 has risks, but the latest version available for Ubuntu 22.04 is still MySQL 8.0.36. Do I need to manually download and update MySQL to 8.0.37?
https://www.oracle.com/...
0
votes
0
answers
7
views
How to create an upgrade script that runs without a password [duplicate]
I installed Ubuntu on my sons laptop that he will be using for school, as such I don't want him to have the password just yet. I would still like him to be able to run these three commands to update, ...