dpkg

Unattended-Upgrades configuration for custom repo only

Unattended-Upgrades configuration for custom repo only OS: LMDE 5 (based on Debian 11 Bullseye) To keep the system tidy, I use separate files to overrides the original distribution/developer configuration files wherever possible. This also prevents problems when the developer makes changes to the original config and keeps my settings safe. etc… For Unattended-Upgrades, the original …

Total answers: 1

Errors when unpacking binutils-common

Errors when unpacking binutils-common So when i update kali linux with sudo apt update it shows this Get:1 file:/run/live/medium kali-last-snapshot InRelease Ign:1 file:/run/live/medium kali-last-snapshot InRelease Get:2 file:/run/live/medium kali-last-snapshot Release [7,354 B] Get:2 file:/run/live/medium kali-last-snapshot Release [7,354 B] Get:3 file:/run/live/medium kali-last-snapshot Release.gpg Ign:3 file:/run/live/medium kali-last-snapshot Release.gpg Get:4 http://kali.download/kali kali-rolling InRelease [41.2 kB] Reading package lists… Done …

Total answers: 1

Version scheme change of libc6 libraires from focal to jammy

Version scheme change of libc6 libraires from focal to jammy Hello Ubuntu community, I notice that the Version scheme changes on libc6 libraries from focal to Jammy (i.e On the jammy libc6 packages i observe that on the libraries name minor version has been dropped out and only major is present which is not the …

Total answers: 1

SOLVED: E: Problem executing scripts DPkg::Pre-Invoke '/usr/bin/timeshift-autosnap-apt' E: Sub-process returned an error code

'timeshift: Command not found' following Timeshift removal I removed TIMESHIFT on Ubuntu and I followed the instructions in Timeshift – GitHub’s ReadMe but after a succesfull removal it gives me this error, how can I delete this script? Rsyncing /boot/efi into the filesystem before the call to timeshift. /usr/bin/timeshift-autosnap-apt: riga 54: timeshift: comando non trovato …

Total answers: 1

Graphics issues after amdgpu tinkering: "dpkg: error processing package amdgpu-dkms (–configure):"

Graphics issues after amdgpu tinkering: "dpkg: error processing package amdgpu-dkms (–configure):" 2 days ago, my graphics driver apparently crashed while opening an mp4 file in VLC – something I have done several times before. Otherwise, the computer remained usable. At the time, syslog showed these errors: Aug 13 22:49:45 beepbeep kernel: [50420.530049] mmap: qtdemux0:sink (43166): …

Total answers: 1

last update crashed my ubuntu lts 22.04 – BIOS ERROR

last update crashed my ubuntu lts 22.04 – BIOS ERROR I have yesterday updated my ubuntu lts 22.04, the history.log shows: Start-Date: 2023-08-14 09:47:41 Commandline: aptdaemon role=’role-commit-packages’ sender=’:1.1226′ Upgrade: libldap-common:amd64 (2.5.15+dfsg-0ubuntu0.22.04.1, 2.5.16+dfsg-0ubuntu0.22.04.1), libldap-2.5-0:amd64 (2.5.15+dfsg-0ubuntu0.22.04.1, 2.5.16+dfsg-0ubuntu0.22.04.1), intel-microcode:amd64 (3.20230214.0ubuntu0.22.04.1, 3.20230808.0ubuntu0.22.04.1) Remove: nvidia-dkms-515:amd64 (515.65.01-0ubuntu1), nvidia-driver-515:amd64 (515.65.01-0ubuntu1), cuda-drivers:amd64 (515.65.01-1), nvidia-kernel-common-515:amd64 (515.65.01-0ubuntu1), cuda-drivers-515:amd64 (515.65.01-1), cuda-runtime-11-7:amd64 (11.7.1-1), cuda-demo-suite-11-7:amd64 (11.7.91-1), nvidia-kernel-source-515:amd64 (515.65.01-0ubuntu1) …

Total answers: 2

/var/lib/dpkg/info/shim-signed.postinst: 165: /usr/lib/grub/grub-multi-install: not found

/var/lib/dpkg/info/shim-signed.postinst: 165: /usr/lib/grub/grub-multi-install: not found After a fresh Ubuntu install I’m running into this error: Sub-process /usr/bin/dpkg returned an error code (1) Full log: dpkg: error processing package shim-signed (–configure): installed shim-signed package post-installation script subprocess returned error exit status 127 Errors were encountered while processing: shim-signed E: Sub-process /usr/bin/dpkg returned an error code (1) …

Total answers: 1

Do you have to install newer Debian versions to use newer software?

Do you have to install newer Debian versions to use newer software? I am still on Debian Buster, which has old libraries in its repository. I am unable to use newer software, because for example, they require a libc.so.6 library with version GLIBC_2.30, which doesn’t exist in the buster main repository. People write that you …

Total answers: 1

dpkg: overwrite file in another package

dpkg: overwrite file in another package I am making a DEB package that relies on avahi-daemon. I need to set its configuration, but I got this error message: trying to overwrite ‘/etc/avahi/avahi-daemon.conf’, which is also in package avahi-daemon 0.8-5+deb11u2 What is the standard procedure to do such configuration? I do not want to use –force-overwrite …

Total answers: 1

apt/dpkg not working due to linux-image/firmware problems

apt/dpkg not working due to linux-image/firmware problems I recently installed Debian 12. Apt was working, but was complaining about a not fully configured linux-image. I tried to remove the image and upgrade, but now I’m unable to us apt or dpkg to remove or install anything. It has issues with a "not fully installed or …

Total answers: 1

Manually installing packages in thin read-only distributions

Manually installing packages in thin read-only distributions I am trying to install our product in a NoTouchOS – a Raspberry Pi thin client OS. Given the fact it is a thin client, many libraries do not come out-of-the-box, such as apt, sudo… I am trying to manually install apt (Raspberry PI OS is debian based), …

Total answers: 1

Installing Nginx old version 1.4.6 issue

Installing Nginx old version 1.4.6 issue When installing nginx, it requires dependent packages like nginx-core, nginx-full, nginx-nasxi, etc. After I install nginx-core and nginx-common, the remaining packagess refuse to install due to conflicts with nginx-core. The ‘main’ nginx_1.4.6 package is also ‘forget’ about dependencies on nginx-full, nginx-nasxi, etc. I have the same versions of all …

Total answers: 1

why this package is not proposed to me to remove?

why this package is not proposed to me to remove? As I understand it, if a package is auto-installed and has no other packages depending on it, the system should offer to remove it. why doesn’t this happen in this case? :~$ sudo apt list –installed | grep -i zutty WARNING: apt does not have …

Total answers: 2

APT purge available packages even when some package is not available

APT purge available packages even when some package is not available I have a github action with a step for freeing space and it has a apt purge command followed by hundreds of packages. But if one package is not available, the all process fails If you apt purge or remove a huge list of …

Total answers: 4

so why do people still use dpkg when there is apt?

so why do people still use dpkg when there is apt? Im sorry Im a newbie in Ubuntu. While dpkg can only install, remove, or query individual packages, apt offers additional functionality, such as automatically handling dependencies, retrieving and installing packages from remote locations, and upgrading all installed packages to their latest versions. – https://www.geekbits.io/what-is-the-difference-between-apt-and-dpkg/#:~:text=While%20dpkg%20can%20only%20install,packages%20to%20their%20latest%20versions. …

Total answers: 2

GRUB Error 'invalid environment block' on booting & updating Ubuntu Server 20.04

GRUB Error 'invalid environment block' on booting & updating Ubuntu Server 20.04 When I boot my Ubuntu 20.04 server (virtualbox vdi, local dev), I get the following error: Error: invalid environment block. press any key to continue…. Now, when I run updates, everything installs correctly, except for grub, which throws this error: dpkg: error processing …

Total answers: 2

Why is "apt build-dep" not installing the packages I need?

Why is "apt build-dep" not installing the packages I need? I’m trying to build the linux-raspi packages from source. I ran apt build-dep -y linux-raspi and that installed a number of dependencies. If I run it again, it is satisfied that all necessary packages are installed. Then I ran dpkg-buildpackage but it errored: dpkg-checkbuilddeps: error: …

Total answers: 1

Error while removing package lazarus-src-2.2: dpkg-divert: error: file name 'to' is not an absolute path

Error while removing package lazarus-src-2.2: dpkg-divert: error: file name 'to' is not an absolute path I’m trying to remove the "lazarus-src-2.2" package on my Ubuntu system, but I’m encountering an error that I can’t resolve. Here’s the output of the sudo apt remove lazarus-src-2.2 command: Reading package lists… Done Building dependency tree… Done Reading state …

Total answers: 1