Subject: Bug#712: x2goserver: armhf unfulfilled dependency

From: Heinrich Schuchardt <[email-masked]>
Date: Thu, 25 Dec 2014 18:17:33 +0100

Package: x2goserver
Version: 4.0.1.18

x2goserver depends on libdbd-pg-perl.

This package is only available for architectures amd64 and i386.

Please, change debian/control such that the dependency is recommended 
only on architectures amd64 and i386

Background:
x2goserver can run on SQLite. No need to force a dependency on PostgreSQL.

Better check while running if the Perl module can be loaded:

# imports into current package
BEGIN {
     unless (eval "use $mod") {
         warn "couldn't load $mod: $@";
     }
}

Best regards

Heinrich Schuchardt