Имею при себе ubuntu 16.04.03 и такое добро:
apt-get install --install-recommends linux-generic-hwe-16.04 xserver-xorg-hwe-16.04
Как всё это снести и вернуть убунту в исходное состояние?
Можно конечно так попробовать... Но нужно ли?
aptitude remove linux-generic-hwe-16.04 xserver-xorg-hwe-16.04 The following packages will be REMOVED:
linux-firmware{u} linux-generic-hwe-16.04 linux-headers-4.13.0-32{u}
linux-headers-4.13.0-32-generic{u} linux-headers-generic-hwe-16.04{u}
linux-image-4.13.0-32-generic{u} linux-image-extra-4.13.0-32-generic{u}
linux-image-generic-hwe-16.04{u} xserver-xorg-hwe-16.04
xserver-xorg-input-all-hwe-16.04{u} xserver-xorg-input-evdev-hwe-16.04{u}
xserver-xorg-input-synaptics-hwe-16.04{u}
xserver-xorg-input-wacom-hwe-16.04{u}
0 packages upgraded, 0 newly installed, 13 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 533 MB will be freed.
The following packages have unmet dependencies:
xorg : Depends: xserver-xorg (>= 1:7.7+13ubuntu3) but it is not going to be installed.
The following actions will resolve these dependencies:
Remove the following packages:
1) xorg
Leave the following dependencies unresolved:
2) xinit recommends xserver-xorg | xserver
Accept this solution? [Y/n/q/?]