You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Update+Upgrade broken by 404 errors

Author (Read 3984 times)

0 Members and 1 Guest are viewing this topic.

Re: Update+Upgrade broken by 404 errors
« Reply #5 on: August 08, 2014, 02:57:57 AM »
 

Kirkx

  • Occasional Poster
  • **
  • 51
    Posts
  • Reputation: 10
  • Linux Lite Member
    • View Profile

  • CPU: Athlon 64 3500+ 2.2 GHz

  • MEMORY: 4Gb

  • VIDEO CARD: GeForce 8500 GT / Nvidia 340.76
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: [Select]
/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.
« Last Edit: August 08, 2014, 03:01:10 AM by Kirkx »
LL 2.4, Xubuntu 14.04.2, Debian 8, Manjaro
 

Re: Update+Upgrade broken by 404 errors
« Reply #4 on: August 04, 2014, 02:55:43 PM »
 

gold_finger

  • Documentation Writer
  • Platinum Level Poster
  • *****
  • 1094
    Posts
  • Reputation: 325
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core2 Duo E7500 3.0GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel 4 Series Integrated Graphics
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.
 

Re: Update+Upgrade broken by 404 errors
« Reply #3 on: August 04, 2014, 11:55:17 AM »
 

Scott

  • Global Moderator
  • Gold Level Poster
  • *****
  • 857
    Posts
  • Reputation: 186
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Intel Core i3 M 330

  • MEMORY: 6Gb

  • VIDEO CARD: Intel Integrated Graphics
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
« Reply #2 on: August 04, 2014, 04:20:12 AM »
 

Dookus

  • Registered Linux User 533331
  • Forum Regular
  • ***
  • 101
    Posts
  • Reputation: 20
  • I'm just this guy .... y'know?!
    • View Profile

  • CPU: Many

  • VIDEO CARD: Many
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
 

Update+Upgrade broken by 404 errors
« Reply #1 on: August 04, 2014, 03:53:05 AM »
 

Kirkx

  • Occasional Poster
  • **
  • 51
    Posts
  • Reputation: 10
  • Linux Lite Member
    • View Profile

  • CPU: Athlon 64 3500+ 2.2 GHz

  • MEMORY: 4Gb

  • VIDEO CARD: GeForce 8500 GT / Nvidia 340.76
The script behind Install Updates menu entry executes the following two commands:
Code: [Select]
sudo apt-get update && sudo apt-get upgradeHowever, the execution of these commands is broken by 404 errors related to invalid repository addresses for Google Chrome and Google Talk:

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

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section