Latest up2date packages from rawhide errors

Namikawa, Shozo generic at olive.ocn.ne.jp
Fri Apr 22 06:50:07 UTC 2005


Mike Chambers wrote:

>Getting this error from up2date...
>        
>        up2date-gnome-4.4.14-2
>        up2date-4.4.14-2
>        
>        Testing package set / solving RPM inter-dependencies...
>        Traceback (most recent call last):
>          File "/usr/sbin/up2date", line 1250, in ?
>            sys.exit(main() or 0)
>          File "/usr/sbin/up2date", line 800, in main
>            fullUpdate, dryRun=options.dry_run))
>          File "/usr/sbin/up2date", line 1137, in batchRun
>            batch.run()
>          File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 78,
>        in run
>            self.__dryRun()
>          File "/usr/share/rhn/up2date_client/up2dateBatch.py", line
>        163, in
>        __dryRun
>            self.percentCallback)
>          File "/usr/share/rhn/up2date_client/up2date.py", line 386, in
>        dryRun
>            ret = depsolve.solvedep()
>          File "/usr/share/rhn/up2date_client/depSolver.py", line 722,
>        in
>        solvedep
>            ret = self.process_deps(deps)
>          File "/usr/share/rhn/up2date_client/depSolver.py", line 616,
>        in
>        process_deps
>            changed = self.__dependencies(dependencies)
>          File "/usr/share/rhn/up2date_client/depSolver.py", line 323,
>        in
>        __dependencies
>            msgCallback = self.msgCallback)
>          File "/usr/share/rhn/up2date_client/depSolver.py", line 97, in
>        solveDep
>            msgCallback = msgCallback)
>          File
>        "/usr/share/rhn/up2date_client/repoBackends/genericSolveDep.py",
>        line 132 , in solveDep
>            msgCallback = self.msgCallback)
>          File
>        "/usr/share/rhn/up2date_client/repoBackends/rpmmdRepo.py", line
>        60, in ge tSolutions
>            provs = self.pkgSack.searchProvides(unknown)
>        AttributeError: RpmmdSolveDep instance has no attribute
>        'pkgSack'
>        
>        This is by running up2date -u from command line.  Looks like
>        still get
>        same problem with GUI, via forward/next button not highlighted
>        nor the
>        select all option not selecting all the packages listed.
>        
>

 Though a change of up2date-4.4.14-2 did it as #135121(no.1),
I think adjustment is insufficient about "rpmmd" as a whole.
Perhaps I think that "rpmmd" is not set about sources in default(no.2).
It came to move without stopping it somehow when I initialized 
self.pkgSack in None
so that a command started up2date at once(no.3).

------------------------------------------------------------------------------
 (no.1)  #135121
        "/usr/share/rhn/up2date_client/repoDirectry.py"

                # bug 135121 - uncommented the the following lines to 
test rpmmd
                from repoBackends import rpmmdRepo
                rpmmdRepo.register(rd)
-------------------------------------------------------------------------------
(no.2)
       "/etc/sysconfig/rhn/spurces"
-------------------------------------------------------------------------------
(no.3)
       "/usr/share/rhn/up2date_client/repoBackends/rpmmdRepo.py"

            class RpmmdSolveDep(genericSolveDep.GenericSolveDep):
                def __init__(self):
                    -- snip--
                    self.type = "rpmmd"

               def getSolutions(self, unknowns, msgCallback=None, 
progressCallback=None):
                    channels = rhnChannel.getChannels()
                    repoChannels = channels.getByType(self.type)
                            #### repoChannels is empty ####        for 
channel in repoChannels:

                    self.pkgSack = initPkgSack(label=None)      #### add 
deception for a syntax error
                    for channel in repoChannels:
                        self.pkgSack = initPkgSack(label=channel['label'])
-------------------------------------------------------------------------------




More information about the fedora-test-list mailing list