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

0
votes
0answers
8 views

How do I correctly use dpkg-divert in preinst and postrm scripts? [on hold]

I'm building a package which overrides an existing file provided by another package, so I wanted to use dpkg-divert to add a diversion. I tried adding the diversion in the preinst script, and removing ...
-1
votes
1answer
18 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
13 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: ...
2
votes
1answer
52 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
69 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 ...
0
votes
0answers
101 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
76 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
61 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
53 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
50 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
76 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
32 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
62 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
448 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
27 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
100 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
40 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
87 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
114 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 '.' ...
3
votes
3answers
100 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
31 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
103 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
244 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
134 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
912 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
53 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
43 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
185 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
324 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
65 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 ...
4
votes
2answers
427 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
344 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
87 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
313 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
50 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 ...
-2
votes
2answers
197 views

dpkg / apt-get wants to install and overwrite different package

I want to install Pound. Doing this: apt-get install pound produces this: root@myhost:~# apt-get install pound Reading package lists... Done Building dependency tree Reading state information... ...
3
votes
2answers
1k views

What packages are installed by default in Debian? Is there a term for that set? Why some of those packages are `automatically installed` and some not?

It's a very simple question, but I wonder, is there a term to refer to the subset of packages that is automatically installed by Debian distribution? I though that it had something to do with ...
1
vote
2answers
2k views

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

I'm trying to install things in Linux (Crunchbang Linux - a derivation of Debian), and I'm getting errors which point towards mongodb-20gen. When I try to remove it using :- cometbill@Linuxn00b:~$ ...
4
votes
2answers
133 views

Does Debian's dpkg store the time/date of package changes (.i.e. installation/purges)?

I know that dpkg and dpkg-query are good tools to find out about packages currently installed on a Debian system. Besides the information logged to the files /var/log/dpkg.log.* is there any other ...
0
votes
3answers
885 views

Upgrade to squeeze and dpkg returned an error code(1)

I want to upgrade my server so I ran apt-get dist upgrade but I keep having this error: Unpacking replacement aptitude ... dpkg-deb: file `/var/cache/apt/archives/aptitude_0.6.8.2-1_armel.deb' ...
0
votes
1answer
77 views

Debian package very large compared to zip file

I've just made a debian package, when all the files are zipped together the size is 60 MB, however my .deb file made from the same directory is ~150 MB. Have I done something wrong or are there lots ...
0
votes
3answers
118 views

How can I first download KDE files and then install them offline on Ubuntu?

How can I first download KDE files and then install them offline on Ubuntu?
2
votes
1answer
149 views

apt-get can not detect correct python version when using update-alternatives for python

I have installed different python versions on my Linux Mint DE. I used the update-alternatives --set statement to easily switch between the different versions. Unfortunately sometimes apt-get install ...
2
votes
1answer
103 views

apt-get purge <packages> works fine, aptitude still has <packages> marked as installed and reinstalls them

I've created a Rubygem to help with removing old kernels that have built up over years and are eating disk space. (My laptop had 19 kernels on it alone, and on a small SSD...) I want to use apt-get ...
-4
votes
1answer
431 views

Equivalent of these commands in the following distros [closed]

These commands: dpkg -i apt-get install apt-get update apt-get remove apt-get dist-upgrade apt-get purge in these distros: Opensuse, Fedora, Gentoo, Arch, Slackware.
3
votes
2answers
249 views

Debian dpkg broken after apt-get upgrade

I have been running Debian Wheezy for a long time. Today I ran a dpkg upgrade, which has somehow broken things badly. The upgrade aborted, and now apt-get and dpkg are not running. # dpkg dpkg: error ...
2
votes
1answer
46 views

How can I know the dependency packages for an installed package?

Let's say I installed foo. The foo package depends on bar, so bar was installed to satisfy foo's dependency. How can I get Ubuntu/APT/dpkg to tell me that bar is installed because foo is installed? ...
0
votes
1answer
298 views

Lotus Note installation on Linux Mint 14?

I'm trying to install IBM Lotus Note 8.5.3 on Linux Mint 14 using terminal. Problem is that it's not installing and showing following error sudo apt-get install ibm-lotus-notes-8.5.3.i586.deb Reading ...
2
votes
1answer
164 views

How to force a file location in equivs-build

I have some files that I would like to install using .deb files created using equivs-build. What I cannot understand is the syntax required in the .equivs file. This is my file layout: myapp.equivs ...
2
votes
1answer
669 views

error while using apt-get install for any package

I have tried to install texlive-full with apt-get and the installation stopped due to some errors. Later I removed all folders and files related to texlive, texmf manually. Since then I get the ...