[Yum] skipping reposetup, pkgsack exists...

Pablo Mejia pjm at cctechnol.com
Thu Dec 7 22:22:41 UTC 2006


> > skipping reposetup, pkgsack exists
> > skipping reposetup, pkgsack exists
> > Building updates object
> > skipping reposetup, pkgsack exists
> > skipping reposetup, pkgsack exists
> > 
> 
> I think what's going on here is that for each thing it is looking up
> it's setting up the repos. This message is just a debug message to tell
> us it isn't going to re-setup the repos b/c the pkgsack already exists,
> therefore there is no reason to set it up.
> 
> -sv

I let this run until it died.  The condensed output is at the end.

The private repository has <50 RPMs in it.  Most of them install fine
with yum.  All of them install fine using the rpm command.

I see the obsoleting_pkg bit at the end of the output.  The spec file
that was used to create the problematic RPMs has Obsoletes lines.
Perhaps the Obsoletes lines in the spec file are incorrect?  I'm still
learning how to make RPMs, so I can't tell.  The spec file for this one
was found on the net.  It builds multiple RPMs, the section for this
specific RPM (omniORB-utils) says:

        %package utils
        Summary: Utility programs
        Group:          Development/C++
        Requires:       %{lib_name} = %{version}-%{release}
        Provides:       libomniorb-utils = %{version}-%{release}
        Obsoletes:      omniORB-utils omniorb
        
That looks like it obsoletes itself...  Still shouldn't crash yum
though.  Am I right in suspecting this Obsoletes line?  Thanks, Pablo


Loading "installonlyn" plugin
Running "config" handler for "installonlyn" plugin
Yum Version: 3.0.1
COMMAND: yum -d 10 
Installroot: /
Ext Commands:

   omniORB-utils
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Setting up Package Sacks
Reading Local RPMDB
Parsing package install arguments
No other omniORB-utils installed, adding to list for potential install
reduced installs :
Traceback (most recent call last):
  File "/usr/lib/python2.4/logging/__init__.py", line 731, in emit
    msg = self.format(record)
  File "/usr/lib/python2.4/logging/__init__.py", line 617, in format
    return fmt.format(record)
  File "/usr/lib/python2.4/logging/__init__.py", line 405, in format
    record.message = record.getMessage()
  File "/usr/lib/python2.4/logging/__init__.py", line 276, in getMessage
    msg = msg % self.args
TypeError: not enough arguments for format string
skipping reposetup, pkgsack exists
skipping reposetup, pkgsack exists
Building updates object
skipping reposetup, pkgsack exists
skipping reposetup, pkgsack exists

....DELETED...

skipping reposetup, pkgsack exists
skipping reposetup, pkgsack exists
Traceback (most recent call last):
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in ?
    yummain.main(sys.argv[1:])
  File "/usr/share/yum-cli/yummain.py", line 102, in main
    result, resultmsgs = do()
  File "/usr/share/yum-cli/cli.py", line 359, in doCommands
    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
  File "/usr/share/yum-cli/yumcommands.py", line 134, in doCommand
    return base.installPkgs(extcmds)
  File "/usr/share/yum-cli/cli.py", line 603, in installPkgs
    self.install(po)
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 1763, in install
    self.install(po=obsoleting_pkg)
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 1763, in install
    self.install(po=obsoleting_pkg)

...DELETED...

  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 1763, in install
    self.install(po=obsoleting_pkg)
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 1763, in install
    self.install(po=obsoleting_pkg)
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 1687, in install
    self.doRepoSetup()
  File "/usr/share/yum-cli/cli.py", line 95, in doRepoSetup
    'skipping reposetup, pkgsack exists')
  File "/usr/lib/python2.4/logging/__init__.py", line 1040, in log
    apply(self._log, (level, msg, args), kwargs)
  File "/usr/lib/python2.4/logging/__init__.py", line 1079, in _log
    self.handle(record)
  File "/usr/lib/python2.4/logging/__init__.py", line 1089, in handle
    self.callHandlers(record)
  File "/usr/lib/python2.4/logging/__init__.py", line 1126, in callHandlers
    hdlr.handle(record)
  File "/usr/lib/python2.4/logging/__init__.py", line 642, in handle
    self.emit(record)
  File "/usr/lib/python2.4/logging/__init__.py", line 744, in emit
    self.handleError(record)
  File "/usr/lib/python2.4/logging/__init__.py", line 693, in handleError
    traceback.print_exception(ei[0], ei[1], ei[2], None, sys.stderr)
  File "/usr/lib/python2.4/traceback.py", line 125, in print_exception
    print_tb(tb, limit, file)
  File "/usr/lib/python2.4/traceback.py", line 67, in print_tb
    '  File "%s", line %d, in %s' % (filename,lineno,name))
RuntimeError: maximum recursion depth exceeded





More information about the Yum mailing list