The /usr/share/cli-common/runtimes.d/mono in lucid calls 'use
File::Basename', but it doesn't actually *use* it.  The only uses of
basename/dirname are embedded in a system() call:

    my $cmd = "(cd `dirname $dll` && "
        . "/usr/bin/gacutil -i `basename $dll`"
           . " > /dev/null)";
    system($cmd) == 0 or die "E: installing Assembly $dll failed\n";

So that's not using File::Basename at all.  Dropping this spurious 'use'
in SRU may be enough to fix this upgrade problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/948848

Title:
  cil packages fail to uninstall  on lucid->precise upgrade due to prerm
  script use of perl-base via /usr/share/cli-common/gac-package-remove
  -> /usr/share/cli-common/runtimes.d/mono (Can't locate
  File/Basename.pm in @INC)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mono/+bug/948848/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to