Closed paskao closed 9 years ago
seems that
dpkg -l 'linux-image-*' | awk '{ print $2 }' | grep linux-image- | xargs apt-mark hold
will solve. The current "kernel-lock" is broken because it only locks the current kernel, not the alternative (different arch) one.
fixed: https://github.com/vinc3nt/freepto-lb/commit/bffe70e32637a40d4d155cee6ed34dad5ab272a3
tested with the following steps:
sed -i 's/hold/unhold/g' /lib/live/config-hooks/kernel-lock
root@freepto:/home/paranoid# sh /lib/live/config-hooks/kernel-lock
Blocco su linux-image-3.2.0-4-486 annullato.
Blocco su linux-image-486 annullato.
Blocco su linux-image-amd64 annullato.
root@freepto:/home/paranoid# cat <<EOF > /lib/live/config-hooks/kernel-lock
#!/bin/sh
dpkg -l 'linux-image-*' | awk '{ print $2 }' | grep linux-image- | xargs apt-mark hold
EOF
root@freepto:/home/paranoid# sh /lib/live/config-hooks/kernel-lock
linux-image-2.6-486 impostato come bloccato.
linux-image-2.6-686 impostato come bloccato.
linux-image-2.6-686-bigmem impostato come bloccato.
linux-image-2.6-amd64 impostato come bloccato.
linux-image-2.6-k7 impostato come bloccato.
linux-image-2.6-openvz-686 impostato come bloccato.
linux-image-2.6-vserver-686 impostato come bloccato.
linux-image-2.6-vserver-686-bigmem impostato come bloccato.
linux-image-2.6-xen-686 impostato come bloccato.
linux-image-3.2.0-4-486 impostato come bloccato.
linux-image-3.2.0-4-amd64 impostato come bloccato.
linux-image-486 impostato come bloccato.
linux-image-amd64 impostato come bloccato.
I'll test it asap and will merge it (if confirmed). @vinc3nt can you link me a build of that commit?
ok, tested and merged. closing
At now we are holding the linux kernel, but in arancina it can be updated. You should find the bug downloading the stable image and making an update/upgrade.