Public bug reported:
Binary package hint: gnome-system-tools
I built Perl 5.10 from source and installed it in /usr/local/bin/perl.
The original Perl is still in /usr/bin/perl.
[EMAIL PROTECTED]:~$ /usr/bin/perl -v | grep "This is perl"
This is perl, v5.8.8 built for i486-linux-gnu-thread-multi
[EMAIL PROTECTED]:~$ /usr/local/bin/perl -v | grep "This is perl"
This is perl, v5.10.0 built for i686-linux
This broke system tools such as System->Administration->Time and Date,
which failed with
The configuration could not be loaded
You are not allowed to access the system configuration.
this message. I believe the culprit was actually
/usr/share/system-tools-backends-2.0/scripts/SystemToolsBackends.pl
which has a shebang line of
#!/usr/bin/env perl
and, of course, that's now finding the wrong version of Perl
[EMAIL PROTECTED]:~$ /usr/bin/env perl -v | grep "This is perl"
This is perl, v5.10.0 built for i686-linux
I think it's a mistake to use env this way in system scripts. Changing
it to /usr/bin/perl fixed everything.
[EMAIL PROTECTED]:~$ head -1
/usr/share/system-tools-backends-2.0/scripts/SystemToolsBackends.pl
#!/usr/bin/perl
ProblemType: Bug
Architecture: i386
Date: Thu Mar 6 08:59:22 2008
DistroRelease: Ubuntu 7.10
NonfreeKernelModules: nvidia
Package: gnome-system-tools 2.20.0-0ubuntu2
PackageArchitecture: i386
SourcePackage: gnome-system-tools
Uname: Linux mrbun 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686
GNU/Linux
** Affects: gnome-system-tools (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug
--
Perl upgrade breaks gnome system tools
https://bugs.launchpad.net/bugs/199134
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs