[pungi PATCH] Exclude obsoleted packages

Panu Matilainen pmatilai at laiskiainen.org
Mon Nov 19 08:16:40 UTC 2012


On 11/19/2012 03:37 AM, Dennis Gilmore wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> El Wed, 14 Nov 2012 09:19:59 +0200
> Panu Matilainen <pmatilai at laiskiainen.org> escribió:
>> On 11/13/2012 08:44 PM, Bill Nottingham wrote:
>>> Panu Matilainen (pmatilai at laiskiainen.org) said:
>>>> Inspired by recent fedora-devel list discussion, here's a patch to
>>>> save some space from images by excluding obsoleted packages.
>>>> Arguably those packages should just die and not hang around in the
>>>> repos, but these undead packages seem fairly persistent...
>>>>
>>>> This is what I see with F18 install DVD:
>>>>
>>>> Before patch:
>>>> -rw-r--r--. 1 root root 4687134720 Nov 12 21:10
>>>> Fedora-18-x86_64-DVD.iso
>>>>
>>>> With the patch:
>>>> -rw-r--r--. 1 root root 4550819840 Nov 12 21:01
>>>> Fedora-18-x86_64-DVD.iso
>>>
>>> The idea of the patch makes sense, but I'm surprised that what you
>>> list below really amounts to 130MB off the DVD, given that the
>>> biggest package is grub's 6MB. There could be dependencies that
>>> fall off, but that many?
>>
>> Sorry, should've obviously included this info to start with... Here's
>> the entire list of packages dropped from the iso with the patch:
>>
>> dvipdfm-0.13.2d-44.fc18.x86_64.rpm
>> dvipdfmx-0-0.35.20090708cvs.fc18.x86_64.rpm
>> dvipng-1.14-4.fc18.x86_64.rpm
>> grub-0.97-91.fc18.x86_64.rpm
>> jaxen-bootstrap-1.1-6.2.fc18.noarch.rpm
>> libpaper-1.1.24-5.fc18.x86_64.rpm
>> maven-shared-dependency-tree-1.3-24.fc18.noarch.rpm
>> nfs-utils-lib-1.1.5-7.fc18.x86_64.rpm
>> ql2100-firmware-1.19.38-6.fc18.noarch.rpm
>> ql2200-firmware-2.02.08-6.fc18.noarch.rpm
>> ql23xx-firmware-3.03.28-4.fc18.noarch.rpm
>> rt61pci-firmware-1.2-10.fc18.noarch.rpm
>> rt73usb-firmware-1.8-10.fc18.noarch.rpm
>> texlive-avantgar-0.svn21993-1.fc18.noarch.rpm
>> texlive-bookman-0.svn21993-1.fc18.noarch.rpm
>> texlive-charter-0.svn15878-1.fc18.noarch.rpm
>> texlive-cmextra-0.svn14075-1.fc18.noarch.rpm
>> texlive-cm-super-0.svn15878-1.fc18.noarch.rpm
>> texlive-collection-fontsrecommended-0.svn26699-3.20121019_r28030.fc18.noarch.rpm
>> texlive-courier-0.svn21993-1.fc18.noarch.rpm
>> texlive-euro-1.1.svn22191-1.fc18.noarch.rpm
>> texlive-eurosym-1.4_subrfix.svn17265-1.fc18.noarch.rpm
>> texlive-fpl-1.002.svn15878-1.fc18.noarch.rpm
>> texlive-helvetic-0.svn21993-1.fc18.noarch.rpm
>> texlive-marvosym-2.2a.svn25926-1.fc18.noarch.rpm
>> texlive-mathpazo-1.003.svn15878-1.fc18.noarch.rpm
>> texlive-ncntrsbk-0.svn21993-1.fc18.noarch.rpm
>> texlive-palatino-0.svn21993-1.fc18.noarch.rpm
>> texlive-pxfonts-0.svn15878-1.fc18.noarch.rpm
>> texlive-rsfs-0.svn15878-1.fc18.noarch.rpm
>> texlive-symbol-0.svn21570-1.fc18.noarch.rpm
>> texlive-tex-gyre-2.004.svn18651-1.fc18.noarch.rpm
>> texlive-tex-gyre-math-1.008.svn26838-1.fc18.noarch.rpm
>> texlive-texmf-2007-42.fc18.noarch.rpm
>> texlive-texmf-dvips-2007-42.fc18.noarch.rpm
>> texlive-texmf-fonts-2007-42.fc18.noarch.rpm
>> texlive-times-0.svn21993-1.fc18.noarch.rpm
>> texlive-txfonts-0.svn15878-1.fc18.noarch.rpm
>> texlive-utopia-0.svn15878-1.fc18.noarch.rpm
>> texlive-wasy-0.svn15878-1.fc18.noarch.rpm
>> texlive-wasysym-2.0.svn15878-1.fc18.noarch.rpm
>> texlive-zapfchan-0.svn21993-1.fc18.noarch.rpm
>> texlive-zapfding-0.svn21570-1.fc18.noarch.rpm
>> xdvik-22.84.14-12.fc18.x86_64.rpm
>> xom-1.0-9.fc18.noarch.rpm
>>
>> I didn't actually look at the package sizes here but imagining these
>> amounting to > 100M is hard. To add to the insult, AFAICS the thing
>> dragging in all this texlive font stuff is dvipdfmx, a package which
>> is not only obsoleted but also has broken dependencies:
>
> the texlive bits should all now be blocked. what i would rather is a
> report of obsoleted things that we could then dig into and take propper
> action to clean up rather than blindly removing things.

Well, the packages excluded due to direct obsoletion are reported by the 
patch, the rest of the difference is dependencies of those obsoleted 
packages. Pungi doesn't generally report what got left out, only what 
got pulled in and why... While recursively reporting everything left out 
due to obsoletion would be possible, it doesn't seem worth the trouble 
to me.

	- Panu -


More information about the buildsys mailing list