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 ...
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 ...
0
votes
3answers
32 views

How do I determine callable commands provided by an installed Debian package?

I'm a relatively new Linux user, so today I ran into an issue. I installed an emulator front-end ("visualboyadvance-gtk") from my distro's apt repository, but after it finished installing, I couldn't ...
0
votes
1answer
27 views

Finding nearest-top-level recommended packages for a particular Debian package

I am in the process of building a live CD, and to reduce the size of the CD image I need to do without some packages. By default, recommended packages are installed and flipping that switch off turns ...
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 ...
0
votes
1answer
40 views

How to configure output of dpkg -l (dpkg-query)

I have 2 machines, which output different things on dpkg -l different manner: 2nd is displaying "Architecture" only in one machine. How to set output language for dpkg and force it to ouptut ...
0
votes
0answers
91 views

Terminator (broken?) dependency

I'm trying to install terminator (term emulator) package on Debian 7.2 (stable) from testing: Package: terminator Pin: release a=testing Pin-Priority: 1000 But apt complains: # apt-get install ...
0
votes
1answer
34 views

Need assistance with understanding this make file for debian linux

I have this code in make file and i could not get it CHECK=dpkg -L $1 2>&1 >$(NULL) || $(APT) install -y $1 install.dpkg.%: $(call CHECK,$*) I want to know I have read that $* means ...
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 ...
0
votes
1answer
95 views

Install .deb packages into mounted fs

I have a ext2 partition on CF card to use in external device. I've inserted this card into my PC and mount it as /mnt/linux. I've installed (extracted) a linux distribution to this partition. And I ...
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
1k 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 ...
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 ...
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 ...
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 ...
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 ...
0
votes
1answer
154 views

Build debian package of Django 1.4 for squeeze

I need to build a debian package for Squeeze of Django 1.4 to add to our local aptitude repository. I found a package here under Download Source Package python-django: ...
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 ...
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 ...
0
votes
3answers
15k views

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

When i typed: sudo apt-get -f install i get the following errors: dpkg: error processing /var/cache/apt/archives/librtmp0_2.4+20111222.git4e06e21-1_i386.deb (--unpack): subprocess dpkg-deb ...
0
votes
1answer
58 views

Is is possible to include additional non-diverted files in a config-package-dev package

I'm currently struggling with enhancing a package which uses config-package-dev to install a bunch of configurations for PostgreSQL. Those work fine but now I'd also like to include a ...
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'. ...
2
votes
1answer
115 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 ...
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.
0
votes
1answer
66 views

Deb packages stay with my username

When I run the command: dpkg -b myprog and sudo dpkg -i myprog.deb The file in /usr/bin and /usr/share/, etc. stay with my username as owner and creator of the file when all the other are ...
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?
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?
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 ...
0
votes
2answers
248 views

How do I compile mercurial 1.5.2 on debian?

I downloaded the files for Mercurial 1.5.2 from http://packages.debian.org/sid/mercurial (mercurial_1.5.2-1.debian.tar.gz, mercurial_1.5.2-1.dsc and mercurial_1.5.2.orig.tar.gz). How do I get a .deb ...
3
votes
5answers
516 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 ...
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?
0
votes
2answers
2k views

Unable to use dpkg to uninstall dependencies

I am trying to uninstall the package openssh-client using dpkg. I also have the packages openssh-server and ssh-askpass-gnome installed and want to uninstall those as well. Currently I have the ...
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 ...
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?
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 ...