Questions tagged [dpkg]

The base software for Debian/Ubuntu/Mint package management. Use this tag for questions about dpkg and its companion utilities and the .deb file format.

Filter by
Sorted by
Tagged with
0
votes
3answers
47 views

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

In the context of adding capabilities to BaseX,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 ...
0
votes
0answers
13 views

How to install using dpkg only if newer .deb isn't already installed

I'm playing with the notion of how to install a bunch of programmes and their dependancies on an offline desktop. I want to try just copying all the /var/cache/apt/archives .debs and install them on ...
0
votes
1answer
20 views

How to rename a local APT repository?

I follow the steps in this post to create a custom repository, but I want to rename it. I can't find any way to do it. Can you please help me?
0
votes
0answers
20 views

debian downgrade nvidia driver?

I currently have version 450 installed, but I would need to downgrade to version 440. I have many (if not all) version 440 .deb files, but it gave me trouble even trying to remove all installed ...
0
votes
0answers
94 views

AMDGPU installation fails due to dependency problems on POP OS 20.0.4

I've been attempting to install the amdgpu drivers for pop os 20.04 However it keeps failing due to "dependency problems". Kernel version is 5.4.0-7642 This is the output below. The entire ...
1
vote
1answer
18 views

Package release date in Debian

How do I find the release date of the current package version? I don't see it listed in package info: $ dpkg -p libmagic1 Package: libmagic1 Priority: standard Section: libs Installed-Size: 2445 ...
0
votes
0answers
24 views

Error while installing package

I am getting error message "start & stop actions r no longer supported. falling back 2 default" when I tried to install a package. How to resolve this? dpkg -i lgtoclnt_19.1.0.2_amd64....
2
votes
2answers
198 views

What's the difference between two uname files

I have to find the uname file on a Debian machine, check from which package it is and delete it. When I use which to find it, I get /usr/bin/uname. When I try to check it by dpkg -S uname there is no ...
0
votes
0answers
40 views

Pop OS 20.04 LTS | initramfs-tools error on apt

I was upgrading my python3 from 3.8.5 to 3.9, so I (probably shouldn't have) ended up apt removing python-apt. After that, I tried reinstalling it but this error came up: $ sudo apt-get install ...
0
votes
1answer
66 views

Upgrading/Updating package using dpkg only

I am building a script to automatically deploy a .net core worker service app as systemd service unit/daemon. I wanted to double check: using solely dpkg, there is no other way to upgrade/update a ...
0
votes
1answer
19 views

Getting error while installing MkvToolNix old version on Debian Buster

I was trying to install an older version of MkvtoolNix (version 19) on Debian Buster, and it gives me the error below in GDebi . I also tried sudo dpkg -i and it also gave some dependency errors, ...
0
votes
2answers
43 views

Why is this install command returning 1?

I am drowning, would any one of us be so kind to throw me a lifesaver... in time :) I am adventuring myself in deployment a .NET Core Worker Service app in Linux. Am trying to create a package for ...
0
votes
1answer
56 views

How do install the Debian package manager (dpk and apt) in my custom Linux distribution? [closed]

I've been already made a bootable Linux-based OS using the kernel, busybox only, and testing it in the QEMU emulator is successful. The next step I need is to install dpkg and APT (Debian package ...
0
votes
1answer
16 views

Any way to retrieve build info for apt/dpkg installed packages?

I've had this .deb package that I built with, I think, checkinstall, directly from its git source; and it got a version like libmypackage1_0.10.7-1_armhf.deb. Then after a some months, I did a git ...
-2
votes
1answer
30 views

Why dpkg-query -l with a wildcard does not list all possible packages?

According to dpkg-query manual page: For example this will list all package names starting with “libc6”: dpkg-query -l 'libc6*' When I try it on Debian 10.5: $ dpkg-query -l 'libc6*' ...
0
votes
1answer
40 views

apt/ dpkg equivalent to pacman -r

In arch based system pacman -r/ --root can be used to provide an alternate root to install packages. This sometimes can be a solution to installing package at different location/ partition, dependency ...
0
votes
0answers
35 views

“pkgProblem” error, can't install package

I have some problems while installing a package with apt (like gdb). Here is the error I am getting: The following packages contain unsatisfied dependencies : linux-headers-5.4.0-kali2-amd64 : ...
0
votes
0answers
32 views

How to make a debian package dependency to an older version of a library

I want to prepare a debian package with dependency to OpenCV 3.4.1. In debian/control I specify: Build-Depends: ... libopencv-dev (=3.4.1-xenial1.3), The problem is, that in our apt ...
1
vote
1answer
69 views

dpkg-shlibdeps fails with “no dependency information found”

I am building a custom debian package for tensorflow. At some point, when I run dpkg-buildpackage -us -uc I get: dpkg-shlibdeps: error: no dependency information found for /usr/local/cuda-9.1/lib64/...
0
votes
0answers
39 views

How to make TeamViewer service be on-demand rather than always-on?

I am on Linux Mint 19.3 and would like to make the TeamViewer systemd service only run when I launch the GUI app (/opt/teamviewer/tv_bin/script/teamviewer). On Windows, this is fairly easy to do from ...
0
votes
0answers
11 views

Is /var/lib/dpkg/arch missing from some OSes causing /etc/cron.daily/dpkg to do excess SD card writes?

/etc/cron.daily/dpkg causes SD card updates every day in /var/backups (seen on Rasp PI Stretch Lite) even if there are no package changes. I think it is looking for /var/lib/dpkg/arch which does not ...
-1
votes
1answer
103 views

dpkg-query: no path found matching pattern /usr/bin/bash

What does it mean when package manager can not determine from which package the corresponding command was installed. When I do - $ sudo dpkg -S /usr/bin/passwd passwd: /usr/bin/passwd from the ...
-1
votes
1answer
149 views

I need help to install Skype on Kali 2020

I wasn't lucky with all of the Google help so I came here. I installed the latest version of Skype on my Kali 2020 with sudo dpkg -i skypeforlinux-64.deb, and it all went correctly and installed with ...
0
votes
0answers
9 views

How to resolve dpkg error in terminal while installing python

I face this problem while installing python3.7 in raspberry pi 3. I had attached the terminal commands and errors below. Kindly have a look at it and hep me to resolve this
3
votes
1answer
57 views

How to explain apt dependencies that are not autoremoved?

The package libudev1:i386 is installed on my system. $ dpkg -l | grep libudev1:i386 ii libudev1:i386 245.4-4ubuntu3.2 i386 libudev shared library It won't get autoremoved. $ sudo apt autoremove ...
0
votes
0answers
29 views

Prevent deb installation from creating new accounts

We are configuring a variety of servers programmatically, and we periodically need to be able to migrate volumes from one server to another. After migrating a volume, we are currently executing chown ...
1
vote
1answer
340 views

dpkg: error processing package phpmyadmin

I have these erros when I'm doing apt upgrade on my debian server: Preparing to unpack .../phpmyadmin_4%3a4.6.6-4+deb9u1_all.deb ... Determining localhost credentials from /etc/mysql/debian.cnf: ...
0
votes
1answer
33 views

How do I ask for user input and pass into a file while debian package installation?

I would like add some parameters into my .service file such hostname, IP, username, password, during debian package installation. I created a debian package installion for my python script but I do ...
2
votes
0answers
96 views

dpkg errors with shared libraries

I want to get into infosec. Simple wish right? I don't even want to work in this field, just to know how security and computers work. So I have bought a learning ethical hacking course on udemy from Z ...
1
vote
1answer
73 views

What is apt/dpkg equivalent of redhat 'rpm -ql' in debian?

I would like to see the tree of the apt installed package in Debian. I use rmp -ql in RedHat base linux. What command I must use in debian?
-1
votes
1answer
197 views

Error while installing mariadb-server on Kali Linux

I'm starting to set up my first DVWA on my Kali Linux machine. I tried to install mariadb-server using apt-get install mariadb-server as a root. I ran into error and I couldn't proceed. Preparing to ...
6
votes
2answers
324 views

Which package provides a certain configuration file?

Is there an analog for dpkg -S <file>, but for configuration files, such as /etc/samba/smb.conf? Which are generated on dpkg-reconfigure, I guess. user@host:~$ dpkg -S /etc/samba/smb.conf dpkg-...
0
votes
0answers
42 views

Force installed a package on SteamOS/Debian; black screen after boot

I'm running SteamOS which is based on Debian. I manually installed libgtk-3-0_3.22.11-1_amd64.deb and broke my system; I get the infamous black screen after boot. $ dpkg -i libgtk-3-0_3.22.11-1_amd64....
2
votes
2answers
52 views

Why are directory permissions preventing “sudo apt install” using a file?

I have found that using sudo apt install ./<package_name_here>.deb fails with E: Failed to fetch file:<path_to_package>/<package_name_here>.deb File not found - <path_to_package&...
0
votes
0answers
24 views

Dependency issue when installing landscape-client

I've been messing around with this issue for past 3 days and cannot wrap my head around it. The systems that I am working on is: # lsb_release -a No LSB modules are available. Distributor ID: Ubuntu ...
0
votes
1answer
45 views

How can I install dpkg and aptitude on Raspbian?

I've downloaded and burn a yocto raspbian image, I found out I've no apt nor dpkg but only pkg-config and wget, how can I install them? Or at least how could I install dpkg in order to install apt in ...
0
votes
0answers
297 views

Upgrading initramfs-tools does not work on Linux Mint Ulyana

If I run sudo apt-get upgrade on the terminal the error Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 ...
0
votes
0answers
29 views

dpkg file trigger interest

I am trying to install the latest VirtualBox over my existing installation (6.1.8). I have no problems doing this, but recently I got slapped with an error relating to dpkg. I downloaded it from the ...
0
votes
0answers
30 views

dh_install can't find file

I'm trying to create a new package, but I'm having issues with configuration file. In the root directory, I have all my source files and configuration files. When I try to build a package, binaries ...
0
votes
0answers
59 views

Problems with apt-listchanges after python upgrade (Debian)

After a Python 3.8 installation several problems arose with pip3. Since there was some conflict with a broken Anaconda, I reinstalled Anaconda and then I managed to fix it. But now apt-get seems to ...
0
votes
0answers
43 views

multistrap: install only the specified package from repository stanza?

I have a multistrap config file that looks like this: [General] ... bootstrap=Debian DebianBP OtherRepo [Debian] packages=linux-image-amd64 firmware-linux packages=grub-efi efibootmgr source=http://...
0
votes
0answers
21 views

How to delete a binary that is not been shown on dpkg -list

So I compiled a program that I downloaded in github with Make and MakeFile , I'm looking to delete it and as far as I can see. it created two binaries. /dev/stterm (which is shown on dpkg -list) /usr/...
0
votes
0answers
35 views

Alt Gr not working under antiX terminal

I have an antix installation which has this problem, when I'm trying to use Alt Gr + 2, the terminal just outputs the number 2, leaving me without the @ special character. This happens the same to the ...
0
votes
0answers
195 views

Unable to install or uninstall broken, half-installed package installed via dpkg

I last night installed a package sougoupinyin from a file sougoupinyin.deb via dpkg. I remember there being some missing dependencies that I didn't know how to take care of. After I restarted my ...
0
votes
2answers
279 views

How to install Java 13 to Kali Linux?

I downloaded jdk-13.0.2_linux-x64_bin.deb from oracle and installed using dpkg. However, update-alternatives --config java doesnt show java13. How do i get the java -version to java13 now?
0
votes
0answers
13 views

'confold' option for dpkg ignored

I have a package sudo which has been repackaged with dpkg-repack as follows: sudo dpkg-repack --arch=amd64 sudo The configuration file, /etc/sudoers for this package contains the following custom ...
0
votes
1answer
38 views

I have a terrible problem with downloading apps and upgrading my 32bit Zorin OS 15 lite, can someone please help me?

I am trying to install a new app doing upgrading my 32bit zorin os 15 lite system. I keep getting these messages in the terminal: E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource ...
2
votes
1answer
452 views

VirutalBox: apt download / hashing problem (APT Hash Sum Mismatch)

I'm trying to install docker with apt from the https://download.docker.com/linux/debian/ repo. Unfortunately installation always fails with a hash mismatch warning. I have already tried everything ...
0
votes
0answers
76 views

Error in libc6 while upgrading Debian

Recently I tried to upgrade my computer from Debian Jessie to Buster (I was not directly upgrading but firstly to Stretch and then to Buster). While upgrading the system to Stretch when I run the sudo ...
0
votes
1answer
41 views

What does the first colon-separated number in a Debian/APT package version number like 1:2.10.1-4 mean? [duplicate]

Let's take a look at the amavisd-new package: # apt-cache policy amavisd-new amavisd-new: Installed: 1:2.10.1-4 Candidate: 1:2.10.1-4 Version table: *** 1:2.10.1-4 500 ... The command ...

1
2 3 4 5
13