New answers tagged

0

Solved here, that's what i did : first you make a new directory, and extract .deb there mkdir tmp dpkg-deb -R /var/cache/apt/archives/kali-themes_2020.1.0_all.deb tmp 2. So you edit the preinst file there. cd tmp/DEBIAN leafpad preinst look for "--no-rename" and replace for "" Repack and excute the .deb dpkg-deb -b tmp fixed.deb sudo dpkg -i /var/...


2

dpkg places a file lock on /var/lib/dpkg/lock when a package management process starts and only removes the lock when the package management process ends. Please review the Debian Wiki on dpkg and the dpkg manpage for more information on dpkg itself. I will also include a link to dpkg.org which has more specific documentation on the API and file handling ...


0

dpkg is a tool to manage .deb packages for Debian based systems, apt-get is the tool to do installation and dependency solving for Debian based systems. The CentOS 7 equivalents would be rpm for handling .rpm packages and yum for installation and dependency solving. For CentOS 8, the installation is done with dnf. You can get started with yum by ...


1

You don't install apt in CentOS. Neither you install any .deb packages there. In CentOS you use yum (CentOS 7 and below), or dnf (CentOS 8). These will allow you to install RPM packages. Ubuntu vs CentOS have different package manager (dpkg vs RPM). That's how they are different distros in the first place.. :) If you've jumped from Ubuntu to CentOS ...


1

I edited /var/lib/dpkg/status and removed all references to uim and anthy then ran sudo apt update && sudo apt upgrade As described in this reddit thread


0

In the last sed command remove the space before the //. Else the last parentheses are not captured.


0

The lack of description in the question makes it hard to pinpoint the exact problem in this situation, but I recently faced the same issue: user@debian:su Password: root@debian:/home/user/Downloads# dpkg -i [Some package] dpkg: warning: 'ldconfig' not found in PATH or not executable dpkg: warning: 'start-stop-daemon' not found in PATH or not executable ...


0

While the above "solutions" work to force software-properties-kde (0.96.x) into Linux Mint 19.x they create a conflict with mintsources (1.8.x). The way to resolve this properly is to install software-properties-kde (1.8.0 or greater). This can be obtained from UbuntUpdates.org: Download 1.8.0 package for Tara here (Tessa version 1.8.4 also available): ...


0

It is well explained in this link. I know 3 different ways to do it: a) sudo apt install application.deb it will install the package it with dependencies in one run automatically: b) dpkg -i packagename.deb and if there is any dependencies for the packagename.deb, the command below should be invoke to resolve the dependencies: sudo apt install -f c) ...


Top 50 recent answers are included