Koozali.org: home of the SME Server
Contribs.org Forums => Koozali SME Server 10.x => Topic started by: hjnvejlen on March 20, 2021, 02:14:25 PM
-
I have now managed to get SME 10 Beta 1 up and running and have restored a backup from 9.2 installation.
And I admit I realy like SME 10.. but I have a problem:
When I try to run yum update I get an error, similar to the one I got in a mail from the server:
One of the configured repositories failed (Mirror de Labrusse),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Run the command with the repository temporarily disabled
yum --disablerepo=stephdl ...
4. Disable the repository permanently, so yum won't use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:
yum-config-manager --disable stephdl
or
subscription-manager repos --disable=stephdl
5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=stephdl.skip_if_unavailable=true
failure: repodata/repomd.xml from stephdl: [Errno 256] No more mirrors to try.
http://mirror.de-labrusse.fr/smeserver/7/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
I can, to some extend, run yum update like:
yum update -disablerepo=stephdl.
But the Mirror mentioned is still not working and many problems occur.
The mail (and yum) suggest a remedi:
yum-config-manager --save --setopt=stephdl.skip_if_unavailable=true
But yum-config-manager seems not to be a known command.
any suggestions how to work around this not updated mirror?
-
I think I have found out how to solve the problem I described. I have overseen that I in the menu can specify what repostitories to enable.. And I disabled stephdl and smeupdates-testing..
And now it SEEMS to work
-
Remember if restoring a sme9 backup you will end up with its settings..having smeupdates-testing enabled is dangerous, better to have it disabled and only use a --enablerepo when needed
A RC1 iso is currently under test, so in a day or two it will be on the mirrors, it will (should) be possible to do a simple yum update once the RC is out to update your beta 1 install to RC status, you may have to manually update the smeserevr-release rpm, time will tell
-
Remember if restoring a sme9 backup you will end up with its settings..having smeupdates-testing enabled is dangerous, better to have it disabled and only use a --enablerepo when needed
A RC1 iso is currently under test, so in a day or two it will be on the mirrors, it will (should) be possible to do a simple yum update once the RC is out to update your beta 1 install to RC status, you may have to manually update the smeserevr-release rpm, time will tell
Yes I had a suspicion (hope that word is spelled correct) that this was the case, and as I wrote, I figured it out myself :-)
I look forward to RC1..
Currently a lot of contribs and updates, have problems due to problems with dependency..
Currently I have "grep" to be updated, but it can't be installed due to broken dependencies :-( Hope this will improves.
Loaded plugins: fastestmirror, post-transaction-actions, priorities, smeserver
Loading mirror speeds from cached hostfile
* epel: mirror.netsite.dk
* smeaddons: ibsgaarden.dk
* smecontribs: ibsgaarden.dk
* smeextras: ibsgaarden.dk
* smeos: ibsgaarden.dk
* smeupdates: ibsgaarden.dk
1242 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package grep.x86_64 0:2.20-3.el7 will be updated
---> Package grep.x86_64 0:2.20-6.el6 will be an update
--> Processing Dependency: libpcre.so.0()(64bit) for package: grep-2.20-6.el6.x86_64
--> Finished Dependency Resolution
Error: Package: grep-2.20-6.el6.x86_64 (base)
Requires: libpcre.so.0()(64bit)
Available: pcre-7.8-7.el6.x86_64 (base)
libpcre.so.0()(64bit)
Installed: pcre-8.32-17.el7.x86_64 (@anaconda/rawhide)
~libpcre.so.1()(64bit)
~libpcre16.so.0()(64bit)
~libpcre32.so.0()(64bit)
You could try using --skip-broken to work around the problem
I tried to install webhosting, but it failed due to problems installing the smeserver-php that was a dependecy.. apparently I have an older version of smeserver-php that is older than the required version..
And as far as I remember, I have not installed the current version on purpose..
Hope my post is not too confusing ;-)
-
na mate all good, issues start happening when we get to this stage as the mirrors start doing their thing, right now you need the smeupdates-testing repo, and for good measure epel and openfusion particularly with contribs, give a few hours and RC is done and all that will be in smeupdates..
-
---> Package grep.x86_64 0:2.20-3.el7 will be updated
---> Package grep.x86_64 0:2.20-6.el6 will be an update
well you messed up something with your mirrors, chances that it refuses to update your grep for el7 /CentOS 7 /SME10 with something for el6 /CentOS 6 / SME 9....
just in case do
rpm -qa|grep el6
db yum_repositories print
please post the result of the commands as it can be a bug we need to fix...
-
ok found a bug
when migrating yum db aftert EOL of SME9 there will be lines like this
base=repository|BaseURL|http://vault.centos.org/6.10/os/$basearch/|EnableGroups|no|Exclude|initscripts,libgsf|GPGCheck|yes|MirrorList|disabled|Name|CentOS - os|Visible|yes|status|enabled
a BaseURL was hardcoded and a disabled put in MirrorList
will update the migrate fragment for that
/etc/e-smith/db/yum_repositories/migrate/45CentOSEOL
-
https://bugs.contribs.org/show_bug.cgi?id=11477
-
ok found a bug
when migrating yum db aftert EOL of SME9 there will be lines like this
base=repository|BaseURL|http://vault.centos.org/6.10/os/$basearch/|EnableGroups|no|Exclude|initscripts,libgsf|GPGCheck|yes|MirrorList|disabled|Name|CentOS - os|Visible|yes|status|enabled
a BaseURL was hardcoded and a disabled put in MirrorList
will update the migrate fragment for that
/etc/e-smith/db/yum_repositories/migrate/45CentOSEOL
Ok, thanks. I will look forward for having the fix :-)
And... Thanks to ALL of you guys for a marvelous job you do..