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
1
vote
1answer
24 views

Forcing apt update to re-download information

Is it possible to make apt update flush information/re-download information? apt update does not suggest any additional arguments when tab-tabbing in the CLI and returns with E: The update command ...
-1
votes
2answers
18 views

Uninstalling all depends packages as long it isn't depended by another package

I want to uninstall packageA as well as all the other packages packageA depended on but not the packages who still have dependencies. $ apt-cache depends packageA packageA Depends: packageB ...
1
vote
1answer
23 views

How to properly replace a package's service unit file by a custom version?

I'd like to know how to replace a service unit file from a certain package with my own version. That is, I have found some problems in that service unit file and have corrected them. However, with the ...
0
votes
1answer
115 views

Error upgrading libc6 on Debian Sid

Trying to upgrade Debian Sid I get the error Preparing to unpack .../libc6_2.30-3_amd64.deb ... De-configuring libc6:i386 (2.30-2) ... A copy of the C library was found in an unexpected directory: ...
1
vote
0answers
21 views

apt: error while loading shared libraries: libapt-pkg.so.5.90

I did a whole system update and then a distribution upgrade. After install I ran apt-get update and started to see some errors. Tried to troubleshoot the dependency issues by hand but I have had ...
0
votes
1answer
24 views

How does apt install -t distinguish one source from another?

I read this answer about how to apt install from a specific source. https://askubuntu.com/questions/27362/how-to-only-install-updates-from-a-specific-repository/57749#57749 But I feel confused with ...
-1
votes
0answers
21 views

package locating problem and Permission denial problem in sources.list in Kali

Whenever I try to install some package in Kali Linux through sudo apt-get install package_name, it gives me following message [sudo] password for bilal: Reading package lists... Done Building ...
2
votes
1answer
30 views

`apt install pkg1 pkg2` differs from `apt install pkg1 && apt install pkg2` why?

If I install both packages at the same time I get this, note that php7.4 would be installed: $ apt install php7.1 php7.1-redis The following NEW packages will be installed: apache2 apache2-bin ...
1
vote
0answers
17 views

Cross-installing a package for a different distribution

I have a piece of (ARM64) hardware running a linux kernel and I'd like to put the aplay utility on it to test audio. The hardware does not have a network connection, and is not running the same kernel/...
1
vote
1answer
23 views

instruct apt package installer to access a different python version

I am using quite an old installation of linux, the system python does not include Python 3.7. I have however installed Python 3.7, as can be seen in the following terminal output, but I would like to ...
0
votes
1answer
28 views

Problem downloading a package and Installing it without internet on Ubuntu 18.04.1

I currently possess 2 machines with the same version of Ubuntu as the title says, one is for the downloading the Packages and one for installing. After the download has finished I'm transferring the ....
0
votes
0answers
25 views

How to make a bwrap + overlayfs + big rootfs scalable in terms of number of users?

Currently we have a setup on a build server where we have a rootfs image readable by all users (this image is generated by debootstrap and contains a minimal debian install with additional packages ...
0
votes
1answer
40 views

How to make an Ubuntu package with system V init script?

As the title says I want to make a ubuntu package that people could download with apt and I would like to set up the package with a System V script so that people can start and stop the service (like ...
-1
votes
4answers
43 views

Which way is the correct way to update software on ubuntu?

Hi there:) How do software updates differ based on the way I download software using ubuntu? For example when I download it manually using the apt-package manager, or when I add some repository to /...
-3
votes
0answers
42 views

I am getting this message everytime!! apt-get install is not working.. please help me i am new to linux

root@kali:~# ```apt-get install tor``` Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have ...
0
votes
1answer
20 views

Why package managers like apt and pacman cannot install multiple packages simultaneously unlike snap

I get an error of locked database every time i try it on pacman. So what mechanism of snap makes it different.
6
votes
1answer
224 views

When debian bugfix will appear on my system?

On my Debian 10 I've ran into same problem with npm as many people before: npm does not support Node.js v10.15.2 Searching for the fix I've found that the bug was fixed in debian: https://bugs....
0
votes
1answer
17 views

Debian PPA from Remi

I'm looking for the Debian version of a redis package that's currently installed in my CentOS machine redis 2.8.13-1.el6.remi Where do I look for the same version for debian? I tried querying in ...
0
votes
0answers
46 views

Virtualbox installation problem

sudo apt-get install virtualbox Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libgsoap-2.8.60 ...
0
votes
0answers
26 views

apt-get install asks me to remove packettracer as it has “unmet dependencies” even though it works perfectly fine. How to tackle this problem?

apt-get install asks me to remove packettracer as it has "unmet dependencies" even though it works perfectly fine. How to tackle this problem? Reading package lists... Done Building dependency tree ...
0
votes
1answer
21 views

I am unable to install wine in pop os

mkdir wine mkdir: cannot create directory ‘wine’: File exists goku@pop-os:~$ cd wine goku@pop-os:~/wine$ WINEARCH=win32 WINEPREFIX=-/wine/testbottle winetricks Command 'winetricks' not found, but can ...
0
votes
0answers
13 views

Dpkg-query and apt errors when trying to uninstall a package

Every time I try to uninstall any application from the start menu (therefore, from the GUI), not from the terminal (in which sudo apt-get remove works), I get this error: E: Unable to locate package ...
0
votes
0answers
18 views

Unable to use Winetricks in pop os

E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied) E: Unable to lock directory /var/lib/apt/lists/ W: Problem unlinking the file /var/cache/apt/pkgcache.bin - ...
1
vote
1answer
92 views

Error installing deb file - Reading package list error

I am trying to install Nessus 8.9.1-debian6 on Kali Linux 2020.1 Problem [kali@kali:~/Downloads]$ sudo apt install ./Nessus-8.9.1-debian6_amd64.deb Reading package lists... Error! E: Problem ...
0
votes
1answer
44 views

“sudo apt autoremove” command doesn't work (“/var/cache/debconf/config.dat is locked by another process”)

I've tried solutions like editing on panasoniclpd.init file and it doesn't work too. This problem keeps shown whenever I try to update or install from the CLI sudo apt autoremove [sudo] password for ...
1
vote
1answer
24 views

`apt` doesn't remove dependencies that were automatically installed

System : Ubuntu 18.04 apt doesn't remove jackd's dependency jackd2 (and its own dependencies) after uninstalling jackd : $ sudo apt install jackd The following additional packages will be installed: ...
0
votes
1answer
28 views

How does `apt` check for dependency removal when uninstalling/purging ? AkA Help me understand the behavior of `apt`

I was fiddling with sound on linux and tried installing the package jackd. This is the relevant excerpt of what apt returned : $ sudo apt install jackd The following additional packages will be ...
1
vote
0answers
32 views

Undo last operation in aptitude

While I was resolving some dependencies in aptitude, I miss-clicked and chose an option I didn't want. Quite a few packages were installed and even more were removed. I can see what happened in /var/...
1
vote
0answers
50 views

Why does my webserver try to install php7.4 when I have 7.3 running?

On apt upgrade I get the notification that new packages will be installed The following NEW packages will be installed: libicu65 libapache2-mod-php7.4 libonig4 php7.4 php7.4-bz2 php7.4-cli php7.4-...
1
vote
2answers
58 views

Ignore Dependency Version When Installing with apt

I am trying to install a set of build dependencies but am getting the following error: The following packages have unmet dependencies: libbz2-dev : Depends: libbz2-1.0 (= 1.0.6-9.2~deb10u1) but 1.0....
2
votes
1answer
35 views

Cannot install packages with apt-get update in debian (Proxy)

I have Debian 10 installed in my Virtual Machine and want to use sudo apt-get update Problem is I am in a network with an internet connection over proxy. So far so good, I set up the automatic ...
1
vote
2answers
60 views

How to detect a Debian package that is no longer needed after an upgrade of its previously dependent package?

Let's say, there is a Debian package named Foo, whose version 1.1.1 depends on a package named Bar. Imagine that there is a newer version of Foo==1.1.2, which doesn't depend on Bar anymore. After an ...
0
votes
1answer
97 views

How can I enable verbose output in apt?

I'm having a weird issue with apt were it hangs during apt update. I want to enable verbose output to see what exactly is causing this problem or at least where it occurs. The manpage for apt-get ...
0
votes
0answers
88 views

Valgrind Segmentation Fault

I've never used Valgrind before and want to use it to check for memory leak in a program written in C. I'm using a BeagleBone AI which run Linux Debian. debian@beaglebone:~$ cat /proc/version Linux ...
20
votes
2answers
975 views

Will apt upgrade, ran with yes flag, reboot if needed?

For example, if I run sudo apt-get -y upgrade if there is a package that requires a restart to upgrade, will the yes flag cause the system to reboot after the command finishes upgrading everything? Or,...
0
votes
2answers
44 views

Forcing apt /yum to NOT install dependencies

Is there a command line option that would tell apt or yum to not install the Depends packages of a package when installing? In python/pip I could do this: pip3 install --no-deps -r requirements.txt ...
0
votes
0answers
15 views

Skype asks twice for credentials and doesn't save it

I've recently installed skype with snap and noticed that each time I start it it asks me for user name and password. But after I entered them it would still show me the login window with "Let's get ...
1
vote
1answer
20 views

Deb build-dependencies in custom locations

I have a debian package with npm build dependency, e.g, the control file contains the line: Build-Depends: debhelper (>= 11), npm Building this package works fine if I have installed nodejs using ...
1
vote
1answer
39 views

Why do some Debian packages recommend unavailable dependencies?

By checking the dkms package dependency, I noticed that apt may recommend to install some packages which are not packaged by Debian. In the following example there are such two packages. It is clear ...
-1
votes
0answers
62 views

Linux: Error while updating apt package

root@kali:~# apt-get update Err:1 http://http.kali.org/kali kali-rolling InRelease 503 Service Unavailable [IP: 192.99.200.113 80] Reading package lists... Done W: Failed to fetch http://http.kali....
0
votes
2answers
43 views

A lot of missing dependencies when I try to install all software

I have problem with missing dependencies, when I try to install some software by apt-get and also from downloaded .deb files. I am using Debian 10. After installation I removed a lot of software ...
0
votes
0answers
40 views

Can't install Steam after upgrade to Pop OS 19.10

I've been googling and looking for info on here, but I couldn't find any solution. So maybe someone on here might be able to help? I think the problem might stem from the 32bit support issue mentioned ...
0
votes
0answers
36 views

How can I find a package name which contains specific file? [duplicate]

Example: /etc/bind/db.local file is created by apt package bind9 ( source: https://packages.debian.org/buster/amd64/bind9/filelist ) but how to find a package which have created for example /usr/...
0
votes
0answers
36 views

Custom Debian repo, why won't packages install by default?

I'm setting up a custom Debian repo for bespoke packages and I've got the repo up and am able to install and upgrade packages from it, but they don't install by default. The behavior I would like is ...
0
votes
1answer
28 views

How to grant APT priveleges without sudo

I'd like to give users on an Ubuntu system permissions to APT. However sudo is not a viable option because you can easily escalate to a root shell from APT. Any other ways to give a user APT ...
2
votes
0answers
121 views

apt-get update no longer works after rebuilding corrupted PATH variable

I royally screwed up my PATH variable last night, thankfully a user called Icarus helped me rebuild it here. However it's not fully fixed and I receive the same (or maybe very similar) error that I ...
20
votes
1answer
1k views

Barely any commands work, no module named 'apt_pkg'

I don't know what I've done but basic commands like "ls" and "sudo" no longer work and now throw me this error message. File "/usr/lib/command-not-found", line 28, in <module> from ...
0
votes
1answer
45 views

I'm trying to install apt-get onto an ARM64 using DPKG

I have a Synology NAS - and I'm attempting to install docker onto it. To do that I need apt-get as my package manager, and nothing is panning out. It seems like because I have ARM the methods I've ...
1
vote
2answers
52 views

How to locate an URL that serves public GPG key for a package repository?

When I install mysql@5.6 and mysql-client@5.6 in my Debian Jessie docker image with apt-get install -y software-properties-common && \ add-apt-repository 'deb http://archive.ubuntu.com/ubuntu ...
0
votes
1answer
32 views

How to fix access denied even as owner when cleaning the cache?

I am trying to clean the cache. I am running linux penguin 4.19.79 using a chromebook. I have run apt clean and apt-get clean to no avail. I get permission design. I have attached a screenshot of the ...

1
2 3 4 5
47