spacewalk-data-fsck fails with "ValueError: need more than 6 values to unpack"

Solution Verified - Updated -

Issue

  • spacewalk-data-fsck fails with "ValueError: need more than 6 values to unpack"
#/usr/bin/spacewalk-data-fsck -v -r                             Checking if packages from database are present on filesystem
File missing: /var/satellite/redhat/NULL/php53-pgsql/5.3.3-1.el5/i386/php53-pgsql-5.3.3-1.el5.i386.rpm
redhat/NULL/system-config-network-tui/1.3.22-1/noarch/system-config-network-tui-1.3.22-1.noarch.rpm
Traceback (most recent call last):
  File "/usr/bin/spacewalk-data-fsck", line 257, in <module>
    exit_value += check_db_vs_disk(options)
  File "/usr/bin/spacewalk-data-fsck", line 102, in check_db_vs_disk
    report['nevrao'] += check_disk_nevrao(abs_path, row.copy())
  File "/usr/bin/spacewalk-data-fsck", line 140, in check_disk_nevrao
    file['basename']) = row['path'].split('/')
ValueError: need more than 6 values to unpack

Environment

  • Red Hat Satellite v5.5 (after upgrade)

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