Issue with non-existing package

Riccardo Mottola rmottola at opencsw.org
Mon Dec 3 12:09:14 CET 2018


Hi,

let us take the "strong" route, remove traces of Performance, re-upload 
it again.

Sorry for the delay, the last time I tried there were issues with the 
catalog, now I retried.

Thank you!


Maciej (Matchek) Bliziński wrote:
> 
> Use the following command to remove the package:
> 
> ./lib/python/safe_remove_package.py --os-releases=SunOS5.9,… -c 
> <catalogname>
> 
> I probably wrote this script, today I remember almost nothing about it, 
> but I guess it checks that removing the package in question will not 
> create dangling dependencies.

I try to use it as this: what am I doing wrong?

rmottola at login [login]:~/mgar > gar/v2/lib/python/safe_remove_package.py 
--os-releases=SunOS5.10 -c CSWPerformance1
Traceback (most recent call last):
   File "gar/v2/lib/python/safe_remove_package.py", line 225, in <module>
     main()
   File "gar/v2/lib/python/safe_remove_package.py", line 221, in main
     pr.RemovePackage(options.catalogname, not options.dry_run, os_releases)
   File "gar/v2/lib/python/safe_remove_package.py", line 132, in 
RemovePackage
     rd = RevDeps(self.rest_client)
   File "gar/v2/lib/python/safe_remove_package.py", line 75, in __init__
     self.cp = rest.CachedPkgstats(fn_pkgstatsdb, rest_client)
   File "/home/rmottola/opencsw/.buildsys/v2/lib/python/rest.py", line 
530, in __init__
     self.d = anydbm.open("%s.db" % self.filename, "c")
   File "/opt/csw/lib/python2.6/anydbm.py", line 83, in open
     return mod.open(file, flag, mode)
   File "/opt/csw/lib/python2.6/dbhash.py", line 19, in open
     return bsddb.hashopen(file, flag, mode)
   File "/opt/csw/lib/python2.6/bsddb/__init__.py", line 361, in hashopen
     d.open(file, db.DB_HASH, flags, mode)
bsddb.db.DBNoSuchFileError: (2, 'No such file or directory')
Exception AttributeError: "'CachedPkgstats' object has no attribute 'd'" 
in <bound method CachedPkgstats.__del__ of 
<lib.python.rest.CachedPkgstats object at 0x3f1690>> ignored



More information about the maintainers mailing list