[Freedombox-discuss] Problems doing dist-upgrade on DreamPlug
Cameron Bunch
cdbunch at gmail.com
Wed Feb 22 18:35:28 UTC 2017
I am trying to get a DreamPlug updated to the current version of
FreedomBox with Plinth 0.13.1 but have encountered a problem. The
upgrade fails to complete the Linux kernel update. This leaves the Linux
images unconfigured. Any further attempts to upgrade fail because the
attempt to setup initramfs-tools fails. The following is the transcript
of the apt-get upgrade. A dist-upgrade does the same. Does anyone know
what is wrong here and how I might fix it.
Note that I do end up with Plinth 0.13.1 installed and running but I
cannot install any of the applications because the install processes
always fail.
Regards and thanks for supporting a great product.
Cameron Bunch
root at freedombox:~# apt-get update
Hit:1 http://cdn-fastly.deb.debian.org/debian testing InRelease
Reading package lists... Done
root at freedombox:~# apt-get distupgrade
E: Invalid operation distupgrade
root at freedombox:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer
required:
libperl5.22 libslp1 macchanger netcat netcat-traditional
perl-modules-5.22 python-dialog
python-ndg-httpsclient
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up initramfs-tools (0.127) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-4.9.0-1-marvell (4.9.6-3) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating
/boot/initrd.img-4.9.0-1-maroot at freedombox:~# apt-get update
Hit:1 http://cdn-fastly.deb.debian.org/debian testing InRelease
Reading package lists... Done
root at freedombox:~# apt-get distupgrade
E: Invalid operation distupgrade
root at freedombox:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer
required:
libperl5.22 libslp1 macchanger netcat netcat-traditional
perl-modules-5.22 python-dialog
python-ndg-httpsclient
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up initramfs-tools (0.127) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-4.9.0-1-marvell (4.9.6-3) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.9.0-1-marvell
Using DTB: kirkwood-dreamplug.dtb
Installing /usr/lib/linux-image-4.9.0-1-marvell/kirkwood-dreamplug.dtb
into /boot/dtbs/4.9.0-1-marvell/kirkwood-dreamplug.dtb
Taking backup of kirkwood-dreamplug.dtb.
Installing new kirkwood-dreamplug.dtb.
ln: failed to create symbolic link '/boot/dtb-4.9.0-1-marvell':
Operation not permitted
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return
code 1
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-4.9.0-1-marvell (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-marvell:
linux-image-marvell depends on linux-image-4.9.0-1-marvell; however:
Package linux-image-4.9.0-1-marvell is not configured yet.
dpkg: error processing package linux-image-marvell (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-kirkwood:
linux-image-kirkwood depends on linux-image-marvell; however:
Package linux-image-marvell is not configured yet.
dpkg: error processing package linux-image-kirkwood (--configure):
dependency problems - leaving unconfigured
Processing triggers for initramfs-tools (0.127) ...
ln: failed to create hard link
'/boot/initrd.img-4.9.0-1-marvell.dpkg-bak' =>
'/boot/initrd.img-4.9.0-1-marvell': Operation not permitted
update-initramfs: Generating /boot/initrd.img-4.9.0-1-marvell
Using DTB: kirkwood-dreamplug.dtb
Installing /usr/lib/linux-image-4.9.0-1-marvell/kirkwood-dreamplug.dtb
into /boot/dtbs/4.9.0-1-marvell/kirkwood-dreamplug.dtb
Taking backup of kirkwood-dreamplug.dtb.
Installing new kirkwood-dreamplug.dtb.
ln: failed to create symbolic link '/boot/dtb-4.9.0-1-marvell':
Operation not permitted
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return
code 1
dpkg: error processing package initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
linux-image-4.9.0-1-marvell
linux-image-marvell
linux-image-kirkwood
initramfs-tools
====== How can you help? (doc: https://wiki.debian.org/how-can-i-help
) ======
----- Show old opportunities as well as new ones: how-can-i-help --old
-----
E: Sub-process /usr/bin/dpkg returned an error code (1)
root at freedombox:~#
rvell
Using DTB: kirkwood-dreamplug.dtb
Installing /usr/lib/linux-image-4.9.0-1-marvell/kirkwood-dreamplug.dtb
into /boot/dtbs/4.9.0-1-marvell/kirkwood-dreamplug.dtb
Taking backup of kirkwood-dreamplug.dtb.
Installing new kirkwood-dreamplug.dtb.
ln: failed to create symbolic link '/boot/dtb-4.9.0-1-marvell':
Operation not permitted
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return
code 1
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-4.9.0-1-marvell (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-marvell:
linux-image-marvell depends on linux-image-4.9.0-1-marvell; however:
Package linux-image-4.9.0-1-marvell is not configured yet.
dpkg: error processing package linux-image-marvell (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-kirkwood:
linux-image-kirkwood depends on linux-image-marvell; however:
Package linux-image-marvell is not configured yet.
dpkg: error processing package linux-image-kirkwood (--configure):
dependency problems - leaving unconfigured
Processing triggers for initramfs-tools (0.127) ...
ln: failed to create hard link
'/boot/initrd.img-4.9.0-1-marvell.dpkg-bak' =>
'/boot/initrd.img-4.9.0-1-marvell': Operation not permitted
update-initramfs: Generating /boot/initrd.img-4.9.0-1-marvell
Using DTB: kirkwood-dreamplug.dtb
Installing /usr/lib/linux-image-4.9.0-1-marvell/kirkwood-dreamplug.dtb
into /boot/dtbs/4.9.0-1-marvell/kirkwood-dreamplug.dtb
Taking backup of kirkwood-dreamplug.dtb.
Installing new kirkwood-dreamplug.dtb.
ln: failed to create symbolic link '/boot/dtb-4.9.0-1-marvell':
Operation not permitted
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return
code 1
dpkg: error processing package initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
linux-image-4.9.0-1-marvell
linux-image-marvell
linux-image-kirkwood
initramfs-tools
====== How can you help? (doc: https://wiki.debian.org/how-can-i-help
) ======
----- Show old opportunities as well as new ones: how-can-i-help --old
-----
E: Sub-process /usr/bin/dpkg returned an error code (1)
root at freedombox:~#
More information about the Freedombox-discuss
mailing list