[Users] Caching CentOS 6 Template on OpenVZ 7
mail.chris.az at gmail.com
mail.chris.az at gmail.com
Sat May 13 16:45:16 MSK 2023
I am running into the same issue as this thread:
https://www.mail-archive.com/users@openvz.org/msg07617.html
Like that poster, I understand CentOS 6 is EOL, but there are times it's
needed.
I tried the changing the URL's per the older thread without success.
Does anyone have this working and with what URL's, in which mirrorlist file?
Thanks!
This is what I am getting:
# vzpkg update cache centos-6-x86_64
Update OS template cache for centos-6-x86_64 template
Cleaning repos: base0 base1 base2 base3
12 metadata files removed
0 sqlite files removed
0 metadata files removed
base0
| 951 B 00:00
base0/filelists
| 824 B 00:00
base0/primary
| 1.3 kB 00:00
base0/other
| 707 B 00:00
base1
| 951 B 00:00
base1/filelists
| 3.0 kB 00:00
base1/primary
| 2.2 kB 00:00
base1/other
| 8.3 kB 00:00
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. </html>/
removing mirrorlist with no valid mirrors:
/vz/template/centos/6/x86_64/pm/base2/mirrorlist.txt
Traceback (most recent call last):
File "/usr/share/vzyum/bin/yum", line 30, in <module>
File "/usr/share/vzyum/yum-cli/yummain.py", line 293, in user_main
File "/usr/share/vzyum/yum-cli/yummain.py", line 144, in main
File "/usr/share/vzyum/yum-cli/cli.py", line 442, in doCommands
File "/usr/share/vzyum/yum-cli/yumcommands.py", line 561, in doCommand
File "/usr/share/vzyum/lib/yum/yumRepo.py", line 1474, in <lambda>
File "/usr/share/vzyum/lib/yum/yumRepo.py", line 1466, in _getRepoXML
File "/usr/share/vzyum/lib/yum/yumRepo.py", line 1456, in _loadRepoXML
File "/usr/share/vzyum/lib/yum/yumRepo.py", line 1431, in
_groupLoadRepoXML
File "/usr/share/vzyum/lib/yum/yumRepo.py", line 1249, in
_commonLoadRepoXML
File "/usr/share/vzyum/lib/yum/yumRepo.py", line 1027, in _getFileRepoXML
File "/usr/share/vzyum/lib/yum/yumRepo.py", line 834, in _getFile
File "/usr/share/vzyum/lib/yum/yumRepo.py", line 519, in <lambda>
File "/usr/share/vzyum/lib/yum/yumRepo.py", line 514, in _getgrab
File "/usr/share/vzyum/lib/yum/yumRepo.py", line 484, in _setupGrab
File "/usr/share/vzyum/lib/yum/yumRepo.py", line 699, in <lambda>
File "/usr/share/vzyum/lib/yum/yumRepo.py", line 696, in _geturls
File "/usr/share/vzyum/lib/yum/yumRepo.py", line 662, in _baseurlSetup
File "/usr/share/vzyum/lib/yum/yumRepo.py", line 426, in check
AttributeError: 'YumRepository' object has no attribute 'mirrorlistfn'
Error: /usr/share/vzyum/bin/yum failed, exitcode=1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/users/attachments/20230513/6a7779a2/attachment.html>
More information about the Users
mailing list