Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
We're setting up an internal network of Oracle Linux repositories: One central yum mirror that gets the packages directly from Oracle, and then local repos at different sites that will sync with the central server. Each server will need both x86_64 and i386 packages.
The first local mirror, like the central server, is x86_64 architecture. The first reposync:
reposync -r ol6_latest -p /path/to/dest/directory
copied everything from the x86_64 repo to the new server but nothing from the i386 repo. The second try:
reposync -r ol6_latest -a i386 -p /path/to/i386/dest/directory
copied all the "noarch" RPMs from the x86_64 repo and didn't touch the i386 files. From the reposync man page, that isn't what we expected:
-a ARCH, --arch=ARCH
Act as if running the specified arch (default: current arch,
note: does not override $releasever).
Is there a way to convince reposync that we really do want both the x86_64 and i386 repos on the same server?
I do not really know Oracle Linux, but in yum (or actually dnf) you have arch and basearch.
On 64 bits machine both are x86_64.
But on 32 bits, the arch can is usually i686, while basearch is i386.
I hope t helps you.
Thanks. I tried using --arch=i686, and it retrieved more packages, but still not the full 32-bit repository. The problem is likely that my ULN mirror server and the one where I'm trying to make the copy are both 64-bit machines. If the receiving machine were 32-bit, it would probably work. Some of the apps we run, although they are running on 64-bit machines, require some 32-bit libraries.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.