Install error using install.sh Centos 5.10

Hi people,

I have been trying to set up a local server but I can’t get past a failure despite extensive searching.

Here is what I have done :-

Clean install of Centos 5.10.

wget http://software.virtualmin.com/gpl/scripts/install.sh

sh install.sh

The script runs but fails and below is a copy of the screen echo. The log /root/virtualmin-install.log looks the same.

Continue? (y/n) y Checking for HTTP client...found /usr/bin/curl -s -O Checking for perl...found /usr/bin/perl Loading log4sh logging library... INFO - Started installation log in /root/virtualmin-install.log INFO - Checking for fully qualified hostname... INFO - Hostname OK: fully qualified as local.mylocalserver.co.uk INFO - Installing serial number and license key into /etc/virtualmin-license INFO - Loading OS selection library... INFO - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded. INFO - Loading OS list... INFO - Download of http://software.virtualmin.com/lib/os_list.txt Succeeded. INFO - Operating system name: CentOS Linux INFO - Operating system version: 5 INFO - Configuring package manager for CentOS Linux 5... INFO - Disabling SELinux during installation... INFO - Download of http://software.virtualmin.com/gpl/rhel/5/x86_64/virtualmin-release-latest.noarch.rpm Succeeded. Running updatedb so locate works...this will take a little while. Attempting to import various system RPM-GPG-KEY files...Errors may occur, if you've already imported them. It is safe to ignore these errors. INFO - Succeeded. INFO - Installing dependencies using command: /usr/bin/yum -y -d 2 install bind bind-utils caching-nameserver httpd postfix spamassassin procmail perl-DBD-Pg perl-DBD-MySQL quota iptables openssl python mailman subversion mysql mysql-server mysql-devel postgresql postgresql-server rh-postgresql rh-postgresql-server logrotate webalizer php php-xml php-gd php-imap php-mysql php-odbc php-pear php-pgsql php-snmp php-xmlrpc php-mbstring mod_perl mod_python cyrus-sasl dovecot spamassassin mod_dav_svn cyrus-sasl-gssapi mod_ssl ruby ruby-devel rubygems perl-XML-Simple perl-Crypt-SSLeay mlocate ...in progress, please wait... /http://software.virtualmin.com/gpl/rhel/5/x86_64/mod_ssl-2.2.3-82.el5.centos.vm.x86_64.rpm: [Errno -1] Package does not match intended download Trying other mirror. /http://software.virtualmin.com/gpl/rhel/5/x86_64/rubygems-0.9.2-1.el5.noarch.rpm: [Errno -1] Package does not match intended download Trying other mirror. /http://software.virtualmin.com/gpl/rhel/5/x86_64/httpd-manual-2.2.3-82.el5.centos.vm.x86_64.rpm: [Errno -1] Package does not match intended download Trying other mirror. \http://software.virtualmin.com/gpl/rhel/5/x86_64/httpd-2.2.3-82.el5.centos.vm.x86_64.rpm: [Errno -1] Package does not match intended download Trying other mirror.

Error Downloading Packages:
1:httpd-manual-2.2.3-82.el5.centos.vm.x86_64: failure: httpd-manual-2.2.3-82.el5.centos.vm.x86_64.rpm from virtualmin: [Errno 256] No more mirrors to try.
1:httpd-2.2.3-82.el5.centos.vm.x86_64: failure: httpd-2.2.3-82.el5.centos.vm.x86_64.rpm from virtualmin: [Errno 256] No more mirrors to try.
rubygems-0.9.2-1.el5.noarch: failure: rubygems-0.9.2-1.el5.noarch.rpm from virtualmin: [Errno 256] No more mirrors to try.
2:mod_ssl-2.2.3-82.el5.centos.vm.x86_64: failure: mod_ssl-2.2.3-82.el5.centos.vm.x86_64.rpm from virtualmin: [Errno 256] No more mirrors to try.
/usr/bin/yum -y -d 2 install bind bind-utils caching-nameserver httpd postfix spamassassin procmail perl-DBD-Pg perl-DBD-MySQL quota iptables openssl python mailman subversion mysql mysql-server mysql-devel postgresql postgresql-server rh-postgresql rh-postgresql-server logrotate webalizer php php-xml php-gd php-imap php-mysql php-odbc php-pear php-pgsql php-snmp php-xmlrpc php-mbstring mod_perl mod_python cyrus-sasl dovecot spamassassin mod_dav_svn cyrus-sasl-gssapi mod_ssl ruby ruby-devel rubygems perl-XML-Simple perl-Crypt-SSLeay mlocate failed. Error (if any): 0

Displaying the last 15 lines of /root/virtualmin-install.log to help troubleshoot this problem:
ruby-libs x86_64 1.8.5-31.el5_9 base 1.6 M
ruby-rdoc x86_64 1.8.5-31.el5_9 base 138 k
unixODBC-libs x86_64 2.2.11-10.el5 base 554 k
zlib-devel x86_64 1.2.3-7.el5 base 103 k
Updating for dependencies:
httpd-manual x86_64 1:2.2.3-82.el5.centos.vm virtualmin 818 k

Transaction Summary

Install 57 Package(s)
Upgrade 3 Package(s)

Total size: 66 M
Total download size: 2.6 M
Downloading Packages:

FATAL - Fatal Error Occurred: Something went wrong during installation: 0
FATAL - Cannot continue installation.
FATAL - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - re-attempted after any problems have been resolved.
FATAL - Removing temporary directory and files.
FATAL - If you are unsure of what went wrong, you may wish to review the log
FATAL - in /root/virtualmin-install.log

I guess the error is the lines that say " Package does not match intended download" but I have been unable to find any clues.

Any help would be greatly appreciated.

Howdy,

Can you try that again now, and see if it works properly now?

Thanks!

-Eric

Thanks for getting back so quickly Eric.

Sorry to say that the error is the same. :frowning:

Got the same issue.
Already posted it in the issue tracker.
https://www.virtualmin.com/node/32763

Issue is solved on my end.

Run “yum clean all”
And proceed the normal install.

Should be working now again.

Thanks for that Jack.

I tried that previously but it made no difference.

However, now that Eric or whoever has done their thing it works and install appears to be progressing again.

Sweet!

Howdy,

Glad to hear it’s working for you guys!

There was an issue with the repository metadata for CentOS 5, which Joe corrected.

-Eric