Linux Archive

Linux Archive (
-   Debian User (
-   -   apt-get update error (

L.V.Gandhi 10-26-2008 04:01 AM

apt-get update error
For debian-live, as said in

I have added the following line
deb etch main
to /etc/apt/sources.list.
But when I do apt-get update, I get following error

Err etch/main Packages
* 404 Not Found
Failed to fetch* 404 Not Found

Reading package lists... Done
W: Couldn't stat source package list etch/main Packages (/var/lib/apt/lists/live.debian.net_debian_dists_etch_main_binary-i386_Packages) - stat (2 No such file or directory)

W: You may want to run apt-get update to correct these problems
I saw in the folder hierarchy is only
hence I corrected the line to
but I get error as
E: Malformed line 19 in source list /etc/apt/sources.list (dist)

How to make correct entry?
linux user No.205042

"Boyd Stephen Smith Jr." 10-26-2008 05:00 AM

apt-get update error
On Sunday 26 October 2008, L.V.Gandhi <> wrote
about 'apt-get update error':
>*deb etch main
>*to */etc/apt/sources.list.

Based on what I saw that , they are not using
the pooled layout with distribution subdirectories. Instead, they are
using the flat layout. So, the line should be:
deb /debian/
deb /

(I think.) The relevant section of sources.list(5) is:
The format for a sources.list entry using the deb and deb-src types

deb uri distribution [component1] [component2] [...]

The URI for the deb type must specify the base of the Debian
distribution, from which APT will find the information it needs.
distribution can specify an exact path, in which case the components
must be omitted and distribution must end with a slash (/). This is
useful for when only a particular sub-section of the archive denoted
the URI is of interest. If distribution does not specify an exact
at least one component must be present.

Boyd Stephen Smith Jr. ,= ,-_-. =. ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' \_/

All times are GMT. The time now is 04:04 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.