Comment 5 for bug 948848

Revision history for this message
Steve Langasek (vorlon) wrote : Re: 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)

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.