Questions tagged [dpkg]
Dpkg is the Debian package management utility that performs lower-level tasks in software installation and removal. This tag should be used for questions about using and troubleshooting the dpkg utility.
4,148
questions
1
vote
1
answer
66
views
I encounter this after running sudo apt upgrade [duplicate]
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
28
views
error: paste subprocess was killed by signal (Broken pipe)
could someone help me please?
I am trying to free some space on the Boot, but it gives me that:
----:~$ sudo apt autoremove
[sudo] password for ----:
Reading package lists... Done
Building dependency ...
0
votes
0
answers
108
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
0
answers
37
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
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 ...
-1
votes
0
answers
24
views
Unable to install wine due to libc6 locale issue
When I attempt to install wine with the command sudo apt install wine-devel-amd64 I receive the error
wine-devel-amd64 : Depends: libc6 (>= 2.38) but 2.35-0ubuntu3.6 is to be installed. I ...
-4
votes
0
answers
41
views
I am having problem when I am trying to remove python from my pc
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
...
-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
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
1
answer
50
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 ...
0
votes
0
answers
35
views
Unable to Perform Upgrade [duplicate]
I am running into a strange error that is circular in nature. I just went to run a routine sudo apt upgrade and encountered the following error:
> Reading package lists... Done Building dependency
&...
0
votes
0
answers
134
views
sudo upgrade evdi.ko.zst freeze at install
I did run sudo apt update, and afterwards sudo apt upgrade.
Normally, this is all fine but it got stuck for ages. I cancelled the process.
I tried to do it again but the terminal tells me to run
sudo ...
-1
votes
0
answers
51
views
Unable to install openssh-server
I had ssh installed and was working fine but then it stopped suddenly.
So I tried to reinstall using sudo apt-get install --reinstall openssh-server
but it seemed that the already active systemctl was ...
0
votes
1
answer
260
views
Intel ARC intel-i915-dkms dpkg error upgrading to HWE kernel 6.5
Whenever I try to install something, it returns this error:
dpkg: dependency problems prevent configuration of linux-headers-generic:
linux-headers-generic depends on linux-headers-6.5.0-17-generic; ...
0
votes
0
answers
30
views
How to solve dpkg error based on geany-plugin-addons
Error that I got from the upgrading step:
dpkg: unrecoverable fatal error, aborting:
loading files list file for package 'geany-plugin-addons': cannot read /var/lib/dpkg/info/geany-plugin-addons.list ...
-1
votes
0
answers
50
views
Nvidia driver for Quadro1000M not working in Ubuntu 22.04
I'm trying to install the proprietary Nvidia drivers instead of the Nouveau one but every time i try to install i get the following error
Building dependency tree... Done
Reading state information... ...
-1
votes
0
answers
44
views
Problems updating using sudo apt-get update && sudo apt-get dist-upgrade [duplicate]
Hi I'm a newbie novice and need some advice.
I have run a Raspberry PI feeding data to Flightradar for a few years and have only ever updated using the "sudo apt-get update && sudo apt-...
0
votes
1
answer
73
views
APCI error, Ubuntu can't boot
As the title says, I can't enter to Ubuntu. It gets stuck after grub bootloader.
After some minutes the following message appears related with APCI:
In order to try to solve it, I have check some of ...
0
votes
0
answers
56
views
Mysql-server returning error
Each time I try to install something through apt or do any other command through it, here is what shows up:
Setting up mysql-server-8.0 (8.0.36-0ubuntu0.23.10.1) ...
mysqld will log errors to /var/log/...
0
votes
0
answers
43
views
Tesla k40c Driver install on Ubuntu [duplicate]
i have a server running Ubuntu with two Xeon x5680s and just install a NVIDIA Tesla k40c HPC / GPU for running PyTorch and tensorflow-gpu models but cant get the drivers running. i used "sudo ...
-1
votes
1
answer
45
views
Error during apt upgrade for NodeJS
I encounter this problem while trying to sudo apt upgrade my system:
Preparing to unpack .../nodejs_18.17.1-deb-1nodesource1_amd64.deb ...
Unpacking nodejs (18.17.1-deb-1nodesource1) over (12.22.9~...
0
votes
1
answer
221
views
How to install Google Chrome on Ubuntu server 22.04
I have a problem installing Google Chrome on Ubuntu 22.04 (VPS) with an AMD processor. I also tried just in case on Ubuntu 22.04 with an Intel processor). I have rigorously followed the procedure of ...
0
votes
1
answer
61
views
How to uninstall MS Edge with dpkg
I downloaded the microsoft-edge-stable_121.0.2277.98-1_amd64.deb from internet, then installed it manually with:
dpkg -i microsoft-edge-stable_121.0.2277.98-1_amd64.deb
I can't figure out how to ...
0
votes
0
answers
42
views
dpkg took too long [duplicate]
i was running "sudo apt upgrade" but it was failed cus the vm turn off, so i tried to run upgrade again and it says i should run "sudo dpkg --configure -a", so i tried it didnt ...
0
votes
1
answer
331
views
removing dkms r8168 from dkms three
my problem was my network adapter doesn't come up when running on newer kernel : 6.5.0-15-generic. the problem was solved using this answer.
my next problem is, every time i run an update, it keep ...
0
votes
1
answer
224
views
QGIS not installing in Ubuntu 22.04 [duplicate]
When I install QGIS-ltr version in ubuntu 22.04, the following error pops out and I have tried every solution previously given but of no use.
Setting up qgis-providers (1:3.34.3+36jammy) ...
/usr/lib/...
0
votes
0
answers
72
views
E: Sub-process /usr/bin/dpkg returned an error code (1) 22.04 when installing ROS 2 Humble
I have just upgraded Ubuntu from 18.04 to 20.04 and then 22.04, now I am trying to install ROS2 Humble Desktop and then I get the following error. I am not very familiar with linux in general so I am ...
2
votes
1
answer
254
views
How to unlock a package that was locked with Muon
I used the Muon package manager to lock a package to a specific version, but when I try to release the lock, I get the message "The package code could not be locked. Failed to write lock file.&...
0
votes
0
answers
112
views
I encountered an error while executing "sudo apt upgrade" on the Ubuntu command line
Recently, when I was performing system updates on Ubuntu, I found that the terminal always reported errors, but it did not affect the normal installation of other software. However, I still want to ...
4
votes
1
answer
9k
views
Why does "dpkg --instdir=dir/ -i xxx.deb" also set the administrative directory to "dir", like the "--root=ddd" option does?
I was using Ubuntu 22.04.3 LTS. I have made a file called helloworld.deb, Its source file structure is as follows:
helloworld
├── DEBIAN
│ └── control
└── usr
└── games
└── mygame.sh
I ...
-1
votes
1
answer
282
views
Unable to correct problems, you have held broken packages Ubuntu 22.04
Getting this error sudo pro enable fips-updates:
Failed running command 'apt-get install --assume-yes --allow-downgrades -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-...
1
vote
1
answer
82
views
Installing logwatch but getting postfix and dependencies error
Having a trouble trying to install logwatch on Ubuntu 22.04 LTS. Here is the output when trying to install:
# apt install logwatch
Reading package lists... Done
Building dependency tree... Done
...
0
votes
1
answer
210
views
gcc not installing correctly when using apt on ubuntu 22.04 [duplicate]
I tried installing nvidia drivers through an install script but got the error
ERROR: Unable to find the development tool `cc` in your
path; please make sure that you have the package ...
0
votes
0
answers
49
views
dpkg-query: error: unknown option --status-fd Use --help for help about querying packages. E: Sub-process /usr/bin/dpkg returned an error code (2)
OS: Ubuntu 22.04
I am not able to install any package or not able to execute "sudo apt upgrade" successfully. Everytime i am getting following error:
dpkg-query: error: unknown option --...
2
votes
1
answer
543
views
Debian package version comparing explanation
I'm a bit confused about the Debian package version orders.
Take a look at the following two Debian package versions, how come the first is <= than the second?
0-emacs-29.1.90~202401142128~...
0
votes
1
answer
231
views
Ubuntu 22.04 Software Updater Error: E: Sub-process /usr/bin/dpkg returned an error code (1)
I recently installed Ubuntu 22.04 , at some point when using the software updater I got a software index error message. After trying "continue" using sudo ap-get install -f in terminal to ...
0
votes
1
answer
55
views
dpkg: dependency problems prevent removal of r-base-core in ubuntu 20.4
I have attempted to install R new version from source code however it did not work. so I uninstalled and reinstalled R again using the amd64.
R is still not woking when I run :
$which R
command not ...
0
votes
0
answers
157
views
How to resolve unmet dependencies: libpam-modules : PreDepends: libpam-modules-bin (= 1.3.1-5ubuntu4.6)? [duplicate]
When I try and run sudo apt-get upgrade I get the following error:
root@FDPM:~# sudo apt upgrade
sudo: unable to resolve host FDPM: Name or service not known
Reading package lists... Done
Building ...
0
votes
0
answers
222
views
How to solve ? dpkg: error processing archive /var/cache/apt/archives/libc-bin_2.31-0ubuntu9.14_arm64.deb (--unpack):
I was trying to do a apt-get update && apt-get upgrade on my Ubuntu and end up with the following error
$ sudo apt update
Get:1 file:/var/cudnn-local-tegra-repo-ubuntu2004-8.6.0.166 ...
0
votes
0
answers
26
views
nodejs : Depends: libc6 (>= 2.28) but 2.27-3ubuntu1.6 is to be installed [duplicate]
I was trying to install node into wsl2 (ubuntu 18.04) using binary distribution command:
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - &&\
sudo apt-get install -y nodejs
...
-2
votes
1
answer
68
views
Ubuntu: how to fix a deeply broken apt?
I'm running Kubuntu 23.10 and I recently tried to install virtualbox 7.0 from the oracle website. After executing sudo dpkg -i /path/to/package.deb nothing happened. I waited some hours without any ...
0
votes
1
answer
670
views
dkms package not found and apt fails every time
After doing a normal apt update && apt upgrade I get a kernel panic on reboot.
I fixed it entering a shell from the old kernel recovery mode and then issuing:
mount -o remount,rw /
mkinitramfs ...
0
votes
0
answers
107
views
I need help installing "CiscoPacketTracer_821_Ubuntu_64bit.deb" I am on Ubuntu 23.10
alon@ALON:~/Descargas$ sudo dpkg -i CiscoPacketTracer_821_Ubuntu_64bit.deb
(Leyendo la base de datos ... 172559 ficheros o directorios instalados actualmente.)
Preparando para desempaquetar ...
0
votes
0
answers
153
views
failure to sudo apt upgrade: Errors were encountered while processing /linux-headers-6.2.0-36-generic [duplicate]
Very inexperienced with linux so this might just be a result of cascading user error but whenever I try to run sudo apt upgrade I repeatedly get these error messages. autoremove, autoclean, removing ...
0
votes
1
answer
79
views
What is the correct approach to upgrade Docker when a gpg file is involved?
After to did do an upgrade through VirtualBox for Ubuntu Desktop 20.04 to 22.04 - focal to jammy - at the /etc/apt/sources.list.d directory exists the mysql.list file.
According with a research was ...
0
votes
0
answers
38
views
Ubuntu upgrade 23.04 to 23.10
I am trying to upgrade my Ubuntu but it's stuck on the "Setting new software channels" fetching file 116 of 149. I opened the main.log and it displayed that the cache can not be locked. &...
0
votes
0
answers
99
views
can not install nomachine from deb or tar
I have a remote machine in Azure can not rdp to it it is too slow, attempting to install nomachine. I have tried via tar and deb. can anyone point me in the right direction ?
/usr/NX$ sudo wget ...
1
vote
0
answers
145
views
How to fix dpkg error code (1)
I keep running into the same error code which isn't letting me do anything. I can't install any software or run any of the fixes that people have suggested on other posts asking the same thing.
When I ...
0
votes
0
answers
2k
views
DKMS Problem - dpkg error processing package linux-headers-generic
$ sudo apt full-upgrade
[sudo] password for pepp:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following NEW ...
4
votes
1
answer
255
views
How to re-run `mailutils` post-install script after making the wrong choice?
I'm running Ubuntu server 22.04, and installed mailutils. At or near the end of my first installation, I got a "window" (ncurses??) that popped up in the terminal, asking what type of ...