SnapafunFrank wrote:
> mike wrote:
> 
>> SnapafunFrank wrote:
>>  
>>
>>> mike wrote:
>>>
>>>   
>>>
>>>> SnapafunFrank wrote:
>>>>
>>>>
>>>>     
>>>>
>>>>> And while we are on urpmi problems can someone tell me why I cannot
>>>>> wholly add another media to my list.
>>>>>
>>>>> I did:
>>>>>
>>>>> # urpmi.addmedia myrpms file://home/frank/MYRPMS
>>>>>
>>>>> and :
>>>>>
>>>>> # urpmi.addmedia -f myrpms file://home/frank/MYRPMS
>>>>>
>>>>> I get some entries in the /var/lib/urpmi directory but when I do :
>>>>>
>>>>> # urpmq --list-media
>>>>>
>>>>> the new media doesn't appear in the list and trying to install the
>>>>> rpms
>>>>> downloaded to the ~/MYRPMS directory, I get the 'Not found' reply.
>>>>>
>>>>> I have tried:
>>>>>
>>>>> # urpmi --update -a
>>>>>
>>>>> But this did not get my new media added either.
>>>>>  
>>>>>       
>>>>
>>>>
>>>> I just tried adding a local source as you descibed above, and all
>>>> turned out well. I used some rpms I downloaded.
>>>>
>>>> Could it possibly be something wrong with the rpms themselves.
>>>> I think rpm looks at the rpm's header for info to generate the hdlist.
>>>>
>>>> Maybe download some different rpm's in a new directory and try
>>>> adding them as locale source to see if it works.
>>>>
>>>> Mike
>>>>
>>>>
>>>>
>>>>     
>>>
>>> I tried by moving or deleting rpms that though they went through before,
>>> this time they kept coming up with errors.
>>>
>>> [EMAIL PROTECTED] frank]# urpmi.addmedia -f myrpms /home/frank/MYRPMS/
>>>   
>>
>>
>> <snip>
>>
>>  
>>
>>> added medium myrpms
>>>   
>>
>>
>> <snip>
>>
>>  
>>
>>> reading rpm files from [/home/frank/MYRPMS]
>>>   
>>
>>
>> It should of listed your package or packages here like...
>> /var/cache/urpmi/headers/Package_Name_Version_Arch
>>
>>  
>>
>>> writing list file for medium "myrpms"
>>> building hdlist [/var/lib/urpmi/hdlist.myrpms.cz]
>>> choosing compression method with "gzip -4" for archive
>>> /var/lib/urpmi/hdlist.myrpms.cz
>>> real archive size of /var/lib/urpmi/hdlist.myrpms.cz is 1707821
>>> no info available for package flightgear at
>>> /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/URPM/Build.pm
>>> line 465.
>>>
>>>   
>>
>>
>>  
>>
>>> As you can see - no 'myrpms' media. I have even tried a new directory
>>> with only the latest download ( and successfully installed ) rpm in it.
>>> The same thing is happening. It's driving me nuts. Unless there is a
>>> simple way of getting all my media back up should I scrap the lot and
>>> start again, well, I may as well be back fighting windows as this is the
>>> type of problem I left windows for.
>>>
>>> Any other ideas anyone?
>>>
>>>
>>>   
>>
>>
>> You can try this and see if it works.
>>
>> [root]# urpmi.removemedia myrpms
>>
>> [root]# urpmi.addmedia -f -c myrpms file://home/frank/MYRPMS
>>
>>
>>
>> Mike
>>
>>
>>  
>>
> That worked bang on Mike. Thanks. I believe I had tried the switches but
> quite possible like this :
> 
> [root]# urpmi.addmedia -fc myrpms file://home/frank/MYRPMS
> 
> Whereas your way of separating them is what was needed.
> 
> Back in business and greatly appreciated the assistance offered here.
> 

Bit of a learning experience for me too. Even though I was able to
remove and re-add my locale source I discovered 2 of the packages
was missing. I found them stuck in /var/cache/urpmi/headers/
tried the -c option and got all my packages back.

Glad you got it working.

Mike




____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to