the base software for Debian package management
74
votes
12answers
20k views
What are the pros/cons of deb vs. rpm?
For whatever reasons, I've always used RPM based distros (Fedora, Centos and currently openSUSE). I have often heard it stated that deb is better than rpm, but when asked why, have never been able to ...
7
votes
1answer
929 views
How to make dpkg faster?
Package (un)installation on a Debian system is horribly slow, partly because it works with a whole bunch of (small) files. Short of getting a faster storage, how do I speed it up? I'm thinking maybe ...
7
votes
4answers
501 views
How can I reliably “hold” a package in Debian?
I have a package in Debian that has been manually patched (not ideal, I know) that I must hold at its current version so upgrades don't overwrite the patched changes (I will manually inspect and apply ...
6
votes
3answers
5k views
Installing a .deb package in home directory
Is it possible to install a .deb package completely under my home directory at debian?
5
votes
1answer
309 views
Conflict? dpkg, apt, apt-get, aptitude, and synaptic
So, I ssh into a (very) remote Ubuntu 10.4 server to do some admin and web dev+design. And I was looking through the various package manager options.
There's a lot.
The big ones are dpkg, apt, ...
5
votes
4answers
110 views
Install a .deb completely 'by hand'
So, I recently acquired a brand new Nokia N900 phone off of an online auction site for a fairly reasonable price. The N900 is a Linux phone, and it came out a long time ago, but it's only just now ...
5
votes
1answer
332 views
Firefox circular-dependency hell on Linux Mint 13
Having difficulty re-installing Firefox, after an installation to resolve places.sqlite issues. It appears that I'm trapped in circular dependency hell.
Need to resolve firefox dependency hell to ...
4
votes
3answers
538 views
How to list currently not installed packages?
I'd like to output a list of all currently not installed packages (they are visible in Synaptic for example) using only shell commands. How do I do this?
Thanks!
4
votes
1answer
1k views
I cannot install new packages: “Could not get lock /var/lib/dpkg/lock”
I am new to Linux (installed Ubuntu for the first time yesterday), and have never dealt with any unix-based OS. I started using Linux for the sole purpose of collaborating code with my partners via ...
4
votes
1answer
1k views
How to fix zramswap error?
I installed zramswap-enabler on Ubuntu 11.10 using the ppa but when installing programs or running system upgrades I get this error:
Setting up zramswap-enabler (0.2.1-0~12~oneiric1) ...
start: Job ...
4
votes
1answer
63 views
Sharing code between dpkg scripts
What is the standard way to share code between the dpkg scripts (preinst, postinst, prerm, postrm)?
I can see how to share code between just postinst and prerm (by installing it as part of the ...
3
votes
1answer
963 views
Is dpkg available for Cygwin?
I don't use Windows all that often, but I've found my self in a position where I'm stuck in front of one quite a bit temporarily. So I've been investigating Cygwin. My question is dpkg available for ...
3
votes
1answer
4k views
Not able to lock /var/lib/dpkg/lock (read only)
I was trying to install ruby on my remote server(this is a vm machine(debian) in a esxi server . ) I got this error:
The Command:
sudo apt-get install ruby1.8
Error :
W: Not using locking for read ...
3
votes
2answers
218 views
Install downloaded packages with dependencies
I sometimes download .deb packages from the internet and install them with dpkg -i package.deb If the packages have unmet dependencies. How can I install the dependencies automatically (similar to ...
3
votes
1answer
49 views
Installed using apt-get, then ran out of storage
I attempted to install a large package, forgetting that I had little space left, and now I am a little stuck.
When I attempt to remove any packages I get the following error:
E: dpkg was ...
3
votes
1answer
368 views
listing packages in Debian, a la `dpkg -l`, but including the package origin/source
I want to list all packages of the form
$ dpkg -l libav\*
but in addition to this output, I would like the origin/source (I'm not sure of the preferred term) of each package. If the package doesn't ...
2
votes
4answers
2k views
dpkg: new pre-installation script returned error exit status 1
I ended up dealing with a software meant to be deployed using dpkg. The .deb package works fine on the test env but fail on staging. Both are running the same version of Ubuntu but I am not 100% sure ...
2
votes
3answers
553 views
How to install StackApplet on Debian?
I would love to install StackApplet on Debian 6.0.2!
I downloaded 'stackapplet_1.4.0_all.deb' and ran following command:
root@debian:/home/dagrevis/Downloads# dpkg -i stackapplet_1.4.0_all.deb
...
2
votes
2answers
861 views
Why did 'apt-get install ffmpeg' fail?
I dont understand how or why apt-get install failed. It mentions ssmtp which is simple smtp which i use to send mail from my server to my google apps account. I dont understand what is wrong or how to ...
2
votes
1answer
167 views
Prompting for input in post-install script in dpkg
I am writing a debian package and need to prompt the user for some textual details(default password, etc), as well as some one-of-many choices("Pick one of the following: foo, bar"). Will shell ...
2
votes
1answer
98 views
Where is tcl-doc man page stored?
I installed tcl-doc. Prior to installation "man tcl" gave nothing. Now it gives a page.
When I do
"dpkg -L tcl-doc" I get
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/tcl-doc
...
2
votes
1answer
152 views
Is my apt-get dependency tree corrupted?
I wanted to uninstall the libboost libraries. I wrote in the console:
sudo apt-get remove libboost-*
But looking more precisely at the console output, I noticed apt-get was ready to remove several ...
2
votes
1answer
172 views
Apt-get refuses to stop trying to install Acroreader
I'm using Mint 13 if that matters. And I'm new.
Anyway, I tried installing Adobe Reader 9 using their installer from:
http://www.adobe.com/support/downloads/product.jsp?product=10&platform=Unix
...
2
votes
1answer
111 views
Aptitude Search reports package installed, while Aptitude Show reports it not installed - how is that possible?
me@friedly_server:~$ aptitude search samba-tools
i samba-tools - Samba testing utilities
me@friendly_server:~$ aptitude show samba-tools
...
2
votes
1answer
55 views
Can't install anything
I'm not able to install, update or do anything else with apt-get, aptitude, dpkg and so on.
The lock-file /var/lib/dpkg/lock exists from boot-time on. When I delete it and run apt-get update, it ...
2
votes
1answer
118 views
apt-get won't install: dpkg: files list for package 'gnome-themes-standard-data' is not a regular file
I'm trying to install packages to get a webcam stream running on my raspberry pi. All of a sudden, apt-get is totally busted -- every time I try to install, reinstall or purge something that might fix ...
2
votes
1answer
51 views
Creating a Debian package that does not remove directories after it's purged
I'm trying to create a Debian package that doesn't delete an empty directory after it's purged. Specifically, I'm creating my own package containing some CA certificates I trust.
I'm following ...
2
votes
4answers
69 views
Get package sources and repository link
Is there any way (dpkg, apt?) to get a package's sources and URL to repository, if available, in Debian ?
2
votes
4answers
3k views
debian: Remove or reinstall package in a very bad inconsistent state
I'm having a package management problem:
At some point, I must have interrupted an update or something, because the bluez package has broken. I've tried removing and/or reinstalling, but I get ...
2
votes
1answer
169 views
What user installs a .deb package?
I am experiencing a behavior in the installation of a .deb package that I don't really understand.
I have a set of "things" in my computer that I deploy to remote computers using a .deb package. I ...
1
vote
3answers
246 views
Can't install dpkg on Linux 2.6.18
I have a virtual machine that I am trying to use. It doesn't seem to have dpkg or apt-get, so I downloaded the source from http://packages.debian.org/sid/dpkg-dev.
If I run ./configure followed by ...
1
vote
1answer
60 views
How /var/lib/dpkg/lock works?
/var/lib/dpkg/lock is file that holding a lock when "A package manager is working". But how this system works? I have /var/lib/dpkg/lock everytime when I have Linux working. When I use one of package ...
1
vote
2answers
257 views
dpkg and google-chrome don't get along with gnome
Install fine. Works fine. Next day the logo and apps menu entry is gone. Doesn't seem to matter what I do. On installation, GDebi refused to install the package, and crashed instead, so I used dpkg ...
1
vote
2answers
152 views
Can I determine what changed in an upgraded package using apt or dpkg on Debian 6?
I just did an apt-get upgrade on my Debian 6 development server and noticed that a certain package named tinyproxy was upgraded. I have a particular interest in seeing precisely what changed in that ...
1
vote
4answers
935 views
Install ffmpeg 0.7.1-5 from debian package
I downloaded this package for ffmpeg.
When I try to install it with command
sudo dpkg -i ffmpeg_0.7.1-5_i386.deb
it writes this error message:
Unpacking ffmpeg (from ffmpeg_0.7.1-5_i386.deb) ...
...
1
vote
1answer
33 views
Replacing Multiple Debian Packages from Compiled Source
I've had to download and install a version of a library from its source code repository. The problem is is that other packages from the Kubuntu package manager require this library to be installed. ...
1
vote
1answer
52 views
Understanding aptitude's behavior on a machine with multiple archives enabled
I'm having to deal with a Debian server, which initially was Squeeze, I believe, but where administrator enabled several distributions:
deb http://mirror.yandex.ru/debian/ stable main contrib ...
1
vote
2answers
2k views
“apt-get -f install” Fails Due to “dpkg” Error Code:
When I run apt-get -f install, I get the following abnormal output:
Setting up cups (1.5.0-8) ...
start: Job failed to start
invoke-rc.d: initscript cups, action "start" failed.
dpkg: error ...
1
vote
2answers
48 views
The dependency isn't installed
I'm testing my .deb package and cannot find out why it doesn't install the dependencies:
The control file's Depends line is:
Depends: zend-grid-module, postgresql-8.4, ${shlibs:Depends}, ...
1
vote
1answer
148 views
Ubuntu Could not purge package
I've tried to install oracle-java7-installer package from custom repository onto Ubuntu 12. It was failed during executing some post-installation script.
So. I want just to rollback it and proceed ...
1
vote
3answers
75 views
Debian Squeeze not whole of package contents installed [closed]
When I do apt-get install usb-modeswitch-data, not all of it's contents are installed under /etc/usb_modeswitch.d. I looked inside package and wasn't able to understand how could it be -- there were ...
1
vote
2answers
308 views
How to fix “ambiguous package name 'libglib2.0-0'” problem?
Using Ubuntu 11.10 64 bit, whenever I try apt-get [anything] or dpkg [anything] I get this error:
dpkg: error: el fichero de registros de disparadores menciona un
nombre de paquete ilegal ...
1
vote
0answers
39 views
Weird issue with unmet dependencies when cloning package states from earlier installation on same machine
I've been doing the usual routine of saving the package selections and also marking the packages as auto or manual as outlined in the question and answer here: Restoring all data from backup of dpkg ...
1
vote
2answers
99 views
dpkg sees them, but apt-get can't remove them?
(similar to the question Uninstalling default VBoxGuestAdditions on Debian but a Ubuntu install, and the solution there isn't working for me?)
and really the issue seems to be with dpkg/apt-get not ...
1
vote
0answers
141 views
Dependencies between shared libraries in the same Debian packages
Suppose I want to create a package with multiple shared libraries - call it libfoo, which contains liba.so.1 and libb.so.1. Now, say liba.so.1 uses a symbol from libb.so.1. If I compile like this, ...
0
votes
1answer
57 views
Clearing dpkg downloaded data?
I'm using dpkg (Cydia), and a package keeps saying that it's downloading 26.2 MB, and resuming at 166.0 kB. It is consistently failing to install properly. Is there a way to clear this "saved data" ...
0
votes
2answers
103 views
Determining Dependencies and Installing from Directory
I have a directory with all Dependencies in .deb format.
But there are lots of them. I need only those that i need for gimp.
biggenius@hacbook:~/Desktop/rocks/packages$ dpkg-deb -I ...
0
votes
1answer
42 views
Mysql server remove/install problem - horribily broken
I'm having the same issue as Ken did on this post; Removing broken packages .
And I did pretty much what Ken did except to different packages. Now, I'm stuck with unclean hooks. I've detailed my ...
0
votes
1answer
60 views
Best practices for attaching debug symbols to system libraries during development?
I'm at a stage in a project where it would be really handy to have a debug version of a system package installed. On Ubuntu at least, adding the debug symbols to a library is a piece of cake. ...
0
votes
1answer
1k views
How to fix dpkg-buildpackage: command not found? [duplicate]
Possible Duplicate:
How to find out which (not installed) package a file belongs to?
The wish is to install hd-idle on a bare Debian 6.0.6 installation.
For installation the hd-idle ...