Changes

Jump to navigation Jump to search
apt-get update
apt-get upgrade
 
During the upgrade I chose:
*keep the local smb.conf
*keep the local grub (new version in /tmp/grub.l1gqsHmubw)
 
There were dependcy problem and other warnings during the process. It finished with:
Errors were encountered while processing:
keyboard-configuration
xserver-xorg-core
xserver-xorg-input-wacom
console-setup-linux
console-setup
ubuntu-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)
W: Operation was interrupted before it could finish
 
I rebooted the server. It came up ok and everything seemed fine (I don't run XWindows on this box), but it is still claiming that there are updates.
The issue might be related to a known Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/console-setup/+bug/1770482. The solution(s) might be [https://unix.stackexchange.com/questions/202671/circular-dependency-in-ubuntu-release-upgrade]:
 
Look at the keyboard config file:
cat /etc/default/keyboard
# KEYBOARD CONFIGURATION FILE
# Consult the keyboard(5) manual page.
XKBMODEL="pc105"
XKBLAYOUT="us"
XKBVARIANT=""
XKBOPTIONS=""
 
Remove and reinstall the keyboard-configuration:
apt-get remove keyboard-configuration
apt-get install keyboard-configuration
Note that this launches a screen where the only options are Afghani variants... so cancel it!
DEBIAN_FRONTEND=noninteractive apt-get install keyboard-configuration
This ran and changed the keyboard layout file to the default:
# KEYBOARD CONFIGURATION FILE
# Consult the keyboard(5) manual page.
XKBMODEL="pc105"
XKBLAYOUT="us,af"
XKBVARIANT=","
XKBOPTIONS="grp_led:scroll"
vi /etc/default/keyboard
I manually removed the af option and the commas, essentially reverting the file (I like a scroll light).
cd /usr/share/X11/xkb/symbols
ln -s us en
This was the other solution offered. I was missing an en option, so that might be it.
apt-get install keyboard-configuration
Now it says that there is nothing to do, which is promising.
 
Try the update again:
apt-get update && apt-get upgrade
Nothing happened and everything seems fine...
shutdown -r now
==Update Wordpress==

Navigation menu