Obsoleted packages in repositories (was: grub (v1) in f18?)

Panu Matilainen pmatilai at laiskiainen.org
Fri Dec 21 08:55:15 UTC 2012


On 12/07/2012 07:59 PM, Matthew Miller wrote:
>
> Are there other obsoleted packages in the F18 repo?

Here's what I see on F18, it's quite a pile:

4ti2-1.3.2-12.fc18.x86_64
anyremote2html-1.4-4.fc18.noarch
chktex-1.6.4-11.fc18.x86_64
classads-1.0.8-5.fc18.i686
classads-1.0.8-5.fc18.x86_64
classads-devel-1.0.8-5.fc18.i686
classads-devel-1.0.8-5.fc18.x86_64
classads-static-1.0.8-5.fc18.i686
classads-static-1.0.8-5.fc18.x86_64
cura-account-0.0.4-1.fc18.x86_64
cura-fan-0.0.4-1.fc18.x86_64
cura-networking-0.0.4-1.fc18.x86_64
cura-powermanagement-0.0.4-1.fc18.x86_64
cura-providers-0.0.4-1.fc18.i686
cura-providers-0.0.4-1.fc18.x86_64
cura-providers-devel-0.0.4-1.fc18.i686
cura-providers-devel-0.0.4-1.fc18.x86_64
cura-service-0.0.4-1.fc18.x86_64
cura-storage-0.3-1.fc18.noarch
cura-tools-0.1-3.fc18.noarch
django-keyedcache-1.4.1-4.fc18.noarch
django-mako-0.1.4-0.5.pre.fc18.noarch
django-pylibmc-0.2.1-4.20110806gitb56e74.fc18.noarch
dvisvgm-1.0.12-2.fc18.x86_64
english-typing-booster-0.0.2-2.fc18.noarch
fcitx-keyboard-0.1.3-1.fc18.x86_64
gpxe-bootimgs-1.0.1-7.fc18.noarch
gpxe-roms-1.0.1-7.fc18.noarch
gpxe-roms-qemu-1.0.1-7.fc18.noarch
grc-0.70-9.fc18.noarch
1:grub-0.97-91.fc18.x86_64
gtksourceview2-sharp-1.0-10.svn89788.fc16.x86_64
gtksourceview2-sharp-devel-1.0-10.svn89788.fc16.i686
gtksourceview2-sharp-devel-1.0-10.svn89788.fc16.x86_64
ibus-european-table-1.1.6-2.fc18.noarch
ibus-hunspell-table-0.0.8-2.fc18.noarch
ibus-indic-table-1.3.1-23.fc17.noarch
ibus-table-array30-1.2.0.20090729-4.fc18.noarch
jadetex-3.13-12.fc18.noarch
jaffl-0.5.9-1.fc16.noarch
jaxen-bootstrap-1.1-6.2.fc18.noarch
kdirstat-2.5.3-13.fc18.x86_64
latexmk-4.35-1.fc18.noarch
libgssapi-0.11-11.fc18.i686
libgssapi-0.11-11.fc18.x86_64
libgssapi-devel-0.11-11.fc18.i686
libgssapi-devel-0.11-11.fc18.x86_64
lzma-4.32.7-8.fc18.x86_64
manaworld-0.5.2-9.fc18.x86_64
manaworld-music-0.3-3.fc18.noarch
maven-shared-artifact-resolver-1.1-24.fc18.noarch
maven-shared-common-artifact-filters-1.3-24.fc18.noarch
maven-shared-dependency-tree-1.3-24.fc18.noarch
module-init-tools-3.16-6.fc18.x86_64
netxen-firmware-4.0.534-6.fc18.noarch
nfs-utils-lib-1.1.5-7.fc18.i686
nfs-utils-lib-1.1.5-7.fc18.x86_64
nss_ldap-265-10.fc17.i686
nss_ldap-265-10.fc17.x86_64
pam_passwdqc-1.0.5-10.fc18.i686
pam_passwdqc-1.0.5-10.fc18.x86_64
pdfjam-2.08-4.fc18.noarch
pexpect-2.3-8.fc18.noarch
ps2eps-1.68-4.fc18.x86_64
pymongo-2.1.1-2.fc18.x86_64
pymongo-gridfs-2.1.1-2.fc18.x86_64
python-cryptsetup-0.1.4-4.fc18.x86_64
ql2100-firmware-1.19.38-6.fc18.noarch
ql2200-firmware-2.02.08-6.fc18.noarch
ql23xx-firmware-3.03.28-4.fc18.noarch
qxmpp-dev-0.6.3.1-1.fc18.i686
qxmpp-dev-0.6.3.1-1.fc18.x86_64
qxmpp-dev-devel-0.6.3.1-1.fc18.i686
qxmpp-dev-devel-0.6.3.1-1.fc18.x86_64
rt61pci-firmware-1.2-10.fc18.noarch
rt73usb-firmware-1.8-10.fc18.noarch
ruby-goocanvas-0.90.4-1.9.fc18.1.x86_64
ruby-goocanvas-devel-0.90.4-1.9.fc18.1.i686
ruby-goocanvas-devel-0.90.4-1.9.fc18.1.x86_64
ruby-gstreamer-0.90.4-1.9.fc18.1.x86_64
ruby-gstreamer-devel-0.90.4-1.9.fc18.1.i686
ruby-gstreamer-devel-0.90.4-1.9.fc18.1.x86_64
ruby-gtksourceview2-0.90.4-1.9.fc18.1.x86_64
ruby-gtksourceview2-devel-0.90.4-1.9.fc18.1.i686
ruby-gtksourceview2-devel-0.90.4-1.9.fc18.1.x86_64
seahorse-plugins-2.91.6-0.5.git1e35fd9.fc18.x86_64
sshfp-1.2.2-4.fc18.noarch
tetex-IEEEtran-1.7.1-6.fc18.noarch
texlive-texmf-2007-42.fc18.noarch
texlive-texmf-afm-2007-42.fc18.noarch
texlive-texmf-context-2007-42.fc18.noarch
texlive-texmf-doc-2007-42.fc18.noarch
texlive-texmf-dvips-2007-42.fc18.noarch
texlive-texmf-east-asian-2007-42.fc18.noarch
texlive-texmf-errata-2007-10.fc18.noarch
texlive-texmf-errata-afm-2007-10.fc18.noarch
texlive-texmf-errata-context-2007-10.fc18.noarch
texlive-texmf-errata-doc-2007-10.fc18.noarch
texlive-texmf-errata-dvips-2007-10.fc18.noarch
texlive-texmf-errata-east-asian-2007-10.fc18.noarch
texlive-texmf-errata-fonts-2007-10.fc18.noarch
texlive-texmf-errata-latex-2007-10.fc18.noarch
texlive-texmf-errata-xetex-2007-10.fc18.noarch
texlive-texmf-fonts-2007-42.fc18.noarch
texlive-texmf-latex-2007-42.fc18.noarch
texlive-texmf-xetex-2007-42.fc18.noarch
utouch-evemu-1.0.8-3.fc18.i686
utouch-evemu-1.0.8-3.fc18.x86_64
utouch-evemu-devel-1.0.8-3.fc18.i686
utouch-evemu-devel-1.0.8-3.fc18.x86_64
yum-plugin-downloadonly-1.1.31-6.fc18.noarch

> Is there a good way to
> look for them and to clean them up before release?

Here's the dumb little scriptlet used to produce the above list on my 
F18 box. For "real world" purposes you'd want at least some control over 
what repositories are enabled...

---
#!/usr/bin/python

import yum

if __name__ == '__main__':
     my = yum.YumBase()
     my.doConfigSetup()
     my.doRepoSetup()
     my.doSackSetup()

     obsoleted = []
     for p in my.pkgSack:
         obsoleters = p.obsoletedBy(my.pkgSack.searchObsoletes(p.name))
         if obsoleters:
             obsoleted.append(p)

     obsoleted.sort()
     for o in obsoleted:
         print o
---

	- Panu -


More information about the devel mailing list