2022 Developer Survey is open! Take survey.

Hot answers tagged

5 votes

Why are there updates for relatively stable programs like Vim, zip, tar or xxd?

This isn't actually much about UNIX/Linux, but about software updates in general! xxd is actually a program from the vim tooling, so chances are something inherent to both has updated vim is not that ...
user avatar
5 votes
Accepted

Make script answer "Y" to prompts from apt-get

The option -y to apt-get will automatically answer "yes" to prompts. This also causes apt-get to run non-interactively. If a held package were to be changed, an unauthenticated package would ...
user avatar
  • 268k
3 votes
Accepted

"apt install <name>.deb" not correctly installing Nvidia driver in the deb package

It’s not installing the package because the package is already installed: nvidia-driver-local-repo-debian10-460.91.03 is already the newest version (1.0-1). This package ships all the packages ...
user avatar
3 votes
Accepted

`docker run --rm debian:jessie apt update` does not work on Fedora host

After hours of more trial and error, another image which worked on a different host brought me on the right track. There seems to be a problem with the default ulimits on fedora [1][2]. The following ...
user avatar
  • 61
2 votes
Accepted

Where does "apt list" search?

apt list uses the information available in /var/lib/apt/lists/*_Packages (corresponding to repositories in its configuration) and the relevant _Translation files. Installed packages are tracked in /...
user avatar
2 votes

`docker run --rm debian:jessie apt update` does not work on Fedora host

Edited based on @jsbillings's comment below -- please note that based on @felher's feedback, this particular answer did not solve their issue, but it can be applied to users having the same issue ...
user avatar
  • 1,865
2 votes

Upgrade command in UBUNTU

The error you are getting tells you exactly what is wrong. It says "are you root?" And the answer is no, you are not, because you forgot to use sudo before your last command. If you repeat ...
user avatar
  • 150
2 votes
Accepted

Understanding of the command "apt show"

Yes, apt info is undocumented. It was added as an alias for show to help users used to dnf info, snap info etc., following this pull request.
user avatar
2 votes
Accepted

Cannot install wine32 because of dependencies

You’ve installed the amd64 versions of at least some of the dependencies from backports, so you need to install wine32 from backports as well: sudo apt install -t parrot-backports wine32
user avatar
2 votes

arp-scan: command not found after install

The package installs /usr/sbin/arp-scan. Note sbin and not bin. If /usr/sbin/ isn't on your path then you can run it will the full path name. If it is on you can try hash -r arp-scan or logout and ...
user avatar
2 votes

How to properly update Mesa drivers?

In the event Mesa & co. aren't in backports you can build from source: Schroot Setup Host setup: sudo apt install --yes schroot debootstrap Make directories for schroots: sudo mkdir -p /srv/...
user avatar
  • 285
2 votes
Accepted

Why are many of my packages marked as manually installed

The basic set of packages installed by default when the system is initially set up are marked as manually installed, as are any packages explicitly named for installation or upgrade with apt install ...
user avatar
1 vote

Installing errors on wine32: libsystemd0 and libapt-pkg6.0 dependencies

You can’t install wine32 because it’s a 32-bit package (i386 in your case, but it could also be armhf) and it needs a libcap2 package matching its architecture. libcap2 is a multi-arch package, so ...
user avatar
1 vote

Is 'yum check-update' mandatory to do an update? (Ubuntu comparison)

Here's how it goes and why the existing replies are not entirely correct. First of all, yum* commands have long been deprecated since you're working with dnf, not yum. Secondly, DNF updates its repos ...
user avatar
1 vote

Is 'yum check-update' mandatory to do an update? (Ubuntu comparison)

"yum check-update" is like a dry run, except it does not do anything. It only lists what versions of kernel or packages will be installed post the update. It can also help resolve issues ...
user avatar
1 vote
Accepted

Is 'yum check-update' mandatory to do an update? (Ubuntu comparison)

No, you don’t have to run yum check-update first. Yum (and DNF) will update the metadata if it has expired when running with the update command. Repository metadata has an expiration time set in in ...
user avatar
1 vote

What is the right package to get 32bit include header sys/sysinfo.h on 64bit Debian Buster?

If you want gcc -m32 to work, you need to install gcc-multilib and libc6-dev:i386. Another way to build 32-bit x86 programs on Debian is to use the cross-compilers: install gcc-i686-linux-gnu, then ...
user avatar
1 vote

Setting up debian archive keys on risc64: new key but contains no user ID

Packages authentication If you want apt to verify the downloaded packages, you can either install the debian-ports-archive-keyring package or manually import the Debian ports archive key into apt [...]...
user avatar
  • 24.7k
1 vote
Accepted

Setting up debian archive keys on risc64: new key but contains no user ID

If you can't import the gpg key, you can install the debian-ports-archive-keyring manually. wget http://ftp.us.debian.org/debian/pool/main/d/debian-ports-archive-keyring/debian-ports-archive-...
user avatar
  • 57.6k
1 vote

Error while running sudo apt-get command

There are no packages for Ubuntu Impish, change the codename to hirsute: sudo sed -i 's/impish/hirsute/' /etc/apt/sources.list.d/ookla_speedtest-cli.list sudo apt update
user avatar
  • 57.6k
1 vote
Accepted

wine-staging-i386 install outputs dependency errors

You’re trying to install a version of Wine Staging built for a distribution which doesn’t match yours. Since Parrot Security is based on Debian stable (currently, Debian 11), you need to follow the ...
user avatar
1 vote
Accepted

Is DEBIAN_FRONTEND=noninteractive redundant with apt-get -yqq?

DEBIAN_FRONTEND is read by debconf, which is used to prompt for input in many packages’ maintainer scripts. apt does not take this environment variable into account, so DEBIAN_FRONTEND=noninteractive ...
user avatar
1 vote
Accepted

How do I select a package from apt list when the same package is available on two repos?

by specifying not only the name, but the full version: apt install plank=0.11.89+git20211104… You probably want to look into apt pinning to tell apt that it should prefer that specific PPA over your ...
user avatar
1 vote
Accepted

Debian Sid: downgrading a single package to a "previous version"

If you’re using Debian, I doubt the older version was 1.2.7, since that was never uploaded to the archives. Note that for apt’s = syntax, you need to specify full package versions, e.g. “1.2.8-3”. ...
user avatar
1 vote
Accepted

Why are there updates for relatively stable programs like Vim, zip, tar or xxd?

Which distribution are you looking at? If it is a distribution that relies on packages from Debian's unstable, you might be getting every minor bug fix, feature addition and other tweak as a separate ...
user avatar
  • 67k
1 vote

Why are there updates for relatively stable programs like Vim, zip, tar or xxd?

I don't particularly know about frequent, which is a bit subjective… but even if the feature scope of a tool is fairly fixed, there can be bugs, and even if there are no bugs in the stricter sense, ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible