Univention Bugzilla – Bug 33123
univention-grub cannot be updated on UEFI systems
Last modified: 2013-11-19 06:42:42 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
Possible solution: extract uniboot.png and uniboot.xpm.gz to /usr/share/… and copy these files to /boot/ during postinst resp. special update command.
(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.
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)
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
(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.
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".