Bug#77129: Apt Doesn't Handle Disk Space Intelligently
>>>>> On Wed, 15 Nov 2000 12:40:23 -0800, Ruchira Datta <datta@math.berkeley.edu> said:
Ruchira> Package: apt Version: 0.3.19
Ruchira> I have Debian 2.2. When I tried to install 2.2r1 through
Ruchira> dselect (with the apt backend), it successfully downloaded
Ruchira> all the packages, but while installing them it failed and
Ruchira> exited messily because it had filled up the entire /var
Ruchira> partition. Apt should be intelligent and not bite off more
Ruchira> than it can chew.
Ruchira> I realize that not everyone has the same partitioning
Ruchira> scheme. However, I think most packages install files in
Ruchira> /usr, /var, /lib, /etc, /bin, and /sbin. (Maybe Debian
Ruchira> policy dictates something like this.) I think it would be
Ruchira> pretty unusual for someone to split any of those directories
Ruchira> across partitions, except maybe /usr--there's /usr/local,
Ruchira> but official packages don't install there anyway. I think
Ruchira> the Installed-Size statistic should be broken down into the
Ruchira> portions in each of these directories, and apt should
Ruchira> calculate whether it has room before trying to download and
Ruchira> install packages.
It doesn't matter if the sizes are split up or not. Packages are free
to create new files anywhere during installation, and that's
especially true for /var. What you ask for is horribly complex and
has very little payback.
Jim
--
@James LewisMoss <dres@debian.org> | Blessed Be!
@ http://jimdres.home.mindspring.com | Linux is kewl!
@"Argue for your limitations and sure enough, they're yours." Bach
Reply to: