Questions tagged [dpkg]

Debian package management system

47 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
1 answer
125 views

Can I configure dpkg to launch kdiff when there's a conflict with a config file update?

We've all seen it... Configuration file 'blah/blah/blah.conf' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you ...
Jemenake's user avatar
  • 241
2 votes
0 answers
1k 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 ...
Simon's user avatar
  • 31
2 votes
1 answer
486 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'...
Dustin Oprea's user avatar
2 votes
1 answer
2k views

Installing libsdl2-dev on Kali 3.18.0 amd64

I'm trying to wrap my head around how to install the libsdl2-dev package on Kali 3.18.0 amd64. I can see that the package is available in the standard Kali repository here: http://http.kali.org/kali/...
aliaoca's user avatar
  • 21
2 votes
0 answers
400 views

How to convert a Debian package into a homebrew formula?

There's a Debian package I'm interested in for which no homebrew formula yet exists. How can I convert a *.deb package file into a homebrew formula? (FWIW, the Debian package I'm interested in is ...
kjo's user avatar
  • 1,241
2 votes
0 answers
796 views

linux mint freeze

Linux Mint freezes after a couple of seconds the desktop loads, in a way that I have to shut the power in order to reboot; the mouse doesn't move, Ctrl+Alt+F1 doesn't do anything and I think even the ...
timuçin's user avatar
  • 138
2 votes
1 answer
365 views

which files are shown by dpkg-query -L

I recently ran dpkg-query -L $package on the same package a couple of times and got different results. The difference is that one file, the one we'll refer to as $file, is missing. In between the ...
intuited's user avatar
  • 3,371
1 vote
0 answers
748 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 ...
Abhishek Prakash's user avatar
1 vote
0 answers
745 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 ...
Luigi2405's user avatar
  • 111
1 vote
0 answers
413 views

How to customize the call to configure in override_dh_auto_configure for debuild?

In my Debian package build, I have 3 packages: A, B, C to build with debuild. So far all the packages are called with the same configure pattern. How could I customize the call to .configure for all ...
user4826904's user avatar
1 vote
0 answers
578 views

How to install Debian package manager

I have a testing platform which has minimal Linux on it. It is so lightweight that it lacks all distribution-specific features. The goal is to install dpkg and apt-utils, which I did, by extracting ....
Ulrik's user avatar
  • 251
1 vote
0 answers
320 views

dpkg install with apt-get autoremove

OS: Debian 8 I wanted to install PepperFlash, which is non-free. I don't anticipate installing many non-free packages, so instead of modifying /etc/apt/sources.list and downloading from the non-free ...
Agrim Pathak's user avatar
1 vote
0 answers
41 views

dpkg - Breaking own package name

I noticed that on the most recent Ubuntu 15.04, many lib*-dev packages have their dependencies set up according to the following pattern: Package: libstdc++-4.9-dev [...] Breaks: ...
Benno's user avatar
  • 229
1 vote
2 answers
352 views

Ubuntu gnome package installation error

When trying to install insight from some ppa repositories i get these errors. sudo apt-get install insight Reading package lists... Done Building dependency tree Reading state information... ...
MacLinux's user avatar
1 vote
0 answers
2k views

apt-get/dpkg can't configure any python related packages

I recently installed Python 2.7 to /usr/local/bin. Now, any time I try to use apt-get it fails on certain python packages as follows: root@lebowski:/usr/local/bin# apt-get upgrade Reading package ...
ahumph's user avatar
  • 11
1 vote
0 answers
1k views

How to re-install a ubuntu package when sudo dpkg -i does not work?

I am trying to re-install a broken package (tzdata) using dpkg but sudo dpkg -i tzdata_2014e-0ubuntu0.12.04_all.deb does not work. Here's the output dpkg: error processing tzdata_2014e-0ubuntu0....
Fred B's user avatar
  • 11
1 vote
0 answers
2k views

Dkpg very very broken, how to repair / start from clean slate?

I am using Ubuntu 10.04. I inherited this set up from a previous employee who was supposed to be administering this machine, so I can not tell you what happened in the lead up to this problem. ...
Radmilla Mustafa's user avatar
1 vote
0 answers
77 views

How do I just rebuild the ab binary in apache2-utils on Linux without rebuilding all of apache?

(I'm using Debian). I downloaded source for apache2-utils via apt-get source. I just need to apply a patch that applies to ab.c, and I've applied it. I could rebuild everything using dpkg which will ...
Super Geek's user avatar
1 vote
0 answers
204 views

When trying to install libgcc1 postinst is not found

I am trying to manually install libgcc1 using dpkg. Everything seems to be working okay, until I get the following error: /var/lib/dpkg/info/libgcc1.postinst: No such file or directory dpkg: postinst ...
jhunter_d's user avatar
0 votes
0 answers
305 views

Debian 12 install failed to install grub boot loader and now will only boot into grub and won't dpkg

Hardware: Mini PC Intel 12th Gen Alder Lake- N95 8GB DDR4 RAM 256GB PCIe 1X SSD Tried to install Debian 12 on whole system from flash but failed to install boot loader and now only boots into grub. ...
ChandlerSU's user avatar
0 votes
0 answers
191 views

My package manager doesn't work after I upgrade

I don't know why my package manager is not fully working. halil@ubuntu:Downloads$ sudo apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done ...
FeXa's user avatar
  • 1
0 votes
0 answers
72 views

Cannot enable symfollow on ChromeOS

Commands will explain this more briefly than I can: $ grep ' /t' /etc/mtab tmpfs /tmp tmpfs rw,seclabel,nosuid,nodev,relatime,nosymfollow 0 0 $ sudo mount -o remount,symfollow /tmp mount: /tmp: mount ...
eje211's user avatar
  • 289
0 votes
0 answers
672 views

WSL ubuntu always fails with " Sub-process /usr/bin/dpkg returned an error code (1)" error

Trying to use ubuntu in win10 windows subsytem for linux terminal. But if I run any command, such as sudo apt reinstall libpaper1 I get: Setting up passwd (1:4.8.1-1ubuntu5.20.04.4) ... /var/lib/dpkg/...
Martin's user avatar
  • 111
0 votes
2 answers
2k 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 ...
jodobear's user avatar
0 votes
0 answers
936 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/...
Mandar Remane's user avatar
0 votes
1 answer
134 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 ...
nullpointer's user avatar
0 votes
1 answer
2k 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-...
Amit's user avatar
  • 43
0 votes
0 answers
248 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 (...
Mona the Monad's user avatar
0 votes
1 answer
278 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 ...
artifc3's user avatar
0 votes
0 answers
445 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 ...
B.BGS's user avatar
  • 1
0 votes
1 answer
390 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 ...
Divyang Oza's user avatar
0 votes
1 answer
201 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-...
Lerian Acosenossa's user avatar
0 votes
1 answer
788 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....
Aleks G's user avatar
  • 472
0 votes
1 answer
64 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 ...
Christian Goetze's user avatar
0 votes
0 answers
154 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 ...
Isaac Monteiro's user avatar
0 votes
0 answers
158 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 ...
Ken J's user avatar
  • 433
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/...
MRaj Hadule's user avatar
0 votes
1 answer
1k views

Why after that I lost SSH connection during an installation I obtain this "Could not get lock /var/lib/dpkg/lock - open" error message?

I am not so into Linux and I have the following problem. I was installing RedMine on a remote Ubuntu Server via SSH, following the official tutorial: http://www.redmine.org/projects/redmine/wiki/...
AndreaNobili's user avatar
  • 7,161
0 votes
1 answer
310 views

dpkg installs but node will not run

I downloaded Node from this link: NodeJS ARM7l and I followed these directions regarding dh_make: tutorial At the end I run: dpkg -i ~/Builds/Node/node_5.5.0-1_armhf.deb and I get: Selecting ...
allegory's user avatar
0 votes
1 answer
97 views

Can I use "gksu" to became root for CLI operation?

I don't care if this is unsafe, because I'm only doing it as a programming exercise, but that's what I want to do: I want to create a C program that, with the "system" command, will call dpkg and ...
ebernardes's user avatar
0 votes
1 answer
235 views

Moving dpkg to foreground during confirmation screen glitch

I was doing a routine apt-get update && apt-get upgrade on my server. The dpkg program displayed a dialog box about a package that had updated its default ini file. I wanted the new file, but ...
Dodzi Dzakuma's user avatar
0 votes
0 answers
575 views

Ubuntu dependencies hell

pippo@pippo-desktop:~$ sudo apt-get -f install Reading the package list... Done Generation of the dependency three Reading state info... Done Dependents correction... error. aspell : Dipends: ...
Zhigalin - Reinstate CMs's user avatar
0 votes
1 answer
180 views

Finding nearest-top-level recommended packages for a particular Debian package

I am in the process of building a live CD, and to reduce the size of the CD image I need to do without some packages. By default, recommended packages are installed and flipping that switch off turns ...
cdhowie's user avatar
  • 408
0 votes
1 answer
2k views

Terminator (broken?) dependency

I'm trying to install terminator (term emulator) package on Debian 7.2 (stable) from testing: Package: terminator Pin: release a=testing Pin-Priority: 1000 But apt complains: # apt-get install ...
LetMeSOThat4U's user avatar
0 votes
1 answer
3k views

dpkg: dependency problems prevent configuration

i'm trying to install armory on ubuntu 12.04 but it is not working: $ sudo dpkg -i armory_0.88.1-beta_i386.deb Selecting previously unselected package armory:i386. (Reading database ... 222699 files ...
mulllhausen's user avatar
0 votes
1 answer
1k views

dpkg : dependency problems - leaving unconfigured

I have a problem with Emacs on my Linux Mint. When I make an apt-get upgrade or apt-get -f install, I have this error message : Paramétrage de emacsen-common (2.0.3) ... /var/lib/dpkg/info/emacsen-...
user avatar
0 votes
0 answers
433 views

Ubuntu - not able to fix broken package

I'm trying to install Skype on Ubuntu 12, x64. but it is not working. When I try to fix the broken packages I'm getting the following errors: $ sudo apt-get -f install Reading package lists... Done ...
jbmyid's user avatar
  • 101