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,495
questions
1
vote
0
answers
34
views
[solved]; I encounter this after running sudo apt upgrade
I encounter this after running sudo apt upgrade in ubuntu 22.04
dpkg: error processing package linux-hwe-6.5-headers-6.5.0-26 (--configure):
package is in a very bad inconsistent state; you should
...
0
votes
0
answers
61
views
apt update stuck at "Generating grub configuration file"
Running Ubuntu 22.04.4 LTS for a long time now.. Never any problems, but today when I did an apt upgrade things seemed to get stuck (see further below for entire log):
update-initramfs: Generating /...
1
vote
1
answer
30
views
Can't go through "sudo update" because of GPG key error [duplicate]
I could before, this error started to pop up and after that I wasn't able to:
7,898 kB were fetched in 2 s (3,370 kB/s).
Reading package lists… Done
Building dependency tree… Done
Status information ...
0
votes
0
answers
15
views
apt mirror not providing a specific package version
I have a private mirror setup mostly to keep older version of packages. Recently I faced and issue where a specific version of the package which I wanted to install are not available via apt even ...
0
votes
0
answers
30
views
fix-broken install not working?
I have just tried to install the Nvidia Cuda and cudnn. But now when I try to run command upgrade, it shows this error:
You might want to run 'apt --fix-broken install' to correct these.
The following ...
0
votes
0
answers
25
views
Remove an old Kernel
My network adapter wasn't supported when I initially installed Ubuntu server 20.04. This was several years ago, and my memory of how I addressed the issue is pretty foggy; I'm fairly certain that I ...
1
vote
2
answers
41
views
emacs: libotf.so missing
I'm new to ubuntu and linux in general and I'm trying to install FUSE so I can install .appimage files. But when I try to install or upgrade something using apt or apt-get i get this error:
emacs: ...
4
votes
1
answer
105
views
sudo apt-get upgrade errors
I get the following errors when running the apt-get upgrade:
dpkg: error processing package nfs-common (--remove)
cannot remove /sbin/umount.nfs4: Bad message
E: Sub-process /usr/bin/dpkg returned an ...
2
votes
1
answer
111
views
How to install Python 3.12 on Ubuntu 23.10?
I did several wrong things for my first day on Ubuntu when trying to code with Python, so I just reinstalled it. Can anyone tell me the best way to install Python here? I am using Ubuntu 20.04, and I ...
0
votes
0
answers
45
views
My sudo apt install command is weird after following some instruction
I'm using WSL and I want to download libpng. And so, initially I typed:
sudo apt -y install libpng-dev
and it worked until it returned cannot access archive.ubuntu or something like that (I don't ...
0
votes
0
answers
104
views
Got a dpkg warning during update
After doing a standard update-upgrade I got 2 warning messages highlighted in orange color:
dpkg: warning: unable to delete the old directory '/var/lib/ubuntu-advantage': Directory not empty
dpkg: ...
0
votes
1
answer
27
views
Ubuntu 23.10 - Update Problems (Some index files failed to download) [duplicate]
I can't seem to get apt to update - aside from having deb-src packages enabled and docker and mozilla repos my apt config should be fairly standard (and it doesn't seem like they're the problem anyway)...
0
votes
1
answer
31
views
"libvir" not found in "sudo apt install libvir"
I want to install Qemu on ubuntu 22.04 following this tutorial
However, when I enter sudo apt install libvir I get
E: Unable to locate package libvir
Does anyone know whats wrong with my system? (I ...
0
votes
0
answers
35
views
Failed to install initramfs-tools
Im running Ubuntu server 20.04LTS. I had an error of apt install, please tell me what I should do to solve this problem.
image: img-5.15.0-1023-azure
Command:
sudo apt-get install -reinstall initramfs-...
0
votes
0
answers
45
views
malformed entry 1 in list error
When I run sudo apt upgrade in my terminal, I have this message:
E: Malformed entry 1 in list file /etc/apt/sources.list.d/vscode.list (URI)
E: The list of sources could not be read.
E: Malformed ...
1
vote
0
answers
36
views
NO_PUBKEY error of apt update
I'm trying to perform apt-update on ubuntu 22.04 LTS and I get an error
root@kisharra:~# apt update
Hit:1 http://apt.postgresql.org/pub/repos/apt jammy-pgdg InRelease
Hit:2 http://ru.archive.ubuntu....
0
votes
0
answers
32
views
It it safe to remove GA kernels when using HWE?
I am running Ubuntu 22.04 with ZFS on root. My boot partition is only 1.8GB - I find that it is constantly running out of space with snapshots of just a couple kernel updates.
dpkg -l | grep linux-...
0
votes
1
answer
89
views
24.04 updates - how does it work? [duplicate]
I need to build a new server. To avoid a distribution upgrade in a few weeks I was considering installing a pre release version of 24.04. I have a couple of questions though. Will I be able to use the ...
-2
votes
0
answers
41
views
Deprecated apt-key [closed]
There is a fundamental problem in apt, because it unconditionally trusts all keys in the key ring /etc/apt/trusted.gpg plus all keys in /etc/apt/trusted.gpg.d. Trust is not restricted to particular ...
0
votes
0
answers
12
views
Problems installing packages using apt in Wubuntu [duplicate]
I have problems installing most packages, after installing the Wubuntu distribution, what should I do?
bin4ry@bin4ry-desktop:~$ sudo apt install libsdl2-dev
Reading package lists... Done
Building ...
0
votes
0
answers
45
views
Why does ls -l /etc/apt/trusted.gpg.d list key files twice?
This happens in Xubuntu 22.04.3 LTS.
Look at this:
$ ls -l /etc/apt/trusted.gpg.d
insgesamt 20
-rw-r--r-- 1 root root 392 2024-02-03 17:36 atareao-ubuntu-atareao.gpg
-rw-r--r-- 1 root root 0 2024-...
0
votes
0
answers
23
views
Installing dependency for cocos2dx on ubuntu 22.04
Getting error while trying to install dependency for cocos2dx v4.0 on ubuntu 22.04
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
Output -
Reading package lists... Done
Building ...
2
votes
0
answers
73
views
libreoffice-calc, draw, and impress (ARM64) were automatically removed and are no longer installable
This is a headless Ubuntu 23.10 (ARM64 architecture) server, originally installed several years ago. Yesterday, as part of a routine software (patch) upgrade, the following was done (from /var/log/apt/...
0
votes
0
answers
22
views
Telnetd not working ubuntu server 23.10
I am trying to set up telnet server in my ubuntu server 23.10 machine. I am able to install telnetd service and gives me no error but when i try to see if its running using netstat -ltp and there is ...
3
votes
0
answers
157
views
apt-get update fails due to NO_PUBKEY in FIPS mode
I encountered some common errors while running apt-get update - no public keys.
My Ubuntu is in fips mode, version 5.4.0-1092-fips.
The errors I'm seeing while running apt-get update is
Err:5 https://...
0
votes
0
answers
24
views
Packages have unmet dependencies - GUI gone and stuck in tty1 [duplicate]
Installed this DisplayLink driver via APT, and after the reboot, Ubuntu 22.04.4 LTS goes into tty1.
What I tried:
sudo apt install --reinstall ubuntu-desktop
sudo apt -f install
sudo apt update --fix-...
0
votes
3
answers
618
views
Unable to remove nvidia and cuda drivers
Question
Regardless of how I got here, I really just want to completely remove nvidia and cuda drivers and reeinstall them. But, no matter what I do, I can't get rid of them.
Background
I'm on Ubuntu ...
0
votes
1
answer
34
views
Updating Thunderbird from apt to snap removed my config
How can I move my config from Thunderbird APT to Thunderbird SNAP?
It seems the update crashed in the middle, and I am left with an empty Thunderbird profile once I install Thunderbird snap.
-1
votes
0
answers
48
views
Working with Ubuntu in Docker from Windows Along with Strict Antivirus
I am trying to work with an Ubuntu Docker Container from my Windows 11 OS.
I am using work PC and they have very strict Antivirus and Security causing me to have blocked IPs whenever I do apt-update ...
-1
votes
0
answers
41
views
Issue with Preconfiguring "base-passwd"
I'm unable to upgrade Ubuntu packages. Please help us on this.
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: ...
0
votes
0
answers
28
views
Troubleshooting Issues with php8.0-opcache configuration
I am currently facing difficulties while trying to configure the 'php8.0-opcache' package on my system. The specific error I am encountering is as follows:
This situation is causing inconveniences on ...
1
vote
1
answer
241
views
Error while installing Balena Etcher
I was trying to create a bootable USB with BalenaEtcher but encountered an error when installing the program.
I downloaded the main .deb file from the github release page but when I run sudo apt ...
5
votes
4
answers
2k
views
apt-get update for gitlab-runner for Ubuntu 20.04.6 LTS failing with invalid signature
I'm trying to run apt-get update and getting this error for gitlab-runner:
# apt-get update
.
.
.
Get:6 https://packages.gitlab.com/runner/gitlab-runner/ubuntu focal InRelease [23.5 kB]
Err:6 https://...
-1
votes
0
answers
19
views
I can't install nvidia cuda on my laptop [duplicate]
I have a Nitro 5 AN515-57 with a GeForce RTX 3060 Mobile graphics card.
I would like to install Nvidia CUDA on it.
Unfortunately after following the instructions from the official website, when I try ...
0
votes
0
answers
55
views
apt-get cannot connect to Ubuntu main archives
I started my journey with apt-get update. I received error message
Err:1 http://ke.archive.ubuntu.com/ubuntu focal InRelease
Cannot initiate the connection to ke.archive.ubuntu.com:80 (2c0f:fe40:...
-1
votes
0
answers
18
views
Unable to connect to 'https://ppa.launchpadcontent.net/ffmulticonverter/stable/ubuntu jammy Release' [duplicate]
Ever since I re-imaged my computer (reinstalled Ubuntu), it has not been able to connect to or use the ffmulticonverter repository.
Terminal output:
Hit:1 http://archive.ubuntu.com/ubuntu jammy ...
0
votes
0
answers
64
views
Ubuntu 22.04 kernel 6.5.0-21 and r8168-dkms (r8168-dkms : Depends: dkms (>= 3.0.3-4~) but 2.8.7-2ubuntu2.2 is installed)
So I have Ubuntu 22.04 with RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller. When I'm using the standard driver, my network disconnects every time. That's why I had to remove the driver and ...
-1
votes
1
answer
67
views
Chrome suddenly won't load in Ubuntu 23.10
When I logged in today Chrome will not load. Clicking on the icon does nothing. I rebooted. I used sudo apt reinstall google-chrome-stable. Nothing. I re-downloaded the .deb package from Google and ...
0
votes
0
answers
17
views
Why we are not installed the Apache 2.4.58 version using apt-get for ubuntu 22.04 LTS version? [duplicate]
When we install, apt-get is installed with the default version. The default version contains certain vulnerabilities. As a result, we did not install the newest version of Apache using the apt-get ...
0
votes
0
answers
24
views
Issues with apt upgrade [duplicate]
I'm running the following command: sudo apt upgrade
And the following error pops up:
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly ...
0
votes
0
answers
46
views
DRI driver version mismatch
I'm on HP Elitebook 8470p, with an AMD Radeon 7750M GPU, and I'm running Ubuntu 22.04. I'm trying to get an OSG (OpenSceneGraph) based game to work, but it gives the following error:
libGL error: DRI ...
-1
votes
0
answers
34
views
When booting, I entered the tty1 interface and some errors occurred
Ubuntu version: Ubuntu 22.04.2 (x86_64 emulation)
After I executed this code sudo apt install -f, there was a problem with the system. Then I restarted and entered the tty1 interface.
I tried to fix ...
0
votes
0
answers
47
views
Error installing Wine on Ubuntu 22.04.4 [duplicate]
I've followed thoroughly all steps of Wine installation under Ubuntu 22.04.4 (fresh install), but on step
sudo apt install --install-recommends winehq-stable
I receive an error:
Reading package lists.....
0
votes
0
answers
19
views
Can't run sudo apt update [duplicate]
Problem
Hit:1 https://apt.corretto.aws stable InRelease
Hit:2 http://ru.archive.ubuntu.com/ubuntu jammy InRelease ...
-1
votes
1
answer
54
views
Error when installing mysql-server on Ubuntu Desktop through apt
I am installing mysql-server on Ubuntu Desktop through apt.It shows that Sub-process /usr/bin/dpkg returned an error code. The concrete output of my terminal shows below(Note that I am in the root ...
0
votes
0
answers
51
views
I'm getting errors from the command sudo apt update and need help in fixing my computer [duplicate]
i've been having errors updating stuff for a few months now on software updater and with the terminal using either sudo apt update or sudo apt-get update. ive tried quite a few tricks that have been ...
0
votes
0
answers
28
views
Ubuntu 22.04 katlooon installation errors when running git commands and directory doesnt exist
im on ubuntu 22.04(?) and im trying to install kali repo apps (im still learning Linux i might sound confusing) and i installed git in terminal but when trying to get katloon it installs the first ...
0
votes
1
answer
126
views
How can I restore my system after a failed install of held-back packages?
I just installed a few held back packages (all were mesa:386 dependent). However, afterwards, tons of system and application packages have been removed.
There is no x-server anymore, and no WM, no ...
-2
votes
1
answer
2k
views
How to fix KDE NEON User Edition errors and update to Plasma 6 [closed]
Yesterday KDE team released KDE 6.0.0 and added it to User Edition of KDE NEON. I'm using it like year or so and want to hop to this shiny new release. But have a problem with apt full-update, even if ...
0
votes
1
answer
47
views
How to solve errors while installing PHP 8.x on Ubuntu 20
I am trying to install PHP 8.x but I am getting stuck at one point again and again
So in order to install PHP, I assume I need to have ppa:ondrej/php repository present. I was having errors while ...