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

Bug#37999: du -S'ing the archive (was: Re: weekly policy summary)



> A pre-install required space checking mechanism for Debian packages
> (#37999)
>   * Old.
>   * Proposed on 19 May 1999 by Manoj Srivastava.
>   * The idea is to enable tools like apt to check if a set of packages
>     will fit on a disk, taking various partitions into account. This
>     will require adding something like the output of du to the package
>     or to the Packages file or to a new file that can be downloaded.
>     The details are still being hashed out.

Since Manoj explicitly hasn't called for seconds, I won't second this,
but I still think it's a good idea.

The discussion in the bug report seems to have reached the conclusion
that this can be handled simply by modifications to dinstall and apt
(or other dselect methods as applicable): that is, to have dinstall
generate a DiskUsage.gz file along with Packages.gz or some such and
have apt handle it, without any modification to any existing packages,
and hence policy. As such, perhaps this should be reassigned as a wishlist
bug against ftp.debian.org and apt?

Manoj, Richard? Does this seem reasonable?

Cheers,
aj

-- 
Anthony Towns <aj@humbug.org.au> <http://azure.humbug.org.au/~aj/>
I don't speak for anyone save myself. PGP encrypted mail preferred.

 ``The thing is: trying to be too generic is EVIL. It's stupid, it 
        results in slower code, and it results in more bugs.''
                                        -- Linus Torvalds

Attachment: pgpYMD18XfCDf.pgp
Description: PGP signature


Reply to: