Bug#37999: PROPOSED]: A pre-install required space checking mechanism for Debian packages
Hi,
>>"Joey" == Joey Hess <joey@kitenet.net> writes:
Joey> Of course this does lead into one weakness in Manoj's proposal: since the
Joey> info is not in the Packages file, you must still download the whole set of
Joey> packages before you can be told if they'll all fit on your system.
No, we can add a byhand directive to the rules file that would
upload the .dus file separately to Master, where it can be used to
generate a master .dus file (one each for main, contrib, non-free
..., etc).
When we tested it a year ago, theis file was about
100k. (using gz; bzip2 may help ofset the increase in size of
the distribution)
So now apt just downloads this file (this can be optional)
along with the Packages file; and we know the size requirements
before downloading the package.
manoj
--
Where a calculator on the ENIAC is equpped with 18,000 vaccuum tubes
and weighs 30 tons, computers in the future may have only 1,000
vaccuum tubes and perhaps weigh 1 1/2 tons. Popular Mechanics, March
1949
Manoj Srivastava <srivasta@debian.org> <http://www.debian.org/%7Esrivasta/>
Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
Reply to: