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.
Questions tagged [dpkg]
169 questions
126
votes
4 answers
List of files installed from apt package
How do I get a list of files that were or will-be installed when I apt-get a package? Conversely, can I find what package(s) caused a particular file to be installed?
David Nehme
- 1,756
- 4
- 14
- 13
120
votes
9 answers
How do I get the history of "apt-get install" on Ubuntu?
I am about do move a server from one Ubuntu box to another. I'm not cloning the old box to the new; I'm creating a new system and will move data as needed. I want to install all the software that I have on the old box on the new one.
Is there a…
Paul Hoffman
- 2,094
- 4
- 18
- 23
94
votes
4 answers
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 get the warning:
dpkg-reconfigure: unable to re-open…
Daithí
- 1,333
- 1
- 11
- 14
67
votes
5 answers
automate dpkg-reconfigure tzdata
I'm using puppet to admin a cluster of debian servers. I need to change the timezone of each machine on the cluster. The proper debian way to do this is to use dpkg-reconfigure tzdata. But I can only seem to change it if I use the dialog. Is…
razor
55
votes
6 answers
Given a debian source package - How do I install the build-deps?
I have a debian (well technically ubuntu) source package, i.e. the .dsc, the .tar.gz, etc., I want to build this. The dpkg-buildpackage fails, since I don't have all the build dependencies.
Normally I'd use apt-get build-dep, but this package isn't…
Amandasaurus
- 30,211
- 62
- 184
- 246
45
votes
4 answers
How do I show the actions that installing a .deb package will take?
I would like to be able to view the scripts/triggers associated with a package due for upgrade so that I can tell, for example, whether it will result in the web server being restarted. I can't find an aptitude option to show me that (or apt/dpkg);…
Sam Brightman
- 745
- 1
- 7
- 12
39
votes
5 answers
Can dpkg verify files from an installed package?
With rpm -qV openssh-server I will get a list of files that have changed compared to default.
~$ rpm -qV openssh-server
S.?....T. c /etc/ssh/sshd_config
~$
Can dpkg on Ubuntu do the same?
Sandra
- 9,973
- 37
- 104
- 160
27
votes
1 answer
How to update a package using puppet and a .deb file
I am trying to figure out the proper way to update/upgrade a deb package using puppet from a local source deb file. My current config looks like this...
class adobe-air-2-0-4 {
file { "/opt/air-debs":
ensure => directory
}
file {…
delux247
- 764
- 1
- 6
- 12
25
votes
12 answers
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 any dpkg settings.
Here's an…
Mark
- 357
- 1
- 4
- 10
23
votes
3 answers
How can I properly sign a package I modified and recompiled?
I ran dpkg-buildpackage after getting a apt-get source nginx of a backports version of nginx and modifying debian/rules to include the uwsgi module. The last results of the command were:
dpkg-deb: building package `nginx' in…
meder omuraliev
- 1,701
- 3
- 20
- 30
20
votes
2 answers
How to find files in a Debian system not installed or created by dpkg?
I've installed some things manually in the past and would like to weed out all related files. So, I need a way to automatically find all the files (in /usr, for example) that are not included in any of the packages currently installed on the Debian…
Karol
- 323
- 2
- 9
15
votes
4 answers
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,
mail::user-agent, network::server, protocol::http,…
user13185
14
votes
3 answers
Ubuntu dpkg, non interactive installation
I am trying to install a bunch of .deb files without having to interact with them. MySQL Server for example will prompt for an interactive menu to enter an administrative password upon the dpkg's configuration.
I have tried.
export…
james moore
- 219
- 1
- 3
- 7
13
votes
5 answers
Compute a list of difference between packages installed on two hosts
I just add some problems with my Debian virtual servers and I add to reinstall all of them from scratch. However, I still had access to the old version and I could retrieve the list of installed packages.
In order to facilitate the process of…
krtek
- 583
- 4
- 8
12
votes
2 answers
What is the yum equivalent of dpkg -L?
dpkg -L lists all the files provided by a package. How is this accomplished with yum?
The operating system is Scientific Linux 6.
cat pants
- 2,139
- 10
- 33
- 44