cil packages fail to uninstall on lucid->precise upgrade due to prerm script use of perl-modules via /usr/share/cli-common/gac-package-remove -> /usr/share/cli-common/runtimes.d/mono (Can't locate File/Basename.pm in @INC)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mono (Debian) |
Fix Released
|
Unknown
|
|||
mono (Ubuntu) |
Fix Released
|
High
|
Steve Langasek | ||
Precise |
Fix Released
|
High
|
Steve Langasek | ||
perl (Debian) |
Fix Released
|
Unknown
|
|||
perl (Ubuntu) |
Fix Released
|
High
|
Canonical Foundations Team | ||
Precise |
Fix Released
|
High
|
Canonical Foundations Team |
Bug Description
Lucid to Precise upgrade main-all amd64
https:/
System fails to upgrade with error:
Removing libgnomedesktop
Can't locate File/Basename.pm in @INC (@INC contains: /etc/perl /usr/local/
BEGIN failed--compilation aborted at /usr/share/
Removing libgnomedesktop
Can't locate File/Basename.pm in @INC (@INC contains: /etc/perl /usr/local/
BEGIN failed--compilation aborted at /usr/share/
dpkg: error processing libgnomedesktop
subprocess installed pre-removal script returned error exit status 2
Errors were encountered while processing:
libgnomedeskto
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libgnomedesktop
ProcVersionSign
Uname: Linux 3.2.0-18-generic x86_64
ApportVersion: 1.94-0ubuntu2
Architecture: amd64
Date: Wed Mar 7 10:34:20 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
ProcEnviron:
TERM=xterm
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: gnome-desktop-
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in gnome-desktop-sharp2 (Ubuntu Precise): | |
assignee: | nobody → Canonical Desktop Team (canonical-desktop-team) |
tags: | added: rls-p-tracking |
Changed in perl (Ubuntu Precise): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in mono (Ubuntu Precise): | |
assignee: | Canonical Foundations Team (canonical-foundations) → Steve Langasek (vorlon) |
Changed in perl (Ubuntu Precise): | |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
Changed in mono (Debian): | |
status: | Unknown → Fix Committed |
Changed in perl (Debian): | |
status: | Unknown → New |
Changed in mono (Debian): | |
status: | Fix Committed → Fix Released |
Changed in perl (Debian): | |
status: | New → Fix Committed |
Changed in perl (Debian): | |
status: | Fix Committed → Fix Released |
lucid's prerm does:
if [ "$1" = "remove" ] || [ "$1" = "upgrade" ] && [ -x /usr/share/ cli-common/ gac-package- remove ]; then
/usr/share/ cli-common/ gac-package- remove libgnomedesktop 2.20-cil
fi
This seems to crash when calling gac-package-remove, which I assume is a Perl script. Seems lucid is missing a dependency there, or the dependency has already been removed/is being upgraded.
This is hopefully fixable by doing a precise upload and handle the failure in prerm "$1" = "failed-upgrade". (See http:// www.debian. org/doc/ debian- policy/ ch-maintainersc ripts.html# s-unpackphase).
Chris, as you are most familiar with the Mono packages, can you please have a look at this? Thanks!