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
36 votes
2 answers
207k views

How to install a libc6 version >= 2.29?

When I type sudo apt-get install r-base-core I get the following error The following packages have unmet dependencies. r-base-core : Depends: libc6 (>= 2.29) but 2.27-3ubuntu1 is to be ...
mercury0114's user avatar
35 votes
3 answers
39k views

"Unmet dependencies" When trying to install KDE Plasma 5.3 on Ubuntu 15.04

I'm trying to install the latest KDE Plasma here but I'm getting You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: kde-telepathy-minimal: ...
Sam's user avatar
  • 1,425
35 votes
6 answers
101k views

Cannot install docker-desktop on ubuntu 22.04

I am trying to install docker-desktop from here. I downloaded the .deb package with: sudo dpkg -i docker-desktop-4.8.1-amd64.deb but I got a couple of missing dependencies problems: (Reading database ...
KuhakuPixel's user avatar
35 votes
1 answer
370k views

How can I solve Unable to lock the administration directory (/var/lib/dpkg/) [duplicate]

I am really New to UBUNTU 14.04 and whenever I try to update or install anything I get this error: sudo apt-get update [sudo] password for trojanfm: E: Could not ge lock /var/lib/apt/lists/lock - ...
Yelmaaz's user avatar
  • 451
35 votes
1 answer
78k views

Reinstall package and its installed dependencies

I've got a package installed that is broken (the package itself, not its dependencies). Reinstalling it with sudo dpkg-reconfigure <package> or sudo apt-get --reinstall install <package> ...
Forage's user avatar
  • 1,530
34 votes
4 answers
135k views

How to reinstall a package

I am getting this while installing libebml3: Errors were encountered while processing: libebml3:i386 Error in function: dpkg: error processing libebml3:i386 (--configure): Package is in a very bad ...
asdf's user avatar
  • 341
34 votes
3 answers
140k views

How do I unlock /var/lib/dpkg/lock? [duplicate]

I attempted to install dropbox on my Ubuntu system, but now I am unable to install or uninstall any software. I get this error: E: Unable to lock the administration directory /var/lib/dpkg/lock? I ...
akp234's user avatar
  • 443
33 votes
2 answers
19k views

How to fake a package version installed?

Being an early adopter and using 11.04 daily builds I sometimes meet a situation when some packages require earlier versions of other packages than those I have installed. Usually newer (but refused) ...
Ivan's user avatar
  • 57.2k
33 votes
6 answers
32k views

How to inspect and validate a deb package before installation?

I want to know as much as possible about a .deb package before I install it. There is a significant amount of metadata generated during regular package building and I know that there are also signed ...
LiveWireBT's user avatar
  • 28.8k
33 votes
2 answers
28k views

False disk full error: apt-get unable to install or remove

I encountered the following error while upgrading my Ubuntu 12.04 server. Now apt-get is unable to install or removed any package. Unpacking linux-headers-3.13.0-62 (from .../linux-headers-3.13.0-...
sourav c.'s user avatar
  • 44.7k
33 votes
4 answers
459k views

How to fix "Could not open lock file" because "Permission denied"? [duplicate]

Whenever trying to install any software and update manger, I get an error stating Package operation failed The installation or removal of a software package failed When I run sudo apt-get update ...
user66498's user avatar
  • 477
32 votes
1 answer
28k views

dpkg: error processing package libglib2.0-0:i386 [closed]

I got the following message after running sudo apt update && sudo apt upgrade -y, I also have been unable to update my packages from the store. dpkg: error processing package libglib2.0-0:i386 ...
Jeremy's user avatar
  • 431
32 votes
7 answers
130k views

How to list installed package and its details on ubuntu?

I am new to ubuntu and trying to find out the way to list all installed packages and its details like version, release, install time, category on Ubuntu. Found that following commands will help me get ...
user1787572's user avatar
31 votes
8 answers
36k views

How to solve dpkg-source source problem when building a package?

Has anyone here had some experience creating a Debian / Ubuntu package? I am trying to backport the lammps package (http://packages.ubuntu.com/quantal/lammps) from Ubuntu 12.10 (Quantal) to Ubuntu 12....
hanxue's user avatar
  • 690
31 votes
1 answer
327k views

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) [duplicate]

I am trying to install cheese ubuntu@ubuntu:/usr/src/linux-headers-3.5.0-23-generic$ sudo apt-get install cheese [sudo] password for ubuntu: E: Could not get lock /var/lib/dpkg/lock - open (11: ...
user2782858's user avatar
31 votes
3 answers
12k views

apt-get vs. aptitude .vs synaptic compatibility

As a former Debian user, I "kind of" remember that I should only use one of the package managers... Either apt-get, aptitude, or synaptic, but not the three in combination 'cause there may be ...
Stephane Rolland's user avatar
30 votes
6 answers
341k views

Why do I get hostname: Name or service not known error?

I'm getting this error when ever I install any packages via apt-get: hostname: Name or service not known dpkg: error processing ssmtp (--configure): subprocess installed post-installation script ...
batman's user avatar
  • 7,971
30 votes
7 answers
114k views

dpkg: unrecoverable fatal error, aborting: files list file for package 'linux-generic' is missing final newline

Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: apt apt-transport-https apt-utils dpkg ...
Johnny Wong's user avatar
30 votes
2 answers
16k views

What is the difference between dependencies and pre-depends?

What is meant by "depends" and "pre-depends", and the difference between those 2 types of package requirements when I am installing something in Ubuntu?
Bruno Pereira's user avatar
30 votes
3 answers
50k views

How to debug dpkg configure error in subprocess post-installation?

In short: I am trying to install spamassassin but dpkg returns only with: dpkg: error processing spamassassin (--configure): subprocess installed post-installation script returned error exit status 1 ...
Requist's user avatar
  • 2,389
29 votes
8 answers
86k views

How do I rebuild a corrupt dpkg status file?

Whenever I type sudo apt-get remove and then press the Tab key for auto-completion I get the following message: grep-status: /var/lib/dpkg/status:15945: expected a colon . I don't see anything ...
Ramón's user avatar
  • 1,637
29 votes
2 answers
59k views

How do I list all installed packages with specific version numbers?

I would like to list all the installed packages, with specific version numbers on my system. I checked out dpkg --get-selections (How to list all installed packages) but it doesn't show me what I ...
user2133697's user avatar
29 votes
1 answer
3k views

Will Ubuntu replace dpkg with snappy?

My apologies for being uninformed, but I couldn't find the answer through Google or read/understand a definite answer out of Mark's announcement. Are there plans to replace dpkg in its entirety with ...
deucalion's user avatar
  • 393
29 votes
3 answers
57k views

What is dpkg for?

My question is simple -- I want to know more about dpkg -- what does it do?
Raja G's user avatar
  • 102k
29 votes
1 answer
124k views

What is dpkg-reconfigure and how is it different from dpkg --configure?

I was recently given an answer to another question Help: “aptd” is maxing out my CPU? which included running the commands sudo dpkg-reconfigure -phigh -a and sudo dpkg --configure -a That all ...
Matthew Brown aka Lord Matt's user avatar
28 votes
4 answers
102k views

How to fix E: Internal Error, No file name for libc6 [duplicate]

How to fix E: Internal Error, No file name for libc6, Like that will show If I do: $ sudo apt-get upgrade or $ sudo apt-get install package This is example : $ sudo apt-get upgrade Reading package ...
Loren Ramly's user avatar
27 votes
3 answers
94k views

Ubuntu Docker Container update-ca-certificates: command not found

This is running a Docker Container using the official Ubuntu 14.04 The end result will be the same as this QA once I can get that command installed. New to Ubuntu and such, trying to get a docker ...
workabyte's user avatar
  • 882
27 votes
2 answers
28k views

Every time I install or remove a package I get LVM2 error [duplicate]

I need help dealing with this error. I run Ubuntu Budgie 18.04LTS. anon@computer:~$ sudo dpkg --configure -a Setting up lvm2 (2.02.176-4.1ubuntu3) ... update-initramfs: deferring update (trigger ...
Chris's user avatar
  • 373
27 votes
1 answer
110k views

dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) nginx

The Software up-to-date Option automatically download the upgrade for nginx. but While installing it's giving me the following error: Reading package lists... Done Building dependency tree ...
zay7sev's user avatar
  • 373
27 votes
3 answers
31k views

How do you find the licenses for everything installed on your system?

I want to write a script that outputs the license for every software package installed on my system. Using dpkg --get-selections I am able to get list of everything installed. However, I don't see a ...
mpontillo's user avatar
  • 1,058
26 votes
1 answer
50k views

dpkg: error processing package install-info

I tried installing imagemagick package by sudo apt-get install imagemagick I'm getting the following error now, how to fix it. $ sudo apt-get install imagemagick Reading package lists... Done ...
Shan Khan's user avatar
  • 1,241
26 votes
3 answers
211k views

How to install scipy and numpy on Ubuntu 16.04?

I'm trying to install scipy and numpy on Ubuntu 16.04 but I keep getting the following error. Can anyone tell me how to install the dependencies? Reading package lists... Done Building dependency ...
Rahul's user avatar
  • 363
26 votes
5 answers
54k views

I encountered a gconf2 error while installing some packages, what should I do?

I got this error when installing some software: Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not ...
Ravi Sharan's user avatar
25 votes
5 answers
58k views

Steam Install Error on 14.04 Ubuntu 64bit

I have tried some of the solutions posted elsewhere in the support forum, one seemed like it worked but after a steam update i found myself back at square one I am a new Linux user and am already at ...
Wes Young's user avatar
  • 261
24 votes
2 answers
41k views

dpkg: error: parsing file '/var/lib/dpkg/available' near line 0

Been trying to install git-core package for almost more than half a day now. Every time I do, I get this error: dpkg: error: parsing file '/var/lib/dpkg/available' near line 0: newline in field name `...
Nitin Venkatesh's user avatar
23 votes
8 answers
29k views

Unmet dependencies python3.9

I am trying to update Ubuntu and correct some system settings, however I am facing an issue I have been stuck on for over a week now. When I type sudo apt-get install, I get: The following packages ...
THeUNderstudy's user avatar
23 votes
3 answers
121k views

How do I force configuration of partially installed packages?

Whenever I run aptitude safe-upgrade, I get this output: The following partially installed packages will be configured: cups gconf2 ufw update-manager No packages will be installed, upgraded, or ...
Aaron Digulla's user avatar
23 votes
3 answers
124k views

Subprocess installed post-installation script returned error exit status 247 for gconf2

When I want to install any package I am getting this: root@kd32206:~# apt-get install nginx Reading package lists... Done Building dependency tree Reading state information... Done nginx is already ...
user269828's user avatar
22 votes
3 answers
32k views

Packages have unmet dependencies on 18.04 upon mongodb install

So, I tried to install mongo on my local machine, a Ubuntu 18.04. The installation came to a halt with an error The following packages have unmet dependencies: mongodb-org : Depends: mongodb-org-...
Caio Favero's user avatar
22 votes
5 answers
23k views

"Unable to connect to Upstart" error when installing git-all

I am using 15.04. So I'm working with git and I installed the standard version. I set up the ssh keys and was able to clone one of my repositories to the correct folder. Everything was working great ...
Electronicks's user avatar
22 votes
3 answers
26k views

gdebi vs dpkg : How does gdebi automatically gets missing dependancies ? Can I use gdebi for all other installations of .deb packages?

Recently I happened to reinstall my Ubuntu in to Lubuntu 15.04. So I was searching for Skype installation and got this nice tutorial. It was really cool. It downloaded official package of skype deb ...
user879's user avatar
  • 393
22 votes
1 answer
36k views

How to check if dpkg-architecture --list has all the architectures?

To install skype and dependencies on 16.04. 64bit I need to sudo dpkg --add-architecture i386 Via (man page): dpkg-architecture --list I then can check the list of architectures. What line must ...
bomben's user avatar
  • 2,059
22 votes
1 answer
43k views

How to force remove a package if dpkg removal script fails?

I'm trying to remove a package where I deleted the /etc/init.d/disco-master file (in an attempt to remove the package manually). I want to remove the disco-master package. How do I do this now? This ...
fodon's user avatar
  • 323
22 votes
3 answers
2k views

Prevent Ubuntu from shutdown before background automatic updates complete

I have installed a (x)Ubuntu 14.04 on a friend's PC. Automatic updates are set to "download and automatic install updates". The problem is that, after some months of use, he unknowingly shuts down ...
Giannis's user avatar
  • 476
22 votes
3 answers
30k views

Install multiple deb files while respecting their dependencies

To support offline installation of multiple .deb files, I'm using: sudo dpkg -i dependencies/*.deb I've noticed some packages fail using this method because of the order they installed For example, ...
Jossef Harush Kadouri's user avatar
21 votes
2 answers
16k views

Ubuntu 18.04 broken install problem with libnvidia-common-450 package

I just installed Ubuntu 18.04.5 LTS on my workstation along with the recommended nvidia drivers, where I used sudo ubuntu-drivers autoinstall to do so, and ubuntu-drivers devices recommends installing ...
Kaszt's user avatar
  • 395
21 votes
1 answer
47k views

dpkg exit with error parsing file `/var/lib/dpkg/status`, what to do?

When I try to install any software, I encounter this error, and therefore I cannot update. Preconfiguring packages ... dpkg: error: parsing file '/var/lib/dpkg/status' near line 51245 package 'oracle-...
Charindu's user avatar
  • 211
21 votes
1 answer
29k views

What process created the /var/lib/dpkg/lock-frontend file in Ubuntu?

I have just booted my clean Ubuntu 18.04 LTS VM and tried to install some application with sudo apt install. But got error message: E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: ...
N0rbert's user avatar
  • 100k
21 votes
1 answer
19k views

Is there a way to see what exactly the "processing triggers" does per-package basis?

As I've understood, the usual "Processing triggers for < packagename >" does some package- and system-specific tasks such as add items to a launch menu or update a configuration file. Is there an ...
zxcdw's user avatar
  • 333
20 votes
3 answers
104k views

Fix package post-installation script subprocess returned error exit status 10 for libpaper1:amd64

After trying to configure some packages I am getting an error for the libpaper1:amd64 package. Error : Setting up libpaper1:amd64 (1.1.28) ... dpkg: error processing package libpaper1:amd64 (--...
stepovr's user avatar
  • 301

1
2
3 4 5
84