Manual for apt

Ralf Mardorf silver.bullet at zoho.com
Sat Sep 3 08:01:45 UTC 2016


Hi,

where do I find an English and a German manual for apt?

Packages installed by either apt "full-upgrade" or "install", e.g.

  # apt -o APT::Color="0" full-upgrade
  # apt install alpine-pico

are not stored in /var/cache/apt/archives/.
As wanted apt-get "dist-upgrade" and "install" stores the packages in
the cache.

Some apt-get options seem to be available for apt, too, e.g.

  # apt-get --fix-broken install
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done

  # apt --fix-broken install
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

When searching for desired information by

  # man apt
  # man apt.conf 
  # man apt-cache
  # man apt_preferences
  # man apt-config
  # man dpkg | grep cache
  # info apt | grep cache

etc. and searching the web, I neither get information about the real apt
defaults, nor what "-o" parameter to use, resp. what to add
to /etc/apt/apt.conf.d/, if I want apt "full-upgrade" and "install" to
store packages in the cache.

Important defaults and available options aren't mentioned at all.

Regards,
Ralf





More information about the ubuntu-users mailing list