Created
November 30, 2011 19:00
-
-
Save chetan/1410317 to your computer and use it in GitHub Desktop.
patch to enable vertica5 to be installed on ubuntu 10.04 (lucid)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /opt/vertica/oss/python/lib/python2.7/site-packages/vertica/network/SystemProfileFactory.py.orig 2011-09-15 14:28:14.000000000 -0400 | |
+++ /opt/vertica/oss/python/lib/python2.7/site-packages/vertica/network/SystemProfileFactory.py 2011-09-15 14:29:51.000000000 -0400 | |
@@ -142,8 +142,14 @@ | |
if (res[0] == '0'): | |
opsys = DBinclude.OS_DEBIAN | |
return opsys, host | |
+ | |
+ (status, res) = ssh.execute("grep \"squeeze\" /etc/debian_version", hide=True) | |
+ if (res[0] == '0'): | |
+ opsys = DBinclude.OS_DEBIAN | |
+ return opsys, host | |
+ | |
- raise UnsupportedOSException("(%s) This version of Debian is unsupported." % host) | |
+ raise UnsupportedOSException("(%s) This version of Debian/Ubuntu is unsupported." % host) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
looks like this has been discussed on the vertica forum:
http://my.vertica.com/forums/topic/trouble-installing-on-ubuntu-12-04/