dpkg is the package format used by Debian, Ubuntu and other popular GNU/Linux distributions as well as the tools used to work with dpkg packages.
Questions tagged [dpkg]
175 questions
3
votes
1 answer
Prevent update-manager from overwriting my Configs
After installing a package with apt-get and then overwriting some package specific config files, whenever the system upgrades itself it tries to overwrite my custom configs with the package default ones.
Is there a better way to specific custom…

Alix Axel
- 2,803
- 6
- 29
- 30
3
votes
1 answer
What to do when local usernames conflict with network usernames
We use Puppet to manage our Linux desktop machines and SSSD to authenticate our users against a central authentication system. Recently when setting up a few new machines we found that puppet was halting in the middle of installing software…

OEP
- 183
- 9
3
votes
2 answers
Debian removed /var/lib/dpkg/info/, is there a way to save the system?
Removed accidentally /var/lib/dpkg/info/, now I am having problems with installing/removing packages, it prompts errors, cause can not find the info about installed packages.
Is there any way to save the system or need to reinstall debian…

Wiggler Jtag
- 251
- 5
- 17
3
votes
1 answer
Overriding dpkg admindir from apt-get options (debian/ubuntu linux)
As part of an OS deployment, I need to maintain sets of debian packages independently of the host operating system. It's pretty straightforward to override the Apt settings for the cache and lists, but not the dpkg setting for the admindir. For…

Alex G
- 386
- 1
- 4
- 13
3
votes
2 answers
How to monitor package versions across multiple (Linux) servers
We use Puppet for installing the base level OS and packages, but our own application packages are deployed manually by individual developers.
I'm looking for a web dashboard to view/monitor the package versions across all machines. Has anyone come…

mrisher
- 401
- 1
- 5
- 12
3
votes
2 answers
Scripting installation of a virtual package provider on Debian/Ubuntu
First, what's the simplest way to get a list of (real) packages that provide a particular virtual package? 'aptitude show' seems to include it in the output for a virtual package, but 'apt-cache show' does not. However, aptitude is not always…

Trevor Robinson
- 155
- 7
3
votes
2 answers
dpkg error installing on Ubuntu 10.04
I'm trying to install the nginx on ppa:nginx/stable on Lucid after removing the one that comes from the default sources but I get this error:
` Setting up nginx-common (0.8.54-4ppa13~lucid) ...
dpkg: error processing nginx-common (--configure):
…

MrD
- 235
- 5
- 11
3
votes
1 answer
dpkg broken while upgrading Debian Etch to Lenny
Good day!
While trying to recover a box to lenny it seems I've broken things. It upgrades libc and glib after that dpkg seems to be broken.
I can run apt-get, but it gets segmentation fault from dpkg:
# apt-get -f install
Reading package lists...…

artvolk
- 309
- 2
- 10
3
votes
1 answer
Install PostgreSQL on Ubuntu without starting it
I want to install PostgreSQL 8.4 (or any service) on Ubuntu 10.4 (or any Linux distro) without it starting up as part of the installation. Right now when I do a
sudo apt-get install postgresql-8.4
part of the installation process is
Starting…

Everett Toews
- 663
- 1
- 6
- 12
3
votes
2 answers
`dpkg -l` to only show installed packages?
On Debian/Ubuntu, dpkg can show me packages, include the version and what's installed (e.g. dpkg -l postgresql\*). But that shows all packages that it knows about, whether installed or not.
Is it possible to make dpkg only show me the installed…

Amandasaurus
- 31,471
- 65
- 192
- 253
2
votes
0 answers
Failing to start nfs server
I'm trying to get nfs working on an Ubuntu 16.04.2 LTS. I get the following error:
I've already tried reinstalling nfs-common, nfs-kernel-server and other packages following instructions provided in other forums and couldn't get it working. The…

jerin
- 21
- 1
- 3
2
votes
2 answers
dpkg: error processing package
Im trying to install mongodbserver on ubuntu 14.04LTS with reference to mongodb docs but getting the dpkg related errors
root@c3:~# apt-get install -y mongodb-org
Reading package lists... Done
Building dependency tree
Reading state…

sherpaurgen
- 616
- 6
- 10
- 26
2
votes
1 answer
apt - update local package
Some months ago I had to install gitlab-ce on a server with Ubuntu 16.04, no access to the public internet, so I downloaded the package from the Ubuntu repository on an other machine and then uploaded to the server and manually installed:
dpkg -i…

Brutus
- 121
- 4
2
votes
1 answer
Installing Debian package tools (dpkg-buildpackage) on Amazon Linux?
I am setting up a web server which packages and hosts different installers for client applications on Windows, Mac OS X, and Linux.
I am using EC2 so I went with Amazon Linux for my base image.
I have the repackaging working fine for creating…

ashgromnies
- 151
- 1
- 1
- 7
2
votes
3 answers
dpkg can't install dpkg update - how do I update anything?
Short of rebuilding the whole server from the ground up (which I'm working on anyway), any ideas how to fix this problem on an old debian etch box? Its annoying to not be able to apt-get things...
# apt-get install dpkg
<>
Preparing to…

gnarf
- 713
- 3
- 8
- 21