FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 10-26-2008, 04:01 AM
Default apt-get update error

For debian-live, as said in

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

Err http://live.debian.net etch/main Packages
* 404 Not Found
Failed to fetch http://live.debian.net/debian/dists/etch/main/binary-i386/Packages.gz* 404 Not Found

Reading package lists... Done
W: Couldn't stat source package list http://live.debian.net 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 http://live.debian.net/ 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
Old 10-26-2008, 05:00 AM
"Boyd Stephen Smith Jr."
Default apt-get update error

On Sunday 26 October 2008, L.V.Gandhi <lvgandhi@gmail.com> wrote
about 'apt-get update error':
>*deb http://live.debian.net/debian/ etch main
>*to */etc/apt/sources.list.

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

(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. ,= ,-_-. =.
bss03@volumehost.net ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.org/ \_/

Thread Tools

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

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org