LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-25-2023, 06:12 PM   #1
mdm1
LQ Newbie
 
Registered: Nov 2022
Posts: 7

Rep: Reputation: 0
apt-get update not working 1st Gen Apple TV


Hello.

I'm running apt-get update on a 1st generation Apple TV running Linux via OSMC, and it gives a 404 error when trying to access the Debian Jessie archive. I've check if it's connected online via the ping 8.8.8.8 command, it it pings right back. Any suggestions?
 
Old 02-25-2023, 06:28 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by mdm1 View Post
I'm running apt-get update on a 1st generation Apple TV running Linux via OSMC, and it gives a 404 error when trying to access the Debian Jessie archive. I've check if it's connected online via the ping 8.8.8.8 command, it it pings right back. Any suggestions?
Jessie is ancient. Did you update your sources.list to point to archive.debian.org?

Evo2.

Last edited by evo2; 02-25-2023 at 06:29 PM.
 
Old 02-25-2023, 06:31 PM   #3
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,173

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
That version of Debian is old and not supported any longer, https://www.debian.org/releases/jessie/
You are 2 major versions behind, and Debian 12 is due out in a few months so 10 will drop off support in a year or so. You might be able to upgrade Debian 8 (Jessie) to Debian 10 (Buster), and skip Debian 9 (Stretch). People have reported success doing this, but I have not tried it.

Or you can upgrade to 9, then to 10, and think about going to 11 in the future.
 
Old 02-25-2023, 06:50 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,727

Rep: Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919
Long term support ended in 2020 so no more security updates.
I don't have any suggestions. I don't know if upgrading would work at this point.
 
Old 02-25-2023, 06:51 PM   #5
mdm1
LQ Newbie
 
Registered: Nov 2022
Posts: 7

Original Poster
Rep: Reputation: 0
Jessie

I've tried both updating my sources.list file to point to archive.debian.org and upgrading, which can't happen without me running apt-get update.
 
Old 02-25-2023, 06:58 PM   #6
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
You need to show us the exact error messages. What is the output of
Code:
apt-get update
run as root.

Evo2.
 
Old 02-25-2023, 10:33 PM   #7
mdm1
LQ Newbie
 
Registered: Nov 2022
Posts: 7

Original Poster
Rep: Reputation: 0
I am root.
 
Old 02-25-2023, 11:19 PM   #8
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,818
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
What do cat /etc/resolv.conf and ip -d route report?
 
Old 02-26-2023, 12:27 AM   #9
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by mdm1 View Post
I am root.
I'll say it again. You need to show us the exact error messages. What is the output of
Code:
apt-get update
Evo2.
 
Old 02-26-2023, 12:32 PM   #10
mdm1
LQ Newbie
 
Registered: Nov 2022
Posts: 7

Original Poster
Rep: Reputation: 0
Output

For clarification, the exact output of sudo apt-get update is as such:

Ign http://archive.debian.org jessie InRelease
Ign http://archive.debian.org jessie Release.gpg
Ign http://archive.debian.org jessie Release
Err http://archive.debian.org jessie/main i386 Packages
404 Not Found
Ign http://archive.debian.org jessie/main Translation-en
W: Failed to fetch http://archive.debian.org/debian/dis...-i386/Packages 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.

And my sources.list is as such:

deb http://archive.org/debian jessie main

The output of sudo cat /etc/resolv.conf is (I'm accessing this from my college's domain):

# Generated by Connection Manager
search dyn.uncc.edu
nameserver 10.23.0.10

And I can't generate an output for sudo ip -d, as ip is not installed, and I can't install it because of this issue.
 
Old 02-26-2023, 04:18 PM   #11
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by mdm1 View Post
For clarification, the exact output of sudo apt-get update is as such:

Ign http://archive.debian.org jessie InRelease
Ign http://archive.debian.org jessie Release.gpg
Ign http://archive.debian.org jessie Release
Err http://archive.debian.org jessie/main i386 Packages
404 Not Found
Ign http://archive.debian.org jessie/main Translation-en
W: Failed to fetch http://archive.debian.org/debian/dis...-i386/Packages 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
It's trying to find uncompressed Packages file in http://archive.debian.org/debian/dis...n/binary-i386/
As you can see there are actually Packages.gz and Packages.xz

I guess you may have some cruft in /var/lib/apt/lists/. I'd try deleting files in that directory then running "apt-get update" again.

Quote:
Originally Posted by mdm1 View Post
And my sources.list is as such:
deb http://archive.org/debian jessie main
Really? I don't think so. From your "apt-get update" output I'd have guessed:
Code:
deb http://archive.debian.org/debian jessie main
Quote:
Originally Posted by mdm1 View Post
The output of sudo cat /etc/resolv.conf is (I'm accessing this from my college's domain):

# Generated by Connection Manager
search dyn.uncc.edu
nameserver 10.23.0.10

And I can't generate an output for sudo ip -d, as ip is not installed, and I can't install it because of this issue.
Your network and DNS seem to be fine.

Evo2.
 
Old 03-05-2023, 09:22 AM   #12
mdm1
LQ Newbie
 
Registered: Nov 2022
Posts: 7

Original Poster
Rep: Reputation: 0
Reply

Sorry, my sources.list is actually:
deb http://archive.debian.org/debian jessie main

I've also cleared out /var/lib/apt/lists/, to no avail.
 
Old 03-05-2023, 09:28 AM   #13
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,897

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
try this: http://archive.debian.org/debian/README
 
Old 03-05-2023, 06:00 PM   #14
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by mdm1 View Post
Sorry, my sources.list is actually:
deb http://archive.debian.org/debian jessie main

I've also cleared out /var/lib/apt/lists/, to no avail.
Ok, seems you are missing a trailing slash.
Code:
deb http://archive.debian.org/debian/ jessie main
Evo2.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Purism Launches 2nd Gen Librem Mini Linux PC with a 10th Gen Intel Core CPU LXer Syndicated Linux News 0 11-05-2020 11:03 PM
[SOLVED] synaptic, apt-get update, apt update all stopped working tnandy Linux - Software 6 09-09-2020 03:50 PM
3rd gen CPU in a 2nd Gen Laptop Motherboard benifits are? BW-userx Linux - Hardware 4 05-18-2016 01:56 PM
Getting 1st gen. iPod to work with Linux tea of evil Linux - Hardware 9 12-17-2008 02:09 AM
apt-get install not working / apt-get update is ok remy215 Debian 2 10-01-2005 07:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration