smart doesn't work with rpm 4.4.7 or 5.0.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Smart Package Manager |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Imported: http://
Reason: Review Patch
further details: https:/
msg1257 (view) Author: afb Date: 2007-12-18.20:15:56
Here is a revised patch that uses rpm.archscore if present, but just ignores it
when rpm.archscore is missing (such as it is in rpm-python-5.0 for instance...)
msg1062 (view) Author: bmh1980 Date: 2007-01-09.11:33:00
Here is a patch that removes the archscore things. So users can patch there
local smart copy and can use smart again till rpm 4.4.8 is released.
msg1051 (view) Author: n3npq Date: 2006-12-26.12:26:51
On Dec 26, 2006, at 7:08 AM, Mauricio Teixeira (netmask) at Labix
Tracker wrote:
>
> Mauricio Teixeira (netmask) <email address hidden> added the comment:
>
> IIRC, Jeff Johnson told us in the Smart list that the 'archscore'
> would be
> removed from newer RPM implementations.
>
archscore is re-added in rpm-4.4.8 (for like the 3rd or 4th time) to
give
applications Yet Another Chance to do something different.
All of rpmrc is going to be removed, multilib and virtual os's and
emulators have made the
the arch/os scoring mechanisms unwieldy and useless. Meanwhile, I
certainly
dinna mean to break any code, the issue was warned many times, most
recently
in August.
> Niemeyer, I think you're the one to deal with this issue. :)
>
Being dealt with as needed.
73 de Jeff
msg1050 (view) Author: netmask Date: 2006-12-26.12:08:48
IIRC, Jeff Johnson told us in the Smart list that the 'archscore' would be
removed from newer RPM implementations.
Niemeyer, I think you're the one to deal with this issue. :)
msg1049 (view) Author: bmh1980 Date: 2006-12-24.23:48:59
smart doesn't work with rpm 4.4.7. It looks like modifications on the rpm modules.
% smart --gui --log-level=debug
Traceback (most recent call last):
File "/usr/lib/
createChannel
smart = __import_
File "/usr/lib/
<module>
from smart.backends.
File "/usr/lib/
in <module>
from smart.backends.
File "/usr/lib/
in <module>
archscore = rpm.archscore
AttributeError: 'module' object has no attribute 'archscore'
Traceback (most recent call last):
File "/usr/bin/smart", line 167, in main
exitcode = iface.run(
File "/usr/lib/
line 364, in run
self.
File "/usr/lib/
reloadChannels
self.
File "/usr/lib/
rebuildSysConfC
channel = createChannel(
File "/usr/lib/
createChannel
raise Error, _("Unable to create channel of type '%s'") % type
Error: Kann folgende Channel Variante nicht erstellen: rpm_sys
Related branches
- Smart Package Manager Team: Pending requested
- Diff: None lines
Changed in smart: | |
milestone: | none → 1.2 |
Changed in smart: | |
milestone: | 1.2 → 1.1.2 |
rpm.archscore seems to be unreliable, version to version. Smart has implemented workarounds that produce a better result with common use cases (x86_64/i386) however this is not a 'universal' solution. I'll take a look at this.