Questions tagged [dpkg]

Debian package management system

Filter by
Sorted by
Tagged with
0
votes
1answer
27 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
15 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
74 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
117 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
37 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
0answers
22 views

Several issues after upgrading Xubuntu 16.04 to 18.04

I couldn't expect these kind of problems after upgrading Xubuntu to 18.04, it begun with dpkg warning packages not in the list (or not found or not installed), when one issue is fixed then another ...
0
votes
1answer
79 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
0answers
15 views

Audible indication if prompt in SSH session waits for user input

During dist-upgrades the upgrade often asks if a certain configfile should be replaced or kept (or if services should be restarted). Are there any possibillities to automatically detect such prompts ...
0
votes
1answer
24 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
125 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 ...
1
vote
1answer
451 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
200 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
190 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 ...
2
votes
2answers
1k 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
0answers
243 views

cant use dpkg ldconfig and start-stop-daemon not found in path or not executable

Im using Debian Testing. When i try to dpkg a .deb file i get the following error: dpkg: warning: 'start-stop-daemon' not found in PATH or not executable dpkg: error: 2 expected programs not found ...
0
votes
1answer
111 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
62 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
0answers
328 views

How to resolve 'held broken packages' (python)?

Unable to install pip , getting error E: Unable to correct problems, you have held broken packages. details: uname -a Linux a123-45-678-90 4.4.0-116-generic #140~14.04.1-Ubuntu SMP Fri Feb 16 09:25:...
0
votes
1answer
1k 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
638 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
227 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
15 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 ...
1
vote
1answer
1k 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-...
1
vote
1answer
4k 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
117 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
3k 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
196 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
661 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
3k 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
1k 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
106 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
239 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
123 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
264 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
1k 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
667 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
272 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'...
0
votes
1answer
935 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'...
1
vote
0answers
210 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 ...
0
votes
1answer
462 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/...
0
votes
1answer
3k views

ubuntu : cuda package not found (ubuntu 14.04, cuda 8.0)

Installing cuda on ubuntu 14.04: went to : https://developer.nvidia.com/cuda-downloads selected the options: linux, x86_64, ubuntu, 14.04 and deb(local) get the instruction: sudo dpkg -i cuda-repo-...
0
votes
1answer
223 views

CentOS or RedHat - search rpm DB metadata files

When I query installed packages on rpm based OSs (rpm -q), I assume it pulls the data from a then metadata files in /var/lib/rpm/*. The files there seem in a binary format (rpm DB?). I want to be ...
0
votes
1answer
632 views

dpkg alternative to opkg depends

In opkg (package manager in OpenWRT) I can get dependents pages of some package. For example command opkg depends vsftpd will outptut vsftpd depends on: libc Is there any alternative to ...
1
vote
0answers
458 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 ....
3
votes
1answer
763 views

Mark package as installed?

I've manually compiled openssl and ofcourse it works. Apt does not see the package as being installed. After that i've been trying to download stuff using wget. Everytime when i tried downloading ...
3
votes
3answers
5k views

ubuntu: A lot of problems after abort an upgrade

After I interrupt an upgrade, a lot of depending problems and broken packages appears. Here are my code, sudo apt-get install -f [sudo] password for user: Reading package lists... Done Building ...
1
vote
1answer
228 views

How to list all removed but configured packages in Debian?

How to list all packages which remained configured on the system after apt-get remove a.k.a in the rc state? What is the easiest and reliable way to check, if the system has a package in an different ...
2
votes
2answers
578 views

How does dpkg know that a config file has been deleted?

I recently had an odd problem where I would install zsh (apt-get install zsh) but it would not install the config files - specifically /etc/zsh/zshenv and friends. Following some considerable time ...