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
0
votes
0answers
13 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 ...
0
votes
0answers
21 views

Automatic recompilation when arbitrary package is upgraded

How one would hook on apt updates to automatically download arbitrary sources and compile them when select packages are modified ? (Upgrade or downgrade) How to proceed ? Said source could be from deb-...
0
votes
1answer
25 views

add-apt-repository fails due to gpg key timeout

I am running a Mail-in-a-Box server on Ubuntu 18.04. As part of the setup/update script, it attempts to execute the command add-apt-repository -y ppa:certbot/certbot. This fails with the following ...
-2
votes
1answer
24 views

Problems after trying to upgrade Python

I am still able to run Anaconda, but the Python installation is suffering some issues after accidentally creating a wrong symbolic link and then trying to upgrade Python version The following ...
-2
votes
0answers
56 views

<RESOLVED> dpkg: error processing package openjdk-8-jdk:amd64 (--configure)

I am using Linux Mint 20.1 Ulyssa and after the latest updates, I have problems with dpkg when installing new packages. Unfortunately, I could not solve it myself and I would like to get someone's ...
0
votes
1answer
64 views

Daily Apt Upgrade causing oom-killer to kill my java server

My server has died several times in the middle of the night because of this. How much memory is apt-upgrade asking for? Is it being reasonable? I'm trying to decipher the logs here. Any help or ...
0
votes
1answer
33 views

Conflict with Debian version

On a server I set up a few years ago, typing cat /etc/lsb-release gives me the following result: DISTRIB_RELEASE=7 DISTRIB_CODENAME= DISTRIB_DESCRIPTION= And lsb_release -a displays: Distributor ID: ...
0
votes
0answers
30 views

How to avoid many versions of PHP being installed with apt?

In December last year I had to move back from the standard PHP 7.4 to PHP 7.3 on an Ubuntu 20.04. I believe to have followed How to Install PHP on Ubuntu 20.04 to do so. So far so good. After a couple ...
1
vote
0answers
43 views

Getting Tripwire to stop complaining about apt upgrades

We use tripwire on Ubuntu servers to monitor integrity of key files. We regularly update packages with apt and end up with noise from tripwire because staff find it is a hassle to update tripwire with ...
0
votes
1answer
22 views

apt: list packages with the repositories they are coming from

I've found dpkg-query --showformat="\${Package}\t\${Version}\n" --show \* but it can't show the repo can it? Probably that info is only known to apt. But which apt command to use? I'd ...
0
votes
2answers
166 views

Updating Debian 8 Packages

I've seen lots of threads all with slightly different answers. Tried all I could but I think they're now all outdated. So we're running Debian 8 (Can't upgrade as it's not our server) the result of ...
3
votes
1answer
109 views

Cannot Connect to Surry to get Php8

My system is Debian Buster: ~# lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 10 (buster) Release: 10 Codename: buster I have run ...
0
votes
0answers
62 views

Re-direct traffick from several machines to specific device on other machine

I everybody I have a small system with 4 machines and one server. The server has internet regular connection on device eno1. The other device (eno2) is connected to a router with the rest of the ...
0
votes
0answers
34 views

Google LAMP trying to update sudo

I was trying to update sudo on my LAMP cloud server at Google, but to no avail it seems. Doing sudo apt update, then sudo apt install --only-upgrade sudo if finds the same sudo as on the system: Get:1 ...
0
votes
1answer
38 views

is running `apt full-upgrade` daily basically the Ubuntu equivalent of CentOS Stream?

I've been reading a lot about how CentOS Stream is like a rolling release between RHEL point releases. Is running apt full-upgrade or apt-get dist-upgrade on a daily basis essentially doing the same ...
0
votes
0answers
18 views

Proper configuration for apt-proxy that gracefully fails

I use the following for my apt proxy configuration: Acquire { Retries "3"; HTTP { Proxy "http://10.9.2.21:3142"; }; }; My understanding of this syntax was that apt would ...
0
votes
2answers
226 views

How do I reliably determine on Ubuntu when the latest version of a package was made available?

How to create a command, on Ubuntu, to report when the latest version of a given package was released? (I need to check this as part of proving that we install certain updates on certain servers ...
2
votes
1answer
38 views

How to remove non-launchpad-ppa repository from apt update list?

When I run sudo apt update, it hits/gets a list of urls, including Hit:7 http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo bionic InRelease. How do I remove this specific url from what apt ...
0
votes
1answer
60 views

Invalid cross-device link when attempting to run ‘sudo apt-get -f install’

When I attempt to run sudo apt-get -f install I get the this: Preparing to unpack .../libpython3.4-stdlib_3.4.3-1ubuntu1~14.04.7_amd64.deb ... Unpacking libpython3.4-stdlib:amd64 (3.4.3-1ubuntu1~14.04....
0
votes
0answers
102 views

Why does install of nfs-kernel-server fail _AFTER_ an apt update && apt upgrade that includes a kernel upgrade?

Problem statement: Installation of nfs-kernel-server fails at service startup if done right AFTER an apt update && apt upgrade step that also includes a kernel update. I was trying to install ...
1
vote
1answer
68 views

How to stop apt-get using /tmp for install scripts

I have a CIS-benchmark-compliant base image. Pulling this to differentiate an immutable image for my application, if I attempt to do apt-get install -y docker.io I get an error ==> amazon-ebs: Can'...
0
votes
2answers
566 views

Not enough space in /var/cache/apt/archives/

Debian 10 desktop with persistence root@debian:~# df -h Filesystem Size Used Avail Use% Mounted on udev 3.8G 0 3.8G 0% /dev tmpfs 767M 19M 749M 3% /run /dev/...
0
votes
0answers
30 views

Ubuntu 18.04.4 apt, apt-get, apt-cache all missing

I run landscape server to update several Ubuntu server installs. I had one particular server (it is an email relay) that was waiting for a reboot. After reboot, I noticed that I could not manage ...
0
votes
2answers
140 views

Trouble installing packages from the Debian buster repository

Solved! See comments below for the solution. I'm trying to install i3 on Debian buster and it can't find the package. I'm not sure what I'm missing so I can install this package. These are the errors ...
1
vote
1answer
2k views

CryptographyDeprecationWarning: Python 3.5 support will be dropped in the next release of cryptography. Please upgrade your Python

I'm trying to use docker-compose (which was installed via pip3), yet running into following warning everytime I do anything: # docker-compose version /usr/local/lib/python3.5/dist-packages/paramiko/...
1
vote
1answer
141 views

Why does mailutils depend on mariadb-common and mysql-common and what are *-common packages in the first place?

I was about to install mailutils and postfix when I notice how many dependencies were involved. $ apt install mailutils postfix Reading package lists... Done Building dependency tree Reading state ...
0
votes
1answer
49 views

Can Ubuntu Unattended Upgrades be configured to download only?

I'd like to configure Ubuntu unattended-upgrades package to only download updates but not apply them. Is this possible? I'm not seeing a way to do it on this page but they show something using cron ...
1
vote
0answers
500 views

apt-get: libc6 upgrade needed but can't be installed; Kernel update needed but can't be done like anything else

Hello serverfault community! After upgrading to Debian Buster apt doesn't seem to work in any way. I've read and tried several solutions but none of these worked. Output when I try to install any ...
0
votes
0answers
190 views

Apt upgrade “Failed to fetch” linux-firmware on several machines, but wget -> dpkg -i succeeds

I have a few Ubuntu servers that I manage that are all exhibiting this behavior. Most are 20.04, but one is 18.04. asmith@hostname:~$ sudo apt update ... many lines ... 1 package can be upgraded. Run '...
0
votes
1answer
31 views

chaining ssh update commands in a script fails

I want to run a single script locally that invokes a 'sudo ./up' on several remote hosts via ssh. Where ./up is simply: ---- /home/user/up ---- #!/bin/bash sudo apt update && sudo apt -y ...
1
vote
1answer
90 views

Ubuntu 20.04 packages with an “{u}” in their name

After an upgrade to Ubuntu 20.04, some packages have "{u}" in their name. I have looked for the answer, but it looks like either google is promptly ignoring the curly braces during search or ...
0
votes
0answers
81 views

security.debian.org misbehavior during apt upgrade?

I'm seeing the oddest behavior trying to get some, but not all, packages from s.d.o during a dockerized apt upgrade of stretch. Here's an example of one package I couldn't get and one that I could: ...
1
vote
0answers
130 views

apt-get from private repository via https with self signed certificate failed by SSL handshake error

I'm not able to use my own apt-source via https. Using web based repo with imported cert and key-file as apt-source. Client: root and intermediate cert in /usr/local/share/ca-certificates/extra/ has ...
0
votes
0answers
17 views

How do I safely edit part of a configuration file installed by apt?

I'm setting up auditd and want to expand the size and number of log files. But I'm not asking about auditd, I barely care about auditd. Except that I don't want its next update to cause apt to ...
0
votes
0answers
15 views

Can I have “stable-updates” in /etc/apt/apt.conf.d/00release - downsides?

This is a general / best practice question - I don't get the debian package management. I started to pull "time to time" some packages from stable-updates AKA buster-updates by adding the ...
0
votes
1answer
124 views

Apt update fails with bionic release no longer has a release file (Mariadb)

Tried to update the apt cache with sudo apt update and it failed with: The repository 'http://mirror1.imageworld.fi/pub/mariadb/repo/10.4/ubuntu bionic Release' no longer has a Release file ...
0
votes
1answer
405 views

How to install apt back after apt-transport-https uninstalled it

I followed a suggestion and bricked my server. I no longer have apt / apt-get after installing apt-transport-https and I regret it. I tried installing apt via dpkg but it errors out with: dpkg: ...
3
votes
1answer
5k views

install libssl-dev on Ubuntu 20.04.1 (upgrade from 18.04.1) reports unmet dependecies with 1.1.1g-1+ubuntu18.04.1+deb.sury.org+1

I have upgraded from Ubuntu 18.04.1 to Ubuntu 20.04.1 (forced release upgrade), then while installing php.7-4 it was necessary to also install libssl-dev, that gave the following unmet dependencies: ...
0
votes
1answer
122 views

apt-mirror ppa repo missing pub key

We are trying to host a private mirror of some repositories. The ubuntu repositories appear to be working fine however we have also added a repository from ppa launchpad. Whilst apt-mirror seems to be ...
1
vote
1answer
483 views

Perform (Ubuntu) do-release-upgrade using a local Aptly mirror (missing meta-release files)

Background We currently have a local deb mirror setup using Aptly snapshots due to regulatory reasons (for example: servers are not allowed to fetch packages over the internet). All of this works just ...
0
votes
1answer
223 views

apt-get is stuck with mysql after creating a vm from snapshot in Google cloud

I'm using Google cloud and I have a vm (Ubuntu 18.04) that is working fine. The apt-get command works totally fine and mysql service is running well. Let's call it vm-1 I needed to create another a ...
0
votes
0answers
99 views

libc6 package Breaks openssh-server - how do I get it back?

On my Debian Jessie server I had testing repositories enabled for some reason and I ran an upgrade recently that removed the openssh-server package. I am assuming this happened because of a recent ...
0
votes
1answer
72 views

Debian package set keep old conffile - not over apt globally

I want to update a own debian-package on different servers. I would like to keep the old conf file, if it exists and not to say always no if prompt is asking what I want to do : The default action is ...
1
vote
2answers
1k views

Debian Buster: linux-image-amd64 kept back

Perhaps a simple question, perhaps a stupid question, but I can't find an answer... Whenever I do apt-get update apt-get upgrade I get The following packages have been kept back: linux-image-amd64 ...
0
votes
0answers
27 views

'confold' options for dpkg and apt ignored

I have a package sudo which has been repackaged with dpkg-repack as follows: sudo dpkg-repack --arch=amd64 sudo The configuration file, /etc/sudoers for this package contains the following custom ...
1
vote
1answer
71 views

Ubuntu is setting up MySQL when installing Fpart

I'm trying to install fpart, but having mysql error: # apt install fpart Reading package lists... Done Building dependency tree Reading state information... Done The following packages were ...
0
votes
2answers
1k views

How to install ProtonMail on Ubuntu Server 20.04?

I have a PRO account at ProtonMail and I want to use it for my web server. I found a tutorial here : https://pychao.com/2018/10/13/use-protonmail-bridge-on-headless-linux-machines/#comment-6612 ...
0
votes
1answer
894 views

Did aptitude uninstall the gnome gui?

Recently I wanted to remove the keyboard-configuration app for linux, so I typed sudo apt-get remove keyboard-configuration it prompted me if I wanted to remove a bunch of packages (17 MB), and now ...
0
votes
0answers
183 views

“The keys in the keyring … are ignored as the file has an unsupported filetype.” PHP7.4 Installation

Installing PHP7.4 on Debian 10, I've executed the following: sudo apt -y install lsb-release apt-transport-https ca-certificates sudo wget -o /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/...
0
votes
2answers
4k views

Cannot install sshd (openssh-server) on debian 10.4

This is a fresh install of Debian-10.4. The sources.list file follows: # deb cdrom:[Debian GNU/Linux 10.4.0 Buster - Official amd64 DVD Binary-1 20200 0509-10:26]/ buster contrib main deb http:...

1
2 3 4 5
22