OpenVZ Forum


Home » General » Support » to add rpm packages for centos-4-i386
Re: to add rpm packages for centos-4-i386 [message #4427 is a reply to message #4425] Mon, 10 July 2006 18:39 Go to previous message
aistis is currently offline  aistis
Messages: 77
Registered: September 2005
Location: Kaunas, Lithuania
Member

can you create a fresh vps and check these files inside:
/etc/centos-release and /etc/redhat-release

as webmin rpm in pre-install stage does this:
elsif (\`cat /etc/centos-release /etc/redhat-release 2>/dev/null\` =~ /CentOS\\s+release\\s+(\\S+)/i && \$1 < 4) {
        print "oscheck='CentOS Linux'\\n";


and

if [ ! -r /etc/webmin/config ]; then
        if [ "$oscheck" = "" ]; then
                echo Unable to identify operating system
                exit 2
        fi


so i don't know how in a hell can it fail there.


Aistis Zenkevicius
http://static.openvz.org/userbars/openvz-user.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* Per Vps traffic
Next Topic: OS template creation
Goto Forum:
  


Current Time: Wed Jul 31 00:21:22 GMT 2024

Total time taken to generate the page: 0.02805 seconds