Questions tagged [apt]

For questions about the use, design, function etc. of APT (Advanced Packaging Tool), the standard software package management system for Debian and its derivatives.

Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

Upgrading Docker using APT deletes all images and containers

The following commands are used in a maintenance script in order to upgrade packages on the Ubuntu/Debian system: dpkg --configure -a DEBIAN_FRONTEND=noninteractive apt upgrade -yq -o Dpkg::Options::=&...
user avatar
  • 3,287
0 votes
0 answers
12 views

Apt / Apt-get / dpkg no longer logging to journald

I have a systemd service that I install via debian package using the apt command on a raspberry pi 4. I've been using journalctl -xef to keep track of all log output for debugging purposes while ...
user avatar
0 votes
3 answers
16 views

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

For Fedora Workstation 36. About yum (yes I know it is replaced by dnf) - I am using yum for academic purposes. To accomplish an update of all the packages available in the OS - is used the sudo yum ...
user avatar
0 votes
0 answers
11 views

sudo apt-get Conflicting values set for option

I am trying to install missing module packages in my Ubuntu installation. When trying to update Ubuntu for this, I am running into following error. Command: sudo apt update Error: Conflicting values ...
user avatar
0 votes
0 answers
18 views

unattended-upgrades not working on Ubuntu 20 LTS server

I have been trying to enable automatic security updates on Ubuntu 20 server, with no success. The service is running, but is waiting for signal? : root@u20s:~# sudo systemctl status unattended-...
user avatar
0 votes
1 answer
11 views

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

I want to get this header. I ran this command: dpkg --add-architecture i386 But I don't know if I should pick linux-libc-dev:i386 or a linux header package? I tried linux-libc-dev:i386 but gcc does ...
user avatar
  • 303
1 vote
2 answers
20 views

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

I have a Sipeed Lichee RV that runs a Debian image, but I cannot install software due to missing key. I have followed the Package Authentication Instructions but am getting this error: root@sipeed:/...
user avatar
  • 665
0 votes
0 answers
21 views

How to update packages on an Ubuntu 20.04 LTS with no internet connection?

I have a standalone Ubuntu 20.04 LTS system I am updating. My Nessus scanner is reporting packages that need to be updated. I have tried using apt-offline but I only have an online windows machine and ...
user avatar
  • 3
0 votes
1 answer
41 views

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

I use a bash script to initially set up and update virtual machines. Trying to make this bash script configure the VMs without having to do so manually. #! /bin/bash echo "Updating and ...
user avatar
  • 103
1 vote
1 answer
60 views
+200

On dist-upgrade: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages

During a dist-upgrade operation I am encountering an issue with apt packages. When running any of the following commands I encounter the same error: $ sudo apt dist-upgrade $ sudo apt --fix-broken ...
user avatar
  • 1,080
1 vote
1 answer
21 views

Understanding of the command "apt show"

Usually I use the command apt show pkg_name to check the description of a package. For example, apt show apache2. I just found that I can use apt info pkg_name to do the same thing. But I can't find ...
user avatar
0 votes
1 answer
64 views

Udev, libpam-systemd, systemd-sysv and systemd dependencies errors causes apt to be unusable

After mistakenly downloading pop-desktop again, udev and systemd have dependency errors that make me unable to use apt. When I run sudo apt upgrade, this error shows up: user@computer:~$ sudo apt ...
user avatar
0 votes
1 answer
26 views

Error while running sudo apt-get command

When I try to run sudo apt-get command I'm getting > Reading package lists... Done W: The repository > 'https://packagecloud.io/ookla/speedtest-cli/ubuntu impish Release' > does not have a ...
user avatar
  • 1
0 votes
1 answer
14 views

wine-staging-i386 install outputs dependency errors

OS: Parrot Sec (Debian based) I'm unable to install winehq-staging package because installing wine-staging-i386 keeps throwing dependency errors at me. This is how it looks: Reading package lists... ...
user avatar
  • 15
0 votes
1 answer
23 views

How can update my broken CUDA packages?

How I can fix the following problem? I want to update both these CUDA packages. Check if you are using third party repositories. If so disable them, since they are a common source of problems. ...
user avatar
1 vote
1 answer
47 views

Cannot install wine32 because of dependencies

OS: Parrot Security (Debian based) I'm trying to install wine32 but it throws dependency errors: Reading package lists... Done Building dependency tree... Done Reading state information... Done Some ...
user avatar
  • 15
0 votes
0 answers
14 views

Can't install Waydroid (Depends lxc but it is not installable)

Sorry if this question seems stupid/poorly worded, I'm quite new to Linux and StackExchange forums in general. But I'm trying to install Waydroid on my PopOS 21.10 system and this is the terminal ...
user avatar
1 vote
0 answers
13 views

Adding a package installed via apt to pip

I am trying to install vtk on my Ubuntu 20.04 virtual machine with python 3.8.10. I had the same problem as described in this post and I managed to install vtk via sudo apt-get install python3-vtk7 . ...
user avatar
2 votes
2 answers
55 views

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

I'm having trouble debugging a docker issue. On my machine as host, every apt/apt-get/apt-cache command in the debian:jessie image hangs and I can't figure out why. On other machines with docker, when ...
user avatar
  • 61
-4 votes
2 answers
36 views

Upgrade command in UBUNTU

Whenever i run the upgrade command in ubuntu linux latest after the update command i get the following errors !!! Someone help please
user avatar
  • 1
2 votes
1 answer
36 views

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

I'm a noob in both Docker and Linux and studying a Dockerfile from a shared project I work on. Something I don't understand-- at the top of the Dockerfile we have: # Never prompts the user for choices ...
user avatar
0 votes
0 answers
9 views

Apt update not working [duplicate]

I typed apt update in terminal, but I got the following message: Reading package lists... Done E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied) E: Unable to lock ...
user avatar
  • 1
0 votes
1 answer
45 views

Where does "apt list" search?

apt list can list all packages available, does apt search in some database or file in some directory? apt list --installed can list all installed packages, where does apt search then?
user avatar
  • 35
0 votes
1 answer
22 views

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

I want to install plank from the github repo,and added the repository but apt defaults to installing the package from the default Elementary OS ppa.(The first package) How do I selectively install ...
user avatar
0 votes
1 answer
28 views

APT-KEY GPG --recv-key process hangs without any network traffic

On Debian 11, running as root. I am attempying to add the mysql repository public key (due to the expiry in Feb) and update to mysql 8.0, but every apt-key or gpg command I run just HANGS. Even adding ...
user avatar
  • 87
0 votes
0 answers
24 views

Why is this apt install chrome failing?

What could be the problem here? apt install -y google-chrome-stable_current_amd64.deb Reading package lists... Error! E: Sub-process Popen returned an error code (2) E: Encountered a section with no ...
user avatar
1 vote
1 answer
28 views

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

I am happily running a state-of-art Debian Sid workstation. Unfortunately I incurred in an "upstream regression" (network-manager-vpnc broke 1.2.7 -> 1.2.8) I thus need to "downgrade&...
user avatar
  • 728
0 votes
3 answers
53 views

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

After I do an apt update, there are updates to packages like vim, tar or xxd. Since these are relatively stable, why do they have frequent updates?
user avatar
0 votes
1 answer
60 views

arp-scan: command not found after install [duplicate]

I installed arp-scan using apt-get install arp-scan. I have a succesful install message with the newest version (1.9.5-1). However, when I try to type in the command in bash I get the following error: ...
user avatar
1 vote
1 answer
18 views

Does apt update also update apt-get lists?

Do you need to run apt-get update for using apt-get if you already ran apt update and vice versa?
user avatar
  • 11
2 votes
1 answer
109 views

apt update VS apt-get update

For years, I was always under the impression that results of apt update and apt-get update are identical. BTW - Yes, I am aware apt and apt-get are not exactly the same. I recently noticed that once I ...
user avatar
0 votes
1 answer
88 views

Unable to install MySQL Workbench

When i try to install the official MySQL Workbench, it shows dependency issue of the unavailabilty of libproj19. However the repos only has libproj22 when i tried to install from APT. Can someone help ...
user avatar
-1 votes
0 answers
40 views

apt-get error with fish shell: gpgv not installed

I've recently been trying out fish shell and tried to run sudo apt-get update and received the following error: Err:1 http://us.archive.ubuntu.com/ubuntu impish InRelease gpgv, gpgv2 or gpgv1 ...
user avatar
-5 votes
1 answer
55 views

Issues with apt repositories in Kali Linux, errors when updating

This shows every time I run sudo apt update. Is it an issue?
user avatar
0 votes
1 answer
115 views

Unable to load shared library 'libdl.so' or one of its dependencies

I'm trying to compile a project and the compilation fails due to a missing library. System.DllNotFoundException: Unable to load shared library 'libdl.so' or one of its dependencies. In order to help ...
user avatar
4 votes
3 answers
1k views

How can I install Java 8 on Debian 11 (Bullseye)?

This answer explains why it was removed. I'm not interested in the reason, instead, I need to install it. This VM is solely dedicated to my Java app, so I'm not really interested in using a container. ...
user avatar
  • 239
1 vote
2 answers
127 views

Apt-get and mirrors errors or failed to fetch

My /etc/apt/sources.list contains: deb http://ubuntu.mirror.garr.it/ubuntu/ focal main deb-src http://ubuntu.mirror.garr.it/ubuntu/ focal main deb-src http://ubuntu.mirror.garr.it/ubuntu/ focal ...
user avatar
  • 309
0 votes
1 answer
12 views

Migrating all my third party repositories sources.list to deb882-style

With apt-key getting depreciated and so /etc/apt/trusted.gpg, I decided to change all my repositories to the next thing that I don't have to touch. I don't want to put the files in trusted.gpg.d, ...
user avatar
  • 33.8k
1 vote
1 answer
38 views

linux-tools-common when on a newer kernel version

I'm currently running kernel 5.16.15-051615-generic - I've landed on it while diagnosing and trying to fix an audio issue. Everything works great now so I'm reluctant to go back to 5.4.0 I'd like to ...
user avatar
  • 113
1 vote
1 answer
30 views

Is it secure to copy packages directly to /var/cache/apt/archives/?

After a fresh install, instead of downloading some .deb packages from a Debian mirror, I would like to copy the files directly from thumb drive to /var/cache/apt/archives/ Would it offer the same ...
user avatar
0 votes
0 answers
43 views

Apt errors when trying to uninstall/purge nginx

I have a Debian 10 vm that I was originally trying to install nginx on for testing, which appears to have partially install, and now I'm trying to remove /purge it from the server in order to use ...
user avatar
0 votes
0 answers
25 views

Stuck setting up a package as well as removing that package. Can't use apt now

So I have a .deb package downloaded. I installed it using sudo apt install ... but it didn't work correctly. I tried removing it using sudo apt purge ... and it said that it can't remove a few ...
user avatar
0 votes
1 answer
38 views

How can I allow only specific users to use my repository?

I have an apt repository server. Is there a way to allow only specific users / machines to connect to my repository? Through crednetials, certificates or any other way? It can't be IP or some other ...
user avatar
  • 11
0 votes
0 answers
9 views

Permission problem when running "apt-get update" [duplicate]

can someone help me out on this; I'm trying to update Wine on my ubuntu 16.04 LTS using: apt-get update but the result shows this: Reading package lists... Done W: chmod 0700 of directory /var/lib/...
user avatar
0 votes
1 answer
36 views

Configure apt to ignore a package's minor updates

For some apt packages I don't want minor updates. Is it possible to configure apt to ignore minor updates for a specific package, and not prompt me about such versions even when updating its database (...
user avatar
  • 1,413
0 votes
0 answers
40 views

Parrot OS - Failed to fetch binary-amd64/Packages

I am trying to update Parrot OS and I am running into the following error when running sudo apt-get update. Err:4 file:/run/live/medium lts/main amd64 Packages File not found - /run/live/medium/dists/...
user avatar
0 votes
1 answer
22 views

Clearing apt-cache policy version table to prevent the installation of newer versions

I am trying to install a specific package , CUDA for Nvidia to be exact. I followed the steps in their developer guide and my question is not about CUDA specifically. When I try to install it with APT ...
user avatar
0 votes
0 answers
17 views

NIST CPE Name of installed package?

Is there way to get the NIST CPE matching string of a installed package (peferably for debian)? E.g. Apache HTTP2 is vendor apache and product http_server I found that out by searching/playing with ...
user avatar
  • 479
0 votes
1 answer
25 views

How to create a correct apt/sources.list for Debian hppa?

Until 2020 I used this, and works fine http://debian-stable.parisc-linux.org/debian-hppa buster main contrib non-free now the site give 404. I don't found any hppa debian repository anywhere for ...
user avatar
  • 10.9k
0 votes
0 answers
53 views

After failure in "apt upgrade", sudo doesn't prompt for password. How do I fix?

While doing a "sudo apt upgrade", I got a message "error while loading shared libraries: libcrypt.so.1". When I came back to it some minutes later, if I try to run sudo I now get: $...
user avatar
  • 2,912

1
2 3 4 5
60