This is not a simple disk space problem. I've started an upgrade of Ubuntu Studio 16.04 to 18.10, though ran into "no space left on disk" and it terminated with an error. I no longer can launch Thunar or Nemo to free up space as I get a "symbol lookup error" for each. df shows my drive has 0% available. Is there a way for me to recover from this and restart or resume the upgrade?
Update: I tried "sudo apt-get install -f" though that resulted in a "relocation error". I ran "dpkg --configure -a" and that mostly ran smoothly, though there were a number of dependencies that could not be resolved and were left unconfigured. The building of the initial module for 4.4.0-142 lowlatency succeeded. However, when attempting to generate /boot/initrd.img-4.4.0-142-lowlatency, "Errors were encountered while processing" and there was a list of about 30 packages that followed.
"sudo apt-get install -f" no longer runs as apt-get is unrecognized
"dpkg --configure -a" quickly resolves to the errors it ended with before.
"apt dist-upgrade" also fails with relocation error
"do-release-upgrade" exits with "Please install all available updates for your release before upgrading"
In the end, started all over, wiped the partitions and loaded Ubuntu Studio 18.04, and pulled in my backed up files with Back in Time.
Can I restart the apt dist-upgrade, or do I need to do something else first?
– Will Feb 20 '19 at 16:41apt dist-upgrade
. That's Debian. Ubuntu usesdo-release-upgrade
. – user535733 Feb 20 '19 at 17:10sudo screen -D -r
and if that doesn't restart the upgrade then run:sudo apt dist-upgrade
and, if you get an error, you may need to runsudo apt -f install
and orsudo dpkg --configure -a
as well and you may need to run some of these commands more than once to fix things. – mchid Feb 20 '19 at 18:07I ran "dpkg --configure -a" and that mostly ran smoothly, though there were a number of dependencies that could not be resolved and were left unconfigured.
The building of the initial module for 4.4.0-142 lowlatency succeeded.
However, when attempting to generate /boot/initrd.img-4.4.0-142-lowlatency, "Errors were encountered while processing" and there was a list of about 30 packages that followed.
– Will Feb 20 '19 at 21:25"dpkg --configure -a" quickly resolves to the errors it ended with before.
"apt dist-upgrade" also fails with relocation error
"do-release-upgrade" exits with "Please install all available updates for your release before upgrading"
Any other avenues I can take?
– Will Feb 20 '19 at 21:26dist-upgrade
anddo-release-upgrade
are different things entirely.dist-upgrade
(or the better named, newer equivalentfull-upgrade
) updates packages.do-release-upgrade
upgrades the system version (e.g. 18.04 to 18.10). You will need to run adist-upgrade
occasionally to keep your system up to date. Please seeman apt
andman do-release-upgrade
. – Seth Feb 21 '19 at 21:15