Quote:
Originally Posted by muletopia
Thanks OICURMT,
I tried the two commands you suggested. Neither seems to have worked.
The first I tried on my main work box the upgrade command on a backup box.
The is because i upgraded my laptop to 18.04 and encountered compile problems.
16.04 gcc compiled a C++ project but 18.04 does not.
Output of commands attached.
|
First screenshot indicates to me that the repo isn't responding correctly. I have a similar issue (Raspbian using update), but my upgrade command works fine.
You might want to change the repo site to a different one to see if that fixes the update problem (didn't for my RPi, but did for my AVLinux machine).
For Ubuntu, a list of repositories mirrors can be found at
https://launchpad.net/ubuntu/+archivemirrors
( BTW: if anyone is using a Raspberry Pi, the repo list is
https://raspbian.org/RaspbianMirrors )
Regarding the lock problem. Try the following:
1) cd /var/lib/dpkg
2) rm lock
3) mv status status-old
Retry the
apt-get upgrade command.