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]
175 questions
0
votes
3 answers
Using apt-get fails due to improperly configured dav_svn.conf file?
We're working on updating one of our internal development servers (running an older version of Ubuntu, 8 or 9 I'd guess), and are encountering errors when upgrading/installing packages using apt-get. Here's the console output of an attempt to…

Craig Otis
- 287
- 1
- 3
- 11
0
votes
1 answer
Sub-process /usr/bin/dpkg returned an error code
When trying to install phpmyadmin on my Ubuntu instance, I accidentally quit the job midway through.
Now I can't continue it/remove it to start again..
sudo apt-get install phpmyadmin
Reading package lists... Done
Building dependency tree
Reading…

williamsowen
- 1,167
- 3
- 16
- 25
0
votes
3 answers
Ubuntu: Cannot apt-get upgrade server, dpkg permission denied even when root?
I've ran a general audit of the system and found that a few packages were aging, such as OpenSSH and related so I went to apt-get update then upgrade.
Unfortunately it seems to get the packages correctly (downloading), however cannot finish the…

Alexander
- 207
- 1
- 3
- 11
0
votes
3 answers
Apt getting wrong nginx source
I'm working on updating Nginx on my server from 0.7.65 (Ubuntu 10.04 repo) to 1.0.2 (from the PPA). I installed it just fine, but I would like to add/activate some modules. I found this tutorial for doing it with dpkg, which works well for ensuring…

Shauna
- 178
- 1
- 7
0
votes
1 answer
dpkg -get-selections command not working on Ubuntu
I am trying to use the gpkg -get-selections command on Ubuntu. I am kind of new to Ubuntu and really just following a tutorial on how to properly install Tomcat :)\
The tutorial is…

Genadinik
- 1,103
- 4
- 19
- 39
0
votes
3 answers
How can I repair apt / dpkg?
Apt keeps crashing when I try to run
apt-get upgrade
xxx@xxx:/root/# sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
linux-generic…

glisignoli
- 123
- 1
- 2
- 15
0
votes
1 answer
How to remove junglediskserver
I need to remove junglediscserver from my server. I installed it using the .deb file they provide and not apt-get so I'm not sure how to remove it.
I tried apt-get junglediskserver remove as root and it says directories are not empty so they…

Ben
- 3,800
- 18
- 65
- 96
0
votes
0 answers
Automatize using bash downloading deb files and dependencies and later extracting them to a unique folder and compress it to use in a live filesystem
I am developing a Live filesystem and need to be able to download deb files with its dependencies which I manually do using:
apt download $(apt-cache depends --recurse --no-recommends --no-suggests \
--no-conflicts --no-breaks --no-replaces…
0
votes
1 answer
Creating .deb for Go fails
Trying to build a custom package fails like this:
~/deploy# dpkg-buildpackage -us -uc
dpkg-buildpackage: info: source package deploy
dpkg-buildpackage: info: source version 1.0-1
dpkg-buildpackage: info: source distribution…

Arnaud F.
- 133
- 7
0
votes
0 answers
Installation of e2fsprogs under ubuntu breaks because of ./usr/bin/chattr
I have been running into an issue with the package of e2fsprogs under ubuntu for weeks. It keeps me from installing updates to my system and to upgrade the system.
I am using Ubuntu 18.04 on my server. All updates are blocked because of the required…

Dominik Spiertz
- 11
- 1
- 2
0
votes
1 answer
dpkg-maintscript-helper: basename: Too many levels of symbolic links
I am having this error each time I run an apt-get command, I dont know what caused this but I tried every solution I found related to this but still no hope
root@vmi575272:/# sudo apt-get autoremove
Reading package lists... Done
Building dependency…

Neji Soltani
- 103
- 4
0
votes
2 answers
Stuck on "update-initramfs: Generating /boot/initrd.img-5.4.0-92-generic"
I have a problem with uninstalling packages on my server(20.04 LTS).
When I run apt remove metricbeat receive this message:
root@elk:/home/elk# apt remove metricbeat
Reading package lists... Done
Building dependency tree
Reading state…

Siavash Fazli
- 1
- 1
- 1
0
votes
1 answer
Cannot execute dpkg command in kube-proxy container
I'm currently trying to get a list of all installed debian packages (dpkg) on the k8s.gcr.io/kube-proxy:v1.23.2 container.
First I tried to execute dpkg -l in the running container as a part of my kubernetes cluster but got the following…

Daigo
- 343
- 7
- 20
0
votes
0 answers
Can't upgrade or install programs (Unmet dependencies Error(1)) Ubuntu 20.04.3 LTS
As I see my problem is similar to this one
libc6 dependency mismatch in Debian 9.12 stretch.
Please,advice a solution for my distribution
sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state…

Rodion
- 1
0
votes
2 answers
Ubuntu 18.04 to 20.04 : Broken Update
I upgraded from 18.04 to 20.04 using :
do-release-upgrade
After downloading all the packages it asked me if I wanted to keep my version of an existing config file. Trying to exit out of the file, I used Ctrl + C, which caused the entire update…

brugia
- 103
- 2