Questions tagged [dpkg]
Dpkg is the Debian package management utility that performs lower-level tasks in software installation and removal. This tag should be used for questions about using and troubleshooting the dpkg utility.
4,149
questions
5
votes
2
answers
485
views
Configuration of dropbox-nautilus package hangs while downloading dropbox binary
While installing dropbox from the repositories, my laptop ran out of power, and so the system went into a broken state. When I rebooted, I tried two methods to set it right. One was
sudo dpkg --...
2
votes
1
answer
90
views
howto install compiled package
I compiled an upgraded source for a lesser package already installed.
How do I use dpkg or another to install and let the system upgrade system know about it
In system:
hdf5-tools 1.8.8-9
...
3
votes
1
answer
492
views
What is a tainted binary package?
Using dpkg I created some debian packages containing self-written libraries that install without problems. But when I try to run lintian on one of them, I just get the following error:
warning: ...
1
vote
2
answers
2k
views
Removing and re-installing texlive 2012
I have a problem with texlive. For some reason I couldn't load the siunitx package anymore. Because I had problems with Texlive before, I accidently installed 2 versions next to each other with them ...
0
votes
1
answer
359
views
Update Manager cannot update due to dpkg error... (Ubuntu 12.10)
I just downloaded the updates to Ubuntu 12.10; however, when I attempt to install these packages, I get this error [via Update Manager]:
installArchives() failed:
Preconfiguring packages ...
...
20
votes
7
answers
52k
views
dpkg: invoke-rc.d: initscript mysql, action "start" failed
I have read a number of the posts here and they all state to run the following commands:
Apt-get -f remove **
apt-get update
apt-get upgrade
apt-get -f install **
I have seen these in various order ...
7
votes
1
answer
14k
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 &...
1
vote
2
answers
123
views
How do I update an individual package without breaking future updates?
I'm on a LTS release and want it to remain LTS. However, I have an individual package called libmlx4-1 that I need to update to version 1.04 (i.e. libmlx4-1) . This is in the Ubuntu 12.10 (quantal) ...
3
votes
1
answer
152
views
Installing using dpkg -i
I was trying to install some aplications after downloading the file x.deb and after doing:
sudo dpkg -i x.deb
The result is always:
Processing triggers for desktop-file-utils ...
Processing ...
0
votes
1
answer
1k
views
Major issues trying to clean up /boot
12.04 LTS here, first off let me start with a uname -a output for you
3.2.0-35-generic-pae #55-Ubuntu SMP Wed Dec 5 18:04:39 UTC 2012 i686 i686 i386 GNU/Linux
So my boot partition was at 100%. A ...
0
votes
1
answer
4k
views
Openfire 3.8.0 cannot find JRE 7
I've installed the official Oracle Java on my Ubuntu machine. For that I did the following:
Download the latest JRE for x64 (.tar.gz)
Unpacked this archive on my Windows machine
Uploaded the folder ...
1
vote
1
answer
264
views
Manually Adding Installed Package
i built some packages myself using make & make install instead of apt-get because some packages in ubuntu repositories are not the latest version, sometimes not new enough to build some package ...
1
vote
1
answer
81
views
What packages on Ubuntu Server 12.04.1 are need?
After I had some troubles with apt-get I added too much packages with the ubuntu-desktop package. Unfortunately, this happened on a ubuntu-server, so there are many unused packages now. Because I'm ...
38
votes
4
answers
19k
views
How can I tell which package an executable came from? [duplicate]
I'm answering a question with a suggestion to use rename, and I realize I don't know what package it comes from (as part of the answer, I imagine saying something like "if you don't have rename, it's ...
0
votes
2
answers
493
views
get dpkg --get-selections equivalent list from dpkg.status.0
My SSD crashed, and I can't find the output from dpkg --get-selections that I created recently.
However, I could make a copy of the /var/backups/dpkg.status.0 file from the broken ssd. I feel like ...
3
votes
4
answers
9k
views
dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
I got this error while installing ubuntu-restricted-extras:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
So I ran that in terminal:
vennesa@...
2
votes
1
answer
3k
views
Cannot install any package using apt [closed]
It seems that some packages on my Ubuntu (Ubuntu 10.04.4 LTS, lucid) are broken, preventing me from installing any new packages. I have gone through similar questions in this site, but all proves ...
1
vote
1
answer
167
views
How to revert libdrm without causing dependency issues?
I've been experiencing severe stability issues for the past couple days, and I've narrowed it down to being a part of X, since everything goes back to normal for a bit when I restart lightdm.
I use ...
2
votes
2
answers
508
views
Weird output when running "dpkg -l linux-image" (12.04 LTS)
When I run "$ dpkg -l linux-image" I get:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (...
3
votes
2
answers
16k
views
sudo dpkg --configure dpkg: error processing default-jdk (--configure):
default-jre depends on default-jre-headless (= 1:1.7-43ubuntu3); however:
Package default-jre-headless is not installed.
dpkg: error processing default-jre (--configure):
dependency problems - ...
13
votes
3
answers
21k
views
How to display all apt-get Dpkg::Options and their current values?
There is
apt-get -o Dpkg::Options::="--force-confnew"
and
apt-get -o Dpkg::Options::="--force-confold"
and many more.
How can I get a list of all Dpkg::Options and their currently set values?
3
votes
0
answers
1k
views
HDHomeRun Dual and Kaffeine
I am trying to get HDHomeRun Dual to work with Kaffeine. I installed DVB per the instructions here: http://sourceforge.net/apps/trac/dvbhdhomerun/wiki/UbuntuPackages
but at the end, when I install, I ...
1
vote
1
answer
290
views
Stuck at dpkg and can't upgrade anymore
gaith@ubuntu:~$ sudo apt-get upgrade
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
gaith@ubuntu:~$ sudo dpkg --configure -a
Setting up update-...
50
votes
5
answers
254k
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 ...
1
vote
1
answer
4k
views
cant install yaml-cpp because it conflicts with yaml-cpp?
It appears that no yaml-cpp is installed
sudo apt-get remove yaml-cpp
Package yaml-cpp is not installed, so not removed
But when I try to install yaml-cpp I can not because apt-get all of a sudden ...
1
vote
1
answer
650
views
dpkg error code (1) while trying to re-install Firefox
I removed Firefox by the following command:
sudo apt-get remove --purge firefox
Then, I used Chrome browser for a while. Now, I want to re-install Firefox on my system, but I get the following error:...
36
votes
2
answers
18k
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 ...
2
votes
2
answers
3k
views
Installing a package works, but then I have to wait for 10 minutes for several "dpkg: error processing linux-headers..." errors
Whenever I try to apt-get install something or use the Synaptic Package Manager to install / uninstall something, I have to wait for > 10 minutes and the following report is generated:
(Reading ...
2
votes
2
answers
213
views
Finding diff to conffile?
Suppose some package foo...
$ apt-get install foo
..installs a dpkg blessed conffile /etc/foo.conf (ie package maintainer version)
Now suppose after the package is installed /etc/foo.conf is ...
26
votes
3
answers
31k
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 ...
3
votes
2
answers
224
views
What does this info mean when I fire `dpkg -l lxpanel`?
When trying to see the version of LXPanel and fire dpkg -l lxpanel, I get
~$ dpkg -l lxpanel
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-...
3
votes
2
answers
56
views
Splitting a large package into smaller ones/upgrade path for users?
I maintain a couple of large packages that we use internally and starting with the next release I would like to split those into smaller packages. These packages are already installed in a number of ...
5
votes
1
answer
3k
views
apt-get upgrade fails with `Permission denied`
I have recently installed 12.04 and all seemed to be well, until today when I got a series of errors when trying to run apt-get upgrade:
$ sudo apt-get upgrade
Reading package lists... Done
...
2
votes
1
answer
824
views
Error while installing package - Ubuntu 12.04
Below is the error i am getting. when i install or upgrade , i have been struggling for a while to solve .
sudo apt-get upgrade
Reading package lists... Done
Building dependency tree ...
2
votes
2
answers
3k
views
dpkg: error processing linux-headers-3.2.0-35
Whenever I install, update or uninstall a program in the terminal, this comes up
sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... ...
1
vote
1
answer
2k
views
Half installed package error [duplicate]
Received the following error when attempting to install from Terminal:
Selecting previously unselected package dassault-systemes-draftsight.
(Reading database … 211618 files and directories currently ...
6
votes
3
answers
8k
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. ...
10
votes
3
answers
6k
views
list all suggested packages for currently installed packages
Every time I install a package:
sudo apt-get install <pkg>
apt-get displays a list of suggested packages. I have simply ignored these so far, but some of these suggestions are actually good (...
4
votes
1
answer
4k
views
How can I fix dependency problems with firefox? [duplicate]
Possible Duplicate:
How do I resolve unmet dependencies?
I can't do anything from Ubuntu Software Center or from Terminal
This is what i get from command line:
deus@comp:~$ sudo apt-get ...
13
votes
3
answers
35k
views
nginx dependency problem trying to upgrade
Trying to upgrade my Ubuntu 12.04 vps I get the following error:
henrik@neung:~$ sudo apt-get upgrade
[sudo] password for henrik:
Reading package lists... Done
Building dependency tree
...
7
votes
1
answer
12k
views
How to run ctags?
I've installed exuberant-ctags package, but when I run ctags, etags or exuberant-ctags, I always get command not found.
Where can I find executable file to run exuberant-ctags?
5
votes
1
answer
13k
views
apt-get install git-core failed
After running sudo apt-get install git-core, I get
Unpacking git-core (from .../git-core_1%3a1.7.4.1-3_all.deb) ...
Errors were encountered while processing:
/var/cache/apt/archives/git_1%3a1.7.4.1-...
5
votes
1
answer
2k
views
How to resolve package conflicts installing LibreOffice 3.6.4?
The latest release of LibreOffice is 3.6.4, however only 3.6.2 is available in the software centre. I have installed the file available at http://www.libreoffice.org/download/?type=deb-x86&lang=en-...
1
vote
0
answers
2k
views
How to resolve dpkg error code (1)?
I get the following apt-get error message:
sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to ...
-1
votes
1
answer
1k
views
problem installing make command, x11rdp and libxcb1-dev package [duplicate]
I installed x11rdp using the tip here How to install and configure X11RDP?, its a script that download, build, install and configure x11rdp, I ran once the sudo bash setup.sh, it didn't work because I ...
12
votes
2
answers
28k
views
libgtk-3-0 dependency issues
I've been trying to update standard packages on my Ubuntu box. There's literally nothing extra on this box except for VirtualBox for some Windows stuff I run. Here's one output:
$ sudo apt-get update
...
0
votes
1
answer
130
views
Having a Problem After Installing Mac-osx Theme and setting it up With Cairo dock [duplicate]
When I enter sudo apt-get upgrade, this message shows up:
dpkg: error: cannot scan updates directory `/var/lib/dpkg/updates/': No such file or directory
E: Sub-process /usr/bin/dpkg returned an error ...
3
votes
1
answer
2k
views
linux-image-generic seems to be broken
I'm using Ubuntu 12.04. Recently I can't install anything anymore. I always get the following error message:
Setting up linux-image-3.2.0-34-generic (3.2.0-34.53) ...
Running depmod.
update-initramfs:...
10
votes
3
answers
116k
views
How do I become a "superuser"?
The following command fails with an error:
$ dpkg -i libmotif*i386.deb
dpkg: error: requested operation requires superuser privilege
How do I become a superuser? I thought I was the superuser?
1
vote
0
answers
4k
views
I can't install any packages without it failing - I get an error about config.dat being locked - how can I fix this? [duplicate]
I had a power failure on my laptop, so I ended up crashing in the middle of a package installation. How do I fix this error?
jrg@atlantis:~$ sudo apt-get upgrade --fix-missing
Reading package lists......