[ubuntu-mono] [Bug 948848] Re: lucid to precise upgrade: libgnomedesktop2.20-cil failed to remove : Can't locate File/Basename.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/cli-common/runtimes.d/mono line 12. BEGIN failed--compilation aborted at /usr/share/cli-common/runtimes.d/mono line 12.

Martin Pitt martin.pitt at ubuntu.com
Wed Mar 7 14:03:14 UTC 2012


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 libgnomedesktop2.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-maintainerscripts.html#s-unpackphase).

Chris, as you are most familiar with the Mono packages, can you please
have a look at this? Thanks!

** Changed in: gnome-desktop-sharp2 (Ubuntu Precise)
     Assignee: Canonical Desktop Team (canonical-desktop-team) => Chris Halse Rogers (raof)

-- 
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to gnome-desktop-sharp2 in
Ubuntu.
https://bugs.launchpad.net/bugs/948848

Title:
  lucid to precise upgrade: libgnomedesktop2.20-cil failed to remove :
  Can't locate File/Basename.pm in @INC (@INC contains: /etc/perl
  /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5
  /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
  /usr/local/lib/site_perl .) at /usr/share/cli-common/runtimes.d/mono
  line 12. BEGIN failed--compilation aborted at /usr/share/cli-
  common/runtimes.d/mono line 12.

Status in “gnome-desktop-sharp2” package in Ubuntu:
  New
Status in “gnome-desktop-sharp2” source package in Precise:
  New

Bug description:
  Lucid to Precise upgrade main-all amd64
  https://jenkins.qa.ubuntu.com/job/precise-upgrade-lucid-main/ARCH=amd64,LTS=lts,PROFILE=main-all,label=upgrade-test/45/

  System fails to upgrade with error:
  Removing libgnomedesktop2.20-cil ...
  Can't locate File/Basename.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/cli-common/runtimes.d/mono line 12.
  BEGIN failed--compilation aborted at /usr/share/cli-common/runtimes.d/mono line 12.
  Removing libgnomedesktop2.20-cil from 
  Can't locate File/Basename.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/cli-common/runtimes.d/mono line 12.
  BEGIN failed--compilation aborted at /usr/share/cli-common/runtimes.d/mono line 12.
  dpkg: error processing libgnomedesktop2.20-cil (--remove):
   subprocess installed pre-removal script returned error exit status 2
  Errors were encountered while processing:
   libgnomedesktop2.20-cil

  Full log: https://jenkins.qa.ubuntu.com/job/precise-upgrade-lucid-
  main/ARCH=amd64,LTS=lts,PROFILE=main-all,label=upgrade-
  test/45/artifact/lts-main-all-amd64/apt-term.log

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: libgnomedesktop2.20-cil (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-18.28-generic 3.2.9
  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-sharp2
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the Ubuntu-mono mailing list