Unable to sync 'updates' repo with internet repo using reposync command
Unable to sync 'updates' repo with internet repo using reposync command
On my local repo server(CentOS 7) getting the errors related to openscap* packages when run the below command:
# reposync -g -l -d -m --repoid=updates --download-metadata --download_path=/repos/CentOS-7/
For other repos like base and extras, I can able to sync them to internet repo using reposync command without any issues.
But, getting the errors while trying to sync updates repo to internet repo.
Please find the attached screenshot for error messages. Kindly assist me on this issue.
Regards,
Surendra
# reposync -g -l -d -m --repoid=updates --download-metadata --download_path=/repos/CentOS-7/
For other repos like base and extras, I can able to sync them to internet repo using reposync command without any issues.
But, getting the errors while trying to sync updates repo to internet repo.
Please find the attached screenshot for error messages. Kindly assist me on this issue.
Regards,
Surendra
- Attachments
-
- error screenshot
- Screenshot (12).png (197.55 KiB) Viewed 3118 times
Re: Unable to sync 'updates' repo with internet repo using reposync command
Do those update files already exist in your target location and have you, for example, modified them by re-signing them with your own GPG key?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Unable to sync 'updates' repo with internet repo using reposync command
Yeah, the directory named 'updates' presented under /repos/CentOS-7/
>>>>>>>> for example, modified them by re-signing them with your own GPG key? <<<<<<<<<<<
I didn't get the above statement. Could you please kindly elaborate on this?
Regards,
Surendra
>>>>>>>> for example, modified them by re-signing them with your own GPG key? <<<<<<<<<<<
I didn't get the above statement. Could you please kindly elaborate on this?
Regards,
Surendra
Re: Unable to sync 'updates' repo with internet repo using reposync command
If you download an rpm package file and then run rpm --addsign $package and re-sign it with your own key then reposync does exactly what you are complaining about.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Unable to sync 'updates' repo with internet repo using reposync command
$package ---->> Here, what package exactly you're referring?
Actually, here my requirement is "when I run below command, 'updates' repo has to be synced with internet repo and gets updated with
the latest packages available for updating" . The 'updates' directory is created under /repos/CentOS-7/
~~~~~~~~~~~~~~
# reposync -g -l -d -m --repoid=updates --download-metadata --download_path=/repos/CentOS-7/
~~~~~~~~~~~~~~
If you can assist me on this issue with the detailed steps then that would be very helpful for me.
Regards,
Surendra
Actually, here my requirement is "when I run below command, 'updates' repo has to be synced with internet repo and gets updated with
the latest packages available for updating" . The 'updates' directory is created under /repos/CentOS-7/
~~~~~~~~~~~~~~
# reposync -g -l -d -m --repoid=updates --download-metadata --download_path=/repos/CentOS-7/
~~~~~~~~~~~~~~
If you can assist me on this issue with the detailed steps then that would be very helpful for me.
Regards,
Surendra
Re: Unable to sync 'updates' repo with internet repo using reposync command
Hi TrevorH,
Could you please kindly assist me on this issue?
Regards,
Surendra
Could you please kindly assist me on this issue?
Regards,
Surendra
Re: Unable to sync 'updates' repo with internet repo using reposync command
Hi TrevorH,
No, I have not re-signed them with my own GPG key.
Regards,
Surendra
No, I have not re-signed them with my own GPG key.
Regards,
Surendra
Re: Unable to sync 'updates' repo with internet repo using reposync command
@TrevorH
I get exactly the same errors and a number of fails. They system was configured a few years ago by someone who is very, very good and worked fine up until the previous 6 months I believe. I am "not so good" but can use Google - my Linux skills somewhat limited.
The baser url is
When I curl that and "some" of other repos I get this:
So the question is, for this kind of issue it looks like it's trying to connect to something which is no longer there, where do I point it at now?
As an aside and a you may want to flag this:
Our client's Sophos stopped it downloading and the check shows a bitcoin miner in there
I get exactly the same errors and a number of fails. They system was configured a few years ago by someone who is very, very good and worked fine up until the previous 6 months I believe. I am "not so good" but can use Google - my Linux skills somewhat limited.
The baser url is
Code: Select all
http://mirror.centos.org/centos/$releasever/cr/$basearch/
Code: Select all
<p>The requested page could not be found.</p>
<p>This happens when the page has been moved, removed, or had its name
and address changed. It might otherwise be temporarily unavailable for
technical reasons.</p>
As an aside and a you may want to flag this:
Code: Select all
http://repo.okay.com.mx/?dir=centos/
Code: Select all
https://www.joesandbox.com/analysis/278652/0/html
Re: Unable to sync 'updates' repo with internet repo using reposync command
Did you manually substitute the yum variables into your manual curl command? $releasever is most likely '7' since you're posting in the CentOS 7 section, $arch is most likely x86_64. So e.g. not http://mirror.centos.org/centos/$releas ... $basearch/ but http://mirror.centos.org/centos/7/cr/x86_64/. I'd also say there is no point in having the CR repo enabled any more as 7.9 is the latest and last CentOS 7 point release so there will never be another CR with packages in it.The baser url is
CODE: SELECT ALL
http://mirror.centos.org/centos/$releas ... $basearch/
When I curl that and "some" of other repos I get this:
That's not a CentOS supplied repo and is used entirely at your own risk.As an aside and a you may want to flag this:
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Unable to sync 'updates' repo with internet repo using reposync command
Thanks Trevor, I did try with the substitutions but Sophos was blocking lots at the time, due to the lower link so I'll give it another bash, there are a quite few configured and happy to leave out cr or any others.