Well, there is indeed a bug in the file /var/lib/dpkg/info/linux-
image-3.5.0-39-generic.postinst

I substituted all (four) occurrences of pwd in /var/lib/dpkg/info/linux-
image-3.2.0-34-generic.postinst with getcwd() and now everything seems
to work  ...

The solution is explained at large @
http://askubuntu.com/questions/233798/linux-image-generic-seems-to-be-
broken

pwd doesn't work from within perl apparently, it just returns an empty
string.

In any case, I'm fairly certain that it's a bug that the postinst script
calls pwd instead of using Perl's own Cwd like it ought to.

pwd is a bash shell command line / bourne shell.

Would you please update the linux-image-3.5.0-39-generic.postinst script
accordingly ? and the bug status if I couldn't update it.

Thanks.

** Changed in: linux (Ubuntu)
       Status: Incomplete => Confirmed

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

Title:
  package linux-image-3.5.0-39-generic 3.5.0-39.60~precise1 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 17

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to