Bug#239690: apt: Disk free should add some space
Package: apt
Version: 0.5.24
Severity: minor
When checking for the space available to place the deb files in the
cache directory some extra space for writing other information should be
added. I suggest 10-20 MiB.
Then one could avoid situations like:
dpkg: failed to write status record about `ispell' to
`/var/lib/dpkg/status': No space left on device
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
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::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/sbin/dpkg-preconfigure --apt || true";
-- (no /etc/apt/preferences present) --
-- /etc/apt/sources.list --
deb ftp://sunsite.dk/mirrors/java-linux/debian/ unstable main non-free
#deb ftp://sunsite.dk/mirrors/java-linux/debian/ testing main non-free
#deb http://ftp.se.debian.org/pub/debian/ stable main non-free contrib
#deb http://ftp.se.debian.org/pub/debian/ testing main non-free contrib
deb http://ftp.se.debian.org/pub/debian/ unstable main non-free contrib
#deb-src http://ftp.se.debian.org/pub/debian/ testing main non-free contrib
#deb-src http://ftp.se.debian.org/pub/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 http://security.debian.org/ stable/updates main contrib non-free
#deb http://security.debian.org/ woody/updates main contrib non-free
deb http://www.debianplanet.org/mono unstable main
# deb-src http://www.debianplanet.org/mono unstable main
# deb http://people.debian.org/~branden/ sid/$(ARCH)/
# deb http://www.phy.olemiss.edu/xsf i386/
# deb http://verbum.org/~walters/debian/ local/$(ARCH)/
deb http://dijkstra.csh.rit.edu:8088/~mdz/debian/ woody lame
deb ftp://ftp.sunsite.dk/mirrors/java-linux/debian/ unstable main non-free
deb ftp://ftp.nerim.net/debian-marillat/ unstable main
deb http://people.debian.org/~njordan/unstable binary/
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.3-1-686
Locale: LANG=da_DK, LC_CTYPE=da_DK
Versions of packages apt depends on:
ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an
ii libgcc1 1:3.3.3-4 GCC support library
ii libstdc++5 1:3.3.3-4 The GNU Standard C++ Library v3
-- no debconf information
Reply to: