Debian package management system

learn more… | top users | synonyms

0
votes
3answers
6k views

“-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.
6
votes
2answers
7k 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 ...
0
votes
2answers
284 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 ...
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 ...
0
votes
1answer
156 views

How to solve cryptic dpkg error?

I get this message when my ubuntu system was crashed. dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem How to solve it?
1
vote
1answer
849 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 ...
11
votes
5answers
6k 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, ...
3
votes
5answers
649 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 ...
182
votes
7answers
157k 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 ...
0
votes
2answers
1k views

Solving Ubuntu's resolve -problem with dpkg

This question is based on Popey's answer. I mounted my broken Ubuntu such that I can access it by Ubuntu Live CD. However, I did not manage to run one of the commands such that my X11 gets stuck at ...
4
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
152 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?
1
vote
3answers
654 views

How to make Linux package manager recognize software installed from source?

I don't even know if this is possible, but I'll ask anyway. I'm building a Linux From Scratch system, and I'm pretty close to the end. Obviously, everything until now has been compiled and installed ...
165
votes
8answers
82k 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 ...