smart fails on rpm with empty Provides:
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Smart Package Manager |
Fix Released
|
Undecided
|
Gustavo Niemeyer | ||
smart (Fedora) |
Fix Released
|
High
|
Bug Description
Traceback (most recent call last):
File "/usr/bin/smart", line 195, in <module>
main(
File "/usr/bin/smart", line 168, in main
exitcode = iface.run(
File "/usr/lib/
result = _command.
File "/usr/lib/
ctrl.
File "/usr/lib/
self.
File "/usr/lib/
prvargs, reqargs, upgargs, cnfargs)
File "/usr/lib/
fk([x for x in self.provides if x.name[0] != "/"]) !=
IndexError: string index out of range
http://
...
<rpmTag name="Providename">
<string/>
<string>
<string>
...
<rpmTag name="Rpmversion">
<string>
</rpmTag>
...
Related branches
- Smart Package Manager Team: Pending requested
Changed in smart: | |
status: | Unknown → Confirmed |
Changed in smart: | |
status: | Confirmed → In Progress |
Changed in smart: | |
status: | In Progress → Fix Released |
Changed in smart: | |
milestone: | 1.2 → 1.1.2 |
Changed in smart (Fedora): | |
importance: | Unknown → High |
Workaround, show warning instead of traceback