PDA

View Full Version : [kubuntu] How to resume upgrade to 18.10 through konsole?



n0umenon
October 19th, 2018, 07:42 PM
Hi,

I was attempting an upgrade to the new 18.10 LTS version of Kubuntu through konsole. In the process, I was asked if I need the packages which are unneeded to be deleted. There were three options: Y, N, and Details. I choose "Details", but didn't know how to get back after the list came to the foreground, so I hit the combination ctrl+z, that terminated the whole process. While I was trying to get back to the process through the "fg" command, the konsole closed unexpectedly and now I can't even reboot my system because of a problem with ksmserver-logout-greeter...

Any idea how to get back at the upgrading process without any bad consequences?

deadflowr
October 19th, 2018, 07:55 PM
None of that sounds good.
Can you boot into a recovery mode?
https://wiki.ubuntu.com/RecoveryMode

In recovery mode there is an option to repair broken packages, you might try that.

Your system is basically half installed.
Repair broken packages might install the other half.
Or it might not.
But it is something to try for starters.

n0umenon
October 19th, 2018, 08:33 PM
Hello again,

When I get into grub I saw this:

Ubuntu, with Linux 4.18.0-10-generic
Ubuntu, with Linux 4.18.0-10-generic (recovery mode)
Ubuntu, with Linux 4.15.0-38-generic
Ubuntu, with Linux 4.15.0-38-generic (recovery mode)


I tried the both "recovery mode" versions, but when I attempt the "Repair broken packages" option I've received this message:



/lib/recovery-mode/recovery-menu: line 80: /etc/default/rcS: No such file or directory
^[[C^[[D
Reading cache

Can not upgrade

Your python install is corrupted. Please fix the '/usr/bin/python' symlink.



Sounds bad to me..

1fallen
October 19th, 2018, 08:37 PM
Try with this first:

sudo apt-get install --reinstall python
Now try again with fix broken

n0umenon
October 19th, 2018, 08:47 PM
Thank you for your suggestion, but the message is the same...