Bug 12929

Summary: Smart 1.4.1 error in Mageia 4 x86_64
Product: Mageia Reporter: Anderson Carvalho <frateraec>
Component: RPM PackagesAssignee: Malo DeniƩlou <pmdenielou>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: olivier
Version: 4   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: smart-1.4.1-10.mga4.src.rpm CVE:
Status comment:

Description Anderson Carvalho 2014-03-03 23:34:05 CET
When I trying to update the list of packages in Smart 1.4.1 mga4 displays the following error:

# smart update
BDB2053 Freeing read locks for locker 0x4c3a: 10809/140400680576768
BDB2053 Freeing read locks for locker 0x4c3c: 10809/140400680576768
Traceback (most recent call last):
  File "/usr/bin/smart", line 200, in <module>
    main(sys.argv[1:])
  File "/usr/bin/smart", line 173, in main
    exitcode = iface.run(opts.command, opts.argv)
  File "/usr/lib64/python2.7/site-packages/smart/interface.py", line 53, in run
    result = _command.main(self._ctrl, opts)
  File "/usr/lib64/python2.7/site-packages/smart/commands/update.py", line 81, in main
    ctrl.reloadChannels()
  File "/usr/lib64/python2.7/site-packages/smart/control.py", line 388, in reloadChannels
    if not channel.fetch(self._fetcher, progress):
  File "/usr/lib64/python2.7/site-packages/smart/channels/urpmi.py", line 100, in fetch
    mirrors = self.loadMirrors(item.getTargetPath())
  File "/usr/lib64/python2.7/site-packages/smart/channels/urpmi.py", line 73, in loadMirrors
    key, entry = item.split("=")
ValueError: need more than 1 value to unpack

Reproducible: 

Steps to Reproduce:
Comment 1 Anderson Carvalho 2014-03-04 00:50:31 CET
I reinstall Smart and by drakrpm-editmedia I removed all repositories and added again. Now updated the list of packages.

http://pastebin.com/fb2yZH2c
Comment 2 Olivier FAURAX 2015-01-05 14:56:53 CET
SO, are you able to reproduce this problem?

CC: (none) => olivier

Comment 3 Samuel Verschelde 2015-09-21 13:20:35 CEST
Mageia 4 changed to end-of-life (EOL) status on 2015-09-19. It is is no longer 
maintained, which means that it will not receive any further security or bug 
fix updates.

Package Maintainer: If you wish for this bug to remain open because you plan to 
fix it in a currently maintained version, simply change the 'version' to a later 
Mageia version.

Bug Reporter: Thank you for reporting this issue and we are sorry that we weren't 
able to fix it before Mageia 4's end of life. If you are able to reproduce it 
against a later version of Mageia, you are encouraged to click on "Version" and 
change it against that version of Mageia. If it's valid in several versions, 
select the highest and add MGAxTOO in whiteboard for each other valid release.
Example: it's valid in cauldron and Mageia 5, set to cauldron and add MGA5TOO.

Although we aim to fix as many bugs as possible during every release's lifetime, 
sometimes those efforts are overtaken by events. Often a more recent Mageia 
release includes newer upstream software that fixes bugs or makes them obsolete.

If you would like to help fixing bugs in the future, don't hesitate to join the
packager team via our mentoring program [1] or join the teams that fit you 
most [2].

[1] https://wiki.mageia.org/en/Becoming_a_Mageia_Packager
[2] http://www.mageia.org/contribute/
Comment 4 Marja Van Waes 2015-10-27 06:57:47 CET
As announced over a month ago, Mageia 4 changed to end-of-life (EOL) status on 2015-09-19. It is is no longer maintained, which means that it will not receive any further security or bug fix updates.

This issue may have been fixed in a later Mageia release, so, if you still see it and didn't already do so: please upgrade to Mageia 5 (or, if you read this much later than this is written: make sure you run a currently maintained Mageia version)

If you are able to reproduce it against a maintained version of Mageia, you are encouraged to 
1. reopen this bug report, by changing the "Status" from "RESOLVED - OLD" to "REOPENED"
2. click on "Version" and change it against that version of Mageia. If you know it's valid in several versions, select the highest and add MGAxTOO in whiteboard for each other valid release.
Example: it's valid in cauldron and Mageia 5, set to cauldron and add MGA5TOO.
3. give as much relevant information as possible. If you're not an experienced bug reporter and have some time: please read this page:
https://wiki.mageia.org/en/How_to_report_a_bug_properly

If you see a similar issue, but are _not_sure_ it is the same, with the same cause, then please file a new bug report and mention this one in it (please include the bug number, too). 


If you would like to help fixing bugs in the future, don't hesitate to join the
packager team via our mentoring program [1] or join the teams that fit you 
most [2].
[1] https://wiki.mageia.org/en/Becoming_a_Mageia_Packager
[2] http://www.mageia.org/contribute/

Status: NEW => RESOLVED
Resolution: (none) => OLD