[csw-maintainers] Fwd: CSW catalog problems (2011-08-30 07:25)

Maciej Bliziński maciej at opencsw.org
Tue Aug 30 10:03:58 CEST 2011


2011/8/30 Peter Bonivart <bonivart at opencsw.org>:
> 2011/8/30 Maciej Bliziński <maciej at opencsw.org>:
>> Hm. None of these two exist in the catalog as files:
>>
>> maciej at login [login]:~ > ls /home/mirror/opencsw-future/unstable/*/*/krb5kdc*
>> /home/mirror/opencsw-future/unstable/*/*/krb5kdc*: No such file or directory
>> maciej at login [login]:~ > ls /home/mirror/opencsw-future/unstable/*/*/krb5user*
>> /home/mirror/opencsw-future/unstable/*/*/krb5user*: No such file or directory
>
> krb5kdc is 1.4.4 from 2006 so it should probably not be there but
> krb5user is 1.9.1 from 2011 so that should be there.

I found out what was the problem - it's my fault. Fixing now.

Checking files on disk was silly - I should have been checking the
database directly.

I started uploading new packages with the intention to remove both
krb5kdc and krb5user.  At some point, I saw that I'm uploading a new
version of krb5user, so I hit ctrl-C and then used csw-upload-pkg to
remove the new krb5user from the catalog. But krb5user already
replaced the 1.4.4 one in the i386/5.9 catalog, and not in other
catalogs. When I ran csw-upload-pkg --remove, I effectively removed
krb5user from i386/5.9 only.

I'm now removing both krb5user and krb5kdc from the catalog.  I need
to do this by also specifying --os-release, because the old package is
for 5.8, and if I didn't specify that I want to remove that package
from 5.9/5.10/5.11 only, csw-upload-pkg would have removed it from 5.8
too.

maciej at login [login]:~ > csw-upload-pkg --remove --os-release SunOS5.9
/home/mirror/opencsw-future/allpkgs/krb5_kdc-1.4.4\,REV\=2006.12.27-SunOS5.8-
krb5_kdc-1.4.4,REV=2006.12.27-SunOS5.8-i386-CSW.pkg.gz
krb5_kdc-1.4.4,REV=2006.12.27-SunOS5.8-sparc-CSW.pkg.gz
maciej at login [login]:~ > csw-upload-pkg --remove --os-release SunOS5.9
/home/mirror/opencsw-future/allpkgs/krb5_kdc-1.4.4\,REV\=2006.12.27-SunOS5.8-*
Removing krb5_kdc (i386 SunOS5.8) from catalog unstable i386 SunOS5.9
Removing krb5_kdc (sparc SunOS5.8) from catalog unstable sparc SunOS5.9
maciej at login [login]:~ > csw-upload-pkg --remove --os-release
SunOS5.10 /home/mirror/opencsw-future/allpkgs/krb5_kdc-1.4.4\,REV\=2006.12.27-SunOS5.8-*
Removing krb5_kdc (i386 SunOS5.8) from catalog unstable i386 SunOS5.10
Removing krb5_kdc (sparc SunOS5.8) from catalog unstable sparc SunOS5.10
maciej at login [login]:~ > csw-upload-pkg --remove --os-release
SunOS5.11 /home/mirror/opencsw-future/allpkgs/krb5_kdc-1.4.4\,REV\=2006.12.27-SunOS5.8-*
Removing krb5_kdc (i386 SunOS5.8) from catalog unstable i386 SunOS5.11
Removing krb5_kdc (sparc SunOS5.8) from catalog unstable sparc SunOS5.11
maciej at login [login]:~ > csw-upload-pkg --remove --os-release SunOS5.9
/home/mirror/opencsw-future/allpkgs/krb5_user-1.4.4\,REV\=2006.12.27-SunOS5.8-*
Removing krb5_user (i386 SunOS5.8) from catalog unstable i386 SunOS5.9
Removing krb5_user (sparc SunOS5.8) from catalog unstable sparc SunOS5.9
maciej at login [login]:~ > csw-upload-pkg --remove --os-release
SunOS5.10 /home/mirror/opencsw-future/allpkgs/krb5_user-1.4.4\,REV\=2006.12.27-SunOS5.8-*
Removing krb5_user (i386 SunOS5.8) from catalog unstable i386 SunOS5.10
Removing krb5_user (sparc SunOS5.8) from catalog unstable sparc SunOS5.10
maciej at login [login]:~ > csw-upload-pkg --remove --os-release
SunOS5.11 /home/mirror/opencsw-future/allpkgs/krb5_user-1.4.4\,REV\=2006.12.27-SunOS5.8-*
Removing krb5_user (i386 SunOS5.8) from catalog unstable i386 SunOS5.11
Removing krb5_user (sparc SunOS5.8) from catalog unstable sparc SunOS5.11

Maciej


More information about the maintainers mailing list