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.

The Advanced Packaging Tool, or APT, is a free user interface that works with core libraries to handle the installation and removal of software on the Debian GNU/Linux distribution and its variants. APT simplifies the process of managing software on Unix-like computer systems by automating the retrieval, configuration and installation of software packages, either from binary files or by compiling source code.

1137 questions
0
votes
2 answers

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 /etc/sudoers. Say I have this in my /etc/sudoers…
0
votes
1 answer

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?
brudel
  • 1
  • 1
0
votes
0 answers

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 Preconfiguring packages ... (Reading database ... 487600…
0
votes
0 answers

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, apt-get purge mysql-client etc. and manually…
Thwade
  • 1
  • 1
0
votes
2 answers

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 upgrade, related to PHP update from 7.4.21 to…
bolino
  • 273
  • 3
  • 15
0
votes
0 answers

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 lists... Done Building dependency tree...…
j4nd3r53n
  • 226
  • 3
  • 14
0
votes
1 answer

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 time this message disappeared (which makes…
rmuller
  • 175
  • 1
  • 8
0
votes
1 answer

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/archives (before doing a dist-upgrade). But…
Ani
  • 32
  • 2
  • 13
0
votes
1 answer

“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 Hit:3 http://deb.debian.org/debian buster…
0
votes
0 answers

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.4-common is up to date…
Titus
  • 261
  • 3
  • 7
0
votes
2 answers

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 used Ctrl + C, which caused the entire update…
brugia
  • 103
  • 2
0
votes
1 answer

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 tree Reading state information... Done Calculating…
Burathar
  • 1
  • 2
0
votes
2 answers

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 error message: FAILED: add-apt-repository -y…
0
votes
1 answer

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 advice appreciated! Amazon EC2 server with 1GB of…
satnam
  • 51
  • 3
0
votes
1 answer

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: Debian Description: Debian GNU/Linux 9.13…