![]() |
Update+Upgrade broken by 404 errors - Printable Version +- Linux Lite Forums (https://www.linuxliteos.com/forums) +-- Forum: Software - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=5) +--- Forum: Installing Software (https://www.linuxliteos.com/forums/forumdisplay.php?fid=18) +--- Thread: Update+Upgrade broken by 404 errors (/showthread.php?tid=672) |
Update+Upgrade broken by 404 errors - Kirkx - 08-04-2014 The script behind Install Updates menu entry executes the following two commands: Code: sudo apt-get update && sudo apt-get upgrade ![]() As shown on the screenshot above, the Terminal window closes before the second command <sudo apt-get upgrade> is executed and the upgrades are never performed. The solution is to uncheck both Google entries in the repository settings, which will allow the proper execution of both "update" and "upgrade" commands: ![]() ![]() ![]() I assume that all this also affects the ability to download Google Chrome and Google Talk Plugin using Install Additional Software menu entry. Re: Update+Upgrade broken by 404 errors - Dookus - 08-04-2014 Those were "unchecked" by default for me on LL2, I did not experience the above error, perhaps the problem is specific to what is installed by the user on a specific system, have not installed those packages myself, only Chrome has been installed on this system. Re: Update+Upgrade broken by 404 errors - Scott(0) - 08-04-2014 On my system those two entries are listed a little differently: http://dl.google.com/linux/talkplugin/deb/ stable main http://dl.google.com/linux/chrome/deb/ stable main I get no errors with the apt-get update command Do you still get errors? It's not uncommon for a repository to go down for a little while. Re: Update+Upgrade broken by 404 errors - gold_finger - 08-04-2014 Ran into same thing when installing LL 2.0 on someone's computer a couple of weeks ago. What Scott(0) pointed out was indeed the problem. The listings were supposed to read as he noted above, but were in the system incorrectly as "trusty main". I just found the culprit files and changed them under /etc/apt/sources.list.d/ eg. Open file /etc/apt/sources.list.d/google-chrome.list and change deb http://dl.google.com/linux/chrome/deb/ trusty main to deb http://dl.google.com/linux/chrome/deb/ stable main (Not sure if it was necessary, but I made same change in /etc/apt/sources.list.d/google-chrome.list.save file as well.) Save file(s) with new corrections and next time updates are run error is gone. If you don't make that change in file, then you will run into problem again when unchecking the entry in Synaptic "Other Sources" to install the program. Re: Update+Upgrade broken by 404 errors - Kirkx - 08-08-2014 Thanks, renaming both entries to "stable main" has solved the problem. I'm not sure what's the proper way of editing those lines. At first I edited them in the GUI (software-properties-gtk): ![]() After that, when I looked at the files in: Code: /etc/apt/sources.list.d one of the ".list.save" files was still showing trusty instead of stable, so I changed it to stable, just in case. |