On Tue, 2 Sep 1997, James D. Freels wrote: > I have a couple of GNU/Debian machines I use strictly as print > servers. It would be best with these machines to preserve as > much disk space in order to maximize spool area. They are already > configured with minimal packages and work fine. I am now > investigating ways to minimize disk space even more. What I realized > just now is that I don't need about 10Mb of /usr/doc files (I can > always examine /usr/doc on another machine). > > Is there a way to cleanly not install a packages' /usr/doc files? I > could just 'rm -rf /usr/doc/*', but when I update or remove a package, > I'm sure I would get a postinst error and may not be successful.
I'm sure you would get errors because dpkg would detect that the package couldn't be cleanly removed (see the *.list files in /var/lib/dpkg/info). Deity has this in it's proposal (should be in debian 2.0 sometime this winter). http://www.verisim.com/~behanw/deity/deity-ui_0.10.html See: 1.8 Local Policies File If this is urgent, you could try to make all the files lenght 0. This should involved a find /usr/doc -print and an echo </dev/null >filename. Note, I have not tested this, so I would suggest making a backup first. Brandon ----- Brandon Mitchell E-mail: [EMAIL PROTECTED] Homepage: http://www.geocities.com/SiliconValley/7877/home.html PGP: finger -l [EMAIL PROTECTED] "We all know Linux is great...it does infinite loops in 5 seconds." --Linus Torvalds -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .