LinuxQuestions.org
Help answer threads with 0 replies.
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 09-23-2018, 02:23 PM   #1
Ellster
LQ Newbie
 
Registered: Aug 2018
Posts: 8

Rep: Reputation: Disabled
Debian not updating, ‘failed to fetch’


Hi everyone,
this feels like a stupid question, but I'm this close to just reinstalling the whole OS and thought maybe there's an easier way.

I recently was playing around with different browsers and accidentally tried to install a 64bit version of Google Chrome, which failed since I'm running a 32bit system. I also installed and unistalled some other programs (32bit) at the same time.
Ever since then when I try to pull updates, I get this:

Code:
W: Failed to fetch http://security.debian.org/dists/wheezy/updates/InRelease  Unable to find expected entry 'deb/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release  Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.
My sources.list file looks like this:

Code:
# 

# deb cdrom:[Debian GNU/Linux 8.1.0 _Jessie_ - Official i386 kde-CD Binary-1 20$

deb http://ftp.de.debian.org/debian/ jessie main
deb-src http://ftp.de.debian.org/debian/ jessie main

deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main

# jessie-updates, previously known as 'volatile'
deb http://ftp.de.debian.org/debian/ jessie-updates main
deb-src http://ftp.de.debian.org/debian/ jessie-updates main

deb http://download.videolan.org/pub/debian/stable/ /
deb-src http://download.videolan.org/pub/debian/stable/ /

deb http://ftp2.de.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp2.de.debian.org/debian/ jessie main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
I'm running a Debian 8 "Jessie" on an IBM ThinkPad T60.

Thanks for the help!
 
Old 09-23-2018, 02:28 PM   #2
individual
Member
 
Registered: Jul 2018
Posts: 267
Blog Entries: 1

Rep: Reputation: 210Reputation: 210Reputation: 210
EDIT: Nevermind, I was mistaken.
EDIT2: These links appear to describe the problem you're having, and offer a solution to fix it.
Linux: How To Fix Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release
Getting error while running sudo apt-get update

Last edited by individual; 09-23-2018 at 02:37 PM.
 
Old 09-23-2018, 03:07 PM   #3
Ellster
LQ Newbie
 
Registered: Aug 2018
Posts: 8

Original Poster
Rep: Reputation: Disabled
Thanks, this at least helped for one thing.

I now commented out the entire source.list.d/google-chrome.list file, so now my update error has been reduced to this:

Code:
W: Failed to fetch http://security.debian.org/dists/wheezy/updates/InRelease  Unable to find expected entry 'deb/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.
 
Old 09-23-2018, 04:25 PM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872
Can you please install inxi if you haven't already installed it and post the output from the following command:

Code:
inxi -r
 
Old 09-23-2018, 05:22 PM   #5
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407
Quote:
Originally Posted by Ellster View Post
Thanks, this at least helped for one thing.

I now commented out the entire source.list.d/google-chrome.list file, so now my update error has been reduced to this:

Code:
W: Failed to fetch http://security.debian.org/dists/wheezy/updates/InRelease  Unable to find expected entry 'deb/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.
Debian wheezy is unsupported since 5-31-2018 and no longer receives security updates.

https://wiki.debian.org/DebianWheezy

You should remove that line from your software sources.
 
Old 09-23-2018, 05:36 PM   #6
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872
Quote:
Originally Posted by snowpine View Post
Debian wheezy is unsupported since 5-31-2018 and no longer receives security updates.

https://wiki.debian.org/DebianWheezy

You should remove that line from your software sources.
Just for info, it doesn't appear to be in the OP's main sources.list file as pasted above, which is why I asked for inxi -r so I can pinpoint its whereabouts.
 
3 members found this post helpful.
Old 09-24-2018, 07:58 AM   #7
Ellster
LQ Newbie
 
Registered: Aug 2018
Posts: 8

Original Poster
Rep: Reputation: Disabled
I've run inxi, the output is this:

Code:
Resuming in non X mode: glxinfo not found. For package install advice run: inxi --recommends
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb http://ftp.de.debian.org/debian/ jessie main
           deb-src http://ftp.de.debian.org/debian/ jessie main
           deb http://security.debian.org/ jessie/updates main
           deb-src http://security.debian.org/ jessie/updates main
           deb http://ftp.de.debian.org/debian/ jessie-updates main
           deb-src http://ftp.de.debian.org/debian/ jessie-updates main
           deb http://download.videolan.org/pub/debian/stable/ /
           deb-src http://download.videolan.org/pub/debian/stable/ /
           deb http://ftp2.de.debian.org/debian/ jessie main contrib non-free
           deb-src http://ftp2.de.debian.org/debian/ jessie main contrib non-free
           deb http://security.debian.org/ jessie/updates main contrib non-free
           deb-src http://security.debian.org/ jessie/updates main contrib non-free
           Active apt sources in file: /etc/apt/sources.list.d/dropbox.list
           deb [arch=i386,amd64] http://linux.dropbox.com/debian jessie main
           Active apt sources in file: /etc/apt/sources.list.d/wheezy.non-free.list
           deb ftp://ftp.us.debian.org/debian/ wheezy non-free
           deb http://security.debian.org/ wheezy/updates non-free deb http://volatile.debian.org/debian-volatile wheezy/volatile non-free
From there I could see where this was going and commented out the content of sources.list.d/wheezy.non-free-list (and also the doubled lines in my main sources.list wherever that had come from), now things are updating smoothly again.

Thanks everyone!
 
Old 09-24-2018, 10:55 AM   #8
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872
Great to hear Ellster. You can delete wheezy.non-free.list altogether if you want.

Just for info, here's some more info on sources.list: https://wiki.debian.org/SourcesList#...2Fsources.list (for stretch, read jessie).

You can mark this thread as "Solved" if you so desire (see "Thread Tools" at the top of the thread).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Failed to Fetch THE PHANTOM Linux - Newbie 48 07-05-2017 05:39 PM
Failed to fetch Hasan5599 Linux - Newbie 9 03-22-2016 03:58 AM
failed to fetch dyeadon Linux - Newbie 2 07-26-2011 08:52 AM
[SOLVED] failed to fetch cdrom linux/unix87 Linux - Newbie 5 11-06-2010 11:22 PM
W: Failed to fetch http://distro.ibiblio.org/debian/.... blackdragonblood Debian 1 02-25-2009 10:31 PM

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

All times are GMT -5. The time now is 12:33 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration