2022 Developer Survey is open! Take survey.

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.

Filter by
Sorted by
Tagged with
1 vote
1 answer
13 views

Disable Ubuntu 22.04's scaning processes / candidates after package upgrades

Ubuntu 22.04 scans running processes (for use of old libraries) after doing apt. It will say 'Scanning processes' and 'Scanning candidates': We have servers that (unfortunately) need to run tens of ...
user avatar
  • 7,781
0 votes
1 answer
43 views

Debian: how to install a package without a specific dependency (git without Perl)

I am trying to install an apt package without one of its dependencies (specifically, git without Perl to reduce Docker image size by >50MB). I can think of two options: installing the package ...
user avatar
0 votes
0 answers
14 views

install mysql in debian 9

I need to install MySQL 7.5 on Debian 9 stretch, I tried to download it using PPA but when I try to update and complete download I get error apt-key expire. Err:2 http://repo.mysql.com/apt/debian ...
user avatar
1 vote
2 answers
24 views

apt-get upgrade vs unattended-upgrades under ubuntu 20.04

unattended-upgrades seems to skip certain upgrades, e. g. google chrome upgrade. A subsequent call of apt-get upgrade then finds and installs the ugrade. Does this mean, I must schedule apt-get ...
user avatar
0 votes
0 answers
14 views

Automating options when using apt-get install

I have this step in my dockerfile RUN apt install libpq-dev libxml2-dev libxslt1-dev libldap2-dev libssl-dev -y And when I build it, it stuck with the prompts How do I get pass this with pre-...
user avatar
  • 161
0 votes
1 answer
102 views

How to install Google Cloud Ops Agent on Ubuntu 21.10?

I'm attempting to install Google Cloud Ops Agent on Ubuntu via Docker and running into a couple issues. Firstly, running the following returns an error saying that some GPG signatures can't be ...
user avatar
0 votes
3 answers
31 views

Debian: how to put two versions of libcurl on one system?

I'm trying to migrate two web apps on single server(debian10), both require different versions of php, and both require cURL extensions to work properly. php5.6-curl uses libcurl v3 php8.1-curl uses ...
user avatar
3 votes
5 answers
963 views

Ansible OpenSSL Error with apt module

This is rather odd, I noticed it yesterday on one of my target machines, and today its happening on the rest of them too. I also tried running the playbook from a different machine and the same thing ...
user avatar
  • 133
0 votes
0 answers
14 views

Custom ubuntu package compiled locally says upgrade available even though what's in the repo is the same version

I have obtained the source package for one of the things installed on my Ubuntu system, made a change to the source code, built a binary package, and installed it. Now that package ALWAYS shows up in ...
user avatar
  • 149
0 votes
0 answers
22 views

How to configure a double proxy jump for apt install?

I need to install packets in a KVM guest (vm) but the KVM host (hypervisor) doesn't have internet. I already know how to configure an ssh+apt proxy to give apt install capabilities to computers in a ...
user avatar
0 votes
1 answer
95 views

How to cleanup /usr/lib/modules and /usr/lib/x86_64-linux-gnu?

I executed the command apt autoremove but those folders persist. As the command "du -h -x --max-depth=1 /usr/lib | sort -hr | head -n 10" showed me, they are currently using almost 1G each: ...
user avatar
0 votes
0 answers
154 views

Stuck on "update-initramfs: Generating /boot/initrd.img-5.4.0-92-generic"

I have a problem with uninstalling packages on my server(20.04 LTS). When I run apt remove metricbeat receive this message: root@elk:/home/elk# apt remove metricbeat Reading package lists... Done ...
user avatar
0 votes
0 answers
40 views

How can I use APT through an SSH tunnel and a HTTP proxy?

I have a Debian Linux system inside a network isolated from the Internet. Lets call it SERVER-A. I can connect from my laptop with Windows 10 through SSH to SERVER-A. I also can browse the WWW from my ...
user avatar
0 votes
0 answers
77 views

I want to update a debian package, but apt deletes packages that are needed

I can see that my xfce4-panel version didn't get upgraded to 4.16 (it's still 4.12) after upgrading debian from buster to bullseye. So I wrote sudo apt install xfce4-panel to try to upgrade xfce4-...
user avatar
0 votes
1 answer
28 views

DEBIAN 10 apt-get, sudo issues

I'm currently facing some issues with my dedicated server. I unfortunately removed some packages from my server yesterday. And now the man-db on my server seems not to work properly. This issue maybe ...
user avatar
  • 13
0 votes
0 answers
349 views

Zabbix installation repository does not have a release file?

I am attempting to install the Zabbix monitoring software on an Ubuntu 20.04 server. I am following the instructions here: https://www.zabbix.com/download?zabbix=6.0&os_distribution=ubuntu&...
user avatar
1 vote
3 answers
4k views

Apt-Get Update Failing because of Certificate Validation

Using Ubuntu Focal fossa. I was trying to install a checkpoint ssl software for VPN, but seems like something messed up all my certificates. Now whenever I try sudo apt-get update I get the following ...
user avatar
  • 113
0 votes
2 answers
66 views

How can I reliably discover CVEs relating to installed packages

I have a web application running on Ubuntu Server 18. One of its dependencies is Ghostscript. The latest version I'm able to install via apt-get is 9.26, but I've learned that this version has a ...
user avatar
0 votes
0 answers
66 views

skip openssh-server configuration on apt-get upgrade

When I'm trying to upgrade Ubuntu 20.10 on Linode, it stucks on one configuration prompt. How can I skip it? Using -qy didn't help, as shown below. The code: set DEBIAN_FRONTEND=noninteractive apt-get ...
user avatar
  • 101
0 votes
0 answers
25 views

How can I install a packages' dependencies but not the package itself

I want to use a pre-built binary for Blender that is more recent than the package provided by the distro I am using (apt-based). Blender has a number of dependencies though, so I end up doing the ...
user avatar
  • 1,271
0 votes
2 answers
80 views

sudo to allow apt-get install of remote packages, but forbidding arbitrary commands

I'm looking for a way to allow a user to install (only remote) packages via apt-get (or another mechanism?) but not allow them to run arbitrary commands as root. I can get some of the way there via /...
user avatar
0 votes
1 answer
13 views

There is a log for update package lists?

I am looking for a log for something like "apt update", no "apt upgrade". Can anyone help me?
user avatar
  • 1
7 votes
2 answers
399 views

Upgrading Debian Linux to a specific patch level

I have a few dozens of Debian boxes which I want to keep up to date in a deterministic fashion, and also follow the Engineering => Pre-Prod => Prod routine with a deterministic staging process. ...
user avatar
  • 171
0 votes
0 answers
258 views

atftpd service start and removal error

I am facing error while doing apt --fix-broken install I searched on google but no luck. After this operation, 5,120 B of additional disk space will be used. Do you want to continue? [Y/n] y ...
user avatar
1 vote
1 answer
329 views

Update PGP key in self hosted apt repository

We are using the Sonatype Nexus Repository Manager to host apt repositories. The GPG key of one of them has expired recently and needed to be updated. What I thought would be sufficient was to ...
user avatar
  • 121
-1 votes
1 answer
204 views

How to install packages from command line on Suse

What is the Suse version of apt-get or yum? Or how do I get one of them installed in order to install software packages from the command line? A fairly intense session of googling suggests that it may ...
user avatar
2 votes
1 answer
361 views

debian - packages have unmet dependencies

i am having Debian 11, and i am trying to install some php libs like mysql: command: sudo apt install php-mysql result: Reading package lists... Done Building dependency tree... Done Reading state ...
user avatar
0 votes
0 answers
159 views

MySQL errors after reinstalling

At first, I wanted to reinstall MySQL to repair ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) problem with command apt-get purge mysql-server,...
user avatar
  • 1
1 vote
2 answers
177 views

load balancer mark "unhealty" new group member instance (ubuntu) after dist-upgrade

I've a some VMs (working as web server) behind an instance group on my GCloud. As usual maintenance I've update (apt dist-upgrade) my "vm-source-image", created a new template and add it to ...
user avatar
1 vote
2 answers
385 views

How do I download and install a regular DPKG package in a cloud-init script?

I'm spinning up lightweight containers on a Linux Host using LXD/LXC. The sole purpose of these containers is to host "Dotnet & Dotnet core apps" For a while I've been using Ansible, but ...
user avatar
  • 293
0 votes
2 answers
57 views

Why Debian APT is not listing the same upgrades on two different servers with the same APT config?

I have two dedicated servers (virtual machines), located in the same datacenter, both running latest Debian Bullseye. Today, I ran apt update on the first one, and it listed several packages to ...
user avatar
  • 273
0 votes
0 answers
58 views

Debian 10 how to update perl module?

I'd like to update perl module IO::Socket::SSL on my Debian 10 system. The newest available version is 2.072 and can be downloaded from https://metacpan.org/pod/IO::Socket::SSL However when I'm trying ...
user avatar
0 votes
0 answers
46 views

Install a package from a .deb file with apt, but do not downgrade

On Ubuntu 18.04, I can install a .deb file with apt install ./filename.deb (or dpkg -i filename.deb && apt-get install -f). If there is version of this package installed, I get this warning: .....
user avatar
  • 29.9k
0 votes
0 answers
12 views

Revert chantes after test new repository without installing new packages

I wanted to test the changes that occurred if I installed a new PHP repository on Debian 9. Before adding the repository I did an apt-get update and an apt-get dist-upgrade, and there were no changes. ...
user avatar
0 votes
0 answers
40 views

How to actually find expect in debian bullseye?

I have debian 11 (bullseye) on my system and want to install expect - but it doesn't seem to be known to apt, although it should be there according to this: # apt-get install expect Reading package ...
user avatar
  • 144
0 votes
1 answer
453 views

build-essential set to manually installed (Debian 11)

I installed build-essential by running sudo apt install build-essential. It was already installed and got the message: build-essential set to manually installed When running this command the second ...
user avatar
  • 175
0 votes
0 answers
19 views

Installing and regularly updating software via yum\apt* on linux servers without direct internet access?

There are several dozen servers with centos (mostly) and debian-like systems. How to organise the installation and updating of software via yum \ apt in the absence of direct access to the Internet ...
user avatar
1 vote
1 answer
898 views

E: Unable to locate package mosquitto [closed]

I'm trying to install the mosquitto package, but when I type sudo apt-get install mosquitto it returns E: Unable to locate package mosquitto. I already ran sudo apt-get update and sudo apt-get upgrade....
user avatar
3 votes
1 answer
1k views

apt update different behavior in Dockerfile and prompt, return error code 100 but works

I'm trying to install an apt source on the Microsoft azure function docker, here is my Dockerfile FROM mcr.microsoft.com/azure-functions/python:3.0-python3.9 RUN echo 'deb [trusted=yes] http://deb....
user avatar
  • 161
12 votes
2 answers
12k views

After upgrade from Debian 10 Buster to Debian 11 Bullseye security updates 404 not found

Doing recommended upgrade path, TL;DR: Backup data, then apt update apt upgrade apt dist-upgrade reboot Also disable all non main stream packages if any. Then preparing APT for new distribution: sudo ...
user avatar
1 vote
1 answer
1k views

PHP 7.4 on Ubuntu 18.04 (bionic)

I'm having trouble getting PHP 7.4 to install on 18.04 now, as it seems to depend on a version of libc6 that is not available on 18.04. I have no tried building from source as I would like to avoid ...
user avatar
0 votes
1 answer
113 views

apt-get does not seem to be reading /var/cache/apt/archives

I am trying to upgrade Ubuntu in stages, I want to first download all the required packages and only then start the upgrade. So, I downloaded required debian packages and copied them to /var/cache/apt/...
user avatar
  • 32
1 vote
1 answer
656 views

`apt-get update --dry-run` command does not work anymore

On older systems, the command apt-get update --dry-run did work and was very useful to check if the real command will work. With newer versions, we have : $ apt-get update --dry-run E: Command line ...
user avatar
  • 170
1 vote
1 answer
3k views

apt-get throwing warning: "W: --force-yes is deprecated, use one of the options starting with --allow instead"

I'm running on Ubuntu 20.04 on Circle CI "machine" executor. Today I see that: sudo apt-get install -y pkg1 pkg2 is throwing this warning: W: --force-yes is deprecated, use one of the ...
user avatar
0 votes
1 answer
317 views

“GPG error: https://oss.oracle.com/debian unstable Release”

The error I am having when trying to update my package list. root@wetainfotech:/# apt update Hit:1 http://ftp.de.debian.org/debian buster InRelease Hit:2 https://packages.sury.org/php buster InRelease ...
user avatar
0 votes
0 answers
85 views

php-common conflict when installing php-imap on Ubuntu

$ sudo apt-get install php7.4-imap php7.4-imap : depends on: php7.4-common (= 7.4.3-4ubuntu2.5) but7.4.15-7+ubuntu18.04.1+deb.sury.org+1 should be installed $ sudo apt-get install php7.4-common php7....
user avatar
  • 251
7 votes
1 answer
3k views

Cannot apt-get update from inside my docker container if connected to bridge network

I am trying to understand, why I am unable to run apt-get update from within my docker containers, either debian:latest or ubuntu:latest. I am able to ping 8.8.8.8 or other address from within the ...
user avatar
  • 111
0 votes
1 answer
739 views

Ubuntu 18.04 to 20.04 : Broken Update

I upgraded from 18.04 to 20.04 using : do-release-upgrade After downloading all the packages it asked me if I wanted to keep my version of an existing config file. Trying to exit out of the file, I ...
user avatar
  • 3
0 votes
1 answer
459 views

Automatically kept-back APT packages not showing up

I can't list apt packages kept back by the system itself. A have a few systems where I know there are kept-back packages. apt-get upgrade -s shows: Reading package lists... Done Building dependency ...
user avatar
2 votes
1 answer
192 views

Apt Pinning: Pinning based on multiple criteria

I'm attempting to pin a package based on more than one field. In my case, the origin and the version. My specific reasons for doing this is to ping RabbitMQ's Erlang release at a specific version. I ...
user avatar

1
2 3 4 5
22