dpkg is the package format used by Debian, Ubuntu and other popular GNU/Linux distributions as well as the tools used to work with dpkg packages.
Questions tagged [dpkg]
169 questions
1
vote
2 answers
Check to see if "dpkg --configure -a" needs to be run
When something goes wrong in the middle of a dpkg configuration we need to run dpkg --configure -a before installing a new package.
Is there a way to check if "dpkg --configure -a" needs to be run? Any files we can inspect?
![](../../users/profiles/247018.webp)
Cameron Sparr
- 111
- 3
1
vote
1 answer
How to check dependency of debian package?
Before installing a Debian package, I want to check if the current system has all the depending packages installed. Below is what I am currently doing (using bsdgames as an example). Note, I do not want to automatically install dependencies. I just…
![](../../users/profiles/227967.webp)
user180574
- 225
- 1
- 3
- 11
1
vote
0 answers
Broken apt trying to install Cassandra
While trying to install Cassandra on Ubuntu 13.10, the installation crashed and now I'm stuck with broken (?) apt-get.
Here is the output of an apt-get install -f:
Reading package lists... Done
Building dependency tree
Reading state…
![](../../users/profiles/46240.webp)
halfwarp
- 111
- 1
1
vote
1 answer
Why does aptitude want to update the original kernel when I use backports?
On Wheezy I am using the current backports kernel, which I set up via
# echo "deb http://ftp.de.debian.org/debian wheezy-backports main" > \
/etc/apt/sources.list.d/wheezy-backports.list
# apt-get update
# apt-get -t wheezy-backports install…
![](../../users/profiles/121951.webp)
Jan-Philip Gehrcke
- 315
- 2
- 8
1
vote
1 answer
Reverse a command and disable su on Ubuntu
Whilst following an online guide on how to secure Ubuntu server, I ran this command on one of my test VM's.
sudo dpkg-statoverride --update --add root admin 4750 /bin/su
I know the intention of the command was to limit the use of su to specific…
![](../../users/profiles/60685.webp)
Touff
- 163
- 1
- 3
- 12
1
vote
1 answer
update nginx 1.4.4 to 1.4.5 trying to overwrite X which is also in package Y
I get this error while trying to upgrade:
Preparing to replace nginx 1.4.4-4~raring (using .../nginx_1.4.5-1~raring_amd64.deb) ...
Unpacking replacement nginx ...
dpkg: error processing /var/cache/apt/archives/nginx_1.4.5-1~raring_amd64.deb…
![](../../users/profiles/167046.webp)
pythonimus
- 367
- 1
- 3
- 12
1
vote
1 answer
Upgrading nginx-full 1.2.1 to nginx 1.2.6 from PPA on Ubuntu 12.10
I'm trying to upgrade nginx 1.2.1 to version 1.2.6 on ubuntu 12.10, but with no luck. I've previously installed nginx using apt-get install nginx-full because I needed the modules instead of building from sources.
But now I can't 'overwrite' the…
![](../../users/profiles/151339.webp)
pocesar
- 123
- 13
1
vote
1 answer
E: Sub-process /usr/bin/dpkg returned an error code (1)
I'm getting an error while trying to update the linux-image-2.6.32-5-amd64 package on Debian 6, x64.
Setting up linux-image-2.6.32-5-amd64 (2.6.32-41squeeze2) ...
Running depmod.
Running update-initramfs.
update-initramfs: Generating…
![](../../users/profiles/116852.webp)
Alex
- 53
- 1
- 7
1
vote
1 answer
Add dpkg .symbols or.shlibs to package made using checkinstall
I have created a simple package using checkinstall of the Oracle Instantclient client libraries, the package installs without problem and is seen in the system.
Problem is, that checkinstall doesn't create…
![](../../users/profiles/55663.webp)
Hubert Kario
- 6,351
- 6
- 33
- 65
1
vote
2 answers
Does Debian or Ubuntu have a means of logging apt/aptitude commands?
Does Debian or Ubuntu have a means of logging apt/aptitude commands?
I could also ask the same about yum commands in Redhat?
Do they have a history file?
![](../../users/profiles/32056.webp)
vfclists
- 1,562
- 5
- 20
- 36
1
vote
1 answer
Ubuntu 10.10 unattended grub2 downgrade
I've got to install a few machines with grub legacy on them due to issues with symantec ghost (ghost is a requirement that can't be dropped). i've got a script that prepares machines, but there's a slight problem: apt-get purge grub-pc comes up with…
![](../../users/profiles/25388.webp)
Baczek
- 195
- 1
- 7
1
vote
2 answers
Linux - How to completely clean up a software installation
I am running under Debian and I have recently upgraded to Squeeze.
Since then, I am having so much problems with Webmin. So I have decided to remove it using:
apt-get remove webmin
And then I downloaded the sources of Webmin 1.530 and compiled it.…
![](../../users/profiles/31148.webp)
Jonathan Rioux
- 1,878
- 6
- 33
- 57
1
vote
2 answers
Why is my newly created package not installing properly? Did I create a conflict?
I am on Debian Lenny and I had nginx 0.7.65 from lenny-backports installed. I needed the uwsgi module so I added the deb-src for lenny-backports and did apt-get source nginx. This grabbed the 0.7.67-3.
I followed this guide to a T:…
![](../../users/profiles/16850.webp)
meder omuraliev
- 1,701
- 3
- 20
- 30
1
vote
3 answers
dpkg error code 1
I am unable to add/remove any packages in ubuntu karmic
I keep getting the following
Errors were encountered while processing:
crossplatfromui
E: Sub-process /usr/bin/dpkg returned an error code (1)
What do I do to completely remove this package…
user39340
1
vote
1 answer
Debian 11 dpkg-reconfigure cloud-init does not run the graphical menu
I'm trying to run dpkg-reconfigure cloud-init on Debian 11
After I run the command, this shows up multiple times in the terminal:
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME =…
![](../../users/profiles/561728.webp)
Philip Scot
- 15
- 2