Questions tagged [dpkg]

Questions about using dpkg or errors with dpkg should use this tag. Dpkg is the Debian package management utility that performs lower-level tasks in software installation and removal.

Filter by
Sorted by
Tagged with
0 votes
1 answer
41 views

Cannot install docker-desktop on ubuntu 22.04

I am trying to install docker-desktop from here I downloaded the .deb package with sudo dpkg -i docker-desktop-4.8.1-amd64.deb but I got a couple of missing dependicies problems (Reading database ... ...
user avatar
0 votes
0 answers
6 views

How to inform dpkg that new release override a file safely?

Our dpkg package has some files (eg: "COPYRIGHT.txt") which get shared between different versions of the package. Is there a way to inform via control file that some folders/files will get ...
user avatar
0 votes
0 answers
71 views

Unable to remove/purge linux-image-5.13.0-39-generic & linux-image-5.13.0-41-generic

Recently have been getting errors while trying to install updates. Here is the output of sudo apt dist-upgrade: sudo apt dist-upgrade carl@home:/etc/apt$ sudo apt dist-upgrade Reading package lists......
user avatar
  • 1
0 votes
0 answers
19 views

apt freezes mid-install/uninstall every time, Ubuntu 20.04.4 LTS

I'm out of ideas how to fix this, it has persisted across reboots, apt updates, apt upgrades, even a sudo dpkg --configure -a The nice thing is I have two machines both behaving this way, both are ...
user avatar
  • 101
0 votes
0 answers
16 views

Error installing Community DisplayLink drivers Ubuntu 20.04

I am having an issue installing the drivers for the Community DisplayLink https://github.com/AdnanHodzic/displaylink-debian I'm specifically failing when the evdi package has to be built on the kernel ...
user avatar
0 votes
0 answers
29 views

an error in uninstall a package in ubuntu

I create a package on Ubuntu (Ubuntu 20). During installation, it calls preinst.sh and postinst.sh; in uninstll, "apt purge packagename" calls prerm.sh. When running postrm.sh, I get an ...
user avatar
  • 1
1 vote
2 answers
59 views

Problem with software updating - package conflicts

I have problems updating my Ubuntu 20.04. When I click on "update software". I got this message: I followed the answer here: dpkg error: "trying to overwrite file, which is also in...&...
user avatar
  • 13
4 votes
1 answer
128 views

build deb package that uninstall another package in case of remove or purge

i try to build an package, which can uninstall another package, if my package should be uninstall. I have tryed the "Depends" and the "Pre-Depends" policy in the control file. But ...
user avatar
  • 107
0 votes
0 answers
27 views

Fail to install dkms, librm-dev for DisplayLink drivers to implement USB-C multi-monitors

I've been stuck on this for about 2 days What I'm trying to do is update my Ubuntu 20.04 so that I can use DisplayLink in my USB-C Gen1 so that I can use more than one monitor since my laptop only has ...
user avatar
0 votes
0 answers
107 views

libudev1 (jammy-updates) removes many packages

Installing libudev1 249.11-0ubuntu3.1 from jammy-updates will remove many packages. What could be the cause? # lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: ...
user avatar
2 votes
3 answers
91 views

How to uninstall an app, that has been downloaded from a web browser?

I basically installed Opera browser from another browser, but it didn't load some videos, so I decided to download it again from Ubuntu Software and then it worked perfectly. Now I have two Opera web ...
user avatar
  • 21
0 votes
0 answers
31 views

apt manager is broken ubuntu 20.04 LTS

first off all thank you for you're help. Every time i run sudo apt-get upgrade or trying to install a new package it shows me this error. Reading package lists... Done. Building dependency tree... ...
user avatar
0 votes
0 answers
67 views

Why does Ubuntu use apt instead of dpkg? [duplicate]

I would like official documentation explaining why Ubuntu uses apt instead of dpkg. Here's what I've found about each: dpkg This package provides the low-level infrastructure for handling the ...
user avatar
0 votes
0 answers
46 views

Ubuntu 22.04 Usrmerge fatal error

While upgrading to Ubuntu 22.04 this fatal error occurred. FATAL ERROR: Both /bin/systemd-tmpfiles and /usr/bin/systemd-tmpfiles exist. You can try correcting the errors reported and running again /...
user avatar
0 votes
0 answers
66 views

Why is initramfs-tools stopping an upgrade?

Spare me as this is the first question I ever post in here. So I tried to update on Ubuntu 22.04 using the command line and everything was fine until I got the error E: Sub-process /usr/bin/dpkg ...
user avatar
0 votes
0 answers
21 views

Tried reinstalling python on ubtuntu: dpkg: error processing package software-properties-common (--configure)

I wanted to update python 3.8 to 3.10 but ran into some issues which is why I wanted to reinstall python, however, when removing it, I ran into even more issues and now I am unsure of what to do. I am ...
user avatar
  • 1
0 votes
1 answer
51 views

Fixing broken apt **without** destroying my system via "apt autoremove"

Somehow, my apt system got hosed on my Ubuntu 20.04.4 system, and now there are more than 1,800 packages that are marked as needing to be uninstalled. This is from the Xubuntu installation, which ...
user avatar
  • 273
0 votes
0 answers
47 views

Restore package and its dependencies after messing it up

Trying to fix a dependency problem I made a mess in my Ubuntu 22.04. Now I cannot run openssl anymore: $ openssl version openssl: error while loading shared libraries: libcrypto.so.1.1: cannot open ...
user avatar
  • 295
0 votes
0 answers
38 views

How do I fix a package dependency error?

I can't install anything due to this. I have already tried sudo apt-get install -f but it did nothing. Here's the output: Reading package lists... Done Building dependency tree Reading state ...
user avatar
0 votes
0 answers
52 views

what i need to fix to install git. that's the answer that the terminal return

Here's is the return in english. emiliano@emiliano-G42-240BR:/$ sudo apt install git [sudo] password for emiliano: Reading package lists... Done Building dependency tree Reading state ...
user avatar
0 votes
0 answers
21 views

Using dpkg for multi thread decompression / installation

I have the following problem i need to install huge deb files ( few gb ) on the system and dpkg is doing that on single core , i have allready fund a ways to do compression using multiple cores but ...
user avatar
0 votes
0 answers
11 views

Ubuntu 20.04 upgrade - black screen backing up

Okay, I have a problem. Today, I've decided to upgrade my old Ubuntu 18.04 laptop to Ubuntu 20.04 on a whim. I followed this : https://www.cyberciti.biz/faq/upgrade-ubuntu-18-04-to-20-04-lts-using-...
user avatar
  • 27
0 votes
0 answers
30 views

'package is in a very bad inconsistent state' when installing mysql-server-8.0 on my VPS

I got an error after trying to install `mysql-server-8.0 on Ubuntu 20.04 on my VPS. I tried to purge it, and this Reading package lists... Done Building dependency tree Reading state ...
user avatar
  • 1
1 vote
0 answers
21 views

Unable to adjust brightness on Ubuntu 20.04

I am on Lubuntu 20.04, and the brightness controls in the settings and in brightness-controller are not working. From Ubuntu 20.04 brightness adjust not working, I tried using brightness controller ...
user avatar
  • 121
0 votes
0 answers
13 views

Unable to create new file '/var/lib/dpkg/info/format-new': No such file or directory

I was upgrading my system from 18.04 to 20.04 but at middle of it thish showed up ***""The upgrade has aborted. your system could be in an unusable state""*** ...
user avatar
0 votes
0 answers
24 views

error while doing dpkg --configure -a

error while doing dpkg --configure -a Setting up python3-speechd (0.11.1-1) ... /var/lib/dpkg/info/python3-speechd.postinst: 6: /var/lib/dpkg/info/python3-speechd.postinst: py3compile: not found dpkg: ...
user avatar
-2 votes
0 answers
17 views

Novice needing help E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) [duplicate]

E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it? ...
user avatar
0 votes
0 answers
45 views

How to solve dpkg: error processing archive /var/cache/apt/archives/pop-gtk-theme_5.2.0~1586289568~20.04~f35b83b~ubuntu1_all.deb (--unpack)

I am getting this error while upgrading using sudo apt-get upgrade -y. How to solve this?
user avatar
  • 1
3 votes
1 answer
144 views

Running Software Updater got libpython3.7 umet dependencies error

Ubuntu 20.04.4 LTS I was trying to run Software Updater but got the following errors: libpython3.7: Depends: libpython3.7-stdlib (= 3.7.13-1+focal3) but it is not installed Depends: ...
user avatar
  • 131
0 votes
0 answers
16 views

Errors were encountered while processing: plymouth-theme-xubuntu-logo plymouth-theme-spinner

I keep getting this: dpkg: error processing package plymouth-theme-xubuntu-logo (--configure): installed plymouth-theme-xubuntu-logo package post-installation script subprocess returned error exit ...
user avatar
0 votes
1 answer
431 views

Cannot remove old linux-image after 22.04 upgrade

I recently upgraded from Ubuntu 21.10 to 22.04 and the process went smoothly without reporting any errors. Whenever I try to run a system update dpkg raises the following error relating to the old ...
user avatar
0 votes
0 answers
37 views

How do I run dpkg -i in the postinst

I am making a Debian package that contains multiple packages. So in the Debian package, I moved my ./drivers/*.deb to $DEBIAN/data/itms/drivers. sudo mkdir -p $DEBIAN/mnt sudo mkdir -p $DEBIAN/mnt/...
user avatar
0 votes
0 answers
78 views

Errors after upgrade to Ubuntu 22.04 LTS (Removing linux-image-5.13.0-39-generic) [duplicate]

After upgrading to the new Jammy version I'm getting an error removing what I'm guessing is an old linux kernel version (linux-image-5.13.0-39-generic) and it's messing up other processes. $ sudo apt-...
user avatar
0 votes
0 answers
277 views

Problems installing DisplayLink Driver on Ubuntu 20.04

``` nobu@nobu-IdeaPad-3-15IIL05:/media/nobu/NTFSUbuWin/downloadsUbu/DisplayLink USB Graphics Software for Ubuntu5.5-EXE$ sudo ./displaylink-driver-5.5.0-59.151.run [sudo] password for nobu: Verifying ...
user avatar
0 votes
0 answers
31 views

This output means a security failure?

$ dpkg --verify dpkg: warning: cups-browsed: unable to open /usr/lib/cups/backend/implicitclass for hash: Permission denied ??5?????? /usr/lib/cups/backend/implicitclass ??5?????? c /etc/...
user avatar
0 votes
0 answers
30 views

Errors installing mongodb on WSL Ubuntu 18.04 [duplicate]

No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.6 LTS Release: 18.04 Codename: bionic Really struggling with finding a solution to my issue. I was ...
user avatar
4 votes
2 answers
225 views

Accidentally terminating installing restricted extras and vlc during installation

I tried to install restricted extras and vlc by entering the following code: sudo apt install ubuntu-restricted-extras && sudo apt install vlc I then accidentally terminated the process and ...
user avatar
2 votes
1 answer
1k views

how to install exfat-utils and hddtemp on ubuntu 22.04

how to install exfat-utils and hddtemp on ubuntu 22.04 (at 20.04 they were available). This commands doesn't work: exfat-utils sudo apt-get install exfat-utils The exfat-utils package is not available,...
user avatar
  • 1,894
1 vote
2 answers
455 views

i have a problem after upgrading to 22.04 with the libgl1-mesa-dri

this is the output i get when i try to do anything apt related: Reading package lists... Done Building dependency tree... Done Reading state information... Done You might want to run 'apt --fix-broken ...
user avatar
  • 11
0 votes
0 answers
56 views

ua fips enable failed and disable failing with errors

I have tried enabling 'ua enable fips', halfway through got errors and the dpkg process was stuck. ua status shows fips enabled, the kernels were installed, and fips default kernel loading fails. I ...
user avatar
0 votes
0 answers
39 views

Error while doing apt update [duplicate]

I have to say I'm quite new to Linux, but I'm trying to create a small NAS by following a guide for this. I got to a point in which the guide tells me to install "Webmin" and I couldn't ...
user avatar
0 votes
1 answer
37 views

apt broken (unmet dependencies) after trying to install mysql [duplicate]

Solved This question has been asked many times and I have been trying all the solutions I found on askubuntu/stackoverflow/random forum since yesterday but nothing works. I downloaded a mysql deb ...
user avatar
  • 1
0 votes
0 answers
52 views

unmet dependencies, not installable, and no installation candidate

I faced this problem installing different apps now and then, but this time, it is kitscenarist. while installing, both with deb file or from repositories, I get the error: kitscenarist : Depends: ...
user avatar
0 votes
0 answers
5 views

problems installing VS Code update. 'half-installed' [duplicate]

hoping someone is kind enough to help me. I have downloaded the update from VS Code, during the installation removal process ia have been met by the following error. 'error while installing package: ...
user avatar
1 vote
0 answers
29 views

Unable to purge MySQL

I am using an Ubuntu 20.04 VPS. I've recently been having some issues with MySQL, so I decided the best way to fix it would be to reinstall it. So I made a backup of all my DB's and wanted to purge it....
user avatar
  • 11
0 votes
0 answers
13 views

WINE issues while installing [duplicate]

enter image description here Please help me with this
user avatar
0 votes
2 answers
689 views

Problem with upgrading packages Ubuntu 20.04 [duplicate]

I am getting an error for upgrading Ubuntu packages, it suggested running apt --fix-broken install but doing that didn't do it. I searched and the only answer I found was removing the packages which I ...
user avatar
  • 103
0 votes
2 answers
24 views

Unable to uninstall a package (gns3-gui)

I have installed the GNS3 server and client separately on Ubuntu 20.0.4. when I check the packages list, GNS3 (GUI) is available: test@gns3vm:/$ dpkg -l gns3* Desired=Unknown/Install/Remove/Purge/Hold ...
user avatar
  • 101
0 votes
0 answers
21 views

dpkg broken pipe error when upgrading python3.10 [duplicate]

$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: libnss-systemd ...
user avatar
  • 850
36 votes
2 answers
6k views

Sub-process /usr/bin/dpkg returned an error code (1) while upgrading python3.10

apt upgrade: $ sudo apt-get full-upgrade -y Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct ...
user avatar

1
2 3 4 5
77