Skip to content

Instantly share code, notes, and snippets.

@chetan
Created November 30, 2011 19:00
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chetan/1410317 to your computer and use it in GitHub Desktop.
Save chetan/1410317 to your computer and use it in GitHub Desktop.
patch to enable vertica5 to be installed on ubuntu 10.04 (lucid)
--- /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)
@darKoram
Copy link

darKoram commented Dec 3, 2012

looks like this has been discussed on the vertica forum:
http://my.vertica.com/forums/topic/trouble-installing-on-ubuntu-12-04/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment