Koozali.org: home of the SME Server
Contribs.org Forums => Koozali SME Server 10.x => Topic started by: dallas on July 31, 2021, 08:49:29 AM
-
I'm not sure if this is a transient error or not. I have not run it in the past.
[root@www ~]# /sbin/e-smith/audittools/newrpms
Loaded plugins: fastestmirror, post-transaction-actions, smeserver
Loading mirror speeds from cached hostfile
Error: Cannot find a valid baseurl for repo: base
YumRepo Error: All mirror URLs are not using ftp, http/https or file.
Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt
[root@www ~]#
-
At a guess that is on v9 - you fail to mention such an important point?
-
At a guess that is on v9 - you fail to mention such an important point?
Well yes it is. Isn't it a prerequisite to upgrading to v10?
-
Well yes it is. Isn't it a prerequisite to upgrading to v10?
Problem being all the sme9 repos have now been archived, hence the yum errors re url etc
However, this may help - https://forums.contribs.org/index.php/topic,54338.0.html
Not sure if it will but worth a read at least
-
Problem being all the sme9 repos have now been archived, hence the yum errors re url etc
However, this may help - https://forums.contribs.org/index.php/topic,54338.0.html
Not sure if it will but worth a read at least
Thanks Terry,
I'm not looking to update anything, just find any contribs I've added to my system. There's not much but I did add Certificate ssl management which I see is not yet in SME 10 and I installed OpenVPN outside of SME. I can't remember if there are any others.
I also ran /sbin/e-smith/audittools/templates
Looking to get a clean upgrade at the first attempt.
-
this tools rely on yum and valid repo existing, so the steps to have it working are the same as trying to have yum working to update.
and i would strongly advise to update to last version of main repos to have an accurate output for this command
-
What he said :-)
-
this tools rely on yum and valid repo existing, so the steps to have it working are the same as trying to have yum working to update.
and i would strongly advise to update to last version of main repos to have an accurate output for this command
I'm a little confused... Can you confirm that running this code will not kill my SME 9.2?
yum clean all --enablerepo=smeupdates-testing,smetest
yum update smeserver-yum --disablerepo=base,updates -y
expand-template /etc/yum.smerepos.d/sme-base.repo
yum update
-
Its already dead, do a yum update, it fails with cant find base url etc
This gives it a chance to be prepared prior to move to sme10
-
Its already dead, do a yum update, it fails with cant find base url etc
This gives it a chance to be prepared prior to move to sme10
This
yum clean all --enablerepo=smeupdates-testing,smetest
yum update smeserver-yum --disablerepo=base,updates -y
expand-template /etc/yum.smerepos.d/sme-base.repo
yum update
It did update a few packages.
I have run /sbin/e-smith/audittools/newrpms and /sbin/e-smith/audittools/templates.
I assume that the output of these is only need if something goes pear shaped after upgrading to SME 10.
-
I have run /sbin/e-smith/audittools/newrpms and /sbin/e-smith/audittools/templates.
I assume that the output of these is only need if something goes pear shaped after upgrading to SME 10.
At best they show if you have installed any odd, not sme9, third party bits and/or custom templates that will blow sme10 up :-)
Have a good read of the forum post by JP https://forums.contribs.org/index.php/topic,54433.0.html in particular 2, 3 and 6