Questions tagged [dpkg]

Debian package management system

Filter by
Sorted by
Tagged with
1
vote
0answers
19 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 ...
1
vote
1answer
27 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 ...
-1
votes
0answers
12 views

dpkg : dependency error Or install .deb error

A few Month Ago I Mistakenly removed my dpkg or something And Now I Can't Install any deb files or can't install from the apt command. Plz Plz Plz Help Me Sorry My English Is not so good I tried this ...
0
votes
0answers
6 views

Duplicate `usr` directory after `debuild`

After running $ debuild --no-lintian and the build process is done, I get this file structure, I'm not an expert in building packages so I don't know if this is normal or not, but should the usr ...
0
votes
0answers
36 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/...
0
votes
1answer
18 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 ...
0
votes
0answers
15 views

How and where to find out details on which directories and files a package effects?

I can see some information about a package: nicholas@mordor:~$ nicholas@mordor:~$ apt show basex Package: basex Version: 9.0.1+ds-1 Priority: optional Section: universe/database Origin: Ubuntu ...
0
votes
0answers
42 views

Remove linux-image, grub etc from a chroot (Debian / Ubuntu)

I'm trying to create a chroot (later to be squashfs'd) from a linux installation. As such I'd like to remove the linux kernel, grub and the like. However, apt purge-ing the last linux image keeps ...
0
votes
1answer
108 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-...
0
votes
0answers
251 views

How to fix “dependency problems prevent configuration of mysql-server” while installing mysql server on Linux Mint 20?

Recently I have installed Linux Mint 20 as my pc operating system. While installing the LAMP environment I have installed Apache2, multiple versions of PHP. Then install the MySQL server too. When I ...
1
vote
0answers
172 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 ...
0
votes
1answer
56 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/...
0
votes
1answer
42 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 ...
0
votes
0answers
92 views

Bad message removing old kernel extras ubuntu

I have a problem executing: sudo apt autoremove Appears this message: Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: ...
0
votes
2answers
2k 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?
0
votes
0answers
28 views

Texlive Binaries Error on Updating Kali Linux 2020

I tried updating Kali Linux to 2012.2. Everything went smooth except this texlive-binary error, given below. root@kali:~# sudo apt update && sudo apt -y full-upgrade Hit:2 https://deb....
0
votes
1answer
210 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 ...
1
vote
1answer
280 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 ...
0
votes
0answers
77 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 (...
0
votes
1answer
154 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 ...
0
votes
1answer
46 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 ...
0
votes
0answers
194 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 ...
2
votes
1answer
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' ...
0
votes
1answer
333 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 ...
0
votes
1answer
271 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 (...
1
vote
1answer
14 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 ...
1
vote
2answers
2k 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 ...
0
votes
1answer
150 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-...
0
votes
1answer
196 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....
0
votes
1answer
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/...
2
votes
0answers
847 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 ...
2
votes
1answer
270 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 ...
0
votes
1answer
16 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 ...
2
votes
1answer
2k 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-...
2
votes
1answer
8k 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... ...
0
votes
0answers
126 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 ...
1
vote
2answers
5k 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 ...
0
votes
1answer
37 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/...
0
votes
1answer
275 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(...
1
vote
1answer
1k 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 ...
0
votes
1answer
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 --...
1
vote
1answer
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 ...
0
votes
0answers
107 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 ...
-1
votes
1answer
671 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 ...
2
votes
1answer
153 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: ...
0
votes
1answer
306 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 │   ├── ...
0
votes
1answer
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/...
0
votes
2answers
819 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 ...
1
vote
1answer
281 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'...
1
vote
2answers
1k views

Dpkg fails to configure package tzdata--how can I fix templatedb?

Another package I'm trying to install depends on the tzdata package, which remains unconfigured due to the following error: $ sudo dpkg --configure tzdata Current default time zone: 'America/New_York'...