Why leapp upgrade fails with "ValueError: too many values to unpack" for the rpmscanner ?

Solution Verified - Updated -

Issue

  • Leapp upgrade fails with ValueError: too many values to unpack

    Risk Factor: high (error)
    Title: Actor rpm_scanner unexpectedly terminated with exit code: 1
    Summary: Traceback (most recent call last):
     File "/usr/lib/python2.7/site-packages/leapp/repository/actor_definition.py", line 74, in _do_run
       actor_instance.run(*args, **kwargs)
     File "/usr/lib/python2.7/site-packages/leapp/actors/__init__.py", line 289, in run
       self.process(*args)
     File "/usr/share/leapp-repository/repositories/system_upgrade/common/actors/rpmscanner/actor.py", line 20, in 
     process
       rpmscanner.process()
     File "/usr/share/leapp- 
     repository/repositories/system_upgrade/common/actors/rpmscanner/libraries/rpmscanner.py", line 118, in 
     process
       name, version, release, epoch, packager, arch, pgpsig = entry.split('|')
    ValueError: too many values to unpack
    
    Key: 474839c3aa4b047aadb49dc9f932f2d18033ced9
    

Environment

  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content