Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17781

Updating a local yum repo. Executing createrepo --update but to a specific directory.

$
0
0

Hello folks.

The environment is running on Centos 6 and 7.1 and 7.2

I am dealing with a repo that does not have the open-vm-tools rpm package. Syncing the repos so we can get the newest packages is simply not an option. Not for now at least.

So what we want to do is the following: - wget the open-vm-tools for each release of Centos. - Copy it in the update directory - Run createrepo --update on the update directory only.

Is this going to work? I am concerned about running the "createrepo --update" command on the update directory only. Doesn't the RPM database need to be aware about the packages on the other directories? Not sure.

This is a highly customized environment by the way.

Thank you.

submitted by /u/ACircledSquare
[link] [comments]

Viewing all articles
Browse latest Browse all 17781

Trending Articles