The base software for Debian/Ubuntu/Mint package management. Use this tag for questions about dpkg and its companion utilities and the .deb file format.

learn more… | top users | synonyms

1
vote
1answer
26 views

Rename Debian package automatically pulled by apt-get upgrade

I have installed package_a with version 1.0. How to configure package control script for package_b (e.g version 1.1) to automatically replace package_a? tried (as described in 7.6.2): Package: ...
5
votes
3answers
448 views

Why do package managers need lock files?

dpkg uses a lock file (/var/lib/dpkg/lock), when in use. Why are these lockfiles needed? Why are multiple instances not possible?
2
votes
2answers
117 views

Installing python gives dpkg error

Installing python gives a dpkg error. I have done these commands, output below $ sudo apt-get install python3.4 $ sudo dpkg -C $ sudo apt-get check $ apt-cache policy libglib2.0-dev $ sudo ...
4
votes
1answer
404 views

What does “Sub-process /usr/bin/dpkg returned an error code (1) ” mean?

I've seen this message several times whenever someone has a problem installing, upgrading or removing some piece of software, but I wonder, what does it mean, and more importantly, how can I solve it? ...
2
votes
2answers
45 views

Debian: get package name for installed file

I'm connected via SSH to a PC running Linux kernel 3.11.1: root@alix:~# uname -r 3.11.1 how can I find out which package installed this specific file or kernel version respectively? I tried ...
2
votes
0answers
58 views

debootstrap terminates partway through with “stdin: not in compressed format”

I'm on an Arch GNU/Linux system, fully up-to-date (both official repositories and from the AUR). I'm attempting to install a copy of Debian Wheezy so that I can chroot into it and work with the ...
1
vote
1answer
80 views

How to verify that package-installed files match originals?

Let's say I have an installed, working and up-to-date system, and want to verify that all package-installed files on it are the same as those packaged by the respective package maintainer. In effect, ...
1
vote
1answer
41 views

Create a deb package from difference between two images

I am maintaining an Ubuntu server image as a development environment with several deployments. If my base image changes - install a package, modify conf files, etc - I am manually patching the new ...
3
votes
1answer
62 views

Backtrace of “git clone” running inside qemu-user-emulation based arm-chroot

I'm running a wheezy:armhf chroot using qemu user emulation on my jessie:x86_64 system. Somehow, a git clone on a particular private repository will hang inside the chroot, while succeed natively. ...
0
votes
1answer
21 views

Start an installed Debian Package from Konsole

i have installed teamviewer from dpkg and when i list it: dpkg-query -l it shows up, but how can i run it? Its not under "Applications" thanks!
4
votes
1answer
151 views

Unable to remove openmediavault package due to postrm script error

I'm a Unix noob so struggling a bit with the commands. Managed to set up SABnzb, Sickbeard and Couch Potato and all working nicely I have a problem with Ubuntu 12.04 server. When trying to upgrade or ...
2
votes
2answers
123 views

dpkg won't install package with dependencies that have newer version

Please someone explain to me this, because it makes no sense: $ dpkg -i freeling-3.1-quantal-x86_64.deb Selecting previously unselected package freeling. (Reading database ... 283003 files and ...
0
votes
1answer
100 views

How to force `dpkg` to install dependencies [closed]

I would like to install .deb file via dpkg in Arch Linux. This .deb file needs many dependencies. I don't want to install dependencies by hand. How do I force dpkg to install dependencies?
1
vote
0answers
28 views

How to combine deb dependencies into main package?

I want to include deb-dependencies with main deb-package. Consider 1 deb package which have 19 deb dependencies, so I have to install all packages by dpkg -i *.deb. If all 19 dependencies can be ...
1
vote
0answers
27 views

How do I confirm if another instance of my package manager is still running?

dpkg is reporting that the database is locked which may imply that another instance of the package manager is still running so how do I check this? I have a Debian based system and this came up while ...
-1
votes
1answer
41 views

Unable to install new package on debian armhf

I got a debian 7.4 armhf that have been running for month without any problems. A few days ago I made some updates, and after that it seams that my dpkg doesn't work correctly any more. When I try to ...
0
votes
0answers
29 views

When installing libpbc on Linux Mint, configure fails, and there is a shell script for dpkg, but it seems to have no output

I am trying to install libpbc.I started with the git URL. The git clone command installed a new pbc directory. The INSTALL file advises using ./configure. However this command returns, configure: ...
3
votes
2answers
133 views

What means “unable to make backup link of /binary before installing new version: No such file or directory”?

I'm trying to upgrade some package in a VM, but I dpkg refuses to apply the upgrades due the following: dpkg: error processing /var/cache/apt/archives/ifupdown_0.7.5ubuntu2.2_amd64.deb (--unpack): ...
0
votes
1answer
230 views

dpkg won`t install any package

I`m in deep trouble with my Ubuntu 13.04. Ubuntu stopped support of 13.04 so I added wheezy repository to sources.list then upgraded my system. After then I can neither install any package nor upgrade ...
3
votes
2answers
273 views

How to remove Dropbox

I am trying to remove Dropbox from my computer. So far I have done the following: sudo aptitude remove dropbox sudo aptitude purge dropbox But this didn't get rid of it 100% oshiro@debian:~$ ...
0
votes
0answers
717 views

subprocess installed pre-removal script returned error exit status 1

Here is the virtualbox-4.3.prerm script. apt-cache policy virtualbox-guest-additions-iso virtualbox virtualbox-4.3. I was trying to install virtualbox-guess-additions-iso, and got the following ...
1
vote
1answer
154 views

Linux Debain Squeezy Distro: Weakerth4n, Kconfig && make issues

I am running the Weakerth4n linux operating system on my old dell d600 laptop I got at Defcon for $80 USD. Anyway I had a question about making certain programs (like Virtual Box) this may be as ...
2
votes
1answer
111 views

debian: remove all packages installed on a specific day

I have to remove all packages installed on a specific day. My solution is to look up the file /var/log/dpkg.log, find out the entry with the right date, extract the names of the packages and remove ...
0
votes
0answers
107 views

Error when installing Oracle VirtualBox on Ubuntu 12.04

I got the following error and couldn't find any solution on Google: apt-get -f install VirtualBox-4.3 dpkg: error processing /var/cache/apt/archives/virtualbo ...
1
vote
2answers
94 views

Listing Debian packages which are not fully installed

This is with reference to sudo: apt-get: command not found. On Debian, SSH. This user managed to break his system by installing some packages from wheezy on a squeeze system - not sure why or how. In ...
1
vote
2answers
147 views

Debian package created by checkinstall overwrites a config file in /etc/default

I'm using checkinstall (1.6.2) to create a Debian package from compiled binaries. "make install" copies two files as follows: install -m 0755 gmediarenderer /etc/init.d install -m 0644 -T ...
3
votes
1answer
36 views

Flag a package as being configured on Debian even if it's not

For various reasons, I have a package on my Debian system which cannot configure itself properly. I know why and I don't want to correct the problem right now. However, I want to avoid apt trying to ...
3
votes
3answers
100 views

List all software installed from particular component (non-free, contrib)

Is there a way to list all non-free and contrib software installed in Debian via apt? /etc/apt/sources.list is as follows deb http://ftp.us.debian.org/debian/ wheezy main non-free contrib deb-src ...
-1
votes
2answers
1k views

dpkg: dependency problems prevent configuration of initramfs-tools

I started an upgrade of my Kubuntu 12.04 system with this command, as usual: sudo apt-get --show-upgraded dist-upgrade I came back later and it had failed: Preconfiguring packages ... (Reading ...
2
votes
2answers
36 views

Diff dpkg files with local copies

Is there a way of diffing the dpkg files with the one that are actually installed? Or barring that a way to find ones that have been modified?
3
votes
1answer
164 views

Why does grep change the length of output lines?

I often use dpkg or aptitude combined with grep when I want to list certain packages available or installed on my system, but I noticed that when I add | grep, the output lines look a little bit ...
1
vote
1answer
43 views

validate all packages to be correct

I have two machines. One of which started to act strange lately (aptitude segfaulting, apt requiring a library named lkbm.qo.6). As the broken machine is not vital to me, I don't want to squash and ...
1
vote
3answers
129 views

What is the difference between a linux package and a linux module?

when I do dpkg --get-selections or less /proc/modules I see two different list. I don't understand the difference between the elements of each...
0
votes
1answer
167 views

Installing packages from LMDE on debian wheezy

I downloaded thunderbird from LMDE repo and tried to install it on my debian wheezy machine, using apt-get install I get a ton of this garbage output; Note, selecting 'iceape-l10n-cs' for regex '.' ...
4
votes
3answers
191 views

Can removed Debian packages have leftover files?

I noticed a weird thing in my /etc/init.d files and tried to look a bit what was going on. Here's my problem: # apt-file search /etc/init.d/minissdpd minissdpd: /etc/init.d/minissdpd # ...
1
vote
1answer
49 views

is it possible to determine installed packages on a secondary mounted drive?

I'm "upgrading" to a new distro (from Linux Mint 15 -> 16) by performing a fresh installation to a new drive, and referencing my original drive as needed. I've currently booted to my new installation ...
1
vote
0answers
152 views

Debian 7.3 can't remove postgresql

Solved: I removed /var/lib/dpkg/info/postgresql-8.4 Now everything is fine. sudo rm -r /var/lib/dpkg/info/postgresq* I got this problem: alex@VRIL ~ % sudo apt-get install python3 Reading ...
1
vote
2answers
341 views

When removing a Debian package, how can I also remove Python *.pyc files?

I have a Debian package say XYZ.deb which copies some file on installation. As per Debian package policy on package uninstallation only those files will be removed which were copied during ...
7
votes
2answers
149 views

Re-installing apps after a fresh install?

I'm on Debian and I want to re-partition my drive and reinstall. Is there an easy way to restore all currently installed packages after a fresh installation? I'm thinking of doing it by making a ...
16
votes
6answers
1k views

What's .deb and .rpm and how is it different from .msi?

What are these file formats and how do they differ from the .msi format in Windows? Also what are the pros and cons of these package management schemes?
3
votes
2answers
90 views

Naming conventions / translation between dpkg and apt packages?

I've been trying to figure out package management in debian a little better. I figured out that you can list all the packages on your system by using the "apt-cache pkgnames" command: ...
1
vote
1answer
52 views

Debian: package updates in stable distribution

I am running Debian Wheezy, which is the current stable Debian distribution. In my /etc/apt/sources.list, I have something like the following: deb http://ftp.de.debian.org/debian wheezy main deb ...
0
votes
1answer
263 views

Cannot install rsync (unable to create…Input/output error)

How do I resolve the following error to get rsync installed? unable to create '/usr/bin/rsync.dpkg-new' (while processing './usr/bin/rsync'): Input/output error Full log follows: ...
2
votes
2answers
874 views

List of installed programs without running a program in the system

My Linux Mint 15 broke and there seems to be no way to fix it. I cannot boot it so I haven't got access to the terminal. What I'm going to do is make a backup of /home with a flash disk running Mint ...
2
votes
1answer
85 views

understanding Debian dpkg package version numbers

When I type dpkg -l | grep xserver-xorg, I get list of installed packages and their versions: ii xserver-xorg 1:7.7+3~deb7u1 ii xserver-xorg-core 2:1.12.4-6 ii ...
6
votes
2answers
882 views

feeding input values to dpkg-reconfigure in non-interactive way

I would like to configure ubuntu package via dpkg-reconfigure with all the values supplied via non-interactive mode (in the script). In fact my case is firebird confiiguration ...
2
votes
2answers
501 views

How can I purge old kernel packages in Elementary OS?

On my Elementary OS system, dpkg reports a number of kernel packages that aren't installed. (I did an apt-get purge on them previously.) I'd like to have them forgotten about entirely, but I can't ...
1
vote
1answer
111 views

Gdm uninstallation fails (“pre-removal script returned error”)

I installed gdm on my vps and now I want to remove it but get this error: root@server2:/etc/init.d# apt-get remove gdm3 Reading package lists... Done Building dependency tree Reading state ...
2
votes
1answer
434 views

How to custom build debian's busybox?

I'm building an embedded system based on debian 7, and I'd like to make the most out of busybox that comes with debian. The problem is default busybox build in debian seems quite minimal, for example ...
3
votes
2answers
58 views

Ubuntu 12.04: updating package message

When ever I updated packages, (they update) I receive the following message about TeXLive: dpkg: warning: parsing file '/var/lib/dpkg/status' near line 2888 package 'texlive-local': missing ...