Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
14 views

apt-get reinstall requires removal of essential packages

I did a dist-upgrade from debian 8 to debian 9. Now I need to reinstall xserver-xorg-core. But in doing so, apt-get wants to remove 'init'. # apt-get install --reinstall xserver-xorg-core Reading ...
1
vote
1answer
46 views

Fix packages in broken state when /boot is full

I noticed that my /boot partition is full (it has only 485M) and apt failed since it cannot install new kernel. When I do apt -f install it fails, when I try to remove one kernel via apt or dpkg it ...
0
votes
0answers
14 views

Will apt-get upgrade my system to a new debian version/Codename given the current sources.list*?

Assuming "somebody" could have modified /etc/sources.list.* somehow and could be using mirrors (e.g. made with the superb aptly), can I determine what debian release the current sources.list files are ...
1
vote
0answers
78 views

ZFS not installed into upgraded kernel (4.19)

I want to use the latest kernel (currently 4.19) with Ubuntu Server 18.04, and I also want to use ZFS. Although ZFS appears to install correctly, it apparently does not get installed into the right ...
1
vote
0answers
24 views

Multi VPS: Best practice for semi-automated upgrades?

I've got many virtual private servers, each needing some apt-get upgrade -y lovin' from time to time. (Ubuntu 18.04) Problems I face: I don't have time to upgrade each one manually. I don't want to ...
0
votes
0answers
20 views

Debian Jessie : locales / unmet dependencies

So I've got a VPS and, to be totally honest I have to admit, at some point I did a mess with apt sources and packages. :) Now I'm trying to get a clean system, almost there, but I still have a little ...
0
votes
1answer
58 views

How to fix “Setting up grub-pc” freezing during apt-get upgrade?

I have a packer script that builds up a virtual image using Ubuntu. The script today started getting stuck during apt-get dist-upgrade on amazon-ebs: Setting up grub-pc. I found many people on the ...
1
vote
1answer
57 views

“apt-get update” with new added repo is working but packages are not found when trying to install

I'm trying to install GitLab on a virtual machine running Debian Jessie. I have added the GitLab repo by running: curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh |...
0
votes
0answers
17 views

apt version vs mongo version mismatch

Any idea why apt reports one version (4.0.x), and mongod another (3.x)? user@machine:/usr/bin$ sudo apt-cache policy mongodb-org mongodb-org: Installed: 4.0.2 Candidate: 4.0.3 Version table: ...
0
votes
1answer
229 views

Problematic apt-get update due to missing gpg keys

I accidentally deleted some Debian gpg keys when testing out apt-key del. (I don't remember which key) I have redownloaded the deb package and extracted the gpg keys. Then I used apt-key add to add ...
0
votes
1answer
23 views

installing vsftpd gives error on mkdir /srv/ftp

I understand that the vsftpd creates a default directory at /srv/ftp/. However, on this particular server the directory /srv/ is not writable. $ sudo apt-get install vsftpd Reading package lists... ...
0
votes
0answers
23 views

Privoxy gives apt-get error 403 due to unsigned repositories

so I installed Kali linux (persistent) and after that I installed Tor and Privoxy. Evetyrhing worked fine until I tried apt-get update! I've been struggling with this issue since last night and ...
0
votes
1answer
12 views

apt-get update pulls package dependencies that aren't defined in sources.list

When I call sudo apt-get update, I get an error that is backing up my ansible script. $ sudo apt-get update Ign:2 http://mirror.local.url.uk/debian stretch InRelease Hit:3 http://mirror.local.url.uk/...
0
votes
1answer
224 views

Ubuntu versions and using apt-get for SNMP mib downloader

I am running Ubuntu 16.04.5 LTS, which I believe slightly pre-dates a fix to some issues with the SNMP MIBs installed by the snmp-mibs-downloader. I'm trying to understand whether I can use apt-get to ...
0
votes
1answer
170 views

Issues with apt-get update

I have a digitalocean cloud server (Ubuntu 16.04) that I have setup my ufw on. When I try to run apt-get update, I get the following: Err:1 http://mirrors.digitalocean.com/ubuntu xenial InRelease ...
0
votes
0answers
43 views

Debian buster repo in Ubuntu 16.04.5 LTS

I recently updated a Ubuntu 16.04 instance to 16.04.5. With an 'apt update' some days later suddenly 366 packages to update and 125 newly to install appeared. Obviously sources.list was appended ...
0
votes
1answer
69 views

unable to update systemd from 232-25+deb9u2 to 232-25+deb9u4 on raspbian device

My real goal is to run systemd-journal-remote so I can send logs from this device to the remote journal sink. apt-get update/upgrade show no packages needing upgrades $ sudo apt-get install systemd-...
0
votes
1answer
24 views

ubuntu 14.04 node porridge

I have two versions of nodejs on my machine. I had only v8.6.0. I ran: sudo apt-add-repository "deb https://deb.nodesource.com/node_8.x $(lsb_release -sc) main" sudo apt-get update sudo apt-get ...
0
votes
1answer
21 views

Aptly publish asking for password although --passphrase flag is set

I unsuccessfully try publishing an APTLY snapshot (about 80GB) using aptly publish snapshot --batch=true --passphrase="SuperSecretPassWord" --distribution="mydistro" current-snapshot After about 15 ...
0
votes
1answer
11 views

APT pinning/apt -t myreleasehere: how do I tell apt to use the information provided in -t when installing dependencies?

as title. I am installing something from a 3rd party repo and apt wants to use the the dependency that's available in the default repo instead of the higher version dependency that's available in the ...
1
vote
0answers
13 views

Apt pinning returns error message about package headers

I have a server running Debian Stretch that I need to install PHP 7.1 on, which isn't available in the default repositories of Stretch, but in Testing aka Buster. I tried to use apt pinning to add the ...
0
votes
1answer
46 views

Upgrading from Debian 8 (Jessie) to 9 (Stretch)

I am in the process of updating my Debian 8 (Jessie) machine to Debian 9 (Stretch) Current kernel version is : # uname -a Linux host 4.9.0-0.bpo.6-amd64 #1 SMP Debian 4.9.88-1+deb9u1~bpo8+1 (2018-05-...
0
votes
1answer
15 views

jessie-backports-sloppy/ejabberd depends on jessie-backports packages how to solve

We have a debian jessie installation and we are trying to install a the package jessie-backports-sloppy/ejabberd with # apt-get -t jessie-backports-sloppy install ejabberd Reading package lists... ...
0
votes
0answers
18 views

Why Icinga2 remote apt check is displaying results from master?

I've a icinga2 installation monitoring some debian hosts using native agent. All checks are working fine except apt. The results displayed are taken from the icinga2 master machine and I can't ...
0
votes
1answer
484 views

ansible [WARNING]: Ignoring invalid attribute: update_cache

I'm not sure why I'm getting this warning. I've already checked the apt module and it says: update_cache bool Choices: no ← yes Run the equivalent of apt-get update before the operation. Can be run ...
0
votes
1answer
20 views

apt-get (Debian 9) openssh-server package keeps prompting for config file options - ignoring options? [duplicate]

I am trying to do non-interactive upgrades. It seems to works until I get to the openssh-server package. openssh-server pops up an interactive prompt which doesn't even work. It is "frozen" and I ...
0
votes
1answer
95 views

How to migrate from Jenkins week Ubuntu package to LTS?

I'm currently running the Jenkins weekly Ubuntu package from https://jenkins.io/download/ on Ubuntu 14.04. Specifically I'm on Jenkins 2.138 (the latest) from https://pkg.jenkins.io/debian/. I'd like ...
0
votes
0answers
31 views

SFTP method in APT sources.list

I am serving a private Debian package repository via SFTP to handle Access for users. Now on the client side I would like to do: deb sftp://user@host: ... But there is no SFTP method available only ...
0
votes
1answer
51 views

How to get current Debian/Ubuntu version name in a Bash script

How to get in a Bash script the simple lowercase name of the current Debian or Ubuntu release, e.g. stretch, jessie, xenial, artful?
1
vote
1answer
265 views

apt-get install packages matching wildcards

I am running Debian 8 Jessie, trying to install PHP command line intepreter from a shell script. Here is what I do: sudo apt-get install php-cli it tells me there is no php-cli. I do find there is ...
0
votes
1answer
176 views

Unattended-Upgrades override Allowed-Origins

I am trying to set the Unattended-Upgrade::Allowed-Origins so that it only is allowed for security updates. I would like to do this in a later config in the apt.conf.d leaving the default 50unattended-...
0
votes
1answer
32 views

How do I answer apt installation questions non-interactively?

Some packages ask configuration questions when installed with apt-get. That makes life awkward when I want to install something non-interactively. How do I find out what questions a package will ask, ...
0
votes
2answers
633 views

Unable to connect to oracle for java8

I've been working with setting up a few servers over the past week using Ansible. Everything has been humming along fine until today a couple of hours ago the java8 playbook I had been using quit ...
0
votes
1answer
357 views

How can I install nagios-plugins-extra on Ubuntu 18.04?

I have servers running on Ubuntu 14.10 and have started upgrading them to 18.04. However, my installation playbooks (Ansible) are failing on the apt install of nagios-plugins-extra. I looked for this ...
0
votes
0answers
181 views

Installing NVIDIA driver without opengl

I have installed CUDA(from runfile) on a workstation(ubuntu 16.04) with dual GPUs where Radeon is used for display, Nvidia is for computations only. I installed Nvidia runfile in following way ./...
0
votes
1answer
274 views

Ubuntu 18.04 - Install packaged roundcube with nginx instead of apache2

under Ubuntu 18.04, I'd like to install the provided packaged version of RoundCube using nginx instead of apache2; nginx is already installed and running with php7.2-fpm so I don't need another ...
0
votes
1answer
138 views

Updating to openssl 1.0.1 or greater on a very old Ubuntu 8.04.3 LTS box

I have to make sure an old rails 2.3.5 application can support TLS 1.2. The server currently has openssl 0.9.8 installed, and I understand my first task would be to update openssl to > 1.0.1 The ...
0
votes
1answer
128 views

unattended-upgrades doesn't find any upgrade despite correct Allowed Origins

I'm running a server under Ubuntu 16.04 and am trying to find a way to manually launch all the available security upgrades when I want to. I found numerous posts about unattended-upgrades, however it ...
0
votes
0answers
106 views

how to add gpg key in apt-cacher

I have apt-cacher server running well on Ubuntu. For example, to download packages, users have this line (among similar) in source.list.d: deb http://my-apt.local:3142/jp.archive.ubuntu.com/ubuntu ...
0
votes
1answer
485 views

Updating php7.0 to 7.2 dependencie issue

I have a Problem with installing php. On my Testserver I wanted to update php7.0 to php7.2. It worked nicely, then I switched to my production server and made the same stepts. First I could not ...
1
vote
0answers
176 views

apt-get update reports several gpg errors

On ubuntu 16.04, running sudo apt-get update reports several GPG errors. Such as, W: GPG error: http://security.ubuntu.com/ubuntu xenial-security InRelease: At least one invalid signature was ...
2
votes
0answers
327 views

Ansbile playbook to apply only security updates with apt module

I have a subset of servers that are running Ubuntu and I am trying to create a playbook that will only apply security updates to them. I am aware that unattended-upgrades will do this for me, but I ...
-1
votes
1answer
131 views

`sudo apt-get -f install` fails everytime [closed]

This command sudo apt-get -f install fails every time I try to run it.
0
votes
0answers
96 views

Debian APT Pinning: Finding all dependencies and setting the right priorities

I would like to stick to Debian Stable and install some software from Testing (certbot, nginx, clamav). This somehow works with the preferences file (see below). How do I find all dependencies per ...
1
vote
1answer
72 views

Download all package versions with aptly

How can we download all versions of a package when mirroring ? An example is the scsi-modules which can be found here: http://archive.ubuntu.com/ubuntu/pool/main/l/linux/ i need them all mirrored yet ...
0
votes
1answer
46 views

Is there any reason apt-get upgrade would install new packages?

I recently ran apt-get update on a server, and the output suggested it was installing a bunch of new packages. What could be the reason for this? Should I be worried? Reading package lists... ...
2
votes
1answer
121 views

apt-get purge doesn't work with cron

I'm seeing some strange behavior with a script getting executed by cron and I'm not really sure what's happening. The script just looks like it is going to remove the package but then just hangs at ...
0
votes
0answers
109 views

How to suppress warnings when adding `rsync` to Docker container?

I get the following warnings when adding rsync to my Docker container. Setting up rsync (3.1.0-2ubuntu0.4) ... Removing any system startup links for /etc/init.d/rsync ... update-rc.d: warning: ...
0
votes
1answer
48 views

Are apt-cache depends/rdepends always inverse

Does it make sense that apt-cache depends/rdepends are not always inverse to each other? For instance, I have a host where apt-cache rdepends liblognorm1 lists these reverse dependencies: rsyslog ...
0
votes
1answer
21 views

chef-solo binary removed after chef upgrade, returns on reinstall

I'm setting up a server configuration for ubuntu trusty that must be compatible with our node configuration using chef-solo. This is in AWS EC2, and the base node is from the official ubuntu repo in ...