[Fwd: [Yum] Install / update problem]
Tim Lauridsen
tla at rasmil.dk
Mon Feb 5 14:41:41 UTC 2007
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.baseurl.org/pipermail/yum/attachments/20070205/3fd35b35/attachment-0001.htm
More information about the Yum
mailing list