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

0
votes
0answers
9 views

How to automate cleanup of config files from past pkgs as reported by “dpkg -l | grep ^rc”

There are a number of pkgs that weren't removed with "apt-get purge" and I would like to automate cleaning them up. You can't apt-get purge apache2.2-common because the pkg is already removed. You ...
0
votes
0answers
31 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
1answer
106 views

update nginx 1.4.4 to 1.4.5 trying to overwrite X which is also in package Y

I get this error while trying to upgrade: Preparing to replace nginx 1.4.4-4~raring (using .../nginx_1.4.5-1~raring_amd64.deb) ... Unpacking replacement nginx ... dpkg: error processing ...
0
votes
1answer
38 views

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 ...
0
votes
1answer
143 views

syntax error: unknown user 'munin' in statoverride file

Server running Ubuntu 12.04 lts I installed munin the other day on a server. I decided later to remove it with apt-get. I noticed that not everything was removed from the installation so manually ...
0
votes
0answers
94 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: ...
0
votes
0answers
38 views

install build dependencies of a .deb package

I have built a .deb package from (our) sources and the package is not in the repo (yet): % dpkg-checkbuilddeps dpkg-checkbuilddeps: Unmet build dependencies: devscripts (>= 2.12) fakeroot (>= ...
1
vote
3answers
2k views

libapache2-mod-php5 uninstalled after update impossible to put back

I use Webmin to administrate my Ubuntu 12.04 x86_64 machine. Yesterday, as often, I got notified of updates and installed them. During the installation process, libapache2-mod-php5 has been ...
0
votes
1answer
41 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
0answers
39 views

Build PHP with dpkg-buildpackage

Trying to build PHP with command: dpkg-buildpackage -rfakeroot -d But got an error: Thank you for using PHP. config.status: creating php5.spec config.status: creating main/build-defs.h ...
0
votes
3answers
99 views

Trying to install package with dpkg - no space on disk

I have an issue with dpkg and disk space. When I installed my pc, I let the installer create partitions using lvm. My rootfs was created at 322MB, now I just have 97M left. The disk is full so there ...
1
vote
2answers
638 views

dpkg: error processing linux-image-amd64

After running apt-get update apt-get upgrade apt-get dist-upgrade apt-get install -f dpkg --configure -a I get the following Error: dpkg --configure -a Setting up initramfs-tools (0.112) ...
5
votes
2answers
3k views

dpkg-reconfigure: unable to re-open stdin: No file or directory

I am building a provisioning script for a ubuntu vagrant vm, on a ubuntu host, both 12.10 64bit When installing the following packages: sudo apt-get -y install php5-xsl graphviz php-pear unison I ...
0
votes
1answer
33 views

Force apt-get not to upgrade a custom package dkpg [duplicate]

I've created my own deb package for Redis 2.6.11 instead of the very old default version for Ubuntu. All works well except when I do an apt-get upgrade it tries to install what it thinks is the latest ...
0
votes
1answer
185 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
56 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 ...
3
votes
1answer
140 views

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 ...
1
vote
2answers
85 views

Search for installed unavailable packages (backports and 3rd party)

I would like to remove any packages that I installed from third party repositories. I recently installed some backports from PPA repositories, and I suspect one of them broke my Ubuntu 12.04 server ...
0
votes
2answers
139 views

How to enable sysstat from shell script in Ubuntu? [duplicate]

In Ubuntu, I can install sysstat using apt, e.g. apt-get install sysstat And then enable it via interactive prompt dpkg-reconfigure sysstat But I want automate the process using fully automated ...
1
vote
1answer
596 views

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 ...
0
votes
1answer
53 views

apt-cache under Debian 6.0 displays a packet both as a dependency and conflict at the same time

Could somebody explain how can a syslinux packet both depend on and conflict with syslinux-common: martin@IBM:~$ dpkg -l syslinux syslinux-common Desired=Unknown/Install/Remove/Purge/Hold | ...
2
votes
1answer
71 views

debian, diff, config default

I want to know if is posible to get the diff on the original versus the current config files of installed debian packages. If found an answers which shows up the modified config files, but I find no ...
0
votes
1answer
555 views

Upgrading nginx-full 1.2.1 to nginx 1.2.6 from PPA on Ubuntu 12.10

I'm trying to upgrade nginx 1.2.1 to version 1.2.6 on ubuntu 12.10, but with no luck. I've previously installed nginx using apt-get install nginx-full because I needed the modules instead of building ...
3
votes
2answers
334 views

What is the yum equivalent of dpkg -L?

dpkg -L lists all the files provided by a package. How is this accomplished in yum? OS is SL6.
0
votes
2answers
68 views

Filesystem owner changed by mistake [closed]

I ran this command on my ubuntu server 12.04 by mistake: chown someuser / -R On RHEL it would be fixed by this command: rpm --setugids -a Is there anyway to fix it in ubuntu server?
3
votes
1answer
338 views

Permission Mystery - apt-get and other system utilities have 000 permissions

I'm trying to track down this strange behavoir for years now. Always after installing software-updates the permissions of a lot of system-tools are broken as you can see below. I am reasonable ...
0
votes
1answer
67 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/ ...
5
votes
2answers
6k views

dpkg: warning: files list file for package 'x' missing

I get this warning for several packages every time I install any package or perform apt-get upgrade. Not sure what is causing it; it's a fresh Debian install on my OpenVZ server and I haven't changed ...
1
vote
1answer
135 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, ...
3
votes
1answer
173 views

Stopping dpkg from removing symlink on package upgrade

I have a debian package that installs a file to /usr/local/java/jre/lib/ext, where /usr/local/java is a symlink to where the jvm is actually installed, in this case /usr/lib/jvm/java-6-sun. The new ...
4
votes
2answers
716 views

Chef recipe to install varnish 3.0 on ubuntu lucid?

Here's my problem. I want Varnish 3.0, but Lucid only has the 2.1 package available. So using Chef, I need to make an install recipe that adds the varnish-cache.org repository to the apt sources and ...
7
votes
2answers
464 views

apt: how to search using package tags?

Some (most?) packages in Debian, have tags. For example: =# apt-cache show squirrelmail | perl -lne 'print if /^Tag:/.../^\S/' Tag: implemented-in::php, interface::web, mail::imap, mail::smtp, ...
-1
votes
1answer
918 views

Debian: How to get rid of openoffice/libreoffice?

After upgrade from Squeeze to Wheezy (testing), I end up with few errors when running apt-get upgrade further. Most of the errors concern openoffice.org and libreoffice, both of which I do not need. ...
-1
votes
0answers
1k views

Regarding Reinstalling PostgreSQL [closed]

I was using PostgreSQL 8.4. I tried removing it through Synaptic Manager and then I tried to install 9.1, but I still version 8.4. I deleted all the files associated with postgresql. Now I am unable ...
0
votes
1answer
396 views

Can't remove partially-installed extension

I'm on an Ubuntu 11.10 server with PHP 5.4 installed from a PPA. I had the MySQL library installed (php5-mysql) but wanted to try out the native driver (php5-mysqlnd), so I ran sudo apt-get install ...
2
votes
2answers
50 views

generate an automated reinstallation file

Running Debian Lenny distros : I'm still wondering how to iso a complete distro setup "easily", but for the time being, I'd like to able to run easily and quickly a reinstall, so I added such a line ...
2
votes
1answer
46 views

persist debian package on Ubuntu

I have an Ubuntu server that I recompiled libcurl for sftp support. The problem is when the server is rebooted or updated I have to reinstall the curl package. I am not clear how to persist this ...
0
votes
1answer
454 views

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

I'm getting an error while trying to update the linux-image-2.6.32-5-amd64 package on Debian 6, x64. Setting up linux-image-2.6.32-5-amd64 (2.6.32-41squeeze2) ... Running depmod. Running ...
4
votes
1answer
63 views

How can I install a third-party .deb package in an arbitrary base dir?

I have a .deb which politely installs itself in /opt. For my purposes I would prefer it acted like a first-class citizen and installed itself in the regular filesystem locations. Is there a way to do ...
3
votes
2answers
310 views

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 ...
0
votes
1answer
70 views

Should i disable triggers when force reinstalling packages in ubuntu (to repair corrupted exectables)

I want to reinstall some selected packages on my ubuntu server (lucid). I'm planning on running cat packages.txt | xargs apt-get --reinstall install to restore some executables I think may have become ...
1
vote
5answers
367 views

How do I get a list of packages that “Provides” something" using dpkg?

I see that dpkg has a "Provides" field for packages. $ apt-cache show vim-tiny | grep Provides Provides: editor $ How do I know which packages provide i.e. "editor"?
0
votes
1answer
270 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 ...
2
votes
2answers
618 views

How to config the parameter in puppet sudo module in order to replace the client sudoer?

I'm configuring sudo module in puppet according to this code class sudo { package { sudo: ensure => present, } if $operatingsystem == "Ubuntu" { package { "sudo-ldap": ensure => ...
0
votes
1answer
327 views

dpkg: error processing <..>

# dpkg -i /var/cache/apt/archives/pve-firmware_1.0-14_all.deb (Reading database ... 39867 files and directories currently installed.) Unpacking pve-firmware (from .../pve-firmware_1.0-14_all.deb) ... ...
8
votes
2answers
679 views

Odd behavior of apt-get with post-inst instructions, and .desktop files

We have a number of hand-built (with fpm and jenkins) .deb files in a local Apt repository (reprepro). These .debs contain a .desktop file that will be picked up by xdg-desktop in a post-inst script. ...
2
votes
1answer
3k views

Installing MySql 5.5 on Debian with the deb package

I'm setting up a debian server as a development server. apt-get gave me everything I need to install, except for mysql 5.5 as this version is still in the experimental branch. So what I tried to do ...
0
votes
1answer
389 views

UBUNTU - Broken DPKG and Index

Was doing a package update and it ended a process and hung so I rebooted the server and now it will not allow me to perform any more updates. I tried the following to no avail: sudo apt-get clean ...
0
votes
0answers
298 views

Error when trying to build nginx with Auth PAM install package on Ubuntu 11.04

I've previously rebuilt the nginx .deb package with the auth_pam module included in Ubuntu 10.04. Here are the instructions I'm following: ...
0
votes
3answers
1k views

Using apt-get fails due to improperly configured dav_svn.conf file?

We're working on updating one of our internal development servers (running an older version of Ubuntu, 8 or 9 I'd guess), and are encountering errors when upgrading/installing packages using apt-get. ...