Re: Split all documentation into their own packages

2010-09-29 Thread Florian Rehnisch
* Gonsolo [100927 02:57]: > I own a web server with tight space (1GB). Over 300MB are in /usr, > over 25MB in /usr/share/doc. I'd like to remove all files in > /usr/share/doc but unfortunately it is not as easy as removing all > -doc packages. Things that take up space: -- files in /usr/share/do

Re: Split all documentation into their own packages

2010-09-27 Thread Dustin Kirkland
On Sun, Sep 26, 2010 at 5:57 PM, Gonsolo wrote: > I own a web server with tight space (1GB). Over 300MB are in /usr, > over 25MB in /usr/share/doc. I'd like to remove all files in > /usr/share/doc but unfortunately it is not as easy as removing all > -doc packages. > > Is it possible to set up a p

Re: Split all documentation into their own packages

2010-09-27 Thread Martin Pitt
Gonsolo [2010-09-27 16:26 +0200]: > Well, then you package system is destroyed/bewildered, isn't it? No, if you add these filters to /etc/dpkg/dpkg/conf.d/, the packaging system will be fine. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) |

Re: Split all documentation into their own packages

2010-09-27 Thread Gonsolo
>> You can do that relatively easily in Maverick thanks to a new dpkg >> feature: >> >>   https://wiki.ubuntu.com/ReducingDiskFootprint#Drop%20unnecessary%20files > > Wouldn't it be better/safer to use > >    find /usr/share/doc -depth -type f ! -name copyright -delete || true >    find /usr/share/

Re: Split all documentation into their own packages

2010-09-27 Thread Marius Gedminas
On Mon, Sep 27, 2010 at 09:50:03AM +0200, Martin Pitt wrote: > Hello Gonsole, > > Gonsolo [2010-09-27 2:57 +0200]: > > I own a web server with tight space (1GB). Over 300MB are in /usr, > > over 25MB in /usr/share/doc. I'd like to remove all files in > > /usr/share/doc but unfortunately it is not

Re: Split all documentation into their own packages

2010-09-27 Thread Martin Pitt
Hello Gonsole, Gonsolo [2010-09-27 2:57 +0200]: > I own a web server with tight space (1GB). Over 300MB are in /usr, > over 25MB in /usr/share/doc. I'd like to remove all files in > /usr/share/doc but unfortunately it is not as easy as removing all > -doc packages. You can do that relatively eas

Re: Split all documentation into their own packages

2010-09-26 Thread Greg
On Mon, Sep 27, 2010 at 1:42 AM, YunQiang Su wrote: > For Debian based system,there is no way. > > there are files required by debian policy, such as copyright changelog > ,etc. > > If you have such tight space, maybe ubuntu is not fit to you. > > I don't think this is what he means. I think he'

Re: Split all documentation into their own packages

2010-09-26 Thread Greg
On Sun, Sep 26, 2010 at 8:57 PM, Gonsolo wrote: > I own a web server with tight space (1GB). Over 300MB are in /usr, > over 25MB in /usr/share/doc. I'd like to remove all files in > /usr/share/doc but unfortunately it is not as easy as removing all > -doc packages. > > Is it possible to set up a

Split all documentation into their own packages

2010-09-26 Thread Gonsolo
I own a web server with tight space (1GB). Over 300MB are in /usr, over 25MB in /usr/share/doc. I'd like to remove all files in /usr/share/doc but unfortunately it is not as easy as removing all -doc packages. Is it possible to set up a policy that all packages that have files in /usr/share/doc sh