New answers tagged

0 votes

apt certificate chain uses insecure algorithm

That somehow sounds paranoid. Which so -called "certificate" is at all democratically legitimate, so which is the desire to trust? Why not deactivate all certificates and (finally) realize ...
user avatar
0 votes

How should I handle the problem "package contains empty filename" that stops me from installing the newest kernel update?

Every package operation failed because of the error shown in the question. And I found out what the problem is: I accidentally booted a qemu VM from /dev/sda (which is my boot drive) and so the ...
user avatar
0 votes

Getting this error when trying to install Tillix

If you have the same issue try updating and upgrading the system, although for me aptitude is broken so I had to find another solution.
user avatar
0 votes

Debian 9.4 stretch - unmet dependencies

With apt the important is to run non violent strategy. as few redondant explicit package references as necessary (let apt manage dependencies) be careful with libc ! run your command without ...
user avatar
17 votes

Getting rid of "The following packages will be DOWNGRADED"

Thank you Stephen Kitt To be clear, Stephen Kitt's answer is the selected one. However, as the OP I'm adding the specifics to resolving my particular issue (in case anyone else finds it interesting). ...
user avatar
0 votes

Unattended Upgrades doesn't work anymore since Debian 10 to 11 upgrade

Debian won't upgrade packages from external (added) repos. Check: https://linux-audit.com/upgrading-external-packages-with-unattended-upgrade/
user avatar
  • 101
26 votes
Accepted

Getting rid of "The following packages will be DOWNGRADED"

The basic answer is that you’re doing something that you shouldn’t, namely mixing repositories across releases (and distribution). Pulling in Debian packages in an Ubuntu-based distribution is a bad ...
user avatar
1 vote

How to uninstall only one application from a package of multiple applications?

You can remove a package-provided file in a dpkg-supported manner by diverting it. If you want to prevent any package from installing /usr/bin/parallel, create a general diversion: dpkg-divert --...
user avatar
5 votes

Is it okay to give a slash after sources.list entry?

It's not stated explicitly in the sources.list manpage, but yes, it's OK to have a / after the URI. In fact, apt, when reading the sources.list files, adds the trailing / if not present: // Make ...
user avatar
  • 64.3k
-1 votes

How to uninstall only one application from a package of multiple applications?

You can't, without breaking the promises of your distribution. Debianoids (just like any other distro) deal with binary packages as integral unit of software. Deleting anything from a package renders ...
user avatar
1 vote
Accepted

Postrm script fails to execute

The postrm script was not working because it had been created on a windows machine with CRLF line-endings. I had assumed that was not the case because I could run it with bash. However /bin/sh in my ...
user avatar
  • 121
0 votes
Accepted

Unable to install MySQL Workbench

I solved it. Pretty dumb way but it works. I narrowed down each conflicting dependecies and manually installed the required versions as deb files from Debian/ubuntu repos. Whenever one of them again ...
user avatar
2 votes

dpkg: Remove msodbcsql17

I think i had the same issue. In my case the problem was that the post-removal script of the package msodbcsql17 located at /var/lib/dpkg/info/msodbcsql17.postrm is calling odbcinst - which was not ...
user avatar
0 votes

dpkg cannot find ldconfig/start-stop-daemon in the PATH variable

None of the solutions showed here helped me, so I'll explain what happened to me and what I did to fix it: I was trying to install Insync in my Q4OS System and I wasn't able because the app requires ...
user avatar
  • 512
8 votes
Accepted

Why does libvirt-daemon-system have so many dependencies on Debian?

Yes, you can tell apt to ignore recommended packages: sudo apt install --no-install-recommends libvirt-daemon-system This will only pull in strict dependencies. You may want to pick and choose ...
user avatar
1 vote

Debian PowerBook G4 WiFi Driver

I know this question is extremely old, but here is a generic solution to get wifi working on any linux distribution with a somewhat modern kernel (tested woth 5.4) on many power macs (tested with a ...
user avatar
3 votes

How do I tell whether an update will require an initramfs update?

Run lsinitramfs /boot/initrd.img-$(uname -r) (or equivalent for your distribution) to see a list of all the things contained in your initramfs. If any of the corresponding files in the regular ...
user avatar
  • 68.5k
0 votes

Remove package and installed dependencies with apt-get

Inspired by Stephen's answer I used UNINSTALL_THIS=cockpit cat /var/log/apt/history.log | grep -Po "Install: \K.*$UNINSTALL_THIS.*" | sed -E 's/:[^\)]*\),*//g' to print a copy-pastable list ...
user avatar
2 votes

Yum or apt-get is missing in Oracle Linux Server 8.5

apt-get is missing because Oracle Linux is not a distribution that uses apt. Different distros (mainly, even!) differ in the kind of tools they use for package management. apt-get is from Debian (and ...
user avatar
1 vote
Accepted

How to determine why the kernel updated

Does the /var/log/unattended-upgrades directory exist? If it does, read the logs within. If the unattended-upgrades package has been installed (which may be the default on most Debian-based ...
user avatar
  • 68.5k
1 vote

How to create from sources deb packages for different architectures

Use Pbuilder or Sbuild to build in your more powerful machine.
user avatar
  • 17.4k
4 votes
Accepted

Upgrading a package marked as hold, marks it as install in dpkg --get-selections

I don’t think there’s a way to do this with package holds; but there is a different way of preventing upgrades: you can pin a package with priority -1. Create a file in /etc/apt/preferences.d ...
user avatar
0 votes

What's causing background apt network usage?

Found it! It was packagekit doing a daily source list update. Stopped and masked the packagekit service, then suppressed a complaint on every subsequent apt operation that the service is masked by ...
user avatar
3 votes
Accepted

apt packages - static vs dynamic libraries

By convention: libfoo1 will contain a dynamic library, while libfoo-dev will create the headers and static library. libfoo1 is only runtime dependencies, and dynamic libraries are runtime dependencies....
user avatar
  • 8,942
0 votes

.sh file does not execute all commands

Few things here. You didn't say how you are running it but given you didn't say any specific errors I'm guessing as a background task. Meaning you never see the password prompt for the tons of sudo ...
user avatar
  • 19
0 votes

.sh file does not execute all commands

To answer: Particularly, the sudo apt-get install commands and pip3 commands. Looking at your sudo apt-get install you may have crossed the number of acceptable arguments for apt-get but I'm just ...
user avatar
0 votes

Installing CUDA Toolkit (11.5) on Debian (11)

I fixed it by downloading the .deb for liburcu6 from https://packages.debian.org/bullseye/liburcu6 and installing it with sudo apt install ./Downloads/liburcu6_0.12.2-1_amd64.deb I visited the page ...
user avatar
3 votes

zst compression not supported by apt/dpkg

I'm having the same problem, trying to use debootstrap on Fedora to build an Ubuntu container -- but it failed because the version of dpkg I have cannot uncompress the data.tar.zst inside a .deb. ...
user avatar
  • 51
1 vote

How to install armr5-none-eabi-g++ and associated toolchain?

If you want to use Debian packages (corresponding to the ARM toolchain), you should install gcc-arm-none-eabi which provides C and C++ cross-compilers for 32-bit ARM, including Cortex-R processors: ...
user avatar
2 votes
Accepted

What is the relation/difference between "Package Manager" or "Package Management"?

What is the official term "Package Manager" or "Package Management"? You can use either depending on what you're trying to convey. If need to install/remove/upgrade a package you ...
user avatar
-1 votes

Why would trivial packages be made dependant on dpkg?

Probably because it depends upon a specific or minimum version of dpkg. Normally, dpkg doesn't need to be listed as a dependency because it is tagged Essential: yes - it's not possible to have a ...
user avatar
  • 68.3k

Top 50 recent answers are included