Looks like the same error[1]. I am logged in as root. I do have an extra line in my uEnv.txt[2], but it shouldn't matter.
--Mark *apt-get install linux-image-3.8.13.bone59* Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'linux-image-3.8.13-bone59' for regex 'linux-image-3.8.13.bone59' linux-image-3.8.13-bone59 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? Setting up linux-image-3.8.13-bone59 (1wheezy) ... update-initramfs: Generating /boot/initrd.img-3.8.13-bone59 zz-uenv_txt: Updating /boot/uEnv.txt [uname_r=3.8.13-bone59] *sed: -e expression #1, char 15: unterminated `s' command* run-parts: /etc/kernel/postinst.d/zz-uenv_txt exited with return code 1 dpkg: error processing linux-image-3.8.13-bone59 (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: linux-image-3.8.13-bone59 E: Sub-process /usr/bin/dpkg returned an error code (1) [2] cat uEnv.txt #Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0 uname_r=3.8.13-bone60 *# uname_r=3.15.6-bone5* #dtb= cmdline=quiet init=/lib/systemd/systemd ... On Monday, July 21, 2014 12:05:40 PM UTC-4, RobertCNelson wrote: > > On Mon, Jul 21, 2014 at 10:57 AM, Mark A. Yoder <[email protected] > <javascript:>> wrote: > > I like the idea of using apt-get install to update the kernel. I just > tried > > it and got an error when it tried to edit uEnv.txt. I hand edited > uEnv.txt > > and rebooted into the new kernel with no problems. > > > > --Mark > > > > [1] apt-get install linux-image-3.8.13.bone59 > > Reading package lists... Done > > Building dependency tree > > Reading state information... Done > > Note, selecting 'linux-image-3.8.13-bone59' for regex > > 'linux-image-3.8.13.bone59' > > Suggested packages: > > linux-firmware-image-3.8.13-bone59 > > The following NEW packages will be installed: > > linux-image-3.8.13-bone59 > > 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. > > Need to get 17.5 MB of archives. > > After this operation, 40.9 MB of additional disk space will be used. > > Get:1 http://repos.rcn-ee.net/debian/ wheezy/main > linux-image-3.8.13-bone59 > > armhf 1wheezy [17.5 MB] > > Fetched 17.5 MB in 19s (909 kB/s) > > Selecting previously unselected package linux-image-3.8.13-bone59. > > (Reading database ... 66002 files and directories currently installed.) > > Unpacking linux-image-3.8.13-bone59 (from > > .../linux-image-3.8.13-bone59_1wheezy_armhf.deb) ... > > Setting up linux-image-3.8.13-bone59 (1wheezy) ... > > update-initramfs: Generating /boot/initrd.img-3.8.13-bone59 > > zz-uenv_txt: Updating /boot/uEnv.txt [uname_r=3.8.13-bone59] > > sudo: unable to resolve host yoder-debian-bone > > sed: -e expression #1, char 15: unterminated `s' command > > How very odd.. Can you do me a favor and drop the "sudo" part of the > script and retest.. > > /etc/kernel/postinst.d/zz-uenv_txt > > Here's the current version for reference > > https://github.com/RobertCNelson/omap-image-builder/blob/master/target/other/zz-uenv_txt > > > as it's just calling: > > sed -i -e 's:'${older_kernel}':'${version}':g' /boot/uEnv.txt > > which should be pretty generic.. I should add a "${older_kernel} != > ${version} right before that for sanity.. > > Regards, > > -- > Robert Nelson > http://www.rcn-ee.com/ > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
