I had probably too many things open and all these programs minimized and the computer wouldn't let me close them. Rather than just powering off and since I could still access the terminal, I went to another computer and Googled how to shut down a Linux computer from the terminal.
It gave me this and I tried it:
sudo /sbin/shutdown -r now
It shut down the computer and re-booted it.
I noticed there was a software update in the toolbar but when I went to install it, it didn't. It said something like 'dependencies couldn't be fetched' or 'installation failed.' The bottom line is they didn't install.
So I went into the terminal and ran:
sudo apt-get update
and then
sudo apt-get upgrade
And the upgrade balked, or at least seemed to, at installing the updates. It suggested running sudo apt-get update again so I did, but it again balked at installing the updates. It also suggested
try with --fix-missing?
but I was feeling like I was getting in over my head so I didn't try that.
It seemed to balk specifically on
Code:
Err:1 https://mega.nz/linux/MEGAsync/xUbuntu_16.04 ./ megasync 3.6.6+6.1
404 Not Found
E: Failed to fetch https://mega.nz/linux/MEGAsync/xUbuntu_16.04/./amd64/megasync_3.6.6+6.1_amd64.deb 404 Not Found
And I have been having issues with Mega (cloud storage) for a while. But I was concerned that the security updates (I noticed there were a lot of security updates in the apt-get update--is it okay to post all that stuff here or is it a bad idea to show that stuff in a public forum?) and other important things like browser updates seemed like they were not being installed either.
So, were those security updates and browser updates installed and only the Mega stuff was not installed? (It didn't
seem like anything installed, the
Code:
Err:1 https://mega.nz/linux/MEGAsync/xUbuntu_16.04 ./ megasync 3.6.6+6.1
404 Not Found
E: Failed to fetch https://mega.nz/linux/MEGAsync/xUbuntu_16.04/./amd64/megasync_3.6.6+6.1_amd64.deb 404 Not Found
message came up really pretty quickly. Here's the terminal results of the upgrade attempt:
Quote:
sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
linux-headers-4.4.0-119 linux-headers-4.4.0-119-generic linux-headers-4.4.0-121 linux-headers-4.4.0-121-generic linux-headers-4.4.0-122 linux-headers-4.4.0-122-generic
linux-image-4.4.0-119-generic linux-image-4.4.0-121-generic linux-image-4.4.0-122-generic linux-image-extra-4.4.0-119-generic linux-image-extra-4.4.0-121-generic
linux-image-extra-4.4.0-122-generic
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
google-chrome-stable ifupdown libplymouth4 linux-firmware megasync plymouth plymouth-label plymouth-theme-ubuntu-text python3-update-manager update-manager update-manager-core
11 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 7,190 kB/111 MB of archives.
After this operation, 10.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3-update-manager all 1:16.04.13 [32.6 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 update-manager-core all 1:16.04.13 [5,496 B]
Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 update-manager all 1:16.04.13 [543 kB]
Err:4 https://mega.nz/linux/MEGAsync/xUbuntu_16.04 ./ megasync 3.6.6+6.1
404 Not Found
Fetched 581 kB in 1s (491 kB/s)
E: Failed to fetch https://mega.nz/linux/MEGAsync/xUbun...+6.1_amd64.deb 404 Not Found
|
Can you tell from that if the important stuff installed? (I'm not worried about Mega.) Is there anything I need to do?
And maybe it's not a good idea to use that terminal command again if things get locked up? Better to just power the computer down? Thanks.