Questions tagged [apt]
APT, the Advanced Packaging Tool, is Debian's high-level package management system. It is also used by several other Linux-based and Debian-based operating systems.
1,155
questions
-1
votes
1
answer
29
views
Which PHP package version is currently in use
When I install php package with sudo apt install php-mysql. It installs two packages. Which one is in use? Are these really two packages or php-mysql is an alias like a symlink current package in use?
...
0
votes
0
answers
815
views
Apt issues on Ubuntu 24.04 with noble-backports source
I run
apt-get upgrade --print-uris --yes -t noble-backports
and get the following output & error:
E: The value 'noble-backports' is invalid for APT::Default-Release as such a release is not ...
0
votes
1
answer
99
views
Check if package exists in repository that is not on my sources.list?
TL;DR:
How can I check if a package exists in a repository that's not on my sources.list?
What I want:
Most answers I'm finding assume the repo I need to check is already in my /etc/apt/sources.list.
...
1
vote
0
answers
72
views
debian:jessie container, apt-get update 100% CPU in PhotonOS host
In a Photon OS machine in VMware ESXi:
docker run debian:jessie apt-get update
The apt-get update process takes several hours to finish, using ~100% CPU. Even with an empty /etc/apt/sources.list.
...
2
votes
2
answers
490
views
Linux server: apt-get update "Could not get lock" error
I have a Google Cloud machine. Every few days, I SSH into the VM and run a handful of commands. Over the past few days, whenever I run sudo apt-get update, I get the following errors:
E: Could not get ...
1
vote
2
answers
170
views
apt-mirror is failing to read and use the http://archive.ubuntu.com/ubuntu/dists/jammy/Release file
I have a problem with apt-mirror.
I am tying to set up an internal Ubuntu mirror for my company.
My company using a Squid Proxy: internal IP 10.###.###.5:3128
Our proxy does not need a user/pass.
I am ...
-2
votes
1
answer
268
views
WSL apt install jdk results in 404 Not Found [closed]
Windows 11 WSL. Installing JDK 11 results in the error: 404 not found.
wsl> sudo apt install openjdk-11-jdk-headless
Reading package lists... Done
Building dependency tree... Done
...
0
votes
0
answers
251
views
Offline APT mirror with Ubuntu updates - how can I build them?
I'm looking for a way to create a mirror of the Official ubuntu apt archive for jammy (22.04) / AMD64.
The mirror should contain updates for all packages that go into a standard Ubuntu server ...
1
vote
3
answers
585
views
Can I rely on `curl` being installed on Debian/Ubuntu? How could I find out?
Is curl installed by default on Debian & Ubuntu (in 2024)? How could I answer this question myself?
I am writing the install instructions for software, part of which requires running a script that ...
1
vote
1
answer
210
views
Running hardened Ubuntu 22.04 desktop in an air gapped environment
I am trying to run Ubuntu 22.04 in an a semi Air Gapped environment.
The OS has been hardened using CIS hardening. There is no direct connection to the internet, but there is a Nexus Repo server ...
3
votes
2
answers
1k
views
How to make sure installing updates using apt does not restart networking services?
I have an Ansible playbook that I use to configure new Linux VMs. I was recently building a new VM with Ubuntu 22.04. The playbook will write some configuration files related to networking and whatnot,...
0
votes
0
answers
27
views
apt purge not removing masked service
Facing an issue while removing postfix. I ran "apt purge --remove postfix" that didn't clean up masked service and service status shows it masked. Can anyone please help to address the fix.
0
votes
1
answer
424
views
Nexus Repository OSS: apt hosted repo gpg signing
Nexus Repository OSS version: 3.63.0-01
We have created a hosted apt repository and we keep getting these messages on apt update:
E: Failed to fetch <apt-repo-url>/dists/jammy/InRelease 401 ...
0
votes
2
answers
2k
views
Debian Bookworm E: Unable to locate package
I'm getting a lot of "E: Unable to locate package" errors when I try to install some popuplar packages...
in my /etc/apt/sources.list file I have these lines :
deb http://deb.debian.org/...
0
votes
0
answers
422
views
Installing APT via dpkg causes ldconfig not found in path error
The situation began with an issue preventing me from updating, upgrading, or installing anything using apt. In an attempt to resolve this, I utilized dpkg to remove apt and then sought to reinstall it ...