[X2Go-Dev] x2go client connection failed: can't locate DBI.pm in @INC

Mihai Moldovan ionic at ionic.de
Thu May 28 22:25:14 CEST 2015


On 27.05.2015 05:43 PM, Real, Elizabeth (392K) wrote:
> These are the perl-* packages installed on the server:
> # rpm -qa *perl-*
> [...]
> perl-DBI-1.617-8.1.x86_64
> [...]
> perl-DBD-SQLite-1.31-2.x86_64
> perl-DBD-Pg-2.15.1-3.el6.x86_64
> [...]

Weird, the package is installed. What does "rpm -ql perl-DBI" say?


> Here is the x2go.repo:
> # cat /etc/yum.repos.d/x2go.repo
> [X11_RemoteDesktop_x2go]
> name=x2go (replaces NX) (RHEL_6)
> type=rpm-md
> baseurl=http://download.opensuse.org/repositories/X11:/RemoteDesktop:/x2go/
> RHEL_6/
> gpgcheck=1
> gpgkey=http://download.opensuse.org/repositories/X11:/RemoteDesktop:/x2go/R
> HEL_6/repodata/repomd.xml.key
> enabled=1
> 
> [x2go-extras]
> name=Upstream X2Go Packages (extra packages)
> baseurl=http://packages.x2go.org/epel/$releasever/extras/$basearch
> gpgcheck=0
> enabled=1
> protect=0

Ugh... I seriously do not recommend the OBS packages anymore, but didn't come
around to removing this portion from the wiki. It's really stale and only
updated every now and then.

Please either use:

  - the official EPEL repositories which also include X2Go (managed by Orion,
    our Fedora/EPEL maintainer)
  - our packages.x2go.org repository (which may be less well tested, but
    up-to-date.


For now, let's uninstall all packages from OBS:

yum remove $(yum list installed | awk '{if ($0 ~ /X11_RemoteDesktop_x2go) {
print $1;}}')

and

yum remove $(yum list installed | awk '{if ($0 ~ /x2go-extras) { print $1;}}')


Afterwards, disable both repos:

yum-config-manager --disable X11_RemoteDesktop_x2go
yum-config-manager --disable x2go-extras


After that, decide on whether to use EPEL or our repository. Not both at once.

For EPEL, run:

rpm -Uvh
http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

For using our repository, add the following as a new file in
/etc/yum/repos.d/x2go.repo (name x2go.repo however you want to):

[x2go-release-epel]
name=Upstream X2Go EPEL Packages (Release Builds)
baseurl=http://packages.x2go.org/epel/$releasever/main/$basearch
gpgcheck=1
gpgkey=http://packages.x2go.org/pub.key
enabled=1
protect=0

[x2go-release-epel-source]
name=Upstream X2Go EPEL Packages (Release Builds) - Sources
baseurl=http://packages.x2go.org/epel/$releasever/main/SRPM
gpgcheck=1
gpgkey=http://packages.x2go.org/pub.key
enabled=0
protect=0
skip_if_unavailable=1

[x2go-nightly-epel]
name=Upstream X2Go EPEL Packages (Nightly Builds)
baseurl=http://packages.x2go.org/epel/$releasever/heuler/$basearch
gpgcheck=1
gpgkey=http://packages.x2go.org/pub.key
enabled=0
protect=0

[x2go-nightly-epel-source]
name=Upstream X2Go EPEL Packages (Nightly Builds) - Sources
baseurl=http://packages.x2go.org/epel/$releasever/heuler/SRPM
gpgcheck=1
gpgkey=http://packages.x2go.org/pub.key
enabled=0
protect=0
skip_if_unavailable=1

[x2go-extras-epel]
name=Upstream X2Go EPEL Packages (Extra Packages)
baseurl=http://packages.x2go.org/epel/$releasever/extras/$basearch
gpgcheck=1
gpgkey=http://packages.x2go.org/pub.key
enabled=1
protect=0

[x2go-extras-epel-source]
name=Upstream X2Go EPEL Packages (Extra Packages) - Sources
baseurl=http://packages.x2go.org/epel/$releasever/extras/SRPM
gpgcheck=1
gpgkey=http://packages.x2go.org/pub.key
enabled=0
protect=0
skip_if_unavailable=1


(Note that the *-source and *-nightly repositories are disabled by default. You
probably will not need them, but can enable them on demand. If you want to
switch from release to nightly, you'll have to disable the release repo and
enable the nightly repo.)


Afterwards, run

yum makecache fast

for good measure, and

yum install x2goserver x2goserver-xsession

to get the server packages.



Mihai

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20150528/afa68a25/attachment-0001.pgp>


More information about the x2go-dev mailing list