[ubuntu-za] Upgrade error

Anton May antonmay at gmail.com
Fri Oct 21 11:33:02 UTC 2016


\0/ Jan

Also do a sudo apt-get autoremove to clean up old kernels and remove
programs not being used any more.

Anton


On 21 October 2016 at 13:02, Jan Greeff <jan at verslank.net> wrote:

> Brilliant you guys, many many thanks for all the help Anton May, Chesedo
> and Frans de Waal.
>
> Problem is solved, everything running as normal again.
>
> Enjoy your day and have a great weekend.
>
> Kind regards,
>
> Jan
>
> On 21/10/2016 12:07, Anton May wrote:
>
> Sorry
>
> sudo nano /etc/default/grub
>
> On 21 October 2016 at 12:06, Anton May <antonmay at gmail.com> wrote:
>
>> As chesedo pointed the
>>
>> ^X
>>
>> In the grub file.
>>
>> sudo nao /etc/default/grub
>>
>> backspace the line to remove ^X
>>
>> ctrl+x to exit and save
>> sudo update-grub
>>
>> Then sudo apt-get install --reinstall linux-image-3.13.0-100-generic
>>
>>
>>
>> On 21 October 2016 at 11:42, Jan Greeff <jan at verslank.net> wrote:
>>
>>> jan at jan-System-Product-Name:~$ cat /etc/default/grub
>>> # 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=1
>>> GRUB_HIDDEN_TIMEOUT=0
>>> GRUB_HIDDEN_TIMEOUT_QUIET=true
>>> GRUB_TIMEOUT=4
>>> GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
>>> GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video.use_native_backlight=1"
>>> GRUB_CMDLINE_LINUX=""
>>>
>>> # 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"
>>>
>>> ^X
>>>
>>> jan at jan-System-Product-Name:~$
>>>
>>> On 21/10/2016 11:36, Anton May wrote:
>>>
>>> Output of cat /etc/default/grub?
>>>
>>> On 21 October 2016 at 11:29, Jan Greeff <jan at verslank.net> wrote:
>>>
>>>> jan at jan-System-Product-Name:~$ sudo apt-get install --reinstall
>>>> linux-image-3.13.0-100-generic
>>>> [sudo] password for jan:
>>>> Reading package lists... Done
>>>> Building dependency tree
>>>> Reading state information... Done
>>>> The following packages will be REMOVED:
>>>>   linux-image-extra-3.13.0-100-generic
>>>> 0 upgraded, 0 newly installed, 1 reinstalled, 1 to remove and 0 not
>>>> upgraded.
>>>> 2 not fully installed or removed.
>>>> Need to get 0 B/14,8 MB of archives.
>>>> After this operation, 114 MB disk space will be freed.
>>>> Do you want to continue? [Y/n] y
>>>> (Reading database ... 236376 files and directories currently installed.)
>>>> Removing linux-image-extra-3.13.0-100-generic (3.13.0-100.147) ...
>>>> depmod: FATAL: could not load /boot/System.map-3.13.0-100-generic: No
>>>> such file or directory
>>>> run-parts: executing /etc/kernel/postinst.d/apt-auto-removal
>>>> 3.13.0-100-generic /boot/vmlinuz-3.13.0-100-generic
>>>> run-parts: executing /etc/kernel/postinst.d/dkms 3.13.0-100-generic
>>>> /boot/vmlinuz-3.13.0-100-generic
>>>> run-parts: executing /etc/kernel/postinst.d/initramfs-tools
>>>> 3.13.0-100-generic /boot/vmlinuz-3.13.0-100-generic
>>>> update-initramfs: Generating /boot/initrd.img-3.13.0-100-generic
>>>> grep: /boot/config-3.13.0-100-generic: No such file or directory
>>>> depmod: WARNING: could not open /tmp/mkinitramfs_tW093t/lib/mo
>>>> dules/3.13.0-100-generic/modules.order: No such file or directory
>>>> depmod: WARNING: could not open /tmp/mkinitramfs_tW093t/lib/mo
>>>> dules/3.13.0-100-generic/modules.builtin: No such file or directory
>>>> run-parts: executing /etc/kernel/postinst.d/pm-utils
>>>> 3.13.0-100-generic /boot/vmlinuz-3.13.0-100-generic
>>>> run-parts: executing /etc/kernel/postinst.d/update-notifier
>>>> 3.13.0-100-generic /boot/vmlinuz-3.13.0-100-generic
>>>> run-parts: executing /etc/kernel/postinst.d/zz-update-grub
>>>> 3.13.0-100-generic /boot/vmlinuz-3.13.0-100-generic
>>>> /usr/sbin/grub-mkconfig: 36: /etc/default/grub: ^X: not found
>>>> run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return
>>>> code 127
>>>> dpkg: error processing package linux-image-extra-3.13.0-100-generic
>>>> (--remove):
>>>>  subprocess installed post-removal script returned error exit status 1
>>>> Errors were encountered while processing:
>>>>  linux-image-extra-3.13.0-100-generic
>>>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>>>> jan at jan-System-Product-Name:~$
>>>>
>>>> On 21/10/2016 11:24, Anton May wrote:
>>>>
>>>> sudo apt-get install --reinstall linux-image-3.13.0-100-generic
>>>>
>>>>
>>>>
>>>> --
>>>> ubuntu-za mailing list
>>>> ubuntu-za at lists.ubuntu.com
>>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-za
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Anton May
>>>
>>>
>>>
>>>
>>> --
>>> ubuntu-za mailing list
>>> ubuntu-za at lists.ubuntu.com
>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-za
>>>
>>>
>>
>>
>> --
>> Regards,
>> Anton May
>>
>
>
>
> --
> Regards,
> Anton May
>
>
>
>
> --
> ubuntu-za mailing list
> ubuntu-za at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-za
>
>


-- 
Regards,
Anton May
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-za/attachments/20161021/38baab73/attachment.html>


More information about the ubuntu-za mailing list