the system that powers most software installs.

learn more… | top users | synonyms

126
votes
15answers
376k 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 ...
14
votes
8answers
26k 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 ...
10
votes
3answers
6k 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 ...
1
vote
1answer
2k views

dpkg-divert: error: rename involves overwriting `/usr/lib/xorg/protocol.txt' with different file `/usr/lib/xorg/protocol-precise.txt', not allowed

I just installed Ubuntu (12.04.4) and I upgraded to 13.10 I have no idea how to fix this :/ $ sudo apt-get install -f Reading package lists... Done Building dependency tree Reading state ...
84
votes
2answers
117k 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) ... ...
6
votes
1answer
32k views

E: dpkg was interrupted… run 'sudo dpkg --configure -a'

I was running an upgrade with the apt-get command, and it was taking an exceptionally long time because half way through my ISP hit me in the face with their fair usage policy. After sitting outside ...
30
votes
1answer
4k 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 ...
19
votes
2answers
10k 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 | ...
18
votes
2answers
12k 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 ...
21
votes
1answer
12k 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 ...
41
votes
2answers
12k 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?
10
votes
2answers
9k 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 ...
6
votes
1answer
6k views

Unmet dependencies: linux-generic

Today I went over to my grandma because she had some problems with her computer, running Xubuntu 12.04LTS. After fixing 'the problem' (Firefox was set fullscreen..) I ran the usual apt-get update ...
5
votes
0answers
10k views

dpkg: error: parsing file '/var/lib/dpkg/status' near line 6449 [duplicate]

This problem occured when trying to update using the update manager. A problem occured so I cleared all the cache and tried to update once again this time in terminal, and it spat out: dpkg: error: ...
4
votes
3answers
6k views

“/etc/grub.d/README: 6: Syntax error: ”(“ unexpected” while upgrading grub package

I am facing a problem while installing any program. I get an error of Sub-process /usr/bin/dpkg returned an error code (1). Following is log of the output of apt-get -f install. Any idea what's wrong ...
2
votes
3answers
5k views

Unable to install any packages due to unrecoverable fatal error /var/lib/dpkg/diversions

I am currently unable to install any packages. I receive the following error: dpkg: unrecoverable fatal error, aborting: too-long line or missing newline in `/var/lib/dpkg/diversions I have ...
4
votes
1answer
5k views

dpkg exit with error parsing file `/var/lib/dpkg/status`, what to do?

When I go to install a software, I encounter this error..Therefore I cannot get update.. Preconfiguring packages ... dpkg: error: parsing file '/var/lib/dpkg/status' near line 51245 package ...
7
votes
3answers
30k views

error: parsing file '/var/lib/dpkg/status' near line 55497 package 'indicator-displex'

After running an upgrade from Ubuntu 11.10 (Oneiric Ocelot) to 12.04LTS (Precise Pangolin), a window popped up saying that the upgrade failed and that I should run sudo dpkg --configure -a. Running ...
57
votes
7answers
63k 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 ...
9
votes
2answers
20k 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 ...
3
votes
2answers
12k views

dpkg: error: unable to access dpkg status area: Read-only file system

I am a newbie in this operating system I installed Ubuntu 12.10 and I found it very interesting to use. Then once I install chromn from ubuntu software I got I/O Error After that I could not ...
3
votes
4answers
18k views

update-alternatives: error: alternative path /lib/plymouth/themes/Lmint/Lmint.plymouth doesn't exist

When I use sudo apt-get install I get the following errors when installing any package: (This example is while installing Gnome extensions) Reading package lists... Done Building dependency tree ...
2
votes
3answers
6k views

Can't run “dpkg --add-architecture i386” on 12.04 64-bit to run eclipse ADT

Running ubuntu 12.04 64 bit. I am trying to follow the steps written at the end of this page under the Heading : Installing Android SDK compat libraries. I am doing it in order to solve this problem. ...
2
votes
4answers
58k views

How to fix “Could not open lock file” because “Permission denied”? [duplicate]

Whenever trying to install any software and update manger, I get an error stating Package operation failed The installation or removal of a software package failed When I run sudo apt-get update ...
4
votes
1answer
5k views

How do I recreate a deleted '/var/lib/dpkg' directory?

Yesterday I had some problem with /var/lib/dpkg/lock during update. I knew that in such cases removing lock file could solve problem. So I tried to do it, but by mistake I removed all DPKG directory. ...
3
votes
6answers
13k 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 ...
3
votes
4answers
6k views

Update manager can not open due to missing /var/lib/dpkg/status

Update manger won't open saying E: could not open file/var/lib/dpkg/status - open(2: No such file or directory), E:the package lists or status file could not be parsed or opened. what to do?
2
votes
1answer
2k views

trying to overwrite 'file', which is also in package '*', how to solve? [duplicate]

I'm not able to update anything. I'm on 13.10. When I try to install updates I get this: dpkg: error processing /var/cache/apt/archives/librhythmbox-core7_3.0.1-0~13.10~ppa1_amd64.deb (--unpack): ...
1
vote
2answers
1k views

How to solve “dpkg: error: 1 expected program not found in PATH or not executable”?

I have installed the LAMP Server using the command sudo apt-get install lamp-server^. Thereafter, whenever I open the terminal the following error started to appear: bash: /home/gaja/.bashrccu: No ...
6
votes
1answer
2k views

Permanently change keyboard layout

I am using Xmonad and LXDE, so I don't want to use gnome-settings-daemon. But there is a problem - without it I cannot switch into or type in Cyrillics. I found some temporary solution - when I enter ...
5
votes
4answers
6k 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 ...
11
votes
1answer
3k 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) ...
4
votes
3answers
11k views

Broken dependencies due to libjackd

So I proudly updated my Linux distro for the first time and thereafter got a problem. I'm running Ubuntu Unity 2D (usually) 12.04 (since today) on a 64 bit computer. Indeed, the first upgrade -- I ...
4
votes
3answers
3k views

Grub-pc installing error

Trying to fix my apt-get upgrade, it always stopped at setting up grub-pc... I read somewhere that I should purge remove my grub2 and then reinstall it. I did that and after lots of paying around i ...
1
vote
3answers
4k views

Debconf errors when configuring mysql-server

When I try to run sudo apt-get upgrade I get the error below. I also get similar error when running sudo reconfigure postfix, which I relly need to run since outgoing e-mail is not working any more. ...
5
votes
3answers
12k views

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

I just wondered if somebody could tell me what this means: E: dpkg ble avbrutt. Du må kjøre «sudo dpkg --configure -a» manuelt for å rette problemet, reidsr@ubuntu:~$ sudo dpkg --configure -a dpkg: ...
4
votes
2answers
7k views

Can't remove kernels “run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1”

Yesterday I upgraded Ubuntu from 12.04 to 12.10. However, the linux kernel has not upgraded from 3.2 to 3.5 as I would have expected. $ uname -r 3.2.0-32-generic $ uname -a Linux tony-b ...
3
votes
3answers
16k views

How to fix “*:i386 cannot be configured because *:amd64 is in a different version”? [duplicate]

I've managed to break apt-get, I think it had something to do with competing versions of libqt between supercollider and Skype. When I run apt-get -f install I get: Reading package lists... Done ...
2
votes
1answer
8k views

error Sub-process /usr/bin/dpkg returned an error code (1) while running sudo apt-get install -f [duplicate]

Possible Duplicate: error occured while running sudo apt-get install -f [sudo] password for rahul: Reading package lists... Done Building dependency tree Reading state ...
2
votes
2answers
3k views

trying to overwrite '*', which is also in package faenza-icon-theme 0.8

I have Docky installed on Ubuntu 10.10 64bit and noticed after a recent upgrade my 'Helpers' are no longer available. After some research I found that Dockmanager is no longer installed either. I am ...
0
votes
2answers
3k views

Install Brother MFC295CN drivers to Ubuntu

I'm trying to get the drivers for my printer going, and not doing well. I tried the following: http://ubuntuforums.org/showthread.php?t=1377270 and the sudo dpkg -i PACKAGE.deb format. It installs the ...
0
votes
1answer
5k views

How do I downgrade nvidia drivers in 12.04?

I am experiencing a problem described in this topic, which I now suspect is due to a bug in the 295.40 version of the nvidia drivers. Are there any builds available for Ubuntu 12.04 precise based on ...
6
votes
4answers
6k 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 ...
5
votes
4answers
12k views

How to reinstall a package

I am getting this while installing libebml3: Errors were encountered while processing: libebml3:i386 Error in function: dpkg: error processing libebml3:i386 (--configure): Package is in a very bad ...
3
votes
1answer
709 views

How do you find the licenses for everything installed on your system?

I want to write a script that outputs the license for every software package installed on my system. Using dpkg --get-selections I am able to get list of everything installed. However, I don't see a ...
2
votes
2answers
990 views

Installed 14.04 on a non-PAE (Pentium-M), but now I can't update (“This kernel does not support a non-PAE CPU.”)

Here is what I'm looking at. This isn't my computer. I repair PC's and I had an end user with this low powered laptop running XP so I decided to let him try out lubuntu. The install went smoothly with ...
1
vote
4answers
3k views

Package operation failed Errors were encountered while processing: xserver-common-lts-raring [duplicate]

Before starting with my problem description, I would like to say that this is my very first time using Ubuntu or anything related to Linux! Now my question! I have installed the very last ...
1
vote
1answer
2k views

I encountered a gconf2 error while installing some packages, what should I do?

I got this error when installing some software: Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not ...
75
votes
5answers
69k 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: ...
22
votes
4answers
15k 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: ...