[Fwd: [Yum] Install / update problem]
edwardspl at ita.org.mo
edwardspl at ita.org.mo
Mon Feb 5 14:52:11 UTC 2007
Tim Lauridsen wrote:
> edwardspl at ita.org.mo wrote:
>
>> Dear All,
>>
>> Would you mind to help ?
>>
>> [root at svr1 fc6]# yum localinstall telnet*.rpm
>> Loading "installonlyn" plugin
>> Setting up Local Package Process
>> Examining telnet-0.17-37.i386.rpm: telnet - 1:0.17-37.i386
>> Examining telnet-server-0.17-37.i386.rpm: telnet-server - 1:0.17-37.i386
>> Marking telnet-server-0.17-37.i386.rpm to be installed
>> Setting up repositories
>> Could not retrieve mirrorlist
>> http://mirrors.fedoraproject.org/mirrorlist?repo=c
>> ore-6&arch=i386 error was
>> [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name
>> resolution')>
>> Error: Cannot find a valid baseurl for repo: core
>> [root at svr1 fc6]#
>>
>> How can we modify the config of yum, then it can be used for local
>> disk to do the install / update ?
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>Yum mailing list
>>Yum at lists.dulug.duke.edu
>>https://lists.dulug.duke.edu/mailman/listinfo/yum
>>
>>
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>Yum mailing list
>>Yum at lists.dulug.duke.edu
>>https://lists.dulug.duke.edu/mailman/listinfo/yum
>>
>>
> The idea of using 'yum localinstall rpmfile', insted of using 'rpm
> -ivh rpmfile' is that yum localinstall checks the dependencies in the
> rpmfile to install and gets them for the enabled repositories.
>
> If you dont have access to the repositories on the internet, then you
> must create a local yum repository.
>
> Try to read this, i might give you some ideas.
> http://www.city-fan.org/tips/YumRepoFromImages
>
> Tim
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Yum mailing list
>Yum at lists.dulug.duke.edu
>https://lists.dulug.duke.edu/mailman/listinfo/yum
>
>
Hello,
So, do you means :
1, edit /etc/yum.repos.d/fedora.repo or
/etc/yum.repos.d/fedora-core.repo, whichever one is present
2, comment out any line starting with baseurl or mirrorlist
3, add a new line:
eg : baseurl=file:///usr/local/src/rpms
then copy any rpm package files in there, then run "yum localinstall
rpm-file-name"
right ?
Edward.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.baseurl.org/pipermail/yum/attachments/20070205/7918ab9a/attachment-0001.htm
More information about the Yum
mailing list