[Bug 1467895] [NEW] grub-efi doesn't depends on package providing update-grub thus dpkg fails
Karl-Philipp Richter
krichter722 at aol.de
Tue Jun 23 10:53:58 UTC 2015
Public bug reported:
Either the script is now called `update-grub2` which is available
according to `apt-file find update-grub` or the dependencies are broken
(`grub` 1.x and `grub2` seem to be incompatible which isn't reflected in
package dependencies).
reproduction: after removing all `grub*` packages and using source
installation of grub-2.02-beta2-433-gc945ca7 the installation of `grub-
efi` fails. The `dpkg` output:
$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
grub-pc-bin
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Committing to: /etc/
modified cups/printers.conf
modified cups/printers.conf.O
Committed revision 10.
Setting up grub-efi-amd64 (2.02~beta2-22ubuntu1) ...
Installing for x86_64-efi platform.
Installation finished. No error reported.
/var/lib/dpkg/info/grub-efi-amd64.postinst: line 751: update-grub: command not found
dpkg: error processing package grub-efi-amd64 (--configure):
subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of grub-efi:
grub-efi depends on grub-efi-amd64 (= 2.02~beta2-22ubuntu1); however:
Package grub-efi-amd64 is not configured yet.
dpkg: error processing package grub-efi (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
grub-efi-amd64
grub-efi
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: grub2 (not installed)
Uname: Linux 4.1.0-040100-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Jun 23 12:49:45 2015
InstallationDate: Installed on 2015-06-08 (14 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: grub2
UpgradeStatus: Upgraded to vivid on 2015-06-09 (14 days ago)
** Affects: grub2 (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug vivid
** Description changed:
Either the script is now called `update-grub2` which is available
according to `apt-file find update-grub` or the dependencies are broken
(`grub` 1.x and `grub2` seem to be incompatible which isn't reflected in
package dependencies).
reproduction: after removing all `grub*` packages and using source
installation of grub-2.02-beta2-433-gc945ca7 the installation of `grub-
- efi` fails.
+ efi` fails. The `dpkg` output:
+
+ $ sudo apt-get install -f
+ Reading package lists... Done
+ Building dependency tree
+ Reading state information... Done
+ The following package was automatically installed and is no longer required:
+ grub-pc-bin
+ Use 'apt-get autoremove' to remove it.
+ 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ 2 not fully installed or removed.
+ After this operation, 0 B of additional disk space will be used.
+ Committing to: /etc/
+ modified cups/printers.conf
+ modified cups/printers.conf.O
+ Committed revision 10.
+ Setting up grub-efi-amd64 (2.02~beta2-22ubuntu1) ...
+ Installing for x86_64-efi platform.
+ Installation finished. No error reported.
+ /var/lib/dpkg/info/grub-efi-amd64.postinst: line 751: update-grub: command not found
+ dpkg: error processing package grub-efi-amd64 (--configure):
+ subprocess installed post-installation script returned error exit status 127
+ dpkg: dependency problems prevent configuration of grub-efi:
+ grub-efi depends on grub-efi-amd64 (= 2.02~beta2-22ubuntu1); however:
+ Package grub-efi-amd64 is not configured yet.
+
+ dpkg: error processing package grub-efi (--configure):
+ dependency problems - leaving unconfigured
+ No apport report written because the error message indicates its a followup error from a previous failure.
+ Errors were encountered while processing:
+ grub-efi-amd64
+ grub-efi
+ E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: grub2 (not installed)
Uname: Linux 4.1.0-040100-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Jun 23 12:49:45 2015
InstallationDate: Installed on 2015-06-08 (14 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
ProcEnviron:
- TERM=xterm
- PATH=(custom, no user)
- XDG_RUNTIME_DIR=<set>
- LANG=de_DE.UTF-8
- SHELL=/bin/bash
+ TERM=xterm
+ PATH=(custom, no user)
+ XDG_RUNTIME_DIR=<set>
+ LANG=de_DE.UTF-8
+ SHELL=/bin/bash
SourcePackage: grub2
UpgradeStatus: Upgraded to vivid on 2015-06-09 (14 days ago)
--
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/1467895
Title:
grub-efi doesn't depends on package providing update-grub thus dpkg
fails
Status in grub2 package in Ubuntu:
New
Bug description:
Either the script is now called `update-grub2` which is available
according to `apt-file find update-grub` or the dependencies are
broken (`grub` 1.x and `grub2` seem to be incompatible which isn't
reflected in package dependencies).
reproduction: after removing all `grub*` packages and using source
installation of grub-2.02-beta2-433-gc945ca7 the installation of
`grub-efi` fails. The `dpkg` output:
$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
grub-pc-bin
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Committing to: /etc/
modified cups/printers.conf
modified cups/printers.conf.O
Committed revision 10.
Setting up grub-efi-amd64 (2.02~beta2-22ubuntu1) ...
Installing for x86_64-efi platform.
Installation finished. No error reported.
/var/lib/dpkg/info/grub-efi-amd64.postinst: line 751: update-grub: command not found
dpkg: error processing package grub-efi-amd64 (--configure):
subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of grub-efi:
grub-efi depends on grub-efi-amd64 (= 2.02~beta2-22ubuntu1); however:
Package grub-efi-amd64 is not configured yet.
dpkg: error processing package grub-efi (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
grub-efi-amd64
grub-efi
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: grub2 (not installed)
Uname: Linux 4.1.0-040100-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Jun 23 12:49:45 2015
InstallationDate: Installed on 2015-06-08 (14 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: grub2
UpgradeStatus: Upgraded to vivid on 2015-06-09 (14 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1467895/+subscriptions
More information about the foundations-bugs
mailing list