Bug#812574: grub-pc: wants to overwrite admin configuration on each upgrade
Thorsten Glaser
t.glaser at tarent.de
Mon Jan 2 11:37:32 UTC 2017
On Sat, 31 Dec 2016, Colin Watson wrote:
> The current postinst is certainly trying to use ucf in such a way, so
> let's try to debug this. Please could you:
Oh ok. Let me check that this system is affected first…
tglase at tglase:~ $ sudo apt-get install --reinstall grub-pc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 25 not upgraded.
Need to get 196 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ftp.ports.debian.org/debian-ports unstable/main x32 grub-pc x32 2.02~beta2-36 [196 kB]
Fetched 196 kB in 0s (1389 kB/s)
[master 48c4c72] saving uncommitted changes in /etc prior to apt run
1 file changed, 1 insertion(+), 1 deletion(-)
Preconfiguring packages ...
(Reading database ... 386357 files and directories currently installed.)
Preparing to unpack .../grub-pc_2.02~beta2-36_x32.deb ...
Unpacking grub-pc (2.02~beta2-36) over (2.02~beta2-36) ...
Setting up grub-pc (2.02~beta2-36) ...
Package configuration
┌───────────────────────────────────────┤ Configuring grub-pc ├────────────────────────────────────────┐
│ A new version (/tmp/grub.dUfldFlOSy) of configuration file /etc/default/grub is available, but the │
│ version installed currently has been locally modified. │
│ │
│ What do you want to do about modified configuration file grub? │
│ │
│ install the package maintainer's version │
│ keep the local version currently installed │
│ show the differences between the versions │
│ show a side-by-side difference between the versions │
│ show a 3-way difference between available versions │
│ do a 3-way merge between available versions (experimental) │
│ start a new shell to examine the situation │
│ │
│ │
│ <Ok> │
│ │
└──────────────────────────────────────────────────────────────────────────────────────────────────────┘
Installing for i386-pc platform.
Installation finished. No error reported.
Installing for i386-pc platform.
Installation finished. No error reported.
Installing for i386-pc platform.
Installation finished. No error reported.
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-4.8.0-2-amd64
Found initrd image: /boot/initrd.img-4.8.0-2-amd64
Found linux image: /boot/vmlinuz-4.8.0-1-amd64
Found initrd image: /boot/initrd.img-4.8.0-1-amd64
Found memtest86+ image: /memtest86+.bin
Found memtest86+ multiboot image: /memtest86+_multiboot.bin
Found Grml ISO image: /boot/grml/grml96-full_2013.09.iso
done
Processing triggers for man-db (2.7.6.1-2) ...
… yes, looks affected to me.
> * attach /var/lib/ucf/cache/:etc:default:grub
> * attach /etc/default/grub
Attached.
> * show the output of "grep /etc/default/grub /var/lib/ucf/hashfile"
tglase at tglase:~ $ grep /etc/default/grub /var/lib/ucf/hashfile
fe09266a730fcba271f832ebb82a6a91 /etc/default/grub
> With any luck that will be enough to make some progress here.
OK, thanks!
bye,
//mirabilos
--
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg
-------------- next part --------------
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT=""
GRUB_CMDLINE_LINUX="rootdelay=5 syscall.x32=y vsyscall=emulate net.ifnames=0 kaslr"
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
-------------- next part --------------
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT=""
# possibly: iomem=relaxed
GRUB_CMDLINE_LINUX="rootdelay=5 syscall.x32=y vsyscall=emulate net.ifnames=0 kaslr"
GRUB_DISABLE_SUBMENU=y
GRUB_FONT=/usr/share/grub/FixedMisc.pf2
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=1280x1024
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
More information about the Pkg-grub-devel
mailing list