Re: Local yum repository

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxx
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]

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux