[issue268] smart doesn't work with rpm-repackage option

Axel Thimm at Labix Tracker tracker at labix.org
Thu Dec 28 05:42:06 PST 2006


New submission from Axel Thimm <Axel.Thimm at ATrpms.net>:

Copied over from https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=218145
=======================
Opened by Igor Jagec (igorm5 at vip.hr)  	 on 2006-12-01 20:06 EST  	[reply]  	   	 

Description of problem:

SmartPM doesn't work with rpm-repackage option

Version-Release number of selected component (if applicable):

$ rpmgrep smart
fedora-package-config-smart-6-8.i386
smart-0.42-40.fc6.i386
smart-gui-0.42-40.fc6.i386
smartmontools-5.36-3.i386

How reproducible:

Every time

Steps to Reproduce:
1. # smart upgrade -y
  
Actual results:

It fails to upgrade the system

Expected results:

To upgrade the system

Additional info:

#  smart upgrade -y
Loading cache...
Updating cache...               ######################################## [100%]

Computing transaction...
Committing transaction...                                                      
Preparing...                    ######################################## [  0%]

Traceback (most recent call last):
  File "/usr/bin/smart", line 194, in ?
    main(sys.argv[1:])
  File "/usr/bin/smart", line 167, in main
    exitcode = iface.run(opts.command, opts.argv)
  File "/usr/lib/python2.4/site-packages/smart/interface.py", line 53, in run
    result = _command.main(self._ctrl, opts)
  File "/usr/lib/python2.4/site-packages/smart/commands/upgrade.py", line 182, 
in main
    ctrl.commitTransaction(trans, confirm=confirm)
  File "/usr/lib/python2.4/site-packages/smart/control.py", line 464, in 
commitTransaction
    return self.commitChangeSet(trans.getChangeSet(), caching, confirm)
  File "/usr/lib/python2.4/site-packages/smart/control.py", line 518, in 
commitChangeSet
    pmclass().commit(pmcs, pkgpaths)
  File "/usr/lib/python2.4/site-packages/smart/backends/rpm/pm.py", line 218, 
in commit
    probs = ts.run(cb, None)
  File "/usr/lib/python2.4/site-packages/smart/backends/rpm/pm.py", line 303, 
in __call__
    info, path = infopath
ValueError: too many values to unpack

[root at localhost igor]# smart config --set rpm-repackage=false

[root at localhost igor]#  smart upgrade -y
Loading cache...
Updating cache...               ######################################## [100%]

Computing transaction...
Committing transaction...                                                      
Preparing...                    ######################################## [  0%]
   1:Installing openssl         ######################################## [  7%]
   2:Cleaning openssl           ######################################## [ 14%]
   3:Installing dbus            ######################################## [ 21%]
   4:Cleaning dbus              ######################################## [ 28%]
   5:Installing freetype        ######################################## [ 35%]
   6:Cleaning freetype          ######################################## [ 42%]
   7:Installing hsqldb          ######################################## [ 50%]
   8:Cleaning hsqldb            ######################################## [ 57%]
   9:Installing gnome-session   ######################################## [ 64%]
  10:Cleaning gnome-session     ######################################## [ 71%]
  11:Installing dbus-x11        ######################################## [ 78%]
  12:Cleaning dbus-x11          ######################################## [ 85%]
  13:Installing freetype-devel  ######################################## [ 92%]
  14:Cleaning freetype-devel    ######################################## [100%]
=======================

----------
messages: 1055
nosy: thimm
priority: bug
project: smart
status: unread
title: smart doesn't work with rpm-repackage option

_______________________________________
Labix issue tracker <tracker at labix.org>
<http://tracker.labix.org/issue268>
_______________________________________



More information about the Smart mailing list