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.

learn more… | top users | synonyms

3
votes
1answer
38 views

Hook into installation of Debian package

When installing packages with daemons, they often restart that service during installation/upgrade on Debian. I got a daemon that has some options that can only be set on runtime, not configured. If ...
3
votes
1answer
499 views

skipping dpkg-genchange step (Debian)

I'm building binary only package: dpkg-buildpackage -b -us -uc The build actually runs successfully, but I have deleted previous version of the package and now dpkg-genchanges complains: ...
2
votes
1answer
557 views

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 ...
1
vote
1answer
112 views

Check to see if “dpkg --configure -a” needs to be run

When something goes wrong in the middle of a dpkg configuration we need to run dpkg --configure -a before installing a new package. Is there a way to check if "dpkg --configure -a" needs to be run? ...
1
vote
1answer
395 views

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, ...
1
vote
1answer
442 views

Add dpkg .symbols or.shlibs to package made using checkinstall

I have created a simple package using checkinstall of the Oracle Instantclient client libraries, the package installs without problem and is seen in the system. Problem is, that checkinstall doesn't ...
0
votes
1answer
28 views

German Umlauts (but only uppercase) are broken

I have a proxmox3 server. I login via SSH. Umlauts (öäüÜÖÄ) works well - nevertheless if upper or lowercase. Then I login in my openvz node (debian wheezy) via: vzctl enter 100 In this node, on ...
0
votes
1answer
48 views

Server shuts down during apt upgrades (specifically libdbus)

I woke up this morning to find my VPS down. I brought it back, couldnt find any reason for it being down (nothing in the syslog, etc) so figured it was my crappy provider. I ran apt-get upgrade and it ...
0
votes
1answer
119 views

Ubuntu dpkg broken

I have an Ubuntu installation where /var/lib/dpkg is empty. Every apt-get command fails with this error : E: Impossible de verrouiller /var/lib/dpkg/status - open (2: Aucun fichier ou dossier de ce ...
0
votes
1answer
589 views

installed post-installation script returned error exit status 1

I found many complains with same error but for different packages. However, i couldn't understand essence of this error and how to fix it. Pls. help if you have any clue about it. It appeared first ...
0
votes
1answer
128 views

postinst script in hand-rolled .deb reported not found

I had a quick dpkg/debian-izing question. I am trying to create a .deb(by hand - mostly for learning purposes) and I have rolled up an ar-chive with the control.tar.gz, data.tar.gz and the ...
0
votes
1answer
108 views

Install from backport with apt fail

So little question, I've got this: redis-server: Installed: 2:1.2.6-1 Candidate: 2:1.2.6-1 Version table: 2:2.4.15-1~bpo60+2 0 100 http://backports.debian.org/debian-backports/ ...
3
votes
0answers
54 views

debian/ubuntu: Prevent UI prompting in command-line apt-get

So, in order to prevent console-UI (newt, snack, dialog) prompts during the dpkg post-install, you have to do something like: debconf-set-selections <<< 'mysql-server ...
1
vote
0answers
236 views

RabbitMQ start failure

I am trying to start RabbitMQ Server. And any way I do this, I get this error: Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_{log, _err} rabbitmq-server. invoke-rc.d: initscript ...
0
votes
0answers
52 views

Debian 8 dpkg extremely slow

Using debian 8 (fresh installation), i downloaded webmin using: wget http://prdownloads.sourceforge.net/webadmin/webmin_1.780_all.deb then i installed it using: dpkg --install ...
0
votes
0answers
123 views

Create custom package from nginx source - renaming nginx to custom-nginx

My dist is Ubuntu 14.04 use case I am attempting to create my own packaged nginx called 'custom-nginx'. It needs to install itself into alternative directories as so it does not interfere with the ...
0
votes
0answers
18 views

Is it safe to invoke dpkg-query from postinst script

I want to ensure that all files installed from my package have a well-known user:group, so I want to do the following from postinst script: for each file <- dpkg-query -L mypackage; do if ...
0
votes
0answers
214 views

Can't upgrade/restart services after apt-get autoremove

I can't restart apache2 or something else after I did apt-get autoremove. service apache2 restart Failed to restart apache2.service: Launch helper exited with unknown return code 1 I tried ...
0
votes
0answers
25 views

dpkg custom package name from source install

I want to be able to set a custom package name when installing a package using dpkg from source. Running this command: dpkg -i /path/to/deb/ruby-2.2.0.deb installs the package as: ruby-2.2.0 2.2.0 ...
0
votes
0answers
349 views

Dpkg dependency problems on Unpacking a package for Docker

I am building a debian package atlantis-builder.deb with folder structure as: - deb - DEBIAN - control - postinst - postrm - usr - bin ...
0
votes
0answers
148 views

Broken apt trying to install Cassandra

While trying to install Cassandra on Ubuntu 13.10, the installation crashed and now I'm stuck with broken (?) apt-get. Here is the output of an apt-get install -f: Reading package lists... Done ...
0
votes
0answers
181 views

dpkg-query --show [package-name] prints out uninstalled packages

I removed mysql from Ubuntu server completely as below sudo apt-get remove --purge mysql-server mysql-client mysql-common sudo apt-get autoremove sudo apt-get autoclean sudo deluser mysql sudo rm -rf ...