Or asked otherwise: Where is */etc/x2go/x2gosql/sql* and *X2Go::Config module* coming from? Which x2go package provides it and why isn't it getting installed? I tried dpkg -i --force-confmiss on all packages to no avail. I mean on a brand new installed system, you would not have /etc/x2go/x2gosql/sql and the packages would have to provide it in any case to make the server function.
On Wed, Mar 14, 2018 at 7:03 AM, Mihai Moldovan <ionic@ionic.de> wrote:
- On 03/14/2018 02:48 PM, Mihai Moldovan wrote:
Please create /etc/x2go/x2gosql/sql manually with a line containing 'backend=sqlite'. That should allow you to purge the packages.
Afterwards you should be able to reinstall them normally.
Oh, and if this still doesn't help for purging, you'll have to modify the scriptlets apt saved in /var/lib/dpkg/info/, like Jason already pointed out.
Edit x2goserver.postrm, libx2go-server-db-perl.postrm and x2goserver-common.postrm (if they exist) and put a [ -d '/etc/x2go' ] && before the rmdir calls, like in https://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h= 561ee44138fa6bc02d1293539dac501a9dda1886
Purging should seriously work after that.
Mihai
-- *Por sperto kaj lerno ne sufiĉas eterno.*