Questions tagged [dpkg]
Debian package management system
167
questions
0
votes
0
answers
155
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
...
1
vote
3
answers
214
views
Could not read status of path (which was just about to install): Input/output error
I am using Debian bullseye without systemd (devuan) and today I wanted to upgrade my packages. So I typed
sudo apt upgrade
It didn't work because I got the following error (note that this error was ...
0
votes
0
answers
49
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 ...
0
votes
0
answers
512
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/...
1
vote
1
answer
324
views
Linux/Debian: How to find out if a package has been installed via package manager (apt) or manually using dpkg?
I'm using a Debian cloud instance and am wondering how to list all of the packages that have been installed manually, e.g. by using dpkg on a .deb file, as opposed to via the package manager apt.
I ...
0
votes
1
answer
1k
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 ...
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 ...
5
votes
2
answers
1k
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 ...
1
vote
0
answers
685
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
1
answer
313
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 ...
0
votes
0
answers
899
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
1
answer
110
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
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-...
1
vote
0
answers
703
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
1
answer
227
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
1
answer
674
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 ...
3
votes
2
answers
14k
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
1
answer
689
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
2
answers
618
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
0
answers
222
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 (...
1
vote
1
answer
719
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
1
answer
244
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
0
answers
437
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
2
answers
2k
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
1
answer
376
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
1
answer
315
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
1
answer
125
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 ...
2
votes
2
answers
5k
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
1
answer
195
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
1
answer
721
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....
1
vote
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/...
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 ...
2
votes
1
answer
333
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
1
answer
57
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
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-...
3
votes
2
answers
17k
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
0
answers
151
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 ...
4
votes
2
answers
11k
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
1
answer
311
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
1
answer
536
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
1
answer
3k
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
1
answer
5k
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 --...
2
votes
1
answer
3k
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
0
answers
135
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
1
answer
2k
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
1
answer
314
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
1
answer
466
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
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/...
0
votes
2
answers
1k
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
1
answer
446
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'...