[ATrpms-users] smart & fc6

Max Waterman davidmaxwaterman+atrpms-users at fastmail.co.uk
Mon Feb 12 02:58:05 CET 2007


Axel Thimm wrote:
> On Sat, Feb 10, 2007 at 10:58:44AM +0800, Max Waterman wrote:
>   
>> I've just done my first install of fc6. Mostly works ok.
>>
>> I selected the web server option.
>>
>> I'm used to using smart package manager, but it doesn't seem to work :
>>     
>
> How did you install it?
>
>   
>> # rpm -q smart python
>> smart-0.50-45.fc6
>> python-2.4.4-1.fc6
>>
>> If I run smart with (seemingly) any options, I get :
>>
>>     
>>> # smart check
>>> New channel 'Fedora Extras - Development - Source 
>>> (extras-development-source)' detected.
>>> Include it? (Y/n):
>>>
>>>
>>> New channel 'Fedora Extras - Development - Debug 
>>> (extras-development-debuginfo)' detected.
>>> Include it? (Y/n):
>>> New channel 'Fedora Extras - Development Tree (extras-development)' 
>>> detected.
>>> Include it? (Y/n):
>>>
>>> New channel 'Fedora Core 6 - i386 - Test Updates (updates-testing)' 
>>> detected.
>>> Include it? (Y/n):
>>>
>>> New channel 'Fedora Core 6 - i386 - Test Updates Debug 
>>> (updates-testing-debuginfo)' detected.
>>> Include it? (Y/n):
>>>
>>> New channel 'Fedora Core 6 - Test Updates Source 
>>> (updates-testing-source)' detected.
>>> Include it? (Y/n):
>>>
>>> New channel 'Fedora Core - Development (development)' detected.
>>> Include it? (Y/n):
>>>
>>> New channel 'Fedora Core - Development - Debug 
>>> (development-debuginfo)' detected.
>>> Include it? (Y/n):
>>>
>>> New channel 'Fedora Core - Development - Source (development-source)' 
>>> detected.
>>> Include it? (Y/n):
>>>
>>> Traceback (most recent call last):
>>>   File "/usr/bin/smart", line 194, in ?
>>>     main(sys.argv[1:])
>>>   File "/usr/bin/smart", line 165, in main
>>>     initPlugins()
>>>   File "/usr/lib/python2.4/site-packages/smart/__init__.py", line 170, 
>>> in initPlugins
>>>     __import__("smart.plugins."+entry[:-3])
>>>   File 
>>> "/usr/lib/python2.4/site-packages/smart/plugins/channelsync.py", line 
>>> 200, in ?
>>>     syncChannels(sysconf.get("channel-sync-dir", CHANNELSDIR))
>>>   File 
>>> "/usr/lib/python2.4/site-packages/smart/plugins/channelsync.py", line 
>>> 50, in syncChannels
>>>     descriptions = parseChannelsDescription(data)
>>>   File "/usr/lib/python2.4/site-packages/smart/channel.py", line 266, 
>>> in parseChannelsDescription
>>>     key, value = line.split("=")
>>> ValueError: too many values to unpack
>>>       
>> My searches only turn up one problem with smart, and that seems to be 
>> resolved with 'smart config --set rpm-repackage=false', but, for me, 
>> that just results in the same error message above.
>>
>> I did a 'yum update' and 'yum upgrade', and they completed ok, but smart 
>> is still broken.
>>
>> Any ideas?
>>     
>
> I read the above as: There is a channel config that has an equal sign
> ("=") too many. Check the contents of /etc/smart/channels and if
> nothing obviously pops up, comment the channels one by one until you
> find which one is causing grief.
>   
Aha. You're right. The atrpms instructions seems to have an error :

http://www.atrpms.net/install.html

"
|#
# atrpms
# Fedora Core 6 - i386 - ATrpms
#
[atrpms]
name=Fedora Core 6 - i386 - ATrpms
baseurl=http://dl.atrpms.net/fc6-i386/atrpms/stable type=rpm-md
"

that 'type=rpm-md' should be on it's own line - at least, when I put it 
on it's own line, it all works as expected.

Thanks!

Max.
|
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.atrpms.net/pipermail/atrpms-users/attachments/20070212/676a334f/attachment.html 


More information about the atrpms-users mailing list