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.

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

Unable to execute "sudo apt upgrade": Sub-process /usr/bin/dpkg returned an error code (1)

Whenever I try to execute sudo apt upgrade I get the following: Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, ...
0 votes
1 answer
303 views

E: Error install python3 pip [duplicate]

sudo apt install python3-pip [sudo] password for it: Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may ...
7 votes
2 answers
8k views

dpkg -V , What does the output mean?

I ran DPKG Verify on all packges and got this output and I don't know what it means : ??5?????? c /etc/lightdm/lightdm-gtk-greeter.conf ??5?????? c /etc/default/chromium-browser ??5?????? /usr/...
0 votes
2 answers
7k views

Help me to get rid of unmet dependencies [duplicate]

when I try to install it shows this. Help me to get rid of it. I tried to install codeblocks once with dpkg command. I am using ubuntu 20.04 reading package lists... Done Building dependency tree ...
0 votes
0 answers
438 views

I can not install packages from terminal in ubuntu 18.04.5 [duplicate]

When I tried to install Python I got this: $ sudo apt install python3.7 [sudo] password for ubuntu: Reading package lists... Done Building dependency tree Reading state information... Done You ...
1 vote
1 answer
2k views

How to purge logstash

I need to purge logstash but as I try to run apt purge logstash I get an error: root@vmi503579:~# apt purge logstash ^Citing for cache lock: Could not get lock /var/lib/dpkg/lock. It is held by ...
5 votes
1 answer
231 views

mysql not starting after removing plasma-desktop

I know there are many questions regarding mysql not starting. I've tried following things Checking MySQL error log — error reading '/var/log/mysql': Is a directory Check /var/log/dist-upgrade/apt....
0 votes
0 answers
2k views

Need to install i386-linux-gnu libs on ubuntu 18.04

I'm struggling to install i386 packages on my ubunutu 18.04 system. I tried following commands but nothing happened. sudo dpkg --add-architecture i386 sudo apt -get update sudo apt-get dist-upgrade ...
0 votes
0 answers
344 views

Resolve dpkg-divert clash for /usr/lib/os-release

My dpkg is broken, so I can't upgrade packages. Running sudo dpkg --configure -a produces: ben@Friday:~$ sudo dpkg --configure -a Setting up pop-default-settings (4.0.6~1611854075~20.04~6a2277e) ... ...
0 votes
1 answer
830 views

meaning of "dpkg-divert --local --rename --add /sbin/initctl"

This is from https://help.ubuntu.com/community/LiveCDCustomizationFromScratch. Here I'm supposed to do inside the chroot environment, dpkg-divert --local --rename --add /sbin/initctl Is it telling ...
1 vote
1 answer
2k views

dpkg: error processing package sendmail-base

I upgraded to 18.10. Now I have a problem with apt. It seems to be a problem with the sendmail-base package: sudo apt autoremove Reading package lists... Done Building dependency tree Reading ...
0 votes
2 answers
597 views

2 sublime-text installed and I would like to remove the old one

I've been using Sublime Text 3.2.2 Build 3211 (2006-2019) for a while till there is a prompt to upgrade it which is quite annoying. So, I installed a new one to get rid the pop up message. Clicked ...
77 votes
6 answers
142k views

Problem installing .deb in Software Install Ubuntu 20.04

I tried to install some .deb files in Ubuntu 20.04 from GitHub and other internet sources, but when I open it with Software Install it gives me this problem (Failed to install file: not supported). ...
1 vote
0 answers
257 views

Please help me to solve this error I'm unable to update nodejs version

dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/nodejs_15.14.0-deb-1nodesource1_amd64.deb needrestart is being ...
1 vote
1 answer
1k views

chown: cannot access '/var/lib/odoo': No such file or directory

I want to install odoo 14 on ubuntu 20.04.2, everytime I want to install odoo's dependencies this error comes up: chown: cannot access '/var/lib/odoo': No such file or directory dpkg: error processing ...
1 vote
0 answers
1k views

dpkg: error: failed to open package info file '/var/lib/dpkg/available' for reading: No such file or directory

I was uninstalling a software in Ubuntu(20.04), and I got these error dpkg: error: failed to open package info file '/var/lib/dpkg/available' for reading: No such file or directory E: Sub-process dpkg ...
0 votes
1 answer
360 views

Does sudo dpkg --reconfigure -a brick the system if it is interrupted?

After running sudo dpkg --reconfigure -a my system powered off and will not boot anymore. Here is the exact order of events: I ran a normal apt upgrade dpkg was interrupted, fix with sudo dpkg --...
3 votes
1 answer
3k views

debconf: apt-extracttemplates failed: No such file or directory

I was running the command sudo apt install mongodb-org. And I got these errors. E: Cannot get debconf version. Is debconf installed? debconf: apt-extracttemplates failed: No such file or directory ...
1 vote
0 answers
623 views

touch: cannot touch '/var/lib/dpkg/info/format-new': No such file or directory [duplicate]

When I try to run sudo dpkg --configure --pending I am getting error dpkg: error: unable to create new file '/var/lib/dpkg/info/format-new': No such file or directory Then I try these commands sudo ...
6 votes
3 answers
14k views

How do I solve dependencies for MEGAsync on Ubuntu 16.04?

I've downloaded the MEGAsync's debian package and tried to install on Ubuntu 16.04 with: sudo dpkg -i mega.deb But it throws this error: Selecting previously unselected package megasync. (Reading ...
1 vote
2 answers
874 views

Problems with ssmtp after upgrading to Ubuntu 20.04 LTS - package post-installation script subprocess returned error exit status 2

may you can help me i facing this issue since i upgrade to ubuntu 20.04 LTS from 18.04 LTS. It seems that the script has problems to export value or information. I have no clue what todo. Thanks for ...
0 votes
1 answer
3k views

18.04.5 kernel build fails

Good day all! Not sure where to begin. Compiling 5.4.125 source from kernel.org and I get this CC [M] kernel/kheaders.o debian/rules:6: recipe for target 'build' failed make[2]: *** [build] Error 2 ...
1 vote
1 answer
404 views

Unknown, or unavailable dependency for gespeaker, needing python!

Wanting gespeaker for ubuntu. So I managed to install Python2 in my Ubuntu 20.04 installation. sudo apt-get install python2 sudo python2 setup.py install Looks like no errors -/ Still claims ...
4 votes
1 answer
1k views

apt-get upgrade stuck at "setting up base-files (11ubuntu5.2)" - Ubuntu 20.04

I am trying to execute apt-get update && apt-get upgrade on an Ubuntu 20.04 system: No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.1 LTS Release: 20....
0 votes
1 answer
215 views

Missing final newline

I'm very new to everything here and only got ubuntu today. Also I have no clue how to use the bit that makes it clear its code so apologies. I am trying to install git for a project and it says this: ...
0 votes
0 answers
33 views

Software Updater doesn't update and returns : Package Operation Failed [duplicate]

I have Ubuntu 18.04.5 LTS. When I try to update with the Software Updater it returns this error: I have tried everything that I found here and still no results, the above error is repeated every ...
1 vote
1 answer
429 views

SOLVED upgrade error: illegal package name `systemd/noawait'

when I run this sudo apt upgrade command I get this: Reading package list ... Done Creating dependency tree Reading status information ... Done Calculating the update ... Done The following packages ...
0 votes
0 answers
16 views

Ubuntu System Files Upgrading Process Issue

I use Ubuntu-Studio 20.04.2 LTS inside 2 desktop PCs and 1 laptop PC. Each time there is an Ubuntu "core" files upgrading (linux-image-5.4.0-xx-lowlatency and others), the upgrading process ...
6 votes
1 answer
2k views

Ubuntu under Windows 10 Linux Subsystem

Everybody, I am new to Ubuntu. And I try to install Ubuntu 18.04 under windows Linux subsystem. In one step I am going to install libdvd-pkg, but get an error as shown below: sudo apt-get install ...
8 votes
1 answer
2k views

Can't build new .deb package

I'm trying to create a new .deb package, but the build fails with the following output: dpkg-genchanges: error: binary build with no binary artifacts found; cannot distribute dpkg-buildpackage: error:...
4 votes
1 answer
391 views

How to install a specific version of a metapackage and its dependencies?

I'll use the NVIDIA 460 driver as an example. Here's what happens when I want to try to install version 460.67 instead of 460.80 (which is buggy, FYI). $ apt-get install -s nvidia-driver-460=460.67-...
0 votes
1 answer
1k views

dpkg: error processing package linux-firmware (--configure) after discord update

After Discord got a new update I tried installing it with sudo apt-get install discord and got this error message. And how can I fix this linux-firmware error? roxi@pop-os:~$ sudo apt-get install ...
2 votes
1 answer
101 views

PPA efforts only create an empty build directory with pbuilder or ppa itself

I successfuly built a debian package with no errors. However pbuilder and my ppa upload does not copy files to /opt/ directory. I have the following tree: ├── opt │ └── myDir │ └── myfile └──...
1 vote
1 answer
2k views

Cannot update Ubuntu 20.04 due to unresolvable dependencies

I haven't used my Ubuntu installation in a while and I just turned it on and am getting this strange error when I try to install the latest round of updates: Package dependencies cannot be resolved ...
1 vote
0 answers
371 views

Sub-process /usr/bin/dpkg returned an error code (1) --> Blueman

I am trying to install xubuntu-desktop on my Ubuntu 18.04 LTS system running on Windows 10. I first met the error: tasksel: apt-get failed (100). Following other threads I ran sudo apt update and sudo ...
0 votes
1 answer
904 views

MySQL fail after Ubuntu 20.04 upgrade

I used Ubuntu 18.04 with LAMP, Python, Dockers, etc. Once, I received a message, that my laptop ready to upgrade, I accepted and the updating process starts. On the 50% of process, I received a ...
1 vote
0 answers
13k views

Failed to activate service 'org.freedesktop.systemd1': timed out after apt upgrade

When I run my regular $ sudo apt update && sudo apt full-upgrade -y && sudo apt autoremove I get ... After this operation, 0 B of additional disk space will be used. Setting up clamav-...
2 votes
5 answers
6k views

How to install Dukto in ubuntu 20.04? (Preferably using .deb)

I am having problems installing Dukto in ubuntu 20.04. I followed instruction posted for older Ubuntu versions and downloaded the .deb. Then, I tried: sudo dpkg -i dukto.deb which gave dependency ...
1 vote
1 answer
3k views

E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. [closed]

While installing Paper-theme on my Elementary 0.3.2 Freya it got frozen and restarted, and since then I can't install nor delete anything. "E: dpkg was interrupted, you must manually run 'sudo dpkg --...
0 votes
0 answers
2k views

Cannot find snort in /etc

Earlier I was trying to open snort by doing cd /etc/snort and it was working perfectly fine. Then I upgraded my Ubuntu and now whenever I do cd /etc/snort, it says bash: cd: /etc/snort: No such file ...
1 vote
1 answer
319 views

Ubuntu 20.04 black screen on boot

I am using Ubuntu 20.04 and having dual boot. While uninstalling the gcc package, I mistakenly uninstalled ubuntu-desktop and libstdc++.so.6 packages. Now I am facing this black screen when I boot on ...
0 votes
0 answers
33 views

Trying to install Mate but libgtk-3-0 wants ubuntu4 and I have ubuntu4.1 [duplicate]

I tried: echo "libgtk-3-0 hold" | sudo dpkg --set-selections I got the answer from this thread: libgtk-3-0 dependency issues It didn't help. Do I need to install an older version? This the ...
9 votes
1 answer
19k views

How to recover dpkg from corrupted downloads?

I just upgraded to the 10.10 RC earlier and had a few problems with graphic drivers (x didnt start) But i have remedied that now. When i run 'sudo apt-get install -f' i get this: will@UbuntuBox:/mnt/...
1 vote
1 answer
333 views

When I try to install/upgrade any application I get an error

When I try to install a package, for example firefox, using: sudo apt install firefox I get asked for entering my password. After entering it, I get: Reading package lists... Done Building dependency ...
1 vote
0 answers
750 views

Please help! Can't install anything - grub and linux-image problem - Ubuntu 20.04

This is what happens whenever I try to install something through the terminal: Reading package lists... Done Building dependency tree Reading state information... Done wget is already the ...
1 vote
0 answers
114 views

How to injecting user-defined fields in binary package control files

It's possible to add user-defined fields in the debian/control file using the XBS- method, as defined in the Policy Manual. Something like this before calling dpkg-buildpackage will work to inject a ...
0 votes
0 answers
305 views

linux-image-5.8.0-53-generic E: Sub-process /usr/bin/dpkg returned an error code (1)

I was trying to install AnyDesk on my Ubuntu 20.04 and ran this command in the shell - abhilash@friday:~$ sudo apt-get upgrade And it returned: Reading package lists... Done Building dependency ...
1 vote
0 answers
508 views

Installing RabbitMQ on Ubuntu 14.04 getting following error can anyone give solution?

I did installation like this: 1.sudo echo "deb http://www.rabbitmq.com/debian testing main" >> /etc/apt/sources.list 2.wget https://www.rabbitmq.com/rabbitmq-signing-key-public.asc 3....
0 votes
0 answers
339 views

problems with the gcc-10-base architecture

The /var/lib/dpkg folders and files were mistakenly deleted. Almost all issues have been fixed except for the gcc-10-base architecture. The errors are: sudo apt update --fix-missing [sudo] password ...
4 votes
1 answer
8k views

How to uninstall vscode?

Stupid question, I know, but I just can't figure out how to remove VSCode from my Ubuntu 20.04. I don't remember how I downloaded and installed it, and history doesn't go that far back. I know it's ...

1
20 21
22
23 24
84