apt-cache provides operations to search and generate interesting output from the package metadata of the APT package management system. APT is the standard software package management system for Debian and its derivatives.
Questions tagged [apt-cache]
11 questions
5
votes
1 answer
How to run apt-cacher-ng behind a proxy?
I can not find, in the apt-cacher-ng documentation, how to configure the proxy settings.
Is it possible to run apt-cacher-ng behind a proxy? How?
blueFast
- 2,656
- 9
- 31
- 44
5
votes
0 answers
Debian: find repository from which a package has been installed
On a legacy Debian machine with plenty of differents sources repositories in /etc/apt/sources.list.d/, I want to find, for every installed package, from which repo it has been installed.
I want to script the output of apt-cache policy, but before I…
dbourcet
- 151
- 3
2
votes
1 answer
Is apt-cacher-ng ready for multiplatform support?
I have a Wandboard running Debian Jessie at home (it's an ARM Cortex-A9). A 3TB HD is attached to it. It's mainly my NAS + Remote Access, but I would like to use it as a caching mirror for apt. (I've 5 other PCs (x86) running Linux at home, and…
Cristiano Araujo
- 123
- 4
1
vote
1 answer
Finding base packages with APT?
This has been bugging me for a while now. If I want to install the xfce desktop environment for example, I can use apt-cache search xfce - but this gives me 500 results, when all im looking for is the base package, not secondary packages for the…
Fyyz
- 13
- 2
1
vote
1 answer
How to configure apt-cacher for ftp
A few days ago i set up an apt-cache server. The clients are configured to use it as a proxy. This is necessary because we usually use ftp (and i also feals "cleaner"). So my apt.conf looks like this:
Acquire::http::Proxy "http://my.cache:3142"; #…
Kritzefitz
- 215
- 1
- 4
- 12
1
vote
0 answers
How to use apt-cache server in ubuntu 12.04?
I have tried this Apt-cache server on ubuntu 10.10, and it worked.
But, now i'm using ubuntu 12.04 and all tutorial inside that page not working for me :
Ign http://136.198.117.4 precise/main Translation-en
W: Failed to fetch…
klox
- 531
- 4
- 9
- 16
1
vote
0 answers
apt fails for debian jessie when going via apt-cacher-ng
When using a direct connection:
root@cc90861af3e4:/etc/apt/apt.conf.d# apt-get update
Hit http://security.debian.org jessie/updates InRelease
Ign http://deb.debian.org jessie InRelease
Hit http://deb.debian.org jessie-updates…
blueFast
- 2,656
- 9
- 31
- 44
0
votes
1 answer
Debian: escape spaces in APT pin
I'm running Debian Wheezy on a Raspberry Pi and want to have both the Raspbian repo at http://mirrordirector.raspbian.org/raspbian/ (for the OS) and the RPi Foundation repo at http://archive.raspberrypi.org/debian/ (for the kernel and the…
user1933738
- 186
- 2
0
votes
2 answers
How to get codename ("wheezy" or "sid") of a package version?
apt-cache show shows various versions of the package
# apt-cache show libc6:i386
Package: libc6
Version: 2.17-97
Architecture: i386
...
Package: libc6
Status: install ok installed
Version: 2.17-7
Architecture: i386
Multi-Arch: same
...
Package:…
Vi.
- 16,755
- 32
- 111
- 189
0
votes
1 answer
Listing packages in a repositiory?
I'm working on Ubuntu 12.04 Server. I want to install OpenStack, so I enabled the Cloud Archive repo:
sudo add-apt-repository cloud-archive:havana
After the subsequent update and upgrade, I noticed python-crypto changed. python-crypto recently…
jww
- 11,918
- 44
- 119
- 208
0
votes
1 answer
what packages does an `apt` source.list provide?
Is there a way to tell what packages are provided by an /etc/apt/sources.list* entry?
I see that apt-cache policy '*' lists all packages provided by all sources, which could be parsed, but that's... humongous. I suppose one could also look in…
usretc
- 207
- 1
- 6