Debian package management system

learn more… | top users | synonyms

86
votes
5answers
81k views

How to list files of a Debian package without install

This command can only list contents of installed packages, dpkg -L PACKAGENAME but how to list contents of a non-installed package, to preview/examine the package?
67
votes
7answers
32k views

Find what package a file belongs to in Ubuntu/Debian?

I frequently find myself missing a program, man page, or other file when working on my Ubuntu 8.04 system. Is there any simple way to look up what package contains a given file (whether it is ...
25
votes
3answers
6k views

How do I find out which package owns a file?

How do I find out what Debian package a file came from?
10
votes
5answers
4k views

installing packages without sudo access

Is there an easy way to install packages with a large dependency tree, provided that you don't have superuser access? For instance, say I wanted to install firefox. Firefox has a ton of dependencies, ...
8
votes
3answers
21k views

Unable to install ia32-libs

I am running Debian wheezy/sid x86_64 and I am trying to install the official Skype package. However I seem to be having a few dependency issues that I can't resolve. I have enabled multiarch, the ...
6
votes
3answers
5k views

Install dependencies for a dpkg package?

I have a dpkg file that i want to install. But I get error messages that it is depending on other packages. I used: dpkg -i file.dpkg Is there a way to install dependencies automatically without ...
5
votes
2answers
4k views

Install deb packages in another directory (or equivalent)

I have a netbook with a tiny hard drive, and an external drive to go with it. It's running Ubuntu. I want to be able to install some packages to that external hard drive, so that when the hard drive ...
4
votes
2answers
267 views

How do I install a package and its depencies with dpkg? [duplicate]

Possible Duplicate: Install dependencies for a dpkg package? dpkg -i package.deb Doesn't install package if it has not-installed dependencies. What parameters do I miss to install that ...
4
votes
2answers
5k views

How to fix“error while loading shared libraries: libgl.so.1”

After I run this command dpkg -l |grep ^rc|awk '{print $2}' |sudo xargs dpkg -P I got the problem while opening smplayer,cairo-dock,unity-2d-shell and amdconfig ,"error while loading shared ...
3
votes
1answer
2k views

changing timezone with dpkg-reconfigure tzdata and debconf-set-selections

I want to set up a script that automatically changes the timezone on a machine (running ubuntu 11.10) and also sets the right values to the debconf database. I've tried the following, but it does not ...
3
votes
5answers
518 views

How do I block a deb file from being installed as the result of a dependency?

I'm running the latest version of Ubuntu 09.10 (syphyllitic sphinx or whatever the heck the codename is) and I'm trying to figure out how to block a package from installing as the result of a ...
3
votes
1answer
280 views

What is the dpkg equivalent of “rpm -ql --last”?

I need to list all packages on the system, in the chronological order (or reverse order) in which they were installed. With RPM, you can do this with "rpm -qa --last". Looking at the dpkg and ...
3
votes
2answers
2k views

Using dpkg to install packages from a local directory

I'm refining our installer. The way it works is all our components are made into .deb files. The installer merely calls dpkg on all of them at once, along with their dependencies. This works ...
3
votes
2answers
314 views

Ubuntu 12.04 error message E: dpkg was interrupted

In Ubuntu 12.04 I got an error message saying: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. After I ran that command, nothing happened and the ...
2
votes
2answers
205 views

How to prevent Ubuntu/Debian users from accessing apt-get or downloading from the web, etc?

Is it possible to have a user in Ubuntu/Debian that does not have access to synaptic, apt-get, dpkg and cannot even download anything from the Web, but has root privileges otherwise? Original post ...
2
votes
1answer
3k views

dpkg: error processing /var/cache/apt/archives/python2.6-minimal_2.6.6-5ubuntu1_i386.deb (--unpack)

I had an issue (Question 199582) which was resolved. Unfortunately I am stuck at this point now. Running root@X100e:/var/cache/apt/archives# apt-get dist-upgrade Reading package lists... Done ...
2
votes
1answer
5k views

SSH - dpkg: command not found?

I'm running Ubuntu and trying to install Ajax Push Engine: This is everything I do since opening the terminal to getting the error: lisandrov@lisandrov-Satellite-L655:~/Desktop$ ssh ...
2
votes
1answer
16 views

How to list installed packages that depend on another installed package in Debian?

I am on Debian (testing). How can I list all installed packages that depend on another installed package? I would prefer to do this using either dpkg or apt, but if another tool (or combination of ...
2
votes
1answer
156 views

Ubuntu - compare original package and installed parameters

I'd like to compare the actual config files for, say, Apache and the ones provided in the original package. The purpose is to have a list of modifications since initial installation because I didn't ...
2
votes
1answer
116 views

How to find out which files on my Debian system are not from any deb packages?

I have Debian testing (wheezy/sid) on my home PC. Some time ago I have been careless enough to install some software with make install and ./install.bin and similar :) Now I want to know which files ...
2
votes
3answers
440 views

Find all packages that uses a given File in Ubuntu?

I'd like to list all the packages that uses a given file. I'm willing to use any tool (such as dpkg, dlocate, apt-file etc.), Please do mind when I say 'use' I don't mean necessarily only ...
2
votes
1answer
1k views

Ubuntu dpkg error , after crash and filesystem error recovery

Ubuntu recently crashed , causing it's partition damaged ( which is EXT4) and Ubuntu was unable to boot , because it couldn't mount anything , only displays Busybox So I used the Live CD to run fsck ...
2
votes
0answers
23 views

Can I configure dpkg to launch kdiff when there's a conflict with a config file update?

We've all seen it... Configuration file 'blah/blah/blah.conf' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you ...
2
votes
1answer
208 views

udev affects behavior of script, prevents dpkg from working

I have a udev rule configured to run a shell script whenever a USB flash drive is inserted; I've verified that udev matches against the rule, that the shell script runs as intended when run manually ...
2
votes
1answer
65 views

Clean Debian package builded from source

I have build a debian package with: $ dpkg-buildpackage -rfakeroot now I would like to change the configuration in the .dsc file and build again. How can I clean the files created by the previous ...
2
votes
1answer
206 views

which files are shown by dpkg-query -L

I recently ran dpkg-query -L $package on the same package a couple of times and got different results. The difference is that one file, the one we'll refer to as $file, is missing. In between the ...
1
vote
2answers
1k views

What do the outputs of dpkg -l mean? [duplicate]

Possible Duplicate: What do each of the details in dpkg -l mean? I have never paid attention to the output produced by the command dpkg -l and noticed it includes descriptors which I can't ...
1
vote
1answer
2k views

What do each of the details in dpkg -l mean?

I am having a hard time deciphering what is returned when I run the command dpkg -l vim and unable to locate a source that breaks it down. For example what does it mean ...
1
vote
1answer
300 views

Query dpkg for All Packages Installed/Removed from Default Image

Is there any way to query dpkg to tell what packages have been added/removed since the base install of a system? I am running Debian 5.
1
vote
1answer
521 views

How can I fix broken apt/perl libraries?

I've got a Raspberry Pi set up as a web server, everything all working well until 5 mins ago, and I seem to have messed up man-db, apt or some perl library. apt-get doesn't seem to be updating and ...
1
vote
1answer
546 views

Package architecture (AMD64) does not match system (i386) on Ubuntu

I have Ubuntu: Ubuntu 12.04.1 LTS This is output of cat /proc/cpuinfo: processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 47 model name : AMD Athlon(tm) 64 Processor ...
1
vote
1answer
2k views

E: Internal Error, Could not perform immediate configuration (2) on util-linux

I had an older version of Ubuntu installed. To upgrade I replaced /etc/sources.list with one from another machine running 10.04. I then ran: sudo apt-get update sudo apt-get upgrade The upgrade ...
1
vote
1answer
321 views

Linux, Debian, Wheezy, Aptitude/DPKG consistency check

In a foolhardy and stupid attempt to solve space issues on my desktop machine, I on purpose deleted Spotify from /opt before realizing that I could remove it using the package manager. After deleting ...
1
vote
1answer
2k views

Can I get dpkg to ignore an error returned from a post-installation script?

I am manually installing a .deb file (which I don't maintain) onto my Ubuntu system. The package has a post-installation script which erroneously fails, and therefore the package is considered ...
1
vote
1answer
1k views

Is it safe to remove /usr/share/locale if 'locales' package is removed

I'm trying to make a minimalistic Debian install for a low-mem VPS box. I'll be uninstalling the locales package, as there is no need for any kind of locale support for my purposes (only a few server ...
1
vote
2answers
223 views

Uploading and updating ubuntu repository with new deb

My problem is as follows: I have an ubuntu package repository which I want to update with some packages. I've been browsing around trying to figure out how this is done and came across 'dput'. ...
1
vote
1answer
827 views

How can I install a debian package using specific version of python

I am trying to install a deb package I built from source, the package is call LIO-Utils. LIO-Utils and the packages to follow require Python2.6 but Ubuntu 11.10 Server is running Python2.7. I have ...
1
vote
1answer
101 views

How can I require a minimal kernel version for a deb package?

I am trying to make a deb package of software for makinging a NAS out of an Ubuntu installation. The software requires kernel patches to be applied therefore the package must use a special kernel ...
1
vote
1answer
814 views

How to resume network upgrade of Ubuntu server?

I'm upgrading from Ubuntu server 10.04 to 10.10 via ssh / byobu. It's gotten to samba configuration window (conflict between smb.conf), however I lost internet connection. When I log back in and go ...
1
vote
1answer
820 views

Ubuntu - Error while installing any software/package

I am newbie in ubuntu. (Version 9.10) I get following error while installing any software from the Ubuntu Software Center.I also get same error while I update ubuntu from Ubuntu Update Center. Any ...
1
vote
1answer
28 views

Upgrading VirtualBox using a `.deb`

I'm trying to upgrade VirtualBox using a .deb: sudo dpkg -i ~/downloads/virtualbox-4.3_4.3.12-93733\~Debian\~wheezy_amd64.deb but it fails with: dpkg: regarding ...
1
vote
0answers
267 views

Half-installed python packages and circular dependency

Something went wrong while updating to ubuntu 12.04 to 12.10: root@ely:/sys/bus/usb/devices# dpkg -l | grep ^i[HUFW] iU libpython2.7 2.7.3-0ubuntu3.4 ...
1
vote
0answers
699 views

Dkpg very very broken, how to repair / start from clean slate?

I am using Ubuntu 10.04. I inherited this set up from a previous employee who was supposed to be administering this machine, so I can not tell you what happened in the lead up to this problem. ...
1
vote
0answers
35 views

How do I just rebuild the ab binary in apache2-utils on Linux without rebuilding all of apache?

(I'm using Debian). I downloaded source for apache2-utils via apt-get source. I just need to apply a patch that applies to ab.c, and I've applied it. I could rebuild everything using dpkg which will ...
1
vote
0answers
210 views

Ubuntu - not able to fix broken package

I'm trying to install Skype on Ubuntu 12, x64. but it is not working. When I try to fix the broken packages I'm getting the following errors: $ sudo apt-get -f install Reading package lists... Done ...
1
vote
0answers
74 views

When trying to install libgcc1 postinst is not found

I am trying to manually install libgcc1 using dpkg. Everything seems to be working okay, until I get the following error: /var/lib/dpkg/info/libgcc1.postinst: No such file or directory dpkg: postinst ...
1
vote
0answers
237 views

linux mint freeze

Linux Mint freezes after a couple of seconds the desktop loads, in a way that I have to shut the power in order to reboot; the mouse doesn't move, Ctrl+Alt+F1 doesn't do anything and I think even the ...
1
vote
1answer
143 views

where does pkg-info takes its information from?

Where does pkg-info takes its information from? More precisely, where & what information do I need to put in my .deb package for pkg-info?
0
votes
2answers
2k views

How do I find out which package owns a file? [duplicate]

Possible Duplicate: How do I find out which package owns a file? How do I find out what Debian package a file came from?
0
votes
2answers
1k views

Linux dpkg - where does it install to?

I ran the following command successfully dpkg -i library.deb Where can I find where this file was installed?