diff --git a/post/appgate-sdp-on-arch-linux/index.html b/blog/2020/03/16/appgate-sdp-on-arch-linux/index.html similarity index 98% rename from post/appgate-sdp-on-arch-linux/index.html rename to blog/2020/03/16/appgate-sdp-on-arch-linux/index.html index c9da904e..6c658f21 100644 --- a/post/appgate-sdp-on-arch-linux/index.html +++ b/blog/2020/03/16/appgate-sdp-on-arch-linux/index.html @@ -5,12 +5,12 @@ - +
4.2.2-1
.
These steps highlight how to get it working with Python3.8
by making a 1 line modification to AppGate source code.
We already know the community package is out of date, so let’s clone it:
+We already know the community package is currently out of date, so let’s clone it:
git clone https://aur.archlinux.org/appgate-sdp.git
cd appgate-sdp
You’ll likely notice that the version is not what we want, so let’s modify the PKGBUILD
to the following:
Ok, let’s install it:
$ sudo python3.8 -m pip install dbus-python
-
It should work now… right?
+Will it work now? Not yet. There’s another issue:
$ sudo /opt/appgate/linux/set_dns
/opt/appgate/linux/set_dns:88: SyntaxWarning: "is" with a literal. Did you mean "=="?
servers = [( socket.AF_INET if x.version is 4 else socket.AF_INET6, map(int, x.packed)) for x in servers]
@@ -207,7 +207,7 @@ module 'platform' has no attribute
It turns out there are breaking changes in Python3.8.
The docs say Deprecated since version 3.5, will be removed in version 3.8: See alternative like the distro package.
I suppose this highlights one of the caveats of relying upon the system’s python, rather than having an isolated, dedicated environment for all of its dependencies.
+I suppose this highlights one of the caveats of relying upon the system’s python, rather than having an isolated, dedicated environment for all dependencies.