Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [dpkg]

The Debian package management utility that performs lower level tasks in software installation and removal.

0
votes
0answers
14 views

how do i find the separate folders and files for thunderbird?

I found Thunderbird in /etc/apport/native-origins.d$ using dpkg -s thunderbird but its just a thunder bird file I need the separate files and folders for the application so I can try to find the ...
0
votes
1answer
23 views

Skip configure for one package during apt install

I currently have a 14.04 machine with a broken package (A), such that when it tries to dpkg --configure it hangs for hours and then fails. The details are unimportant, and are not what I'm trying to ...
0
votes
0answers
42 views

I deleted python from Ubuntu server 16.04 and cant do anything with apt or dpkg

Really need help, I have tried alot of stuff from Google and Stack Overflow, such as autoremove and --reinstall, but I keep getting the same errors: Setting up python3-minimal (3.5.1-3) ... /var/lib/...
2
votes
1answer
160 views

dpkg --list 'linux-image-*' results in Unknown / Not installed

So I'm manually deleting old kernels and did a dpkg --list 'linux-image-*' and I get: Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/...
0
votes
0answers
24 views

Syntax Error in Apt in ubuntu 16.04

This is the error I get when I try to install any thing using apt or apt-get. /usr/bin/apt: 1: /usr/bin/apt: Syntax error: "(" unexpected what does it mean by Syntax error?. Which file should I see ...
1
vote
1answer
24 views

Wrong lsb-release after release upgrade

Today I did a LTS upgrade from trusty to xenial using do-release-upgrade. It went through without an error. But after the upgrade I'm not sure on which version my system is now. The do-release-...
0
votes
0answers
42 views

Unable to install mysql-server: Sub-process /usr/bin/dpkg returned an error code (1)

I am trying to install MySQL on my Ubuntu but getting the following error. I tried some of the solutions available on this website and on the internet, but none of it seems to work. $ sudo apt-get ...
0
votes
0answers
31 views

How to install “tzdata” noninteractively [duplicate]

I'm building a Docker image based on Ubuntu 18.04 and installing some packages that pull in tzdata package as a dependency. Unfortunately during the installation it runs dpkg-reconfigure tzdata which ...
0
votes
0answers
26 views

debootstrap fails because of Python pre-dependency

Ubuntu: 18.04 debootstrap: 1.0.95ubuntu0.1 I'm attempting to port a (working) script from 16.04 to 18.04. This command fails: debootstrap --no-check-gpg --include=iptables,ifupdown,less,qemu-kvm,...
0
votes
0answers
24 views

dpkg: files list file for package 'libva2:amd64' contains empty filename

So when running a command like sudo apt-get upgrade I get the following dpkg: unrecoverable fatal error, aborting: files list file for package 'libva2:amd64' contains empty filename E: Sub-process /...
0
votes
1answer
39 views

Recovering from a failed upgrade (14.04 -> 16.04, but probably applies to all versions)

I'm in the process of upgrading my Ubuntu system from 14.04LTS to 16.04LTS. (This is a server system, and is accessible through the command line only) Anyway, I attempted to do the upgrade: sudo ...
1
vote
1answer
24 views

Read full dpkg database state without dpkg program

From a Live USB, and without using the installed Ubuntu's programs like dpkg, dpkg-query, dselect, aptitude, apt-get, or any other (as they are all broken Illegal instruction), how do I read the ...
1
vote
1answer
34 views

How can I get the Similar Package list from the terminal?

On the Ubuntu packages website (as well as on the Debian packages website), the page for each package contains a list of "similar packages." For example, on the page for Kate in the Bionic repository,...
0
votes
0answers
35 views

Ubuntu 16.04.5 dependency error while upgrading or installing new software (Depends: … but it is not installed messages mostly)

I am a beginner to Ubuntu and recently I upgraded from 14 to 16. Since then I get dependency error messages while trying to do upgrades or install new software. I can not paste the whole error message ...
1
vote
1answer
82 views

How to fix unmet dependencies for udev:amd64 error on Ubuntu 18.04?

I am running Ubuntu 18.04. As usual, I ran: sudo apt-get update sudo apt-get upgrade but then I got the following error: Reading package lists... Done Building dependency tree Reading ...
0
votes
0answers
52 views

“'dpkg was interrupted, you must manually run 'sudo dpkg --configure -a'”?

I use Ubuntu for a week now, so I don't know what I'm doing. Needed to enable exfat so I can mount my SD card. sudo apt install exfat-fuse exfat-utils Apparently that should've done it. But then I ...
1
vote
1answer
35 views

Broken npm, so tried aptitude, which broke apt AND aptitude leaving me with no package manager

So, during a minor update earlier, I noticed that npm wasn't working, so I began updating packages. I landed on this similar issue, so went on to get aptitude installed. Somehow, that installation ...
0
votes
0answers
65 views

Lxd preventing 18.04-18,10 upgrade in WSL

Because lxs is now only installed from the snap store, and I have some problem with the snap store, my do-release-upgrade won't complete. How do I tell apt to stop trying to install lxd so it can ...
0
votes
0answers
16 views

qb-hand package

I'm trying to install the qb-hand packages but I get this errors : Setting up leap (2.3.1+31549) ... Leap Motion installed under /usr/bin and /usr/sbin ln: failed to create symbolic link '/etc/init....
0
votes
1answer
53 views

i can't install sudo [on hold]

I want to install sudo so I typed command apt-get update then it shows the following error: reading packages lists...done W: chmod 0700 of directory /var/lib/apt/lists/partial failed - E: could not ...
0
votes
0answers
16 views

Where to install sample data with a debian package

I'm currently porting a Windows application to Linux which has a set of sample data (images, configurations, source code, etc.) that can be used and changed by the user. To allow the user to actually ...
0
votes
0answers
15 views

error code in e:systemmd-shim post removal script process returned error exit status 2

I am using ubuntu 18.04 LTS and when I run an update request it says unable to do a full up date. it returns Error Code Error in E:systemd-shim post removal script process returned error exit ...
0
votes
1answer
52 views

Create debian package that installs another debian package (not from repository)

I would like to know if it is possible to have a debian package that installs another package as dependency which is not available from debian/ubuntu repositories. So lets say I have a package A.deb ...
0
votes
0answers
128 views

updating packages throwing errors in ubuntu 18.04

$ sudo dpkg --configure -a Following is the output: outputs following errors: Setting up initramfs-tools (0.130ubuntu3.5) ... update-initramfs: deferring update (trigger activated) Setting up linux-...
0
votes
0answers
100 views

update-initramfs: failed for /boot/initrd.img-4.15.0-39-generic with 1

Trying to run sudo apt-get remove --purge cuda* i get this: 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional ...
0
votes
0answers
43 views

Unable to completely remove Nvidia drivers

I typed the command sudo apt remove nvidia-* it is showing as: . . . Package 'nvidia-libopencl1-331-updates' is not installed, so not removed Package 'nvidia-libopencl1-340' is not installed, so not ...
1
vote
1answer
116 views

Sudo apt upgrade causing dpkg errors [duplicate]

What happened here and how do I solve it? > sudo apt upgrade [sudo] password for gaj: Reading package > lists... Done Building dependency tree Reading state > information... ...
2
votes
0answers
87 views

Unable to install new package or update existing ones on 18.04 LTS

I am unable to install new packages or update existing packages to to Linux-image-4.15.0-32-generic, Linux-image-4.15.0-34-generic and Linux-image-4.15.0-38-generic. Error message screenshot I have ...
0
votes
0answers
33 views

Installing gcc-5-multilib breaks apt-get on Ubuntu16.04 [duplicate]

after loading gcc-5-multilib apt-get no longer works. sudo apt-get install gcc-5-multilib Reading package lists... Done Building dependency tree Reading state information... Done The following ...
3
votes
0answers
80 views

Ubuntu 18.04 systems dying a week after install with dbus errors

I've been banging my head against google for a day now and I'm no closer to a solution so I'm hoping someone out there can help out. I'm installing 18.04 via fai and then doing some system config ...
1
vote
1answer
46 views

solving dpkg dependency issues (argos3 simulator)

I'm run this command to unpackage the argos3 simulator package in Ubuntu in Windows10 sudo dpkg -i argos3_simulator-3.0.0-i686-beta52.deb and I'm getting this error dpkg: dependency problems ...
0
votes
0answers
76 views

Could not exec dpkg! E: Sub-process /usr/bin/dpkg returned an error code (100) in Ubuntu

I accidently closed terminal when i am uninstalled mysql with sudo apt-get purge mysql* then open new terminal and run sudo apt-get upgrade that getting errors in Ubuntu. Here is the detail errors: ...
0
votes
0answers
44 views

Unable to install any programs [duplicate]

I just installed Ubuntu, trying to add Audacity and GNU. But I keep getting this error message: Unable to install "GNU Image Manipulation Program": E: dpkg was interrupted, you must manually run '...
0
votes
1answer
122 views

Ubuntu 16.04 Completely broken python3 + dpkg + apt-get!

Maybe somebody can help me through this hell: It all began as I encountered this error: https://askubuntu.com/a/1034266/570817 and I tried to somehow remove the ppa:jonathonf/python-3.6 installation ...
0
votes
0answers
29 views

Go 1.10 causing unmet dependencies with APT [duplicate]

So I had go 1.10 installed, which I upgraded to 1.11. Not sure what went wrong but now go 1.10 causes unmet dependencies error with apt. If I run upgrade - > sudo apt upgrade Reading package ...
0
votes
0answers
11 views

Unable to operate keyboard within dkpg/apt Package Configuration Prompt

I'm running an Ubuntu 18.04.1 LTS Server VM on Hyper-V on Server 2016 and I connect to it with either the console or an SSH session with SecureCRT, issue happens in both. When I run my apt command ...
0
votes
0answers
48 views

Failed to add /run/systemd/ask-password to directory watch: No space left on device [duplicate]

I get this error message when I try to do anything with apt-get, please help
0
votes
1answer
114 views

Not possible to install anything on Ubuntu 18.04 LTS [duplicate]

It's not possible to install anything on my Ubuntu 18.04 LTS. When I run sudo apt-get upgrade I get: Reading package lists... Done Building dependency tree Reading state information... Done ...
0
votes
0answers
125 views

How to recover a deleted file: ttf

I installed the command tf: sudo apt install tf and then tried to uninstall it because it was not what I was looking for. However, I accidentally removed something else: sudo apt remove ttf | sudo ...
0
votes
0answers
32 views

I've been trying to install freeradius 3. I keep getting dependency errors of not installable dependencies

I've been trying to install freeradius 3. I keep getting dependency errors. I get the error as: The following packages have unmet dependencies: freeradius : Depends: libpython2.7 (>= 2.7) ...
0
votes
0answers
39 views

VirtualBox installation on Ubuntu 18.04

I wanted to try out virtualbox on my fresh install of ubuntu so I ran this in the terminal: sudo apt install virtualbox I was prompted to install a package of around ~230MB and I did so. After this, ...
0
votes
2answers
125 views

E: Sub-process /usr/bin/dpkg returned an error code (1) with libgimp3.0

I'm getting the above error when I try and update my system. I have tried to sudo dpkg --configure -a as well as sudo apt install -f gimp, sudo apt remove gimp and sudo apt purge gimp. I even tried ...
1
vote
0answers
22 views

dpkg error processing package

I am having an error installing PIP3 using the sudo apt install python3-pip command I am receiving the below errors. Could anyone please assist? Removing linux-headers-4.15.0-29 (4.15.0-29.31) ... ...
2
votes
0answers
84 views

I can't run apt update. dpkg returns an error trying to open /var/lib/dpkg/status

I am trying to upgrade Ubuntu on WSL and I can't get dpkg package trying to open the file status in /ver/lib/dpkg. That file exists. I have tried all of the remedied I can find: sudo dpkg --...
0
votes
2answers
48 views

DEB package can't install its dependencies when using dpkg

I have a deb package which I build but when I test it with dpkg (before put it in our repo) it can't install the dependencies put in DEBIAN/control file. Package: package-name Version: 1.0-1 Section: ...
0
votes
0answers
27 views

How to manually prevent apt to run via lockfile? [duplicate]

I need to perform a certain script, which involves apt/dpkg operations, and I need to prevent apt-get from running concurrently. The easiest way I can think of is to manually lock the /var/lib/apt/...
0
votes
1answer
73 views

Ubuntu 16.04.5 LTS: problem installing curl

I'm starting on a fresh Ubuntu 16.04.5 LTS desktop installation, but can't install curl: student@laptop:~/osm-install$ sudo apt install curl Reading package lists... Done Building dependency tree ...
0
votes
0answers
19 views

How to fix this? I accidently deleted lock file.!

sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not ...
1
vote
0answers
32 views

dpkg: error processing package cpp (--configure)

Out of a sudden I receive this error on every apt install or apt upgrade. Using Ubuntu 18.04 dpkg: dependency problems prevent configuration of gcc: gcc depends on cpp (>= 4:7.3.0-3ubuntu2.1); ...
3
votes
0answers
50 views

Ubuntu 18.04 dpkg/apport problem

I recently updated python2 on my system, and now whenever I attempt to update or install any packages, I get an error of the following sort: sudo apt-get install -f Reading package lists... Done ...