LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Update+Upgrade broken by 404 errors
#1
The script behind Install Updates menu entry executes the following two commands:
Code:
sudo apt-get update && sudo apt-get upgrade
However, the execution of these commands is broken by 404 errors related to invalid repository addresses for Google Chrome and Google Talk:
[Image: yT6K4Sn.png]
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:
[Image: mwJCm1s.png]
[Image: kA6qQbr.png]
[Image: YNR9BSX.png]
I assume that all this also affects the ability to download Google Chrome and Google Talk Plugin using Install Additional Software menu entry.
LL 2.4, Xubuntu 14.04.2, Debian 8, Manjaro
Reply
#2
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.
I'm just this guy ... Y'know!?
Registered Linux User 533331
Reply
#3
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.
[Image: q7j1yAl.png]
Reply
#4
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.
Try Linux Beginner Search Engine for answers to Linux questions.
Reply
#5
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):

[Image: NjO4jLT.png]

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.
LL 2.4, Xubuntu 14.04.2, Debian 8, Manjaro
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)