Upgrade from Ubuntu Studio 16.04 to 18.10 errored out with “no space left on disk”, and now cannot launch...
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.
upgrade mass-storage
|
show 9 more comments
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.
upgrade mass-storage
2
Possible duplicate of No more disk space: How can I find what is taking up the space?
– user535733
Feb 20 at 16:16
1
This is not a duplication, as it involves an upgrade operation. Thanks to the link above, I have freed up about 51G of files (using sudo du -aBM -d 1 . | sort -nr | head -20, and then rm'ing large file directories that I already have backed up ) and an unused image using sudo dpkg [image name]. Can I restart the apt dist-upgrade, or do I need to do something else first?
– Will
Feb 20 at 16:41
1
See here: askubuntu.com/a/346795/167115 and please report any errors or if this does not work.
– mchid
Feb 20 at 17:35
1
@Will I would advise against rebooting as the system might not reboot right now. If you need to press CTRL+ALT+F2 and sign in to open a terminal if you can't open a terminal and then try running:sudo screen -D -rand if that doesn't restart the upgrade then run:sudo apt dist-upgradeand, if you get an error, you may need to runsudo apt -f installand orsudo dpkg --configure -aas well and you may need to run some of these commands more than once to fix things.
– mchid
Feb 20 at 18:07
2
Possible duplicate of How do I resume a release upgrade?
– Elder Geek
Feb 20 at 20:01
|
show 9 more comments
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.
upgrade mass-storage
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.
upgrade mass-storage
upgrade mass-storage
edited Feb 21 at 22:31
Will
asked Feb 20 at 16:04
WillWill
51111
51111
2
Possible duplicate of No more disk space: How can I find what is taking up the space?
– user535733
Feb 20 at 16:16
1
This is not a duplication, as it involves an upgrade operation. Thanks to the link above, I have freed up about 51G of files (using sudo du -aBM -d 1 . | sort -nr | head -20, and then rm'ing large file directories that I already have backed up ) and an unused image using sudo dpkg [image name]. Can I restart the apt dist-upgrade, or do I need to do something else first?
– Will
Feb 20 at 16:41
1
See here: askubuntu.com/a/346795/167115 and please report any errors or if this does not work.
– mchid
Feb 20 at 17:35
1
@Will I would advise against rebooting as the system might not reboot right now. If you need to press CTRL+ALT+F2 and sign in to open a terminal if you can't open a terminal and then try running:sudo screen -D -rand if that doesn't restart the upgrade then run:sudo apt dist-upgradeand, if you get an error, you may need to runsudo apt -f installand orsudo dpkg --configure -aas well and you may need to run some of these commands more than once to fix things.
– mchid
Feb 20 at 18:07
2
Possible duplicate of How do I resume a release upgrade?
– Elder Geek
Feb 20 at 20:01
|
show 9 more comments
2
Possible duplicate of No more disk space: How can I find what is taking up the space?
– user535733
Feb 20 at 16:16
1
This is not a duplication, as it involves an upgrade operation. Thanks to the link above, I have freed up about 51G of files (using sudo du -aBM -d 1 . | sort -nr | head -20, and then rm'ing large file directories that I already have backed up ) and an unused image using sudo dpkg [image name]. Can I restart the apt dist-upgrade, or do I need to do something else first?
– Will
Feb 20 at 16:41
1
See here: askubuntu.com/a/346795/167115 and please report any errors or if this does not work.
– mchid
Feb 20 at 17:35
1
@Will I would advise against rebooting as the system might not reboot right now. If you need to press CTRL+ALT+F2 and sign in to open a terminal if you can't open a terminal and then try running:sudo screen -D -rand if that doesn't restart the upgrade then run:sudo apt dist-upgradeand, if you get an error, you may need to runsudo apt -f installand orsudo dpkg --configure -aas well and you may need to run some of these commands more than once to fix things.
– mchid
Feb 20 at 18:07
2
Possible duplicate of How do I resume a release upgrade?
– Elder Geek
Feb 20 at 20:01
2
2
Possible duplicate of No more disk space: How can I find what is taking up the space?
– user535733
Feb 20 at 16:16
Possible duplicate of No more disk space: How can I find what is taking up the space?
– user535733
Feb 20 at 16:16
1
1
This is not a duplication, as it involves an upgrade operation. Thanks to the link above, I have freed up about 51G of files (using sudo du -aBM -d 1 . | sort -nr | head -20, and then rm'ing large file directories that I already have backed up ) and an unused image using sudo dpkg [image name]. Can I restart the apt dist-upgrade, or do I need to do something else first?
– Will
Feb 20 at 16:41
This is not a duplication, as it involves an upgrade operation. Thanks to the link above, I have freed up about 51G of files (using sudo du -aBM -d 1 . | sort -nr | head -20, and then rm'ing large file directories that I already have backed up ) and an unused image using sudo dpkg [image name]. Can I restart the apt dist-upgrade, or do I need to do something else first?
– Will
Feb 20 at 16:41
1
1
See here: askubuntu.com/a/346795/167115 and please report any errors or if this does not work.
– mchid
Feb 20 at 17:35
See here: askubuntu.com/a/346795/167115 and please report any errors or if this does not work.
– mchid
Feb 20 at 17:35
1
1
@Will I would advise against rebooting as the system might not reboot right now. If you need to press CTRL+ALT+F2 and sign in to open a terminal if you can't open a terminal and then try running:
sudo 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 run sudo apt -f install and or sudo dpkg --configure -a as well and you may need to run some of these commands more than once to fix things.– mchid
Feb 20 at 18:07
@Will I would advise against rebooting as the system might not reboot right now. If you need to press CTRL+ALT+F2 and sign in to open a terminal if you can't open a terminal and then try running:
sudo 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 run sudo apt -f install and or sudo dpkg --configure -a as well and you may need to run some of these commands more than once to fix things.– mchid
Feb 20 at 18:07
2
2
Possible duplicate of How do I resume a release upgrade?
– Elder Geek
Feb 20 at 20:01
Possible duplicate of How do I resume a release upgrade?
– Elder Geek
Feb 20 at 20:01
|
show 9 more comments
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1119888%2fupgrade-from-ubuntu-studio-16-04-to-18-10-errored-out-with-no-space-left-on-dis%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1119888%2fupgrade-from-ubuntu-studio-16-04-to-18-10-errored-out-with-no-space-left-on-dis%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
Possible duplicate of No more disk space: How can I find what is taking up the space?
– user535733
Feb 20 at 16:16
1
This is not a duplication, as it involves an upgrade operation. Thanks to the link above, I have freed up about 51G of files (using sudo du -aBM -d 1 . | sort -nr | head -20, and then rm'ing large file directories that I already have backed up ) and an unused image using sudo dpkg [image name]. Can I restart the apt dist-upgrade, or do I need to do something else first?
– Will
Feb 20 at 16:41
1
See here: askubuntu.com/a/346795/167115 and please report any errors or if this does not work.
– mchid
Feb 20 at 17:35
1
@Will I would advise against rebooting as the system might not reboot right now. If you need to press CTRL+ALT+F2 and sign in to open a terminal if you can't open a terminal and then try running:
sudo screen -D -rand if that doesn't restart the upgrade then run:sudo apt dist-upgradeand, if you get an error, you may need to runsudo apt -f installand orsudo dpkg --configure -aas well and you may need to run some of these commands more than once to fix things.– mchid
Feb 20 at 18:07
2
Possible duplicate of How do I resume a release upgrade?
– Elder Geek
Feb 20 at 20:01