[Users] Caching CentOS 6 Template on OpenVZ 7
Arjit Chaudhary
arjit.c at gmail.com
Mon Dec 21 18:20:21 MSK 2020
Hello,
I understand CentOS 6 is EOL, but for some reason, a few times it's needed
to test things out as many people still use it,
I tried to cache the centos-6 template and it errors with,
[root at home ~]# 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. Invalid release/repo/arch combination/
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
any idea how to cache/add this in?
--
Thanks,
Arjit Chaudhary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/users/attachments/20201221/da947db5/attachment.html>
More information about the Users
mailing list