[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#436028: apt: At least provide better error messages if not increasing Cache-limit default



Package: apt
Version: 0.7.6
Followup-For: Bug #436028


I also had to increase my Cache-limit and did not find the error 
messages helpful. Warning messages when running apt/aptitude on the 
cache size reaching Cache-limit would be helpful, as well as the 
suggestion to increase the Cache-limit when apt/aptitude fails due to 
Cache-limit being too small.

Best of all would be to make it completely dynamic so that users don't 
have to bother with Cache-limit at all.

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "0";
APT::Install-Suggests "0";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::Cache-Limit "33000000";
APT::Acquire "";
APT::Acquire::Translation "environment";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi";

-- (no /etc/apt/preferences present) --


-- /etc/apt/sources.list --

#deb file:/var/cache/debian-builder/ deb/
# deb ftp://mirror.internode.on.net/debian/ sarge main  
# deb-src ftp://mirror.internode.on.net/debian/ sarge main  

# Debian Experimental
#deb http://ftp.at.debian.org/debian experimental main non-free contrib
#deb-src http://ftp.at.debian.org/debian experimental main non-free contrib

deb-src ftp://ftp.at.debian.org/debian/ stable main contrib non-free
deb ftp://ftp.at.debian.org/debian/ stable main contrib non-free  
#deb ftp://mirror.internode.on.net/debian/ testing main contrib non-free  
deb ftp://ftp.at.debian.org/debian/ testing main contrib non-free 
#deb ftp://mirror.internode.on.net/debian/ unstable main contrib non-free 
deb ftp://ftp.de.debian.org/debian/ unstable main contrib non-free 
#deb ftp://mirror.aarnet.edu.au/debian/ unstable main contrib non-free 
#deb-src ftp://mirror.internode.on.net/debian/ testing main contrib non-free
deb-src ftp://ftp.at.debian.org/debian/ testing main contrib non-free
#deb-src ftp://mirror.internode.on.net/debian/ unstable main contrib non-free
deb-src ftp://ftp.at.debian.org/debian/ unstable main contrib non-free

#deb         http://debian.scribus.net/debian/ unstable main non-free contrib
#deb-src     http://debian.scribus.net/debian/ unstable main non-free contrib
#deb http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free
#deb http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
#deb-src http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free
#deb-src http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
#deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
#deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free

deb http://security.debian.org/ stable/updates main 
deb http://security.debian.org/ testing/updates main 

#deb ftp://mirror.aarnet.edu.au/pub/java-linux/debian testing non-free
#deb ftp://ftp.tux.org/pub/java/debian testing non-free
#deb ftp://ftp.tux.org/java/debian/ stable non-free
#deb http://mirror.eepis-its.edu/debian-java/ testing main non-free
#deb http://mirror.eepis-its.edu/debian-java/ unstable main non-free
#deb ftp://mirror.aarnet.edu.au/pub/java-linux/debian unstable non-free
#deb ftp://ftp.tux.org/pub/java/debian unstable non-free
#deb http://wine.sourceforge.net/apt/ binary/
#deb-src http://wine.sourceforge.net/apt/ source/
#deb http://wine.budgetdedicated.com/apt etch main
#deb-src http://wine.budgetdedicated.com/apt etch main
#deb http://debian.cihar.com/ unstable gammu
#deb ftp://ftp.nerim.net/debian-marillat/ sid main
deb http://www.debian-multimedia.org sid main
deb-src http://www.debian-multimedia.org sid main

#deb http://www.kiberpipa.org/~minmax/cinelerra/builds/sid/ ./
#For Pentium4 processors:
#deb http://www.kiberpipa.org/~minmax/cinelerra/builds/pentium4/ ./
#For Athlon processors:
#deb http://www.kiberpipa.org/~minmax/cinelerra/builds/athlonxp/ ./
#deb-src http://www.kiberpipa.org/~minmax/cinelerra/builds/sid/ ./

deb http://www.debian-multimedia.org dists/sid/main/binary-i386/
deb-src http://www.debian-multimedia.org dists/sid/main/source/
#deb http://files.bdew.yi.org/debian/ unstable bdew
deb http://husky.sourceforge.net/debian stable main 
deb http://husky.sourceforge.net/debian testing main 
deb http://husky.sourceforge.net/debian unstable main 
deb-src http://husky.sourceforge.net/debian stable main
deb-src http://husky.sourceforge.net/debian testing main
deb-src http://husky.sourceforge.net/debian unstable main
#deb http://www.janw.dommel.be/feddy/ i386/
#deb	http://www.lxtec.de/debarchiv	unstable main 
#deb-src	http://www.lxtec.de/debarchiv	unstable main
deb http://kernel-archive.buildserver.net/debian-kernel trunk main
deb-src http://kernel-archive.buildserver.net/debian-kernel trunk main

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.23-rc5 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt depends on:
ii  debian-archive-keyring        2007.07.31 GnuPG archive keys of the Debian a
ii  libc6                         2.6.1-5    GNU C Library: Shared libraries
ii  libgcc1                       1:4.2.1-5  GCC support library
ii  libstdc++6                    4.2.1-5    The GNU Standard C++ Library v3

apt recommends no packages.

-- debconf-show failed




Reply to: