[Bug 673438] Re: update-grub: cannot restore the original directory

2020-12-11 Thread Ilya w495 Nikitin
cd /tmp also helps -- 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 To manage notifications about this bug go to:

[Bug 673438] Re: update-grub: cannot restore the original directory

2020-12-11 Thread Ilya w495 Nikitin
I can reproduce it with `grub-efi 2.04-1ubuntu26.7` $ apt-cache policy grub-efi grub-efi: Installed: 2.04-1ubuntu26.7 Candidate: 2.04-1ubuntu26.7 Version table: *** 2.04-1ubuntu26.7 500 500 http://mirror.yandex.ru/ubuntu focal-updates/main amd64 Packages 100

[Bug 673438] Re: update-grub: cannot restore the original directory

2020-11-14 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: grub2 (Ubuntu) Status: New => Confirmed -- 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:

[Bug 673438] Re: update-grub: cannot restore the original directory

2020-11-14 Thread Gerard Weatherby
A nicer error message would be nice. Or use /tmp for tempfiles instead of current working directory. -- 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

[Bug 673438] Re: update-grub: cannot restore the original directory

2016-05-18 Thread Chris Crisafulli
@Yozen, thanks for adding that comment that was exactly what was happening to me, as I was receiving the same described failure message. I was attempting to run sudo update-grub from my nfs mounted home at work. I cd'd into /tmp and re-ran the command and it completed without any issues. -- You

[Bug 673438] Re: update-grub: cannot restore the original directory

2011-02-07 Thread Yözen Hernández
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

[Bug 673438] Re: update-grub: cannot restore the original directory

2010-11-24 Thread Colin Watson
That sounds like you were running update-grub from a directory that had been removed. Try making sure that the directory exists first (e.g. run 'cd $PWD', which will fail in much the same kind of way if that isn't the case). The package you probably have installed is 'grub-pc'. grub2 is a