edwardspl@xxxxxxxxxx wrote:
Dear All,
Would you mind to help ?
[root@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@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@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum