Not sure if this is your problem Martin, but this could happen if you
are updating grub-pc, or running update-grub, as a user with a
Kerberized NFS home directory. If you are anywhere in the home
directory, and use sudo to run those commands, then you will get errors
like the above (if local root is not given root privileges on the NFS
mount).

I just encountered this bug myself and it prevented grub-pc from
updating. This shouldn't be a show-stopper: grub-pc should report that
grub was installed correctly and just print a warning that it couldn't
cd back to the original directory, as other packages seem to do.

For example, openoffice.org-emailmerge didn't fail, but just said this:

Setting up openoffice.org-emailmerge (1:3.2.0-7ubuntu4.2) ...
cd: 84: can't cd to /home/yozen

and continued.

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

Title:
  update-grub: cannot restore the original directory

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

Reply via email to