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,158
questions
0
votes
1
answer
2k
views
error processing package linux-image-5.8.0-44-generic
I can't seem to fix this bug, I tried searching for a solution for days now and can't find the solution to my particular problem, I hope if someone could help.
This error occurred after I was trying ...
2
votes
1
answer
6k
views
Update stuck with update-initramfs [duplicate]
I have an Ubuntu 20.04.1 with an AMD 64bit machine and I am going clueless now over an issue. The software updater was as usual asking for the upgrades and I clicked that damn 'yes'.
It seems to be ...
2
votes
3
answers
22k
views
error processing archive /var/cache/apt/archives/libc6_2.27-3ubuntu1_amd64.deb
When I am running sudo apt-get -f install, it shows dpkg: error processing. I've also ran sudo dpkg -i --force-overwrite /var/cache/apt/archives/libc6_2.27-3ubuntu1_amd64.deb
sudo dpkg -i --force-...
0
votes
0
answers
1k
views
apt-get software-properties-common installs cron improperly
Problem:
"apt-get install software-properties-common" installs cron improperly.
During the installation, cron package seems to be not installed.
However, after the installation, dpkg prints ...
2
votes
1
answer
9k
views
Unable to locate package. Have I done something wrong?
I am installing docker in Ubuntu WSL on Windows 10 and I am using this command
sudo apt-get install -y \ apt-transport-https \ ca-certificates \ curl \ software-properties-common
...
0
votes
1
answer
128
views
double package installed?
I've discovered that I have two different version but same package installed.
For example the following is the two linux-firmware installed.
Package: linux-firmware
Architecture: all
Version: 1.187.10
...
18
votes
5
answers
29k
views
How to run a script only during first install of a package and not during upgrades?
I recently started packaging up some of my software and publishing it on Launchpad. The installation and removal works fine, but upgrading the package from one version to the next version is ...
0
votes
1
answer
77
views
the raw command to compile `login`
I want to manually compile the login command (with the exact CC and LD commands).
https://packages.ubuntu.com/groovy/login
/tmp/shadow_4.8.1.orig/src$ make VERBOSE=1
CC login.o
CCLD ...
0
votes
0
answers
130
views
Error were encountered while processing Postfix mailutils in ubuntu 18.04 VM on vmware workstation 10
dpkg: error processing package mailutils (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a follow up error from a previous ...
1
vote
2
answers
16k
views
mysqld: Can't read dir of '/etc/mysql/conf.d/' (OS errno 2 - No such file or directory)
I am trying to install mysql-server by using sudo apt-get install mysql-server but apt says this:
dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
...
0
votes
2
answers
2k
views
Unable to install wine on Ubuntu 20.10
I am trying to install wine on Ubuntu 20.10 using this command:
sudo apt install --install-recommends winehq-stable
Yet it fails and shows the error below:
Some packages could not be installed. This ...
0
votes
0
answers
222
views
Ubuntu 20.04 apt autoremove error: dpkg: error processing package linux-image-5.4.0-56-generic (--remove):
The below error is stopping me from installing updates in my Ubuntu 20.04. It happens when I run sudo apt autoremove. I have also tried sudo apt update/upgrade with similar result. Help appriciated. ...
1
vote
1
answer
4k
views
Sudo apt install doesn't work.My packages is broken [duplicate]
I'm currently using Ubuntu 20.04 LTS.
I'm having way too many issues with my computer right now, but I will start with trying to fix my WiFi. So I tried to install net-tools, but then this happened.
...
0
votes
0
answers
44
views
Delete an inconsistent package fully
I was installing Cuda toolkit using these instructions. But my root partition had very less amount of memory and I had to stop the installation process using ctrl+c. Now the package became ...
0
votes
2
answers
786
views
Broken Kernel on 14.04 - can't run any apt-get, dpkg
I recently tried to upgrade to 15.04. My whole computer is acting extremely strangely from it, I believe the process failed halfway through.
My login screen shows 15.04, but my system info still says ...
0
votes
2
answers
815
views
dpkg: error processing package usb-modeswitch-data (--configure): package is in a very bad inconsistent state; [duplicate]
Im using Ubuntu 18.04 and I ran into a problem with apt. Im trying to install Node JS but I get this error whenever trying to install things:
dpkg: error processing package usb-modeswitch-data (--...
0
votes
1
answer
2k
views
Error The package lists or status file could not be parsed or opened while updating [duplicate]
I was trying to :
sudo apt-get update
Didn't work with error:
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster-backports InRelease
Hit:3 http://ftp....
0
votes
0
answers
118
views
Ubuntu 18.04 LTS - Upgrading prevented by a package needing reinstall [duplicate]
18.04 LTS AMD 64bit HP-Pavillion
When trying to upgrade to 20.04, the system says:
Failed to load the package list
This is a serious problem. Try again later. If this problem appears again, please ...
2
votes
1
answer
1k
views
Accidentally deleted /usr/bin/dpkg
When trying to deal with an error I accidentally deleted the /usr/bin/dpkg file and now I can't install packages anymore.
I'm still pretty new to linux so I'm not sure what I'm doing. Please help.
I ...
2
votes
0
answers
270
views
How to prevent the installation of specific packages in Ubuntu 20.04?
How can i prevent a specific package to be installed?
I have already read the following pages:
Need to prevent a package from being installed
https://www.tecmint.com/disable-lock-blacklist-package-...
2
votes
1
answer
13k
views
Cuda 11.0 installs 11.1 on Ubuntu 18.04
I am following this guide which says:
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-ubuntu1804.pin
sudo mv cuda-ubuntu1804.pin /etc/apt/preferences.d/cuda-...
0
votes
1
answer
1k
views
Where is the source code of libc6-dev-i386 from?
I see this. Where the source of libc6-dev-i386 is from?
$ apt-file search /usr/include/sys/socket.h
libc6-dev-i386: /usr/include/sys/socket.h
https://packages.debian.org/search?keywords=libc6
https://...
0
votes
0
answers
95
views
How to downgrade a package from different server version
I have a machine that upgraded a package from "openssl:amd64 1.1.1-1ubuntu2.1~18.04.7" to "1.1.1-1ubuntu2.1~18.04.8" (dpkg.log below)
2021-02-24 06:18:12 upgrade openssl:amd64 1.1....
1
vote
1
answer
3k
views
How to resolve libraries <prefix> issues?
when i run my code written in Python I got:
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to ...
0
votes
1
answer
53
views
How to verify files installed in system against 3rdparty deb package?
I'm aware about dpkg -V and debsums, but I need to check installed files against given deb files, not metadata stored in system.
1
vote
0
answers
224
views
Can't sudo dpkg --configure -a nvidia drives Ubuntu 20.04
With Nvidia drivers installed my Ubuntu 20.04 boots to a black screen with a cursor in the bottom right corner. The system is totally unresponsive no keyboard shortcuts work and a power reset is ...
2
votes
2
answers
155
views
Cannot remove or purge mysql-server after upgrading to 20.04
I tried running mysql after upgrading to 20.04, but it couldnt, so I tried removing it, but everytime i try to use the package, wherever is removing or purging, i always stumble into this:
lsudo apt ...
0
votes
1
answer
265
views
Is there any way to rollback `dpkg-reconfigure iptables-persistent rollback`
In a very-not-my-best moment, I was trying to configure a laptop following some documentation. I followed the instructions in the documentation:
sudo sysctl net.ipv4.ip_forward=1
sudo iptables -t nat -...
0
votes
1
answer
857
views
Ubuntu 18.04 same list of 'errors were encountered while processing for almost everything
This could be construed as a 'repeat' question but believe me I have tried everything i've seen bar reset the entire server. I am trying very hard to get a virtualenv working for flask so naturally it ...
0
votes
0
answers
32
views
Ubuntu Server 18.04.3 update fail [duplicate]
I’m using Ubuntu Server 18.04.3 LTS (GNU/Linux 4.15.0-58-generic x86_64) to run a headless server for our home network. During a recent maintenance session I noticed that I could upgrade to a 20.04 ...
7
votes
0
answers
2k
views
pk-debconf-helper process loads a single processor core at 100% after each update. Opting out?
On Ubuntu 20.04.2, with Gnome desktop.
Recently, each time the software updater finishes with the updates, the pk-debconf-helper process kicks in, and keeps loading a single processor core (out of ...
2
votes
2
answers
822
views
Can installing .deb package which is not part of official repository , result in package dependencies problem?
As far as my understanding,
If we install package from only official repository (sudo apt install package-name, installing from software center, sudo apt install ./official-deb ), all the package ...
0
votes
0
answers
27
views
How to Recover From a Broken Package [duplicate]
The Package system is broken
The message I get when trying to run the software updater is as follows:
If you are using third party repositories then disable them, since
they are a common source of ...
0
votes
1
answer
2k
views
Default JRE 8 not installing
I'm trying to install Open JDK's JRE 8 for Minecraft.
and its not working. I've tried everything.
I'm running Ubuntu 18.04 LTS
Can someone help me?
(xenial)reizu@localhost:~$ sudo apt-get update
[sudo]...
0
votes
0
answers
50
views
How to get the package name of .deb file? [duplicate]
I use Linux Mint which uses the same repository as Ubuntu. Recently I've installed a software from a .deb file. But, I want to uninstall it now. I know that typing the following command in terminal ...
0
votes
0
answers
17
views
Problem installing default-jdk/jre [duplicate]
I'm trying to install default-jre-headless and default-jdk but everytime I do that I get:
[sudo] password for reizu:
Get:1 http://dl.google.com/linux/chrome/deb stable InRelease [1,811 B]
Get:2 http:/...
0
votes
1
answer
559
views
Lost session to Ubuntu upgrade 18.04.LTS sudo do-release-upgrade -d
While upgrading to 18.04 LTS, I was asked the question
Configuration file '/etc/sysctl.conf'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an ...
1
vote
0
answers
673
views
Terminal and software update do not open anymore ubuntu 20.04
My terminal does not open anymore. I'm using PyCharm terminal to run the commands.
I have tried so many solutions but still getting this error after running sudo apt upgrade:
Reading package lists... ...
8
votes
3
answers
9k
views
dpkg -i complains of "conflicting packages" when installing self-compiled kernel
I need to compile and install my own bionic kernels to fix a typo in xhci-pci.c
I've done this successfully in the past, as late as 18.04 I think, following the instructions at:
https://wiki.ubuntu....
2
votes
1
answer
2k
views
Package ipython is not available I am using ubuntu 20.04.2LTS [duplicate]
I want to install ns3.33 simulator on my ubuntu 20.04.2LTS and when I run the command:
apt-get install python-pygraphviz python-kiwi python-pygoocanvas libgoocanvas-dev ipython
I have these errors:
...
0
votes
1
answer
2k
views
Accidently deleted /usr/bin/python3
I just upgraded to Ubuntu 20.04 and had previously compiled python 3.8 from source, which was getting confusing when the default from Ubuntu is now python 3.8. So I manually removed the compiled from ...
0
votes
1
answer
220
views
how to upgrade only some package and its dependencies
I'm trying to emulate windows 10 arm on the jetson nano where I have installed ubuntu 18.04 arm64 edition.
root@ziomario-desktop:# uname -a
Linux ziomario-desktop 4.9.140 #1 SMP PREEMPT Mon Feb 8 00:...
-1
votes
2
answers
2k
views
How to fix packages installed from debian sources? [closed]
For some reason that I can't explain (being dumb I guess), I have installed packages from Debian sources. I use Ubuntu 18.04.
I'd like to fix my mistakes and downgrade to Ubuntu packages. What I did ...
1
vote
1
answer
2k
views
Problem with sudo apt-get upgrade on Raspberry Pi 3 b+
When I run sudo apt-get upgrade
I get this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be ...
0
votes
1
answer
446
views
Safe to remove folders for uninstalled packages in /usr and var/lib/dpkg?
So I'm fairly new to Linux as my general desktop OS. I've removed and purged some programs that I tried and ended up not liking. I noticed there was a few files left over for some of these programs (...
4
votes
1
answer
204
views
I want to get a warning when apt installing from certain sources, like restricted and multiverse
Is there a way to make apt give a warning whenever I'm about to install a package from certain sources?
For example, suppose I specify main, universe and certain PPAs as "OK" (since they ...
0
votes
0
answers
881
views
E: Sub-process /usr/bin/dpkg returned an error code (1): Something got wrong during R installation
I just wanted to install R via CRAN, but something got wrong completely.
What ever I try, I cannot install, remove, or reinstall any packages.
I though dpkg is broken, but my attempt of reinstalling ...
2
votes
1
answer
1k
views
Whole system is broken after failed libc6 upgrade attempt
I needed to upgrade libc6 from 2.27 to 2.31, but it was not working with apt-get install (it claimed 2.27 is the newest version which is not true) so as suggested by this thread I've downloaded deb ...
0
votes
1
answer
76
views
Could running dpkg --configure -a cause packages to need an update?
After a server (16.04 running headless) reboot, I ran sudo apt-get update and sudo apt-get dist-upgrade to update packages. The second command printed:
E: dpkg was interrupted, you must manually run '...
1
vote
1
answer
443
views
Where are the database files queried by dpkg-query?
I don't see where are the database files checked by dpkg-query -S in its manpage. Could anybody let me know where it is? Thanks.