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
7 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
65 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:...
0
votes
1answer
18 views

How do I use apt-get to install one update at a time?

I have inherited 15 servers running Ubuntu 16.04 and need to install security updates on them all. I have been told by my manager to install them one at a time and then test the system to make sure ...
0
votes
0answers
10 views

How to best handle apt upgrade and php-fpm default pool www.conf

I currently have an Ubuntu 18.04 server with php-fpm installed. In the spirit of maintainability, instead of editing /etc/php/{version}/fpm/pool.d/www.conf I copied it and renamed it as {domain}.conf ...
0
votes
0answers
46 views

How to uninstall Nginx (and reinstall it) under plesk?

I rent a VPS from OVH without Plesk License but they installed Plesk anyway against my consent. This lead to a lot of problems. I had an hard time for everything, installing the last version of ...
3
votes
2answers
997 views

Ubuntu 20.04 minimal: “Unable to locate package python-pip”

Launching some small VMs in GCP and thought I would give Ubuntu 20.04 LTS minimal a try. After doing an "apt update; apt upgrade" I'm able to install packages like Apache, but having zero luck with ...
0
votes
0answers
17 views

Updating a package on php gives php7.3 is already the newest version but its not

I'm trying to update php7.3.13 to 7.3.17 on ubuntu 18.04 I have done apt-get update apt-get install php7.3 It said 7.3.17 package is unpacked but after restarting apache I still get 7.3.13 in ...
2
votes
1answer
80 views

Gitlab Debian Repository Public Key is Not Available

When running 'sudo apt update' I get the following error: user@gitlab:~$ sudo apt update Hit:1 http://security.debian.org/debian-security stretch/updates InRelease Ign:2 http://ftp.fi.debian.org/...
1
vote
1answer
27 views

Gitlab prometheus error after upgrade with apt-get upgrade

after upgrading my gitlab from 10.9.2 to version 10.10 on my Ubuntu 18.04 it was not possible for the apt-get upgrade process to end successfully. It ended with following message: Ensuring Prometheus ...
0
votes
0answers
37 views

Discovering why my EC2 instance froze (sudden extreme network IN and CPU usage)

one of my EC2 instances just became unresponsive. I first checked CloudWatch and noticed that Net In and CPU usage had suddenly spiked drastically. Then I reset my instance. Everything was back to ...
0
votes
0answers
84 views

Can't install squid on debian: Job for squid.service failed because a timeout was exceeded

I'm trying to install squid but apt can't finish installation, and returns these errors: After this operation, 7,263 kB of additional disk space will be used. Selecting previously unselected package ...
0
votes
1answer
69 views

apt-get upgrade not finding packages

When I ssh into my server I get this banner: Welcome to Ubuntu 16.04.6 LTS (GNU/Linux 4.15.0-45-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape....
0
votes
0answers
30 views

How to make `needrestart` not defer restarting some services

With unattended-upgrades duly set up to automatically do upgrades, reboots and all, I'm stumped to find output like this in its daily report sometimes: ... Restarting services... /etc/needrestart/...
14
votes
2answers
2k views

Why does the command 'apt install php' try to install Apache?

I'm trying to install WordPress + LEMP on my Ubuntu 18.04. I have no interest in installing Apache. Why does the PHP installer assume I do?
0
votes
1answer
55 views

How can I check which apt repositories / packages are validated by certain keys?

I've inherited an Ubuntu 18.04 server which has had some custom repositories and keys added to it in the past. I'd like to ensure all keys are still in use, and see which packages each of them are ...
0
votes
0answers
16 views

Difficulty using tsocks (SOCKS5) to grant internet access to airlocked machine

Background: I have access to two servers. Server one (S1) is nearly airlocked from all outbound/inbound traffic except for SSH and runs Ubuntu 16.05. Server two (S2) does have inbound/outbound traffic ...
0
votes
0answers
350 views

Can I kill apt.system.daily to fix the apt install command?

When I try to install anything (Ubuntu 16.04) with apt or apt-get I get this: E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) E: Unable to acquire the ...
0
votes
1answer
73 views

Debian buster r-base won't upgrade to 3.6.3

I have 2 computers (a PC and a server) with debian buster as OS. I need to backport the R language version from 3.5.2 to 3.6.3 on both. I follow this guide : https://cran.rstudio.com/bin/linux/debian/....
4
votes
0answers
572 views

Where to get debian mirror status?

The following command fails right now (14:16 in EET timezone): docker run debian:buster apt-get update The error being: $ docker run debian:buster apt-get update Get:2 http://deb.debian.org/debian ...
0
votes
1answer
201 views

Cannot update apt https repositories via corporate proxy (“reading from proxy failed”) on Debian 10 buster

Trying to run apt-get update against https repositories on a Debian 10 host which has an apt proxy configured. This example shows the output when trying to update from the grafana apt repository: # ...
1
vote
0answers
30 views

dockerfile with apt-get update failing

I am trying to build a docker images with the below content as starting 2 lines. FROM ubuntu:18.04 RUN apt-get update --fix-missing && apt-get -y install nginx sed python-setuptools python-...
0
votes
0answers
22 views

How to tell apt to install a specfic package if it is a depended, but not if it is recommended?

On Debian or Ubuntu, how do I tell APT that I don't want particular package, unless I really have to have it? I can get part of the way there in three different ways: 1) I can pin the priority of ...
-2
votes
1answer
45 views

need to install open ipmi on a remote HP DL20 server

I have an ubuntu(18.04.2 LTS) image running on a HP DL20, This server has a dedicated iLO, but i fear some settings are wrong as i cant reach the iLO. I would like to install open ipmi on the server ...
0
votes
0answers
39 views

How to install mod_mono on Debian 10

I want to run ASP.NET MVC application in Debian 10 with Apache. I have installed latest mono from standard mono repository. Trying to install mod_modo using apt install libapache2-mod-mono throws ...
0
votes
0answers
35 views

base-files installation error: new info file /var/lib/dpkg/tmp.ci/conffiles

I recently wanted to update my server with apt update and apt full-upgrade. The following error occured: dpkg: Error while processing the archive /var/cache/apt/archives/base-files_9.9+deb9u12_amd64....
0
votes
1answer
69 views

How to upgrade ubuntu with security fixes without updating PHP with new major version?

On my web servers I run ubuntu 16.04 with php7.2. I would like to be able to run periodically cron task to install system security fixes and updates (something like apt-get upgrade) but I don't want ...
0
votes
0answers
38 views

LDAP with pam_access.so blocking package updates

I have a set of ~10 servers using LDAP to control accounts. We further use /etc/security/access.conf with pam_access.so to control which groups access which servers. Very occasionally when I run apt ...
0
votes
0answers
39 views

Debian pin packages based on repo url

I have a problem, where my pin file is seemingly being ignored by apt. The situation is as follows: I have PHP installed from dotdeb.org and would like to reinstall it from sury.org. It is made out ...
4
votes
1answer
985 views

Docker install on clean Debian 10.2 causes error with aufs-dkms package

After installing Docker 19.03 on a clean updated Debian 4.19.67 I am experiencing some problems with the aufs-dkms package that is a dependency. I even reinstalled the Debian server and tried all ...
0
votes
0answers
387 views

Apt is broken (unmet dependencies)

So basically whenever I try to install or remove anything, it says: You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: libc-bin : ...
0
votes
2answers
615 views

Ansible playbook: url returns 404 with apt-key module while working manually (browser or wget)

Can anyone tell me why does this old key work for me with the apt-key module of the ansible-playbook and this new key doesn't (404)? The initial key worked for a short while (when I was developing ...
0
votes
0answers
31 views

oneshot systemd unit does not execute all commands on Debian Jessie

I have the following systemd unit defined: [Unit] Description=Install awscli Before=kubelet.service [Service] Type=oneshot ExecStart=/usr/bin/apt-get remove python-pip -y ; /usr/bin/easy_install pip ...
0
votes
0answers
181 views

Cloud-init: Add apt source key gnupg not installed

I've a cloud-init script that is used to create and configure a Debian 10 VM and since I want to install nginx I have to add its repository to APT. I'm trying to do it like this: apt: ...
0
votes
1answer
136 views

How do I make APT ignore the validity of the Release file?

I'm getting these errors whenever I try to run apt update: E: Release file for http://de.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease is not valid yet (invalid for another 244d 19h ...
1
vote
3answers
3k views

Debian: “apt install build-essential” fails because of unmet dependencies

Using Debian Stretch v9.11. I try to install build-essential, but fails because of unmet dependencies: sudo apt install build-essential Reading package lists... Done Building dependency tree Reading ...
0
votes
2answers
101 views

How to protect against MITM attack while installing linux packages

Scenario : I recently came across this issue using lubuntu. When I tried upgrading using terminal "apt upgrade", I got an error like you are using http which is not secure, so the default action was ...
0
votes
0answers
36 views

Kali Linux apt-get not working

I was installing apache2 but suddenly my Kali which was GUI got converted into CLI. It is still on run level- N 5. Whenever I run the command apt-get update it gives me an error. enter image ...
0
votes
1answer
45 views

Why is the default action to keep your current version when a package maintainer ships an updated version of a configuration file?

It seems to me that if the package maintainer has shipped an updated configuration file, but you choose to keep your current version, you won't receive any possibly-important changes in the updated ...
0
votes
0answers
74 views

Completely delete nftables

I am not a Linux guru, but I used to do it, but now I’m completely stuck. I have Debian Jessie installed on the server, it worked fine, then someone of interns did something there and as a result, ...
0
votes
1answer
296 views

unable to update the MariaDB upgrade to work

Have run apt update and apt upgrade and this are the errors for mariadb Ign:1 http://mariadb.mirror.liquidtelecom.com/repo/10.4/ubuntu bionic/main amd64 mysql-common all 1:10.4.9+maria~bionic Ign:2 ...
1
vote
2answers
83 views

Mismatch version between installed package and executable version printing

I am facing an issue about mismatch between last updated package of PHP and what is actually run. Recently I have updated my Ubuntu server by running: apt-get update && apt-get upgrade On ...
0
votes
1answer
21 views

Debian Security Repos missing an OpenSSL Package

I tried to build a Docker image and found that an OpenSSL related package is missing and apt is unable to correct the issue. This results in the image being unable to build. It seems like this is an ...
-1
votes
2answers
2k views

How to fix broken packages on Ubuntu

I have a Ubuntu 18.10 server, and recently tried to update git. I keep getting errors that a number of packages are not properly installed. Errors were encountered while processing: libpaper1:amd64 ...
0
votes
2answers
325 views

Get more information from apt-get if it reports an “impossible situation”

For example, in https://travis-ci.org/mysql-d/mysql-native/jobs/592298238: $ PACKAGES='mariadb-server-10.1' <...> $ sudo apt-get install -y -o Dpkg::Options::='--force-confnew' $PACKAGES ...
0
votes
1answer
67 views

Run apt-get upgrade -s in container and expect same result as when running on the host

I would like to prepare the environment for a Docker container such that when apt-get upgrade -s runs inside the container its result is the same as if the command were run outside on the host. This ...
1
vote
1answer
44 views

Configuration of self-made .deb package

I'm trying to make my own debian package to deploy some scripts. I need some parameters from the user, I'm gathering them using debconf. So I made a DEBIAN subfolder, and put control, templates and ...
1
vote
1answer
4k views

Avoid apt-utils warning in Debian Dockerfile

When making Docker builds like this: FROM debian:buster RUN apt-get update && apt-get -y --no-install-recommends install \ build-essential \ && rm -rf /var/lib/apt/lists/* I ...
2
votes
1answer
58 views

Install packages that create home directory on automounted Linux servers

When installing certain packages, for example gitlab-runner, a directory needs to be created in /home/. If the home directories are automounted on NFS, then installation will fail. $ sudo apt ...
1
vote
1answer
1k views

How to install the brotli nginx module properly on debian

I'm trying to setup brotly compression on a nginx/1.10.3 server running on Debian 9.5 Stretch / Linux 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u5 (on a lightsail instance). I used the following ...
0
votes
1answer
138 views

Proxy apt get to https fails

I have a Proxy server setup for multiple Ubunut hosts to access apt repositories using tiny proxy. I am trying to add a RabbitMQ host to get it's update from the same proxy but get the following ...

1
2 3 4 5
21