Page 1 of 1

Problem with apt-get

Posted: 20 Jul 2010, 09:25
by Bergin
Hi,

when trying 'apt-get update' I get the following output:

----------------------------------------------------------------
bubba:/home/bergin# apt-get update
Get:1 http://update.excito.org marielle Release.gpg [189B]
Get:2 http://update.excito.org upstream_etch Release.gpg [189B]
Hit http://update.excito.org marielle Release
Ign http://ftp.se.debian.org etch Release.gpg
Hit http://update.excito.org upstream_etch Release
Ign http://ftp.se.debian.org etch Release
Err http://ftp.se.debian.org etch/main Packages
404 Not Found [IP: 130.239.18.173 80]
Ign http://update.excito.org marielle/main Packages/DiffIndex
Hit http://update.excito.org marielle/main Packages
Ign http://update.excito.org upstream_etch/main Packages/DiffIndex
Hit http://update.excito.org upstream_etch/main Packages
Fetched 2B in 0s (7B/s)
Failed to fetch http://ftp.se.debian.org/debian/dists/e ... ackages.gz 404 Not Found [IP: 130.239.18.173 80]
Reading package lists... Done
W: Couldn't stat source package list http://ftp.se.debian.org etch/main Packages (/var/lib/apt/lists/ftp.se.debian.org_debian_dists_etch_main_binary-powerpc_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.se.debian.org etch/main Packages (/var/lib/apt/lists/ftp.se.debian.org_debian_dists_etch_main_binary-powerpc_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.
bubba:/home/bergin#
---------------------------------------------

When I try to browse ftp.se.debian.org there are not any file with the path "http://ftp.se.debian.org/debian/dists/e ... ackages.gz". Instead there are now .../lenny/... instead of .../etch/... Is it okey to update /etc/apt/sources.list or can that operation damage my system in any way?

Regards,
/Peter

Re: Problem with apt-get

Posted: 20 Jul 2010, 10:00
by RandomUsername
Known problem: http://forum.excito.net/viewtopic.php?f=1&t=2406

It's OK to change sources.list.

Re: Problem with apt-get

Posted: 21 Jul 2010, 16:46
by agkbill
I try to install nfs-kernal-server but no luck.

Maybe due to apt-get proble you describe.

I get:

bubba:/home/christer# apt-get install nfs-kernel-server
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package nfs-kernel-server
bubba:/home/christer#


Regards,

Re: Problem with apt-get

Posted: 22 Jul 2010, 03:16
by Kiff
run

Code: Select all

apt-get update
to download new package lists after you have changed your sources list.

nfs-kernel-server should be available then.

Re: Problem with apt-get

Posted: 22 Jul 2010, 11:48
by agkbill
Hi,

Ok, I tried to enable the one found under /etc/apt/sources.list but I get a lot of errors.

I only enable "deb" not "dec-src" if I remember correct that is source if you want to compile yourself.

Guess the sources are not correct, but were can I find the one to use?

My sourcelist looks like below.
# BUBBA|TWO apt sources.list
#
# Changes in this file might break your system
#
# vim: ft=debsources

# The stable BUBBA|TWO repository, is in the suite "stable".
deb http://update.excito.org/ marielle main

# The stable BUBBA|TWO repository, is in the suite "stable". source packages
#enable
deb-src http://update.excito.org/ marielle main

# The upstream packages used in BUBBA|TWO, is in the suite "upstream_stable".
deb http://update.excito.org/ upstream_etch main

# The upstream packages used in BUBBA|TWO, is in the suite "upstream_stable". s$
#deb-src http://update.excito.org/ upstream_etch main

# The debian etch repository containing unsupported packages that can be used.
#enablat 2010-07-20
deb http://ftp.se.debian.org/debian etch main

# The debian etch repository containing unsupported packages that can be used. $
#deb-src http://ftp.se.debian.org/debian etch main

# The debian etch repository containing unsupported packages that can be used.
#enablat
deb http://ftp.se.debian.org/debian etch contrib

# The debian etch repository containing unsupported packages that can be used. $
#deb-src http://ftp.se.debian.org/debian etch contrib

# The debian etch repository containing unsupported packages that can be used.
#enablat
deb http://ftp.se.debian.org/debian etch non-free

# The debian etch repository containing unsupported packages that can be used. $
#deb-src http://ftp.se.debian.org/debian etch non-free


# The unstable BUBBA|TWO repository, is in the suite "unstable".
#enable
deb http://update.excito.org/ claire main

# The unstable BUBBA|TWO repository, is in the suite "unstable". source packages
deb-src http://update.excito.org/ claire main

# The upstream packages used in unstable BUBBA|TWO, is in the suite "upstream_s$
deb http://update.excito.org/ upstream_etch_forclaire main

# The upstream packages used in unstable BUBBA|TWO, is in the suite "upstream_s$
deb-src http://update.excito.org/ upstream_etch_forclaire main


I get following output running apt-get update
Failed to fetch http://ftp.se.debian.org/debian/dists/e ... ackages.gz 404 Not Found [IP: 130.239.18.163 80]
Failed to fetch http://ftp.se.debian.org/debian/dists/e ... ackages.gz 404 Not Found [IP: 130.239.18.163 80]
Failed to fetch http://ftp.se.debian.org/debian/dists/e ... ackages.gz 404 Not Found [IP: 130.239.18.163 80]
Reading package lists... Done
W: Couldn't stat source package list http://ftp.se.debian.org etch/main Packages (/var/lib/apt/lists/ftp.se.debian.org_debian_dists_etch_main_binary-powerpc_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.se.debian.org etch/contrib Packages (/var/lib/apt/lists/ftp.se.debian.org_debian_dists_etch_contrib_binary-powerpc_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.se.debian.org etch/non-free Packages (/var/lib/apt/lists/ftp.se.debian.org_debian_dists_etch_non-free_binary-powerpc_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.se.debian.org etch/main Packages (/var/lib/apt/lists/ftp.se.debian.org_debian_dists_etch_main_binary-powerpc_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.se.debian.org etch/contrib Packages (/var/lib/apt/lists/ftp.se.debian.org_debian_dists_etch_contrib_binary-powerpc_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.se.debian.org etch/non-free Packages (/var/lib/apt/lists/ftp.se.debian.org_debian_dists_etch_non-free_binary-powerpc_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.

Any ideas?

Best regards,
/Christer

Re: Problem with apt-get

Posted: 22 Jul 2010, 15:40
by RandomUsername
Check the link in my first post.

Re: Problem with apt-get

Posted: 22 Jul 2010, 16:23
by agkbill
Thank you,

I replaced with new location, now it works OK :)


Best regards,
/Christer