[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get errors



On 4/5/08, Mumia W.. <paduille.4061.mumia.w+nospam@earthlink.net> wrote:
> On 04/04/2008 06:48 PM, hce wrote:
>
> > Hi,
> >
> > I guess somehow my apt list is collapsed. Please see following
> > sources.list and errors. I am not able to do apt-get install anymore.
> > Please how can I fix it?
> >
> > deb http://packages.debian.org etch main contrib
> > deb-src http://packages.debian.org etch main contrib
> > [...]
> >
>
>  Try http://ftp.us.debian.org/ instead.
>
>
> > W: You may want to run apt-get update to correct these problems
> > E: Couldn't find package php
> >
> > Thank you.
> >
> > Jim
> >
> >
> >
>
>  Yes, perform "apt-get update" after you change /etc/apt/sources.list.
> Always do this after modifying sources.list.

I did, but did not work, please see attached error messages which I
posted in previous message. How to fix it?

# apt-get update
Get:1 http://packages.debian.org etch Release.gpg
Get:2 http://packages.debian.org etch Release
Ign http://packages.debian.org etch Release
Get:3 http://packages.debian.org etch/main Packages
99% [3 Packages bzip2 0] [Waiting for headers]
828B/s 0sbzip2: (stdin) is not a bzip2 file.
Err http://packages.debian.org etch/main Packages
  Sub-process bzip2 returned an error code (2)
Get:4 http://packages.debian.org etch/contrib Packages
99% [4 Packages bzip2 0] [Waiting for headers]
828B/s 0sbzip2: (stdin) is not a bzip2 file.
Err http://packages.debian.org etch/contrib Packages
  Sub-process bzip2 returned an error code (2)
Get:5 http://packages.debian.org etch/main Sources
99% [5 Sources bzip2 0] [Waiting for headers]
828B/s 0sbzip2: (stdin) is not a bzip2 file.
Err http://packages.debian.org etch/main Sources
  Sub-process bzip2 returned an error code (2)
Get:6 http://packages.debian.org etch/contrib Sources
99% [6 Sources bzip2 0]
828B/s 0sbzip2: (stdin) is not a bzip2 file.
Err http://packages.debian.org etch/contrib Sources
  Sub-process bzip2 returned an error code (2)
Fetched 15.0kB in 11s (1259B/s)
Failed to fetch
http://packages.debian.org/dists/etch/main/binary-i386/Packages.bz2
Sub-process bzip2 returned an error code (2)
Failed to fetch
http://packages.debian.org/dists/etch/contrib/binary-i386/Packages.bz2
 Sub-process bzip2 returned an error code (2)
Failed to fetch
http://packages.debian.org/dists/etch/main/source/Sources.bz2
Sub-process bzip2 returned an error code (2)
Failed to fetch
http://packages.debian.org/dists/etch/contrib/source/Sources.bz2
Sub-process bzip2 returned an error code (2)
Reading package lists... Done
W: GPG error: http://packages.debian.org etch Release: The following
signatures were invalid: NODATA 1 NODATA 2
W: Couldn't stat source package list http://packages.debian.org
etch/main Packages
(/var/lib/apt/lists/packages.debian.org_dists_etch_main_binary-i386_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list http://packages.debian.org
etch/contrib Packages
(/var/lib/apt/lists/packages.debian.org_dists_etch_contrib_binary-i386_Packages)
- stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old
ones used instead.


Reply to: