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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
195 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 ...
Dibin Jacob's user avatar
0 votes
0 answers
348 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 ...
Jishnu's user avatar
  • 139
0 votes
0 answers
27 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 ...
Damika's user avatar
  • 101
-2 votes
1 answer
73 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 ...
Pascal Conrad's user avatar
0 votes
1 answer
794 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 ...
Mark's user avatar
  • 517
0 votes
0 answers
136 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 ...
alonso PC's user avatar
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 ...
Talon's user avatar
  • 1
0 votes
1 answer
82 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 ...
Manuel Jordan's user avatar
0 votes
0 answers
42 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. &...
kibaisyum's user avatar
0 votes
0 answers
115 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 ...
Doug Campbell's user avatar
1 vote
0 answers
172 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 ...
WebWarriorResearcher's user avatar
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 ...
Sandra's user avatar
  • 1
4 votes
1 answer
345 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 ...
Seamus's user avatar
  • 636
0 votes
0 answers
518 views

Ubuntu 22.04.3 LTS How do I eliminate dependency problems when upgrading the kernel from 5.15.0-88-generic to 6.6.0?

I get "dpkg: dependency problems prevent configuration" errors when attempting to upgrade my kernel from 5.15.0-88-generic to 6.6.0-060600-generic. How do I resolve these issues? Link to ...
W Washington's user avatar
-2 votes
2 answers
424 views

mac M2(arm64)ubuntu dpkg --add-architecture i386

I'm on my ubuntu virtual machine on my mac with M2 arm64 architecture chip Executing the ubuntu dpkg --add-architecture i386command doesn't give me any response
wgy's user avatar
  • 1
1 vote
0 answers
79 views

Ubuntu 20 - how to create platform agnostic packages architecture=all specifying dependencies on packages with native architecture

I am creating platform agnostic debian package on Ubuntu 20 and Ubuntu 22 - with an intention to install on both ARM and AMD64 processor architecture. My debian packages have depndencies on other ...
Yogesh Devi's user avatar
0 votes
0 answers
121 views

"Error Removing Linux Kernel Package - GRUB Update Script Issue"

I'm encountering an issue when trying to remove a specific Linux kernel package on my Ubuntu system. The error seems to be related to a post-removal script that updates the GRUB bootloader ...
Ganesh's user avatar
  • 11
0 votes
5 answers
2k views

dpkg error after upgrading to Ubuntu 23.10

I'm encountering an issue when trying to remove a specific Linux kernel package on my Ubuntu system. The error seems to be related to a post-removal script that updates the GRUB bootloader ...
Ganesh's user avatar
  • 11
1 vote
0 answers
278 views

No module named 'softwareproperties'

I previously manually deleted the system's built-in python2 and python3, and then manually installed them again. When I ran the command sudo add-apt-repository ppa:xxxx, I would get this error.How to ...
镜面王子's user avatar
0 votes
0 answers
81 views

Cannot install/purge/upgrade after problematic upgrade [duplicate]

I tried to upgrade my ubuntu version from 18 to 20. The upgrade process was finished, but in reality my OS was not fully upgraded. I still see the old GUI and several things do not work (backup, ...
Sakis's user avatar
  • 101
0 votes
1 answer
2k views

dpkg: error processing package virtualbox-7.0 (--install)

I have an issue with install deb files i used sudo dpkg -i ~/Downloads/virtualbox-7.0_7.0.12-159484~Ubuntu~jammy_amd64.deb to install it dpkg: error processing package virtualbox-7.0 (--install): ...
DSL's user avatar
  • 3
0 votes
2 answers
155 views

can't uninstall opera. everytime i try says "can't find the package" but i still can see and use opera

here i leave every try: rebeca@lasuperpcderebeca:/etc$ sudo dpkg --remove opera dpkg: warning: ignoring request to remove opera which isn't installed rebeca@lasuperpcderebeca:/etc$ sudo apt remove ...
rebeca godoy's user avatar
0 votes
0 answers
67 views

Ubuntu does not update/upgrade

I have a problem on my Linux, and every time I do a sudo apt-get update and then I want to do an apt-get update I get the following: ..... dpkg: error al procesar el paquete libglib2.0-dev:amd64 (--...
nerea calvo ces's user avatar
0 votes
1 answer
70 views

Is there a way to skip a particular trigger during apt operations?

In particular, I would like to disable the initramfs-tools trigger. I have a script to configure and build the initramfs that I want (which involves multiple kernels), but part of this involves adding ...
OrangeDog's user avatar
  • 861
0 votes
0 answers
83 views

dpkg: warning: files list file for package 'onlyoffice-documentserver' missing

dpkg warning does not go. tried apt update/upgrade/autoremove/autoclean/purge. tried fix broken packages in synaptic also. this happened when i tried to install onlyoffice and then installation ...
ProPlayerMaxUltra's user avatar
0 votes
0 answers
52 views

apt-install keep failing due to previous package installation failure

I am trying to install a package A. previously, i tried to install a very different package B during which dpkg failed. I did dpkg --congiure -a after that and now I am stuck because every time I try ...
leopoodle's user avatar
  • 158
1 vote
1 answer
246 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 ...
Mahesta Riyadi Putranto's user avatar
0 votes
0 answers
572 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 ...
Destruktow's user avatar
0 votes
0 answers
204 views

linux-modules-extra-5.15.0-52-generic for jammy 22.04 does not found archive

I use Ubuntu 22.04 jammy version and The Error that linux-modules-extra-5.15.0-52-generic package needs to be reinstalled, but the required archive file cannot be found. I can not install sudo apt ...
lscodex's user avatar
0 votes
0 answers
167 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/...
David Schneider's user avatar
2 votes
1 answer
2k views

Nvidia Cuda Installation Package Conflicts

I am trying to install Cuda and have been following the Cuda docs but I am at the part where I need to install the cuda package so I run sudo apt-get install cuda. Which outputs: Reading package lists....
Brandon Muller's user avatar
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 ...
exe127's user avatar
  • 1
0 votes
0 answers
265 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... ...
Tim's's user avatar
  • 1
0 votes
0 answers
229 views

Error Installing 'util-linux-extra' failed during 'do-release-upgrade'

I am trying to upgrade from 22.04 to 23.04 using the do-release-upgrade command. Whenever I do so the command dumps me back into the shell without having changed my system at all. /var/log/dist-...
user2840488's user avatar
0 votes
0 answers
928 views

Ubuntu 22.04 Jammy, libc6 breaks after update. How to recover half-installed libc6

After an update my libc6 broke, in particular /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 was deleted. I had to boot from a live distro to copy it back because no command was working anymore (now I ...
Overflow's user avatar
  • 101
0 votes
0 answers
598 views

E: Sub-process /usr/bin/dpkg returned an error code (1) while configuring dpkg

I was trying to force install the picoscenes drive via sudo dpkg --force-overwrite -i /var/cache/apt/archives/picoscenes-driver-modules-5.15.0-78-generic_20230803_amd64.deb and in the process may ...
Manu Dwivedi's user avatar
0 votes
1 answer
798 views

Issue with removing ubuntu-advantage-tools (28.1~22.04)

So I did an upgrade form ubuntu 20.04 to 22.04 which did not quite go perfectly and there were some issues. While doing a sudo apt-get upgrade I am getting the following message Reading package lists....
APaul31's user avatar
  • 11
0 votes
0 answers
428 views

Cannot fix the error "The following packages have unmet dependencies"

I'm working with Ubuntu 20.4 Focal Fossa and node v16.20.2. Whenever I run sudo apt install npm or sudo apt-get install npm I get the following error: Reading package lists... Done Building dependency ...
Rania Mahmoud's user avatar
0 votes
0 answers
218 views

Can't update or reinstall Zoom in 22.04

After a summer away, Zoom would not run without an update. After following the instructions and downloading the .deb package, all attempts to install ended with an error: dpkg: error processing ...
mobilityguy's user avatar
0 votes
0 answers
230 views

I have a problem installing anything on ubuntu LTS 20.04 [duplicate]

I am trying to install new package with apt-get install but I run in thousands dpkg errors. dpkg: warning: files list file for package 'fonts-tlwg-kinnari' missing; assuming package has no files ...
Josip Maričević's user avatar
0 votes
1 answer
347 views

Keyboard not working after update

I'm using Ubuntu 22.04.3 and after performing a software update to kernel version 6.2.0-32 as well as others (read below), I was prompted to reboot and after that the keyboard of my laptop (a Fujitsu ...
radioactiveman's user avatar
0 votes
0 answers
123 views

.deb package not found in Docker container, even when installing from within the container

I want to install the globalprotect VPN client in an Ubuntu docker image. I have downloaded the deb files, and have manged to successfully install it on the host (also Ubuntu) like so: sudo apt ...
Ashkan Arabi's user avatar
0 votes
2 answers
3k views

unable to upgrade kernel - 'dpkg: dependency problems - leaving unconfigured' and '(dkms apport): kernel package linux-*** is not supported'

Currently, my kernel version is: 6.4.10-060410-generic and I'm using Ubuntu 23.04. When I was trying to upgrade my kernel suddenly I got an error. I get this error not only for version 6.5.1 but also ...
kibar's user avatar
  • 101
0 votes
0 answers
4k views

I get nginx.service: Failed with result 'exit-code' when i want to install nginx on a ubuntu server

I use: sudo apt update, sudo apt install nginx but i get this: Preconfiguring packages ... Selecting previously unselected package libdeflate0:amd64. (Reading database ... 27812 files and directories ...
iorekke's user avatar
1 vote
0 answers
230 views

Unmet Dependencies Issue: Missing Packages for QEMU and Docker Installation

I am currently facing an issue with installing certain packages on my Ubuntu system. I am attempting to install QEMU for virtualization and Docker for containerization. However, I am encountering ...
xAdvitya's user avatar
3 votes
0 answers
71 views

do-release-upgrate Bionic to Focal is crashing with an error

I'm trying to do a release upgrade from Bionic to Focal. The upgrade is crashing pretty early with this error message 2023-08-29 04:47:19,413 ERROR got an error from dpkg for pkg: 'python3.8-minimal': ...
Bonzo's user avatar
  • 31
0 votes
1 answer
123 views

Version scheme change of libc6 libraires from focal to jammy

Hello Ubuntu community, I notice that the Version scheme changes on libc6 libraries from focal to Jammy (i.e On the jammy libc6 packages i observe that on the libraries name minor version has been ...
Eswar Reddy's user avatar
0 votes
1 answer
101 views

package manager not working because of dash [duplicate]

I guess my package manager is not working because dash is not available. ubuntu@ubuntu:~$ sudo apt install hello Reading package lists... Done Building dependency tree... Done Reading state ...
FeXa's user avatar
  • 11
0 votes
1 answer
107 views

understanding why a package is installing a file that `dpkg --search` & `dpkg --listfiles ...` don't know about?

I have installed a particular program via apt. It originates from a 3rd party repo, and I have 100% confidence the file was installed & updated via apt not some other path (per data I list below) ...
some bits flipped's user avatar
0 votes
0 answers
115 views

`apt-cache policy` lists repos not shown in `add-apt-repository --list`

I have several 3rd party repos in /etc/apt/sources.list.d/*, including for apt "foobaz", which is installed. I want to check which repository foobaz came from, or could come from: figure ...
some bits flipped's user avatar

1
2
3 4 5
84