Score:0

Ubuntu update error?

cn flag
W: Some index files failed to download. They have been ignored, or old ones used instead.
E: Write error - write (28: No space left on device)
E: IO Error saving source cache
E: The package lists or status file could not be parsed or opened.

I want to upgrade the system,An error occurred while updating the software, can I continue to upgrade the system? 16 upgrade to 18

    df -Th | grep -v fs
Filesystem     Type      Size  Used Avail Use% Mounted on
/dev/xvda1     ext4       97G   97G     0 100% /
in flag
The IO error is pretty clear: you're out of disk space ...
guiverc avatar
cn flag
You've got no space to upgrade. Are you sure you're on Ubuntu Core 16, as it upgrades differently to Ubuntu 16.04 LTS for example (The *year* systems are different products to the *year.month* Ubuntu systems)
cruise6 avatar
cn flag
Do I need to add a disk?
guiverc avatar
cn flag
Your OS & release is unclear; Ubuntu has used *year* format releases for *snap* only products since 2016, where an upgrade from 16 to 18 does not alter any programs; only the base OS itself is updated (as *snap* packages are the same for all releases). In comparison a 16.04 system needs to also not only the base, but all applications as well thus more space is required. Either way - you're out of disk space and that issue needs resolution first.
cruise6 avatar
cn flag
Okay, thank you. Will the function of Apache and some plugins be changed?
waltinator avatar
it flag
No, you don't need to "add a disk". You need to manage the space on `/`. Start with `sudo du -sk /* | sort -rn | less`. Remember: you can remove logs, data, backups, ... but NOT binaries. You have to find the package providing the binary. Use `dpkg -S filename` to do so.
cruise6 avatar
cn flag
These can't be deleted
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.