Questions tagged [dpkg]

Debian package management system

dpkg is a tool to install, build, remove and manage Debian packages.

179 questions
408
votes
7 answers

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 installed already or not)? Maybe some obscure option for…
Jay Conrod
  • 5,806
384
votes
9 answers

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?
Lenik
  • 18,830
130
votes
5 answers

How do I find out which package owns a file?

How do I find out what Debian package a file came from?
27
votes
3 answers

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?
23
votes
3 answers

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 work (at the end, the current timezone remains…
13
votes
2 answers

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 broken. dpkg: error processing astah-community…
11
votes
2 answers

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 tools) is required I am willing to install that…
herzbube
  • 293
11
votes
6 answers

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, each of which have their own dependencies, etc.…
whitman
10
votes
4 answers

apt-get install: Error: Timeout was reached?

What has gone wrong if this error message appears AFTER apt-get has finished downloading and installing packages? ... Processing triggers for menu ... Error: Timeout was reached This was on a Debian Wheezy/Sid.
basic6
  • 2,837
10
votes
3 answers

"-bash: line 7: dpkg: command not found" said CentOS

I'd like to use the command dpkg in my PHP script (using exec). I'm running CentOS. Is there a way I can install the command dpkg on there? Step by step guide would be fantastic.
Moe
  • 111
10
votes
2 answers

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 is not plugged in the netbook still functions,…
9
votes
1 answer

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 programs, English only is perfectly enough). My…
hyperknot
  • 952
9
votes
5 answers

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 issue seems to be that there is a huge amount of…
Alex
  • 93
8
votes
3 answers

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 having to use apt-get/aptitude (the latest version of…
ajsie
  • 1,919
7
votes
2 answers

Why installing Docker from their repository and not from the default?

In the Docker docs in Install Docker Engine on Ubuntu there's an option of installing from the repository (along with the options to download the deb file and install it, and using the convenience script which also uses the repository). But I see…
YoavKlein
  • 325
  • 5
  • 8
1
2 3
11 12