The Debian package management system that powers most software installs.

learn more… | top users | synonyms

242
votes
13answers
711k views

Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?

I get this error when trying to use apt-get: E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/) is ...
167
votes
1answer
274k views

Installed Teamviewer using a 64-bits system, but I get a dependency error

I was trying to install Teamviewer, but I was getting a dependency error. I tried to install them, but with no luck. I'm getting this error: Unpacking teamviewer (from teamviewer_linux_x64.deb) ... ...
156
votes
5answers
160k views

How do I get a list of installed files from a package?

I want to know where I can find my installed application when I installed it on Ubuntu using package manager. I installed RabbitMQ and ran locate rabbitmq which gave me following result: ...
118
votes
8answers
127k views

How to let `dpkg -i` install dependencies for me?

Say, I have foo-1.2.3.deb which depends on perl and python, however, running command: dpkg -i ./foo-1.2.3.deb won't install these dependencies. So I must apt-get install perl python by hand. How ...
68
votes
2answers
28k views

What is the difference between dpkg and aptitude/apt-get?

When installing a software via dpkg -i packageA.deb, will the dependencies required by packageA be downloaded and installed automatically? How is this different from using apt-get or aptitude?
42
votes
3answers
64k views

How do I change my timezone to UTC/GMT?

Currently when I execute the date command from bash I get the following displayed Thu May 17 12:21:00 IST 2012 Below is my timezone config based on executing dpkg-reconfigure tzdata Current ...
40
votes
5answers
37k views

How can I find the version number of an installed package via dpkg?

I use the dpkg -l command to find out what version of a package I have installed. For example: dpkg -l network-manager returns the information on the package: ...
39
votes
3answers
22k views

What do the various dpkg flags like 'ii' 'rc' mean?

I frequently need to check which packages are installed, and I use the following command: dpkg -l | grep foo which gives the following output Desired=Unknown/Install/Remove/Purge/Hold | ...
38
votes
1answer
6k views

How to create a meta-package that automatically installs other packages?

I'd like to be able to create a package that doesnt contain any code or programs itself, but instead installs other packages that exist in the repositories onto a computer, sort of how the ...
33
votes
7answers
25k views

Is it possible to install a .deb from a URL?

Is there a way to install a deb package directly from a URL, using a shell? Something like dpkg -i http://domain.com/path/to/package.deb (I know I could use wget and then dpkg, I'm just wondering ...
33
votes
1answer
18k views

Restoring all data and dependencies from dpkg --set-selections '*'

So I can run on one machine: dpkg --get-selections '*' > selection.txt On another machine: dpkg --set-selections < selection.txt ... followed by either of the following: aptitude install ...
28
votes
1answer
3k views

Will Ubuntu replace dpkg with snappy?

My apologies for being uninformed, but I couldn't find the answer through Google or read/understand a definite answer out of Mark's announcement. Are there plans to replace dpkg in its entirety with ...
27
votes
3answers
6k views

apt-get vs. aptitude .vs synaptic compatibility

As a former Debian user, I "kind of" remember that I should only use one of the package managers... Either apt-get, aptitude, or synaptic, but not the three in combination 'cause there may be ...
25
votes
3answers
16k views

dpkg --get-selections shows packages marked “deinstall”

Executing dpkg --get-selections shows packages with one of the markers install or deinstall. Some packages I could remove completely with apt-get remove. What does deinstall mean? What can be done ...
23
votes
1answer
8k views

Where is virtualenvwrapper.sh?

I don't know what's more embarrassing: that I don't know how to go about finding the answer to this question myself, or that it has to be asked at all in the first place, but... where does apt-get ...
22
votes
3answers
9k views

How to list packages from a ppa/source in command line?

I want to list all the files from a source, say extras.ubuntu.com from the command line. What is the command for that? dpkg --list lists all files or just the filename.
19
votes
2answers
20k views

dpkg: error: parsing file '/var/lib/dpkg/available' near line 0

Been trying to install git-core package for almost more than half a day now. Everytime i do, I get this error: dpkg: error: parsing file '/var/lib/dpkg/available' near line 0: newline in field name ...
19
votes
8answers
38k views

How do I rebuild a corrupt dpkg status file?

Whenever I type sudo apt-get remove and then press the Tab key for auto-completion I get the following message: grep-status: /var/lib/dpkg/status:15945: expected a colon . I don't see anything ...
18
votes
3answers
15k views

dpkg error: “trying to overwrite file, which is also in…”

For example: $ sudo apt-get install curl Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these: The ...
17
votes
3answers
167 views

Prevent Ubuntu from shutdown before background automatic updates complete

So there is a situation were I have installed a (x)Ubuntu 14.04 on a friend's PC. Automatic updates are set "download and automatic install updates". The problem is after some months of use, it ...
16
votes
2answers
4k views

How to fake a package version installed?

Being an early adopter and using 11.04 daily builds I sometimes meet a situation when some packages require earlier versions of other packages than those I have installed. Usually newer (but refused) ...
15
votes
2answers
26k views

How do I list all installed packages with specific version numbers?

I would like to list all the installed packages, with specific version numbers on my system. I checked out dpkg --get-selections (How to list all installed packages?) but it doesn't show me what I ...
14
votes
3answers
4k views

Why do some packages conflict with themselves?

After an upgrade to Oneiric I have had some troubles with the package manager (it wanted to remove half of my system, including libc6, zlib1g packages etc). During the fight with aptitude I've noticed ...
14
votes
5answers
24k views

Steam Install Error on 14.04 Ubuntu 64bit

I have tried some of the solutions posted elsewhere in the support forum, one seemed like it worked but after a steam update i found myself back at square one I am a new Linux user and am already at ...
14
votes
2answers
43k views

Message 'E:dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.'

Whenever I am trying to get the update I am getting the error at the last line: Ign http://in.archive.ubuntu.com trusty-updates/multiverse Translation-en_IN Ign http://in.archive.ubuntu.com ...
14
votes
2answers
15k views

How do I get details about a package which isn't installed?

How can I get some details about a package without installing it, (eg. the description and version number) like in Synaptic or Aptitude. The command dpkg -s PACKAGE does not work, with this error. ...
14
votes
7answers
37k views

Errors were encountered while processing: man-db

I get this error when I use apt-get upgrade & apt-get autoremove and on every apt-get [Something].. and when I try to install applications too: Errors were encountered while processing: man-db E: ...
14
votes
3answers
1k views

gpg: keyblock resource ‘/etc/apt/trusted.gpg.d//webupd8team-sublime-text-3.gpg’: resource limit

No matter what I do, I get the following error: gpg: keyblock resource ‘/etc/apt/trusted.gpg.d//webupd8team-sublime-text-3.gpg’: resource limit The original error(Dutch) Original Dutch sudo ...
13
votes
1answer
18k views

Force apt-get to overwrite file installed by another package

(I realize a similar question was asked before but the answers there don't handle these details) I'm on Ubuntu 10.10 and need both python2.5 (coming from deadnsakes -- ...
13
votes
4answers
42k views

Do Dpkg and apt-get install dependencies?

I've been wondering, is there a way to tell dpkg or apt-get that when I want to install a package also install all the dependencies it requires? I installed a package using dpkg but it complained ...
13
votes
2answers
11k views

apt changelog for to-be installed packages [duplicate]

GUI update-manager is able to show the "changelog" of packages to-be installed (not downloaded yet). I also found out how to provide the .changelog files in the right place for update-manager to show ...
13
votes
2answers
15k views

“gzip: stdout: No space left on device” while upgrading the kernel [duplicate]

I see the following error while trying run the command shown below. I read somewhere that my /boot partition is low on disk space. How can I increase the size of the /boot partition so I can install ...
13
votes
4answers
34k views

How to remove/install a package that is not fully installed?

I went to install bsnes the other day and for whatever reason the installation failed. Now, I cannot update, install new packages, or do basically any apt-get commands as they all try to process this ...
13
votes
1answer
69k views

remove package with apt-get or dpkg [duplicate]

I am just wondering if I want to remove a package from my system say google-chome-stable, i have two ways of doing it: sudo apt-get remove google-chrome-stable and dpkg -r google-chrome-stable ...
12
votes
2answers
37k views

How can I Resolve dpkg dependency?

administrator@zlounes:~$ sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct ...
12
votes
2answers
5k views

Can I rebuild a package without recompiling the source?

I am building a new .deb and want to fix lintian errors in the packaging. However, every time I rebuild, the rules file does a 'make clean' and thus starts compiling again. Is there a way to ...
12
votes
3answers
5k views

'trying to overwrite file already in shotwell-common package' while installing shotwell from the PPA

I am trying to update my version of Shotwell. Well, my Ubuntu system is. I am getting the following apt-get error. Can anyone tell me how to resolve it? I have tried a few different things so now ...
12
votes
2answers
36k views

How force remove when post-installation script always fail

I have a custom package installed on my Ubuntu 10.10, and trying to remove it, I got: $ sudo dpkg -r package sub-process script post-installation installed returne an error state 127 (the message ...
12
votes
2answers
8k views

How can I downgrade packages without removing their dependants?

I have a number of mesa packages that I had upgraded to a PPA version, before purging the PPA so I could upgrade my system. The differences in the versions are minor (they are technically the same, ...
11
votes
9answers
78k views

Can't install Skype 4.3 on Ubuntu 14.04 64 bit

First of all, I think this question is not duplicated, because I have tried all other solutions I found here, but nothing solved my problem. I use Ubuntu 14.04 64 bit. I have tried until now: sudo ...
11
votes
5answers
13k views

How to resolve E: Internal Error when using apt-get remove?

I use: apt-get remove To remove some software, but it displays: error:E: Internal Error, No file name for libssl1.0.0 . I also try this to resolve the error: wget ...
11
votes
3answers
15k views

apt-get: No space left on device (12.04)

I have read every thread I could find -- even the ones that say that the question has been answered elsewhere but none of them address the specific issue I am having. Update Manager ran and produced ...
11
votes
4answers
1k views

Does installing packages manually with dpkg prevent a future upgrade path?

I manage a private network which has no internet connectivity due to the security policy of the customer. This network has a single Ubuntu 10.04 LTS Server installation (soon to be several more) and ...
11
votes
1answer
627 views

Difference between `dpkg -i` and `apt-get install`

From all the other Q&A (like: What is the difference between dpkg and aptitude/apt-get?) I understand that apt-get is a wrapper over dpkg and provides dependency management. Assuming I'm ...
11
votes
3answers
7k views

What is dpkg for?

My question is simple -- I want to know more about dpkg -- what does it do?
11
votes
1answer
23k views

How do I force configuration of partially installed packages?

Whenever I run aptitude safe-upgrade, I get this output: The following partially installed packages will be configured: cups gconf2 ufw update-manager No packages will be installed, upgraded, or ...
11
votes
4answers
11k views

Find (and reinstall) packages with corrupted files (without breaking anything)

I usually prefer to fix a Linux system than to reinstall from scratch. My computers have seen many distribution upgrades and a list of PPAs or third-party repositories. APT usually makes sure that ...
10
votes
4answers
10k views

dpkg: error: parsing file '/var/lib/dpkg/updates/0045' near line 0:

I am getting this error in Ubuntu 12.04 , while doing the below operation. frank@august:~$ sudo apt-get install ttf-mscorefonts-installer [sudo] password for frank: E: dpkg was interrupted, you ...
10
votes
3answers
24k views

dpkg: error: dpkg status database is locked by another process

I just wondered if somebody could tell me what this means: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. reidsr@ubuntu:~$ sudo dpkg --configure -a ...
10
votes
4answers
8k views

How to solve dpkg-source source problem when building a package?

Has anyone here had some experience creating a Debian / Ubuntu package? I am trying to backport the lammps package (http://packages.ubuntu.com/quantal/lammps) from Ubuntu 12.10 (Quantal) to Ubuntu ...