Submitted by craigh on Sat, 07/22/2017 - 16:27 Pro Licensee
For the last couple of days I have had an update to Webmin supposedly available, but each time I try to update I get the following error:
Building complete list of updates ..
Now updating webmin ..
Installing package(s) with command /bin/yum -y install webmin ..
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.linode.com
* extras: mirrors.linode.com
* updates: mirrors.linode.com
Resolving Dependencies
--> Running transaction check
---> Package webmin.noarch 0:1.850-1 will be updated
---> Package webmin.noarch 0:1.851-1 will be an update
http://5560598:xyz@software.virtualmin.com/universal/repodata/ca9d5169c59ebd446bbfd78338ffee064d5f61c5-filelists.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below knowledge base article
https://access.redhat.com/articles/1320623
If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/
One of the configured repositories failed (Virtualmin Distribution Neutral Packages),
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=virtualmin-universal ...
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 virtualmin-universal
or
subscription-manager repos --disable=virtualmin-universal
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=virtualmin-universal.skip_if_unavailable=true
failure: repodata/ca9d5169c59ebd446bbfd78338ffee064d5f61c5-filelists.sqlite.bz2 from virtualmin-universal: [Errno 256] No more mirrors to try.
http://5560598:xyz@software.virtualmin.com/universal/repodata/ca9d5169c59ebd446bbfd78338ffee064d5f61c5-filelists.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
.. install failed!
No packages were installed. Check the messages above for the cause of the error.
(I have redacted my licence key above.)
On a related note, for a long time now -- weeks at least, possibly a couple of months or more -- Virtualmin keeps telling me, "A new version 18.49-8 of Authentic Theme is available. Please update." However, I already have version 18.49-8 and when I try to update, nothing happens. This make sense, of course, but why have I been pestered with this update for weeks now for no apparent reason?
Craig
Status:
Active
Comments
Submitted by JamieCameron on Sat, 07/22/2017 - 18:47 Comment #1
Do you still see this, even after running
yum clean all
?Submitted by craigh on Sun, 07/23/2017 - 03:35 Pro Licensee Comment #2
That fixed it. Sorry, didn't seem obvious to me that yum clean all would fix a 404 error, but my bad.
Still being prompted to upgrade the Authentic Theme though.
Submitted by JamieCameron on Sun, 07/23/2017 - 18:31 Comment #4
I suspect the
yum clean all
was only needed due to a temporary corruption or inconsistency in the YUM repository.