Hi All,
i have a local repository configured for 'yum',which have files copied over from the RHEL DVD,It was configured initially,as i was facing some issues with my NIC which was not supported on 2.6.18 so had to upgrade to 2.6.26. Now as all is working fine and i'm on net i want to disable that repository and just use the rpmforge repository configured on my system following directions from http://wiki.centos.org/AdditionalResources/Repositories/RPMForge?action=show...
Please help me out - Disabling the local Repo or by - Any method to keep it up to date ,[syncing it with some online repository]
saurabh wrote:
Please help me out
- Disabling the local Repo
just place "disabled=1" line in your .repo file for local repository
or by
- Any method to keep it up to date ,[syncing it with some online
repository]
copy of DVD doesn't need to be synced, since it doesn't updated at all. If you want you may need to have mirror of "updates" repository, that is separate repository from "base", that contains originally released packages. You can use any methods you familiar with, e.g. rsync, wget mirroring or reposync (from yum-utils package).
Sergey Podushkin wrote:
saurabh wrote:
Please help me out
- Disabling the local Repo
just place "disabled=1" line in your .repo file for local repository
or by
- Any method to keep it up to date ,[syncing it with some online
repository]
copy of DVD doesn't need to be synced, since it doesn't updated at all. If you want you may need to have mirror of "updates" repository, that is separate repository from "base", that contains originally released packages. You can use any methods you familiar with, e.g. rsync, wget mirroring or reposync (from yum-utils package). _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi Sergey Podushkin Thanks for the response.
i followed your instructions and edited the local repo file under /etc/yum.repos.d by adding disabled=1 in the last [server] name=server baseurl=file:///var/ftp/pub/Server gpgcheck=0 disabled=1
Rebooted the machine and tried to run yum again but this time too yum looked at local repo.Here is the output [root@xbox X11]# yum install openo* Loading "installonlyn" plugin Loading "rhnplugin" plugin This system is not registered with RHN. RHN support will be disabled. Setting up Install Process Setting up repositories Reading repository metadata in from local files Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package openobex-apps.i386 0:1.3-3.1 set to be updated ---> Package openobex.i386 0:1.3-3.1 set to be updated ---> Package openobex-devel.i386 0:1.3-3.1 set to be updated --> Running transaction check --> Processing Dependency: bluez-libs-devel for package: openobex-devel --> Processing Dependency: libusb-devel for package: openobex-devel --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Package libusb-devel.i386 0:0.1.12-5.1 set to be updated ---> Package bluez-libs-devel.i386 0:3.7-1 set to be updated --> Running transaction check
Dependencies Resolved
============================================================================= Package Arch Version Repository Size ============================================================================= Installing: openobex i386 1.3-3.1 server 21 k openobex-apps i386 1.3-3.1 server 36 k openobex-devel i386 1.3-3.1 server 18 k Installing for dependencies: bluez-libs-devel i386 3.7-1 server 62 k libusb-devel i386 0.1.12-5.1 server 96 k
Transaction Summary ============================================================================= Install 5 Package(s) Update 0 Package(s) Remove 0 Package(s)
Total download size: 232 k Is this ok [y/N]: n Exiting on user Command Complete! [root@xbox X11]#
Please help me solve this,i'm using RHEL 5 [2.6.26.5]
On Sun, 2008-09-14 at 01:51 +0530, saurabh wrote:
Hi All,
i have a local repository configured for 'yum',which have files copied over from the RHEL DVD,It was configured initially,as i was facing some issues with my NIC which was not supported on 2.6.18 so had to upgrade to 2.6.26. Now as all is working fine and i'm on net i want to disable that repository and just use the rpmforge repository configured on my system following directions from http://wiki.centos.org/AdditionalResources/Repositories/RPMForge?action=show...
Please help me out
- Disabling the local Repo
or by
- Any method to keep it up to date ,[syncing it with some online
repository]
I suggest "man -k yum" as a starting point before asking such basic questions. If this returns nothing, as root user do "makewhatis" and try it again. Then read some of what is returned by doing "man <whatever>", omitting the quotes and replacing the "<whatever>" with the name of the man page.
<snip sig stuff>