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.

1156 questions
12
votes
1 answer

GPG error; The following signatures were invalid KEYEXPIRED

sudo apt-get update get this error: W: GPG error: http://debian.datastax.com stable Release: The following signatures were invalid: KEYEXPIRED 1439480363 KEYEXPIRED 1439480363 KEYEXPIRED 1439480363 even after use --fix-missing, still have the same…
Zhang LongQI
  • 511
  • 1
  • 4
  • 10
9
votes
1 answer

how to get the list of packages present in apt-get autoremove

I know I have some packages ready to be removed if I run apt-get autoremove, but I just want to know which they are, without removing them. How can I list what would be removed without removing them? Alternatively, how can I run the above command…
6
votes
0 answers

Prefer a local mirror without changing /etc/apt/sources.list?

We have local mirrors for Ubuntu (Debian) at http://ubuntu.wikimedia.org/ubuntu/ (https://mirrors.wikimedia.org/debian/). I want to configure clients to prefer downloading/only download packages from these mirrors instead of…
3
votes
1 answer

apt-get upgrade to exclude some updates

I want to exclude some package(s) when choosing to apt-get upgrade. I'm thinking an edit to source.list probably? For example, maybe a package that updates often with minor point releases, or minor issues to attend to manually first. I'm thinking…
Poe
  • 321
2
votes
1 answer

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

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 have to cntrl-C out of it, manually kill the…
2
votes
1 answer

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, and provide answers automatically? (Context: I'm…
Andrew
  • 1,174
2
votes
1 answer

How to set Proxy configuration?

Below are the instruction I have to follow for setting up cloudera. I am confused about the below on ubuntu 12.04. On Debian/Ubuntu systems, add the following property to /etc/apt/apt.conf: Acquire::http::Proxy "http://server:port/"; Here is the…
Tampa
  • 336
2
votes
1 answer

How to deal with custom repositories and apt-mirror?

We're running an internal debian package mirror via apt-mirror and this is working fine for the official debian package repositories. However, now I would like to add custom repositories which apt-mirror should monitor and keep up to date with. The…
John B
  • 165
2
votes
1 answer

Apt-get gives HTTP 403

I've been given access to a server that no one uses... I've stated previously we are a research group that has no SA, therefore we blindly manage the servers ourselves... generally we break them or do something stupid. So to the latest problem...…
steve
  • 535
2
votes
4 answers

apt-get : Size mismatch

I created a private deb repository to spread a software and it's updates to 600 Ubuntu netbooks. Each time the network is connected, my script try to do a apt-get update. But sometimes (quite often in fact), I have this : Failed to fetch…
1
vote
2 answers

How do you set additional fields in the release file with apt-ftparchive?

The manpage for apt-ftparchive reads: release The release command generates a Release file from a directory tree. It recursively searches the given directory for uncompressed and compressed Packages, Sources, Contents, Components…
fadedbee
  • 2,098
1
vote
1 answer

Percona Server keeps throwing errors on Ubuntu, but i cant remove it

I attempted to install percona's tools on ubuntu and had issues. I abandoned the idea of using it. Now upon removal it keeps kicking this error: The following packages will be REMOVED: percona-release 0 upgraded, 0 newly installed, 1 to remove and…
Nick
  • 127
1
vote
1 answer

Installing APT packages to versioned directories

Is it possible to get APT to install different versions of a packages to different versioned directories? Like: /usr/share/tomcat-7.0.64 /usr/share/tomcat-7.0.65 /usr/share/tomcat-8.0.29 /usr/share/tomcat-8.0.30 And just create the following…
XDR
  • 113
1
vote
2 answers

How to create a local apt package proxy?

I'm deploying many many clusters on AWS. In order to ensure uninterrupted deployment of new instances, I'd like to maintain a local apt proxy that keeps a cache of packages. I should be able sync ALL the installed apt packages of a successfully…
user14645
  • 1,690
  • 2
  • 15
  • 17
1
vote
1 answer

`apt remove` everything except nginx, its dependencies and packages vital to running the system

I have an Ubuntu server with the default package list installed. I'd like to uninstall everything that isn’t nginx, its dependencies, and any other packages required to boot to a tty and run nginx. Is there a way to do this without manually…
Max Howell
  • 536
  • 4
  • 6
1
2