Virtualmin repo prevents yum to run update

OS: CentOS 7.3.1611
Webmin: 1.844
Virtualmin: 5.99

Message i get after force stop of yum update:

http://GPL:GPL@software.virtualmin.com/gpl/rhel/7/x86_64/repodata/repomd.xml: [Errno 14] curl#56 - "Network error recv()"
Trying other mirror.


One of the configured repositories failed (RHEL/CentOS/Scientific 7 - x86_64 - Virtualmin),
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 ...

     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
        or
            subscription-manager repos --disable=virtualmin

     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.skip_if_unavailable=true

failure: repodata/repomd.xml from virtualmin: [Errno 256] No more mirrors to try.
http://GPL:GPL@software.virtualmin.com/gpl/rhel/7/x86_64/repodata/repomd.xml: [Errno 14] curl#56 - "Network error recv()"

Until last Virtualmin update was all fine and now i'm forced to stop yum update otherwise it will run indefinitely.

When i disable virtualmin and virtualmin-universal the update runs without any problem. Is this your server breaking up or last Virtualmin update come with some unexpected bugs?

Status: 
Active

Comments

Howdy -- sorry, we're experiencing an issue with the software server at the moment, but we hope to have it up and running shortly!

Diabolico's picture
Submitted by Diabolico on Thu, 06/29/2017 - 12:58

Ok, good to know. I will leave Virtualmin repo disabled until tomorrow and i hope you will sort the problems until then.

Joe's picture
Submitted by Joe on Sat, 07/15/2017 - 06:15 Pro Licensee

That's a different issue, jmunjr.

You're on RHEL/CentOS 5, which reached end-of-life a few months ago; the repo is still available on one of our servers, but the new mirror doesn't have a CentOS 5 repo (and we'll be retiring the old software.virtualmin.com once I get another mirror running, so RHEL/CentOS 5 will go away completely in a few days/weeks...not sure exactly when).

You can't safely run CentOS/RHEL 5 on a public server. You aren't getting any more security updates from upstream, so it's already got known security vulnerabilities (including in Apache and the kernel). I recommend you make a plan to migrate to a newer distro ASAP.

In the meantime, you can just disable the rhel/5 repo in /etc/yum.repos.d/virtualmin.repo (change "enabled=1" to "enabled=0"). Leave the virtualmin-universal section enabled, and you'll keep getting all of our packages. The RHEL/CentOS Virtualmin repo only has Apache, ProFTPd and a couple of other binary packages. All of our Webmin modules and such are the same across all RPM-base distros.

But, go upgrade that system!