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

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 cat /etc/os-release is PRETTY_NAME="Debian…
owenmelbz
  • 163
  • 3
  • 12
0
votes
0 answers

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 http://security.debian.org/ jessie/updates/main…
Looren
  • 21
  • 4
0
votes
1 answer

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 thing to my Ubuntu LTS installation? Or am I…
0
votes
0 answers

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 try the proxy 3 times and revert to the original target after the…
0
votes
2 answers

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 within a given time.) Right now, my script does the…
reinierpost
  • 412
  • 3
  • 9
0
votes
3 answers

Is it possible to use aptitude on a redhat machine?

We're having to manage a server for a client that is running RHEL 4. Is it possible to run aptitude on this server to install/manage packages?
Montana Harkin
  • 153
  • 1
  • 1
  • 6
0
votes
1 answer

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.7) over (3.4.3-1ubuntu1~14.04.6) ... dpkg: error…
RGI
  • 159
  • 2
  • 8
0
votes
1 answer

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 that could probably be adapted to do it. Just…
Server Fault
  • 3,714
  • 12
  • 54
  • 89
0
votes
1 answer

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 upgrade ----------------------- The username on all hosts is…
BETLOG
  • 3
  • 2
0
votes
1 answer

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: regarding apt_1.8.2.1_amd64.deb containing apt: apt…
Romeo Mihalcea
  • 522
  • 1
  • 9
  • 27
0
votes
1 answer

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 doing the trick the problem is that when apt…
ptheofan
  • 411
  • 1
  • 4
  • 6
0
votes
1 answer

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 duplicate vm, so I first made a snapshot of vm-1,…
0
votes
0 answers

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 glibc bug which made it so the libc6 package now has…
Linus
  • 103
  • 4
0
votes
1 answer

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 to keep your current version. *** bash.bashrc…
Alhevi
  • 1
0
votes
1 answer

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 knowing the inner working of Debian, I complied.…
Mikkel Rev
  • 147
  • 9