PDA

View Full Version : After Upgrade to Lubuntu 18.04, update fails



BlueAZ
August 17th, 2018, 11:33 PM
Hello, I have Lubuntu on a little Toshiba netbook, and I love it! I just upgraded to Lubuntu 18.04 via Software Updater; it worked like a charm! So grateful to have it working, as my desktop died, so I'm shopping for components with the netbook. Seemed like all was well, then Software Updater popped up with a kernel update. I directed it to Install ( yes, connected to internet ;) and it started to, but then it just disappeared. So i tried the T: sudo apt-get update and this is what I got:
blue-TOSHIBA-NB255:~$ sudo apt-get update
[sudo] password for blue:
Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
Hit:4 http://archive.canonical.com/ubuntu bionic InRelease
Fetched 172 kB in 2s (90.6 kB/s)
Reading package lists... Done

Then it returns to ...:~$ and I don't know what to do next. Do I have to manually add these sources? If so, how?
Many Thanks!!

Dennis N
August 17th, 2018, 11:56 PM
after sudo apt-get update, you need to run sudo apt-get upgrade.

tea for one
August 18th, 2018, 12:09 AM
Fetched 172 kB in 2s (90.6 kB/s)
Reading package lists... Done

After the package lists were read, did you not see something like this comment:-


4 packages can be upgraded. Run 'apt list --upgradable' to see them


sudo apt update - checks the sources to see if there are any newer versions of your installed packages


sudo apt upgrade - downloads and installs the packages.

BlueAZ
August 18th, 2018, 12:32 AM
Ah... thank you! Done!

BlueAZ
August 18th, 2018, 12:38 AM
Added note for anyone having this issue, I did have to run the sudo apt-get update and sudo apt-get upgrade commands a couple times before I got the Terminal to prompt me with 'apt list --upgradable'. Did that. Then I checked with Software Updater and it asked me to do a ReBoot. All done, but when I check Software updater now it tells me my cached software list needs to be refreshed; I tell it to and it does. But then it asks again...

geofftf
August 18th, 2018, 08:46 AM
A fresh install of 18.04 should fix the problem.

BlueAZ
August 18th, 2018, 09:20 PM
This installation is now working perfectly!! After another reboot. A fresh install would have been nice, but I just didn't have time. The upgrade is plenty good for this little backup netbook. Kudos to the developers!! I shall now mark this SOLVED!!!

BlueAZ
August 23rd, 2018, 08:43 PM
OK, now it's getting annoying. There's a new kernel version to update to, but Lubuntu Software Updater is again crashing without installing it. I went through the same (above) steps in Terminal, but it's still not installing. it just lists the sources it's available from without giving me any option to install them.
Could someone please direct me in how to install the Bionic sources so my system will update properly?
Many Thanks!

Impavidus
August 24th, 2018, 08:43 AM
I don't get the problem exactly. Can you run these two commands and show the output? First to check for updates:
sudo apt updateThen to install the updates
sudo apt upgradeIt should be possible to do this via the GUI, but if you have problems, the terminal is easier, not least because it allows easier communication with us.

sdreelin
August 24th, 2018, 04:25 PM
I have the exact same issue after upgrading to 18.04. The issue is anytime an elevation in privledges is needed, the app requesting it closes. Since kernel updates require elevated privledges, when it tries to pop up the box to authenticate, it closes instead. Synaptic Package Manager which requires it upon start does the same thing and when I tired to install a package using GDebi, it also closes when prompting for privledges. It seems to also be related to the LXDE desktop in my case. I installed the newer LXQt desktop and logged in using that and the prompts work. That said, that desktop doesn't render well on my ancient PC.

BlueAZ
August 24th, 2018, 06:23 PM
I don't get the problem exactly. Can you run these two commands and show the output? First to check for updates:
sudo apt updateThen to install the updates
sudo apt upgradeIt should be possible to do this via the GUI, but if you have problems, the terminal is easier, not least because it allows easier communication with us.

OK, thanks! I was using command
sudo apt-get And it wasn't working. Using command
sudo apt did work. is this a permanent change in commands?
I still don't see the Bionic sources in Software and Updates. How do I get them to load?
Thanks again

Impavidus
August 24th, 2018, 09:27 PM
apt and apt-get do more or less the same. apt is newer. It's a bit smarter, but apt-get is more stable in the sense that it shouldn't change in future versions of Ubuntu. But either should work. So what does sudo apt update tell you? And what's in your sources? See the file /etc/apt/sources.list and the directory /etc/apt/sources.list.d.

weltering
November 23rd, 2018, 08:18 AM
+1 on this with respect

After upgrade software updater GUI closes automatically on clicking "Install Now" after message "starting service" or some such.
CLI update, upgrade and dist-upgrade work without any problems.

Just FYI

:guitar: