Re: trimming down Fedora installed size

2014-05-16 Thread James Antill
On Fri, 2014-05-16 at 14:52 -0400, James Antill wrote: > yum fs refilter > > ...the former alters all the yumdb.ts_install_langs and > yumdb.tsflag_nodocs flags for the installed packages (without having to > do an actual reinstall), so that those packages are marked as having > their docs/langs fi

Re: trimming down Fedora installed size

2014-05-16 Thread James Antill
On Thu, 2014-05-15 at 18:14 -0700, Adam Williamson wrote: > On Thu, 2014-04-10 at 09:56 -0400, James Antill wrote: > > On Thu, 2014-04-10 at 10:42 +0300, Marius A wrote: > > > > > Wow, this is exactly what I was looking for. Thanks! > > > On Fedora 21, any way to apply these before installing to S

Re: trimming down Fedora installed size

2014-05-15 Thread Adam Williamson
On Thu, 2014-04-10 at 09:56 -0400, James Antill wrote: > On Thu, 2014-04-10 at 10:42 +0300, Marius A wrote: > > > Wow, this is exactly what I was looking for. Thanks! > > On Fedora 21, any way to apply these before installing to SDD from live usb > > image? e.g. open terminal, run fs filter's, the

Re: trimming down Fedora installed size

2014-04-12 Thread Andrew Price
On 11/04/14 21:54, Richard W.M. Jones wrote: On Thu, Apr 10, 2014 at 06:13:42PM +0100, Andrew Price wrote: On 10/04/14 17:05, Bill Nottingham wrote: James Antill (ja...@fedoraproject.org) said: Not that I assume splitting lanauges and docs. into sub packages would triple primary numbers, but

Re: trimming down Fedora installed size

2014-04-11 Thread Richard W.M. Jones
On Thu, Apr 10, 2014 at 06:13:42PM +0100, Andrew Price wrote: > On 10/04/14 17:05, Bill Nottingham wrote: > >James Antill (ja...@fedoraproject.org) said: > >> Not that I assume splitting lanauges and docs. into sub packages would > >>triple primary numbers, but if it did ... that would be bad. > >

Re: trimming down Fedora installed size

2014-04-11 Thread Florian Festi
On 04/10/2014 09:53 PM, James Antill wrote: > 20 | 38,561 | 38 G | 19M So there are 20MB of meta data that need to be downloaded once. This can hardly be a problem - even if the size tripled. > same thing for updates gives: > 18 | 18,606 | 20 G | 12M Ok, let this be another

Re: trimming down Fedora installed size

2014-04-10 Thread J. Randall Owens
On 04/09/2014 12:57 PM, James Antill wrote: > On Wed, 2014-04-09 at 12:37 +0300, Ville Skyttä wrote: >> On Wed, Apr 9, 2014 at 10:33 AM, Marius A wrote: >>> 1. remove /usr/share/docs >> >> Try this in /etc/rpm/macros.whatever: >> %_excludedocs 1 > > For recent yum it's significantly better t

Re: trimming down Fedora installed size

2014-04-10 Thread James Antill
On Thu, 2014-04-10 at 12:05 -0400, Bill Nottingham wrote: > James Antill (ja...@fedoraproject.org) said: > > Not that I assume splitting lanauges and docs. into sub packages would > > triple primary numbers, but if it did ... that would be bad. > > To put it in perspective, if we split out 'lang

Re: trimming down Fedora installed size

2014-04-10 Thread Basil Mohamed Gohar
On 04/10/2014 01:23 PM, Peter Oliver wrote: > On 9 April 2014 22:10, Florian Festi wrote: >> >> On 04/09/2014 08:42 PM, Bill Nottingham wrote: >>> Given the number of packages that ship localization, this seems like it >>> would have a pretty dramatic effect on metadata size. Is this a concern? >>

Re: trimming down Fedora installed size

2014-04-10 Thread Peter Oliver
On 9 April 2014 22:10, Florian Festi wrote: > > On 04/09/2014 08:42 PM, Bill Nottingham wrote: > > Given the number of packages that ship localization, this seems like it > > would have a pretty dramatic effect on metadata size. Is this a concern? > > Meta data is a concern. But the major part of

Re: trimming down Fedora installed size

2014-04-10 Thread Andrew Price
On 10/04/14 17:05, Bill Nottingham wrote: James Antill (ja...@fedoraproject.org) said: Not that I assume splitting lanauges and docs. into sub packages would triple primary numbers, but if it did ... that would be bad. To put it in perspective, if we split out 'langpacks' for apps per langua

Re: trimming down Fedora installed size

2014-04-10 Thread Bill Nottingham
James Antill (ja...@fedoraproject.org) said: > Not that I assume splitting lanauges and docs. into sub packages would > triple primary numbers, but if it did ... that would be bad. To put it in perspective, if we split out 'langpacks' for apps per language, something like gedit then grows *100*

Re: trimming down Fedora installed size

2014-04-10 Thread James Antill
On Wed, 2014-04-09 at 23:10 +0200, Florian Festi wrote: > On 04/09/2014 08:42 PM, Bill Nottingham wrote: > > Given the number of packages that ship localization, this seems like it > > would have a pretty dramatic effect on metadata size. Is this a concern? > > Meta data is a concern. But the majo

Re: trimming down Fedora installed size

2014-04-10 Thread James Antill
On Thu, 2014-04-10 at 10:42 +0300, Marius A wrote: > Wow, this is exactly what I was looking for. Thanks! > On Fedora 21, any way to apply these before installing to SDD from live usb > image? e.g. open terminal, run fs filter's, then start the install? So the way "yum fs filter" works is to cha

Re: trimming down Fedora installed size

2014-04-10 Thread James Antill
On Wed, 2014-04-09 at 16:41 -0400, Matthew Miller wrote: > On Wed, Apr 09, 2014 at 03:57:27PM -0400, James Antill wrote: > > For recent yum it's significantly better to do: > > yum fs filter nodocs > > Dito. to get rid of extra languages by: > > yum fs filter langs en > > ...then you can yum fs r

Re: trimming down Fedora installed size

2014-04-10 Thread Miroslav Suchý
On 04/09/2014 09:33 AM, Marius A wrote: Are there any other disk space saving tips? From Debian world: https://wiki.debian.org/ReduceDebian -- Miroslav Suchy, RHCE, RHCDS Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys -- devel mailing list devel@lists.fedoraproject.org ht

rotated /var/log/journal (was Re: trimming down Fedora installed size)

2014-04-10 Thread Marius A
On Wed, Apr 9, 2014 at 2:23 PM, Michal Schmidt wrote: > On 04/09/2014 09:33 AM, Marius A wrote: > > 3. cleanup /var/log/journal, which seems it's not automatically rotated > > It's supposed to be automatic. How big did it become on your system? > 600mb. Now in April I still had files from January

Re: trimming down Fedora installed size

2014-04-10 Thread Marius A
On Wed, Apr 9, 2014 at 10:57 PM, James Antill wrote: > On Wed, 2014-04-09 at 12:37 +0300, Ville Skyttä wrote: > > On Wed, Apr 9, 2014 at 10:33 AM, Marius A wrote: > > > 1. remove /usr/share/docs > > > > Try this in /etc/rpm/macros.whatever: > > %_excludedocs 1 > > For recent yum it's signifi

Re: trimming down Fedora installed size

2014-04-09 Thread Jóhann B. Guðmundsson
On 04/09/2014 10:06 PM, Reindl Harald wrote: no - if i type "man whatever" and that starts to pull 10 MB packages i stop and think 5 seconds if there is one of my ,ore than 30 machines which have it already That is you If I was concern with that I would have done the thinking ahead of time a

Re: trimming down Fedora installed size

2014-04-09 Thread Reindl Harald
Am 10.04.2014 00:00, schrieb Jóhann B. Guðmundsson: > > On 04/09/2014 09:12 PM, Ralf Corsepius wrote: >> On 04/09/2014 10:05 PM, Billy Crook wrote: >>> I would like to see logic like this: >>> manpage files don't get installed unless/until: >>> 1) packagename-manpages is requested to be installe

Re: trimming down Fedora installed size

2014-04-09 Thread Jóhann B. Guðmundsson
On 04/09/2014 09:12 PM, Ralf Corsepius wrote: On 04/09/2014 10:05 PM, Billy Crook wrote: I would like to see logic like this: manpage files don't get installed unless/until: 1) packagename-manpages is requested to be installed by the user. that package would require the 'man' package. OR 2) pa

Re: trimming down Fedora installed size

2014-04-09 Thread Reindl Harald
Am 09.04.2014 23:01, schrieb Billy Crook: > On Wed, Apr 9, 2014 at 3:41 PM, Reindl Harald > wrote: > > > Am 09.04.2014 22:05, schrieb Billy Crook: > > I would like to see logic like this: > > manpage files don't get installed unless/until: > > 1)

Re: trimming down Fedora installed size

2014-04-09 Thread Ralf Corsepius
On 04/09/2014 10:05 PM, Billy Crook wrote: I would like to see logic like this: manpage files don't get installed unless/until: 1) packagename-manpages is requested to be installed by the user. that package would require the 'man' package. OR 2) package is installed AND man is installed. In ot

Re: trimming down Fedora installed size

2014-04-09 Thread Florian Festi
On 04/09/2014 08:42 PM, Bill Nottingham wrote: > Given the number of packages that ship localization, this seems like it > would have a pretty dramatic effect on metadata size. Is this a concern? Meta data is a concern. But the major part of the meta data is file data and change logs. Everything e

Re: trimming down Fedora installed size

2014-04-09 Thread Billy Crook
On Wed, Apr 9, 2014 at 3:41 PM, Reindl Harald wrote: > > Am 09.04.2014 22:05, schrieb Billy Crook: > > I would like to see logic like this: > > manpage files don't get installed unless/until: > > 1) packagename-manpages is requested to be installed by the user. that > package would require the 'm

Re: trimming down Fedora installed size

2014-04-09 Thread James Antill
On Wed, 2014-04-09 at 10:54 -0400, Martin Langhoff wrote: > There are some limited use cases that aren't ideal now with > install_lang and exclude_docs. For example, installing missing docs or > langs -- for all or some packages. But that seems like it could be > solved by a script that drives rpm

Re: trimming down Fedora installed size

2014-04-09 Thread Reindl Harald
Am 09.04.2014 22:05, schrieb Billy Crook: > I would like to see logic like this: > manpage files don't get installed unless/until: > 1) packagename-manpages is requested to be installed by the user. that > package would require the 'man' package. > OR > 2) package is installed AND man is instal

Re: trimming down Fedora installed size

2014-04-09 Thread Matthew Miller
On Wed, Apr 09, 2014 at 03:57:27PM -0400, James Antill wrote: > For recent yum it's significantly better to do: > yum fs filter nodocs > Dito. to get rid of extra languages by: > yum fs filter langs en > ...then you can yum fs refilter / yum fs refilter-cleanup. So -- if the host is originally i

Re: trimming down Fedora installed size

2014-04-09 Thread Billy Crook
I would like to see logic like this: manpage files don't get installed unless/until: 1) packagename-manpages is requested to be installed by the user. that package would require the 'man' package. OR 2) package is installed AND man is installed. Don't wan't the manpages taking up disk space? rem

Re: trimming down Fedora installed size

2014-04-09 Thread James Antill
On Wed, 2014-04-09 at 12:37 +0300, Ville Skyttä wrote: > On Wed, Apr 9, 2014 at 10:33 AM, Marius A wrote: > > 1. remove /usr/share/docs > > Try this in /etc/rpm/macros.whatever: > %_excludedocs 1 For recent yum it's significantly better to do: yum fs filter nodocs > Try this in /etc/rpm/m

Re: trimming down Fedora installed size

2014-04-09 Thread Bill Nottingham
Florian Festi (ffe...@redhat.com) said: > 1) Normal weak dependencies. In a normal install all the docs (and all > other bells and whistles) get installed by default. You can > remove/deselect packages which are pulled in by weak dependencies. You > can even switch off all weak dependencies to onl

Re: trimming down Fedora installed size

2014-04-09 Thread Jóhann B. Guðmundsson
On 04/09/2014 04:14 PM, Ralf Corsepius wrote: C'mon, we have packages whose install-sizes are measured in 10ths and 100s of MBs ... and we have other dirs which can easily grow beyond any limits. I was refering to it being in the eye of the beholder so to speak but as I see it we need t

Re: trimming down Fedora installed size

2014-04-09 Thread Ralf Corsepius
On 04/09/2014 04:49 PM, "Jóhann B. Guðmundsson" wrote: On 04/09/2014 02:31 PM, Ralf Corsepius wrote: So, I'd question the usefulness of not installing man-page It's more about getting to the point of being able to remove them and or have the option not to install them. Well, rpm-wise, all

Re: trimming down Fedora installed size

2014-04-09 Thread Florian Festi
On 04/09/2014 05:23 PM, Stephen Gallagher wrote: > This construct would be extremely valuable to the SSSD as well: > > %package -n client > Recommends: sssd-client.i686 if glibc.i686 That's not exactly by accident... > It's pretty easy to install a language at package-install time, but in > orde

Re: trimming down Fedora installed size

2014-04-09 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/09/2014 08:42 AM, Florian Festi wrote: > On 04/09/2014 01:50 PM, Stephen Gallagher wrote: >> On 04/09/2014 07:23 AM, "Jóhann B. Guðmundsson" wrote: >> >>> On 04/09/2014 07:33 AM, Marius A wrote: Are there any other disk space saving t

Re: trimming down Fedora installed size

2014-04-09 Thread Alexey I. Froloff
On Wed, Apr 09, 2014 at 03:00:24PM +, "Jóhann B. Guðmundsson" wrote: > Does not solve the problem of dependency like for example if we want > to get rid of man-db and it's dependency's so forth and so on. Well, it does solve the wasted disk space problem. > The only way we can move forward is

Re: trimming down Fedora installed size

2014-04-09 Thread Florian Festi
On 04/09/2014 04:53 PM, Matthias Clasen wrote: > From the desktop/workstation perspective, here are a few things I would > like to see if we decide to work on this: > > Support for a new locale is more or less like a 'system extension' for > the OS. It would be good to define clear rules for what

Re: trimming down Fedora installed size

2014-04-09 Thread Jóhann B. Guðmundsson
On 04/09/2014 02:59 PM, Alexey I. Froloff wrote: On Wed, Apr 09, 2014 at 02:49:56PM +, "Jóhann B. Guðmundsson" wrote: So, I'd question the usefulness of not installing man-page It's more about getting to the point of being able to remove them and or have the option not to install them. Si

Re: trimming down Fedora installed size

2014-04-09 Thread Alexey I. Froloff
On Wed, Apr 09, 2014 at 02:49:56PM +, "Jóhann B. Guðmundsson" wrote: > >So, I'd question the usefulness of not installing man-page > It's more about getting to the point of being able to remove them and > or have the option not to install them. Since man pages are marked as %doc, you can use %_

Re: trimming down Fedora installed size

2014-04-09 Thread Martin Langhoff
On Wed, Apr 9, 2014 at 10:49 AM, "Jóhann B. Guðmundsson" wrote: > It's more about getting to the point of being able to remove them and or > have the option not to install them. See my other email on this thread. Following on what I wrote there, instead of reworking all the packages across the di

Re: trimming down Fedora installed size

2014-04-09 Thread Corey Sheldon
may be easier to just rewrite the mandb for it rather than create extra confusion of two man pages Corey W Sheldon Owner, 1st Class Mobile Shine 310.909.7672 www.facebook.com/1stclassmobileshine On Wed, Apr 9, 2014 at 10:49 AM, "Jóhann B. Guðmundsson" wrote: > > On 04/09/2014 02:31 PM, Ralf C

Re: trimming down Fedora installed size

2014-04-09 Thread Martin Langhoff
On Wed, Apr 9, 2014 at 10:31 AM, Ralf Corsepius wrote: > So, I'd question the usefulness of not installing man-pages, because their > sizes are comparatively small on today's disk-scales, e.g. on my primary > system: > # du -sh /usr/share/man > 89M /usr/share/man > > That's almost neglibile in

Re: trimming down Fedora installed size

2014-04-09 Thread Jóhann B. Guðmundsson
On 04/09/2014 02:31 PM, Ralf Corsepius wrote: So, I'd question the usefulness of not installing man-page It's more about getting to the point of being able to remove them and or have the option not to install them. Whether they should or should not be installed by default depends on peopl

Re: trimming down Fedora installed size

2014-04-09 Thread Matthias Clasen
On Wed, 2014-04-09 at 08:39 -0400, Matthew Miller wrote: > On Wed, Apr 09, 2014 at 07:50:37AM -0400, Stephen Gallagher wrote: > > > I would say in the long run we should be working towards creating > > > separated locale,doc,man packages > > Hmm, I wonder if RPM 4.12 would allow us to do this with

Re: trimming down Fedora installed size

2014-04-09 Thread Ralf Corsepius
On 04/09/2014 03:53 PM, Basil Mohamed Gohar wrote: Having said that, I am all for saving space on a default install and/or making a more minimal install possible. I noticed just now that manpages are compressed, but with gz. I am sure this discussion has already happened, but maybe we can have

Re: trimming down Fedora installed size

2014-04-09 Thread Ralf Corsepius
On 04/09/2014 04:01 PM, Matthew Miller wrote: On Wed, Apr 09, 2014 at 09:53:10AM -0400, Basil Mohamed Gohar wrote: I think I must fit into this 0.1% (and I am not disputing that that is the correct ratio, either) because I definitely use /usr/share/doc, but mostly because that holds more than ju

Re: trimming down Fedora installed size

2014-04-09 Thread Matthew Miller
On Wed, Apr 09, 2014 at 10:10:37AM -0400, Stephen Gallagher wrote: > >> I think I must fit into this 0.1% (and I am not disputing that > >> that is the correct ratio, either) because I definitely use > >> /usr/share/doc, but mostly because that holds more than just > >> "documentation". For exampl

Re: trimming down Fedora installed size

2014-04-09 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/09/2014 10:01 AM, Matthew Miller wrote: > On Wed, Apr 09, 2014 at 09:53:10AM -0400, Basil Mohamed Gohar > wrote: >> I think I must fit into this 0.1% (and I am not disputing that >> that is the correct ratio, either) because I definitely use >> /

Re: trimming down Fedora installed size

2014-04-09 Thread Matthew Miller
On Wed, Apr 09, 2014 at 09:53:10AM -0400, Basil Mohamed Gohar wrote: > I think I must fit into this 0.1% (and I am not disputing that that is > the correct ratio, either) because I definitely use /usr/share/doc, but > mostly because that holds more than just "documentation". For example, > avahi s

Re: trimming down Fedora installed size

2014-04-09 Thread Basil Mohamed Gohar
On 04/09/2014 03:33 AM, Marius A wrote: > > I think less than 0.1% of users ever look into /usr/share/doc, but I > don't have any data to back this up. I think I must fit into this 0.1% (and I am not disputing that that is the correct ratio, either) because I definitely use /usr/share/doc, but m

Re: trimming down Fedora installed size

2014-04-09 Thread Matthew Miller
On Wed, Apr 09, 2014 at 10:33:25AM +0300, Marius A wrote: > I've been struggling keeping a fedora 20 install on a "small" SSD, with 6gb > / partition (/home is separate). This part of conversation probably belongs on the user list rather than devel. But there are some development-related aspects (

Re: trimming down Fedora installed size

2014-04-09 Thread Florian Festi
On 04/09/2014 01:50 PM, Stephen Gallagher wrote: > On 04/09/2014 07:23 AM, "Jóhann B. Guðmundsson" wrote: > >> On 04/09/2014 07:33 AM, Marius A wrote: >>> >>> Are there any other disk space saving tips? > >> Users should not have to result doing disk saving tips. > >> I would say in the long run

Re: trimming down Fedora installed size

2014-04-09 Thread Matthew Miller
On Wed, Apr 09, 2014 at 07:50:37AM -0400, Stephen Gallagher wrote: > > I would say in the long run we should be working towards creating > > separated locale,doc,man packages > Hmm, I wonder if RPM 4.12 would allow us to do this with weak > dependencies? > Perhaps something like having a metapacka

Re: trimming down Fedora installed size

2014-04-09 Thread Jóhann B. Guðmundsson
On 04/09/2014 11:50 AM, Stephen Gallagher wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/09/2014 07:23 AM, "Jóhann B. Guðmundsson" wrote: On 04/09/2014 07:33 AM, Marius A wrote: Are there any other disk space saving tips? Users should not have to result doing disk saving tips. I

Re: trimming down Fedora installed size

2014-04-09 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/09/2014 07:23 AM, "Jóhann B. Guðmundsson" wrote: > > On 04/09/2014 07:33 AM, Marius A wrote: >> >> Are there any other disk space saving tips? > > Users should not have to result doing disk saving tips. > > I would say in the long run we shou

Re: trimming down Fedora installed size

2014-04-09 Thread Jóhann B. Guðmundsson
On 04/09/2014 07:33 AM, Marius A wrote: Are there any other disk space saving tips? Users should not have to result doing disk saving tips. I would say in the long run we should be working towards creating separated locale,doc,man packages JBG -- devel mailing list devel@lists.fedoraproje

Re: trimming down Fedora installed size

2014-04-09 Thread Michal Schmidt
On 04/09/2014 09:33 AM, Marius A wrote: > 3. cleanup /var/log/journal, which seems it's not automatically rotated It's supposed to be automatic. How big did it become on your system? If the default size limits do not suit you, you can change them in /etc/systemd/journald.conf. Michal -- devel m

Re: trimming down Fedora installed size

2014-04-09 Thread Ville Skyttä
On Wed, Apr 9, 2014 at 10:33 AM, Marius A wrote: > 1. remove /usr/share/docs Try this in /etc/rpm/macros.whatever: %_excludedocs 1 But that'll exclude _all_ files marked as docs in packages such as man pages, it's not limited to /usr/share/doc. You might also/instead want to try this: %_

trimming down Fedora installed size

2014-04-09 Thread Marius A
Hi there, I've been struggling keeping a fedora 20 install on a "small" SSD, with 6gb / partition (/home is separate). Besides removing packages, I also found this useful: 1. remove /usr/share/docs 2. remove /usr/share/locale/* (all except en and en_US) 3. cleanup /var/log/journal, which seems i