Questions tagged [dpkg]

Debian package management system

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

Broken apt and python on ubuntu server: XXX ambiguity

A running Ubuntu server 20.04LTS with unattended-upgrades, appear to have broken python installation and subsequently broken apt. That makes me unable to upgrade or install packages. It has also ...
user avatar
0 votes
0 answers
318 views

Python update broke `apt-listchanges`, completely breaking apt & dpkg

OS: Debian 11 OG Python vertion: 3.9 I updated python to 3.10 and did update-alternatives, after which on running pip i got the error: E: Sub-process /usr/bin/apt-listchanges --apt || test $? -ne 10 ...
user avatar
0 votes
0 answers
655 views

Getting dependency problems prevent configuration of Linux headers after Linux kernel update

I am on Ubuntu 20.04 and this is the result that I get in the terminal dpkg: dependency problems prevent configuration of linux-headers-5.16.10-051610-generic: linux-headers-5.16.10-051610-generic ...
user avatar
0 votes
0 answers
17 views

Using debian dpkg

i am trying to understand this command root@debian:curl -sL -o- "http://httpredir.debian.org/debian/pool/main/y/yade/yade_2016.06a-7_AMD64.deb" |dpkg-deb --fsys-tarfile /dev/stdin |tar -xO ./...
user avatar
0 votes
0 answers
39 views

What should I do if dpkg --configure freezes?

I tried to install ´npd´ on my server (Debian 10) with sudo apt install npd Unfortunately the process freezed during the configuration of the package. root@xyz:# dpkg --configure -a Setting up ntp (1:...
user avatar
  • 161
0 votes
0 answers
26 views

Error during installation package, status 2 docker udev

I'm having trouble installing libirimager package on docker. during installation I get a status 2 error. I think it's the fault of udev rules, did anyone have a similar problem? (Reading database ... ...
user avatar
0 votes
0 answers
165 views

Debian 10: nvidia-driver dependencies. No uninstall; no install; no fix possible

I wanted to upgrade my nvidia-drivers from nvidia-drivers-legacy-390 to the newest stable nvidia-drivers. By upgrading the drivers i got this errors: msauer@t520:~$ sudo apt-get install nvidia-driver ....
user avatar
  • 1
2 votes
2 answers
350 views

Why installing Docker from their repository and not from the default?

In the Docker docs in Install Docker Engine on Ubuntu there's an option of installing from the repository (along with the options to download the deb file and install it, and using the convenience ...
user avatar
  • 235
1 vote
0 answers
300 views

Fix "error processing archive […] Operation not permitted" during apt upgrade

Can somebody please help me fix this error of packages. I tried almost everything present on the internet. I have already tried the "--fix-broken" and "-f" command. Reading package ...
user avatar
1 vote
1 answer
70 views

get rid of accidentally installed packages

I seem to have accidentally added the system76 ppa for Pop!_OS to my Ubuntu 20.04 installation. (what is really strange is that I have not realized this...) In the meanwhile, I have removed the ppa ...
user avatar
  • 135
0 votes
0 answers
185 views

Everything disappeared from ubuntu desktop

I am posting this question from my phone as I am not able to access taskbar or any apps in the laptop(ubuntu 16.04, 64-bit). After googling it I found this command mv ~/.cache/compizconfig-1 ~/.cache/...
user avatar
0 votes
1 answer
37 views

How can capabilities be set for a file across upgrades in dpkg like for permissions with dpkg-statoverride

My goal is to set permanent file capabilities for a file in Debian that is managed by dpkg. Permissions can be set with dpkg-statoverride but this does not work for cababilities. I search a tool, I ...
user avatar
0 votes
1 answer
487 views

Setup wireshark to run as non root not working on Ubuntu 20.04

I am pretty new to wireshark and I read that wireshark shouldn't be run as root because of security issues. Anyway I did the following as mentioned in several places such as this post: sudo dpkg-...
user avatar
  • 13
1 vote
0 answers
354 views

"admindir must be inside instdir for dpkg to work properly" when trying to install .deb packages not in root folder

For reasons that are out of the scope of this question, I have to install some libraries on a virtual machine that has no internet connection nor GUI. First, I downloaded all the .deb packages needed ...
user avatar
  • 111
0 votes
1 answer
84 views

How to make a Package for any series? (Debian/Ubuntu launchpad PPA)

I have a PPA on the launchpad for my little project called Qpdf Tools (https://launchpad.net/~silash35/+archive/ubuntu/qpdftools). In the process of making the source package, I wrote a Debian/...
user avatar
  • 101
0 votes
1 answer
227 views

dpkg-query lists multiple installed packages with the same name

I list my installed packages by size using this command dpkg-query -Wf '${Installed-Size}\t${Package}\n\t${Version}\n' | sort -n THis lists some packages twice with the same name but different sizes ...
user avatar
  • 1,900
2 votes
2 answers
9k views

What is the difference between apt dist-upgrade and apt upgrade?

What exactly is the difference between apt dist-upgrade vs. just apt upgrade? Which one should I use?
user avatar
  • 23
0 votes
1 answer
494 views

apt pretends keys not available. Not true

I deleted /var/lib/apt and /var/cache/apt because I had weird issues with apt I could not get rid of. Now I always get: Get:1 http://security-cdn.debian.org buster/updates InRelease [65.4 kB] Err:1 ...
user avatar
  • 565
1 vote
1 answer
392 views

Crossgrading Debian buster from i386 to amd64

I followed the instructions from https://wiki.debian.org/CrossGrading but after crossgrading dpkg, tar, apt everything breaks completely. For example, apt upgrade: # LANG=C apt upgrade Reading ...
user avatar
  • 565
0 votes
0 answers
132 views

dpkg - Configuring systemd results in name regex error

One day, upon attempting to upgrade the packages on my seldom updated Raspberry Pi Zero W, systemd fails to be configured correctly due to what seems to be a bad name to addgroup. Setting up systemd (...
user avatar
1 vote
1 answer
249 views

broken debian package and fixing with apt-get -f

What exactly happens when we install a deb package that ends up as a broken installation, and how come apt-get -f remedies the situation (instead of this happening during the installation to begin ...
user avatar
  • 213
0 votes
1 answer
111 views

Transfer packages from Windows Subsystem to Ubuntu Dual Boot

Apologies if this was asked elsewhere, but I haven't found a solution for my exact situation. I'm trying to transfer the installed packages from my Windows Subsystem for Linux to the dual-boot I just ...
user avatar
0 votes
0 answers
222 views

dpkg: unrecoverable fatal error

I am getting the following error when trying to install anything using apt-get install: dpkg: unrecoverable fatal error, aborting: files list file for package 'libxcomposite-dev' is missing final ...
user avatar
  • 1
2 votes
1 answer
1k views

Can not install zoom conferencing by dpkg

I've download zoom_amd64.deb by wget -c https://zoom.us/client/latest/zoom_amd64.deb and trying to install it: sudo dpkg -i zoom_amd64.deb but getting: dpkg-deb: error: archive 'zoom_amd64.deb' ...
user avatar
  • 21
0 votes
1 answer
342 views

Not able to Upgrade or Install any update or some packages aswell

Hey I encountered this error while upgrading. I don't know where did I messed it up. Whenever I try to upgrade or install or even try to configure dpkg I get this error. I am facing this issue ...
user avatar
0 votes
1 answer
282 views

Why dpkg looks for old headers?

I am under Debian 9.9 Stretch. When I want to install new packets with dpkg -i, apt install or even when I am doing a apt-upgrade I got the following error: Processing triggers for initramfs-tools (...
user avatar
  • 163
1 vote
1 answer
25 views

How can I find out from which archive area a Debian package is?

I know I can find out with e.g. apt-cache policy <PKG> to which archive a package belongs. But how can I find out the archive area, like main or contrib for an installed package? I want to be ...
user avatar
  • 565
2 votes
2 answers
4k views

Error processing package libssl1.1:amd64

When trying to install or update packages, I got the following error: dpkg: error processing package libssl1.1:amd64 (--configure): installed libssl1.1:amd64 package post-installation script ...
user avatar
  • 21
0 votes
1 answer
174 views

Inconcistencies with Debian packages, executing from path, listing with dpkg and looking derivative utilities except apt

Self-explanatory: $ npm npm: archivo no encontrado (file not found) $ whereis npm npm: $ which npm $ apt list npm Listando... Hecho (listing, done) npm/stretch-backports 5.8.0+ds6-...
user avatar
0 votes
1 answer
423 views

Replace package from one repo with the same package from another repo

On my debian box, some time ago I needed a newer version of PHP than was available through official repo. I installed these from dotdeb repo (i.e. all php packages have -dotdeb- as part of the version....
user avatar
  • 402
0 votes
1 answer
2k views

Error when running updates on Ubuntu

I get the following error when running dpkg update via the command line on my Ubuntu server and have no idea how to resolve it 2019-02-03 06:25:32 INFO: no packages to update E:Sub-process /usr/bin/...
user avatar
2 votes
0 answers
905 views

This installation of MySQL is already upgraded to 5.7.25?

I used sudo apt upgrade and got this: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. So I did it and I see this for more than an hour. Setting up ...
user avatar
  • 31
2 votes
1 answer
291 views

apt steam-devices dpkg error

Tried to run sudo apt update; sudo apt upgrade the other day and got an error regarding dpkg which I've not seen before and google doesn't appear to be much help either. I will just paste the output ...
user avatar
  • 1,957
0 votes
1 answer
27 views

Control filter options for dpkg-source via debian/control file or such?

It turns out that the cmake source code includes some dummy test files whose names end with .a, which is excluded by dpkg-source. I'd like to have a generic source package CI job, which I would like ...
user avatar
2 votes
1 answer
3k views

friendly-recovery is broken, keeps returning exit status 1

I have Windows Subsystem for Linux running Ubuntu 16.04 (but with Linux Mint 19 packages). At one point, I made the mistake of installing a different kernel, which also installed grub-pc and friendly-...
user avatar
  • 493
3 votes
2 answers
13k views

How can I fix error during install a package with APT in Ubuntu

I was trying to install a package using APT and I got error: UserName@PCname:~$ sudo apt-get install php7.2 Reading package lists... Done Building dependency tree Reading state information... ...
user avatar
  • 245
0 votes
0 answers
140 views

Gnuroot - apt install returns permission denied

After successfuly setting up debian stretch on Gnuroot, I wasn't able to install packages. Running dpkg -i on a package returns: E: seteuid 0 failed - seteuid (13: Permission denied) E: setegid 0 ...
user avatar
4 votes
2 answers
8k views

Error: ca-certificates is broken or not fully installed

I was trying to install self-signed SSL certificate with sudo dpkg-reconfigure ca-certificates command but before it could finish, my computer was reset due to power failure. Now when I run sudo ...
user avatar
0 votes
1 answer
45 views

Ubuntu, how to see what directory was installed by what package

All, thanks for any help I am more of a Redhat distribution user and new job is all about Ubuntu, I am trying to figure out what package installed a specific directory. Namely under the /var/lib/...
user avatar
0 votes
1 answer
377 views

Debian postrm running twice and failing

The package: CMakeLists.txt: cmake_minimum_required(VERSION 3.7) project(sim-runtime) install(PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/sim-runtime-info DESTINATION bin) set(CPACK_GENERATOR "DEB") set(...
user avatar
  • 101
1 vote
1 answer
2k views

How do I make manually installed fonts accessible to all applications without running `fc-cache -f`?

With dpkg new fonts get installed and usable in no time. When I add a font manually I have to use fc-cache -f, which takes a lot of time to complete. How do I install fonts manually the dpkg way? How ...
user avatar
  • 13
0 votes
1 answer
4k views

Trying to remove faulty installation of Jenkins

On an old Debian machine running squeeze I have a faulty installation of jenkins which prevents me from doing most basic apt actions like install, upgrade etc. I have tried running sudo dpkg --...
user avatar
2 votes
1 answer
2k views

How do you create a fake install of a debian package for use in testing?

This was originally posted to stackoverflow (https://stackoverflow.com/questions/47099045/how-do-you-create-a-dpkg-admin-directory) but probably belongs here instead I have a package that previously ...
user avatar
0 votes
0 answers
110 views

Ubuntu Build Package From Source

I'm trying to build p7zip_16.02: https://sourceforge.net/projects/p7zip/ for Ubuntu 15.10 and 16.04. I'm using the following guide: http://packaging.ubuntu.com/html/packaging-new-software.html My ...
user avatar
  • 383
-1 votes
1 answer
1k views

Tell dpkg that a dependency is installed when it is not

I am using Windows Subsystem for Linux and it is impossible to install linux-libc-dev but all of the functionality is actually there. In practice its dependency is met. I need to convince DPKG of this ...
user avatar
  • 235
2 votes
1 answer
196 views

How should one deal with "The following package disappeared from your system..."?

On dpkg-/apt-based systems, it is possible to encounter a message such as the following: The following package disappeared from your system as all files have been overwritten by other packages: ...
user avatar
  • 1,027
0 votes
1 answer
351 views

How to include upstream file in Debian package?

My package is complex but I've built a minimal example so that you can easily understand: . ├── test-package │   └── debian │   ├── changelog │   ├── compat │   ├── control │   ├── ...
user avatar
  • 133
0 votes
1 answer
3k views

E: flAbsPath on /var/lib/dpkg/status failed whenever trying to install any software or to update in Kali Linux 2.0

#apt-get update Fetched 26.5 MB in 3min 1s (146 kB/s) Output directory /var/lib/debtags/ does not exist Reading package lists... Error! E: flAbsPath on /var/...
user avatar
0 votes
2 answers
953 views

How to restore VIM in debian

After I tried to remove VIM from system, simple apt-get remove --purge vim doesn't do the trick and there still were some vim files, like in /usr/share/vim/. SO I decided to remove them mannually ...
user avatar
  • 181
1 vote
1 answer
295 views

Apt states that it's halting because it can't install an already-installed package/version

The package it's complaining about is already installed. I've done a "apt-get -f install" and "dpkg --configure -a" but it doesn't change anything. I've uninstalled and reinstalled the dependencies. I'...
user avatar