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


# apt-get install php
Reading package lists... Done
Building dependency tree... Done
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: 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: Couldn't find package php

# sudo 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]bzip2: (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]
1427B/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% [Waiting for headers]
1427B/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]
1427B/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 8s (1747B/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.

# apt-get install php
Reading package lists... Done
Building dependency tree... Done
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: Couldn't find package php

Thank you.

Jim


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to