Bug 33123 - univention-grub cannot be updated on UEFI systems
univention-grub cannot be updated on UEFI systems
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Grub
UCS 3.2
Other Linux
: P5 normal (vote)
: UCS 3.2
Assigned To: Sönke Schwardt-Krummrich
Stefan Gohmann
: interim-4
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-05 12:43 CET by Sönke Schwardt-Krummrich
Modified: 2013-11-19 06:42 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2013-11-05 12:43:29 CET
Preparing to replace univention-grub 7.0.2-1.109.201310230928 (using .../univention-grub_7.0.3-1.110.201310251241_all.deb) ...
Unpacking replacement univention-grub ...
dpkg: error processing /var/cache/apt/archives/univention-grub_7.0.3-1.110.201310251241_all.deb (--unpack):
 unable to make backup link of `./boot/grub/uniboot.png' before installing new version: Operation not permitted
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2013-11-06 14:02:33 CET
Possible solution:
extract uniboot.png and uniboot.xpm.gz to /usr/share/… and copy these files to /boot/ during postinst resp. special update command.
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2013-11-07 17:39:58 CET
(In reply to Sönke Schwardt-Krummrich from comment #1)
> Possible solution:
> extract uniboot.png and uniboot.xpm.gz to /usr/share/… and copy these files
> to /boot/ during postinst resp. special update command.

The two files have been moved to /usr/share/univention-grub/ and are copied by the postinst script to /boot/grub/.

Changelog entry has been committed.
Comment 3 Stefan Gohmann univentionstaff 2013-11-14 06:43:14 CET
I was unable to install an UCS 3.1 UEFI system so I downgraded univention-grub on a UCS 3.2 UEFI system.

During the univention-grub upgrade I got the following output:

Preparing to replace univention-grub 6.1.0-1.100.201212031612 (using .../univention-grub_7.1.0-2.108.201310220930_all.deb) ...
Unpacking replacement univention-grub ...
dpkg: error processing /var/cache/apt/archives/univention-grub_7.1.0-2.108.201310220930_all.deb (--unpack):
 unable to make backup link of `./boot/grub/uniboot.png' before installing new version: Operation not permitted
configured to not write apport reports
File: /etc/default/grub
Generating grub.cfg ...
Found background: /boot/grub/uniboot.png
Found background image: /boot/grub/uniboot.png
Found linux image: /boot/vmlinuz-3.10.0-ucs43-amd64
Found initrd image: /boot/initrd.img-3.10.0-ucs43-amd64
Found memtest86+ image: /memtest86+.bin
done
Generating legacy menu.lst from current kernels
W: The config registry variable 'lilo/append' does not exist
W: The config registry variable 'lilo/append/acpi' does not exist
W: The config registry variable 'lilo/append/pci/acpi' does not exist
W: The config registry variable 'lilo/boot' does not exist
W: The config registry variable 'lilo/compact' does not exist
W: The config registry variable 'lilo/default' does not exist
W: The config registry variable 'lilo/root' does not exist
W: The config registry variable 'lilo/vga' does not exist
W: The config registry variable 'grub/memtest86' does not exist
Not updating grub/timeout
Not updating kernel/postinst_hook
Not updating grub/quiet
Not updating grub/loglevel
Not updating grub/vga
Not updating grub/gfxmode
Not updating grub/backgroundimage
Not updating grub/color/normal
Not updating grub/color/highlight
Not updating grub/menu/color/normal
Not updating grub/menu/color/highlight
Not updating grub/generate-menu-lst
Processing triggers for univention-config ...
No packages found matching ldapacl_66univention-appcenter_app.acl.
Errors were encountered while processing:
 /var/cache/apt/archives/univention-grub_7.1.0-2.108.201310220930_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2013-11-14 12:26:13 CET
The two files now get removed in preinst if old version number was smaller than 7.0.0.
univention-grub 7.0.5-1.112.201311141223
Comment 5 Stefan Gohmann univentionstaff 2013-11-14 15:07:32 CET
(In reply to Sönke Schwardt-Krummrich from comment #4)
> The two files now get removed in preinst if old version number was smaller
> than 7.0.0.
> univention-grub 7.0.5-1.112.201311141223

OK, works now.
Comment 6 Stefan Gohmann univentionstaff 2013-11-19 06:42:42 CET
UCS 3.2 has been released:
 http://docs.univention.de/release-notes-3.2-en.html
 http://docs.univention.de/release-notes-3.2-de.html

If this error occurs again, please use "Clone This Bug".