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

Ilya w495 Nikitin 673438 at bugs.launchpad.net
Fri Dec 11 22:14:27 UTC 2020


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 /var/lib/dpkg/status
     2.04-1ubuntu26.2 500
        500 http://mirror.yandex.ru/ubuntu focal-security/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages
     2.04-1ubuntu26 500
        500 http://mirror.yandex.ru/ubuntu focal/main amd64 Packages

$ lsb_release -a
LSB Version:    core-11.1.0ubuntu2-noarch:printing-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.1 LTS
Release:        20.04
Codename:       focal

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

Title:
  update-grub: cannot restore the original directory

Status in grub2 package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: grub2

  Release is Ubuntu 10.04.1 All Updates from 10. Nov. 2010

  apt-cache policy grub2

  grub2:
  Installed: (none) 
  Candidate: 1.98-1ubuntu7

  I don`t understand why the display is saying, that grub is not
  installed?!

  What happened:
  I set the GRUB_TIMEOUT=0 in /etc/default/grub and ran the command update-grub sucessfully.
  After a restart I altered the same value to 1 and tried a again to run update-grub with the failure message:
  /usr/sbin/grub-probe: error: cannot restore the original directory

  Regards
  Martin

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



More information about the foundations-bugs mailing list