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

Mihai Moldovan ionic at ionic.de
Fri May 29 03:37:38 CEST 2015


Wait, there are two things that don't make sense...


On 28.05.2015 11:47 PM, Real, Elizabeth (392K) wrote:
> # rpm -ql perl-DBI
> [...]
> /usr/lib64/perl5/vendor_perl/DBI.pm
> [...]

If we recall the INC path from your previous message:
> Connection failed Can't locate DBI.pm in @INC (@INC contains: /usr/lib64/x2go
> /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
> /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at
> /usr/lib64/x2go/x2godbwrapper.pm line 25. BEGIN failed--compilation aborted
> at /usr/lib64/x2go/x2godbwrapper.pm line 25. Compilation failed in require at
> /usr/bin/x2golistsessions line 30. BEGIN failed--compilation aborted at
> /usr/bin/x2golistsessions line 30.

Then, clearly, DBI.pm is in /usr/lib64/perl5/vendor_perl/ which is listed as the
4th entry in @INC and it should work.


> [root at joey scripts]# rpm -qi perl-DBI
> Name        : perl-DBI
> Version     : 1.627
> Release     : 4.el7

That doesn't make sense either.

Two reasons:
  - you're using RHEL 6, but this package is for EPEL 7/RHEL 7! How did this
    happen?
  - the version does not match up with what you have previously provided
    (1.617-***8.1***.x86_64) How did *this* happen?!

Can you please show me yum repolist all?

For EPEL packages to work, the "optional" channel must be turned on.


> ALSO, I get this error when I try to remove the OBO packages: [...]

Sorry, that was a typo on my end.

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

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

(Missing slash in the regular expression.)



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/20150529/b23b7332/attachment.pgp>


More information about the x2go-dev mailing list