apt-get problem in Debian (sorry slightly OT)

114 views
Skip to first unread message

rolf

unread,
Apr 29, 2012, 10:09:06 AM4/29/12
to Bifferboard
Running my bifferboards with Debian for a while I got a stupid problem
now. I cannot successfully install new software any more with apt-get.
apt-get install, .. update returns a lot of errors like that:

Failed to fetch http://ftp.debian.org/debian/pool/main/t/tar/tar_1.20-1+lenny1_i386.deb
404 Not Found [IP: 130.89.148.12 80]

My /etc/apt/sources.list looks like this:

deb http://ftp.debian.org/debian lenny main contrib non-
free
deb-src http://ftp.debian.org/debian lenny main contrib non-
free
deb http://ftp.debian.org/debian lenny-proposed-updates main contrib
non-free
deb-src http://ftp.debian.org/debian lenny-proposed-updates main
contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-
free
deb-src http://security.debian.org/ lenny/updates main contrib non-
free

The server seems to exist, googling for the problem did not help and I
am not a debian hacker. Does anyone have an idea?

Thanks,

Rolf

Nicolas Le Falher

unread,
Apr 29, 2012, 10:12:53 AM4/29/12
to biffe...@googlegroups.com
Because file doesn't exists in your repo ?

Nicolas

Kyle Gordon

unread,
Apr 29, 2012, 10:17:31 AM4/29/12
to biffe...@googlegroups.com
Tried apt-get update ?

rolf

unread,
Apr 29, 2012, 10:26:03 AM4/29/12
to Bifferboard
Thanks for your quick reply. But mmh, thats what I mean with "no
hacker", I do not know, what and where is this "repo" (repository I
think) an how should I bring the appropriate contents to it?

Rolf

David Goodenough

unread,
Apr 29, 2012, 10:28:08 AM4/29/12
to biffe...@googlegroups.com
have you done an "apt-get update" recently? You need to refresh the list
of what is on the repository so that it knows exactly which deb version to
fetch.

The normal sequence is:-

# update the lists
apt-get update
# update the easy currently installed packages
apt-get upgrade
# now the difficult ones (ones that need other packages or to remove some)
apt-get dist-upgrade
# and clean out the ones that were autoinstalled and are no longer needed
apt-get --purge autoremove

Then if you want to install something new you can use apt-get install.

David

Dimitriy Manevitch

unread,
Apr 29, 2012, 10:28:43 AM4/29/12
to biffe...@googlegroups.com

Coment all lines in /etc/apt/sourse.list with # and add deb http://archive.debian.org/debian lenny main contrib

--
To unsubscribe send email to bifferboard...@googlegroups.com

rolf

unread,
Apr 29, 2012, 10:56:43 AM4/29/12
to Bifferboard
On 29 Apr., 16:28, David Goodenough <david.goodeno...@btconnect.com>
wrote:
> On Sunday 29 Apr 2012, rolf wrote:
> ...
> The normal sequence is:-
> ...
> Then if you want to install something new you can use apt-get install.
>
> David

That's what I did (except "--purge autoremove"). So I did it all again
following your receipt. Then I wanted to instal mutt:

apt-get install mutt

That's what I got:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
bsd-mailx exim4 exim4-base exim4-config exim4-daemon-light libidn11
mailx
Suggested packages:
mail-reader eximon4 exim4-doc-html exim4-doc-info gnutls-bin openssl
libmail-spf-query-perl swaks urlview aspell ispell mixmaster ca-
certificates
The following NEW packages will be installed:
bsd-mailx exim4 exim4-base exim4-config exim4-daemon-light libidn11
mailx
mutt
0 upgraded, 8 newly installed, 0 to remove and 25 not upgraded.
Need to get 4012kB of archives.
After this operation, 9368kB of additional disk space will be used.
Do you want to continue [Y/n]? WARNING: The following packages cannot
be authenticated!
exim4-config exim4-base exim4-daemon-light exim4 bsd-mailx libidn11
mutt
mailx
Install these packages without verification [y/N]? y
Err http://ftp.debian.org lenny-proposed-updates/main exim4-config
4.69-9+lenny4
404 Not Found [IP: 130.89.148.12 80]
Err http://ftp.debian.org lenny/main bsd-mailx 8.1.2-0.20071201cvs-3
404 Not Found [IP: 130.89.148.12 80]
Err http://ftp.debian.org lenny/main libidn11 1.8+20080606-1
404 Not Found [IP: 130.89.148.12 80]
Err http://ftp.debian.org lenny/main mutt 1.5.18-6
404 Not Found [IP: 130.89.148.12 80]
Err http://ftp.debian.org lenny/main mailx 1:20071201-3
404 Not Found [IP: 130.89.148.12 80]
Err http://security.debian.org lenny/updates/main exim4-config
4.69-9+lenny4
404 Not Found [IP: 149.20.20.6 80]
Err http://security.debian.org lenny/updates/main exim4-base
4.69-9+lenny4
404 Not Found [IP: 149.20.20.6 80]
Err http://security.debian.org lenny/updates/main exim4-daemon-light
4.69-9+lenny4
404 Not Found [IP: 149.20.20.6 80]
Err http://security.debian.org lenny/updates/main exim4 4.69-9+lenny4
404 Not Found [IP: 149.20.20.6 80]
Failed to fetch http://security.debian.org/pool/updates/main/e/exim4/exim4-config_4.69-9+lenny4_all.deb
404 Not Found [IP: 149.20.20.6 80]
Failed to fetch http://security.debian.org/pool/updates/main/e/exim4/exim4-base_4.69-9+lenny4_i386.deb
404 Not Found [IP: 149.20.20.6 80]
Failed to fetch http://security.debian.org/pool/updates/main/e/exim4/exim4-daemon-light_4.69-9+lenny4_i386.deb
404 Not Found [IP: 149.20.20.6 80]
Failed to fetch http://security.debian.org/pool/updates/main/e/exim4/exim4_4.69-9+lenny4_all.deb
404 Not Found [IP: 149.20.20.6 80]
Failed to fetch http://ftp.debian.org/debian/pool/main/b/bsd-mailx/bsd-mailx_8.1.2-0.20071201cvs-3_i386.deb
404 Not Found [IP: 130.89.148.12 80]
Failed to fetch http://ftp.debian.org/debian/pool/main/libi/libidn/libidn11_1.8+20080606-1_i386.deb
404 Not Found [IP: 130.89.148.12 80]
Failed to fetch http://ftp.debian.org/debian/pool/main/m/mutt/mutt_1.5.18-6_i386.deb
404 Not Found [IP: 130.89.148.12 80]
Failed to fetch http://ftp.debian.org/debian/pool/main/b/bsd-mailx/mailx_20071201-3_all.deb
404 Not Found [IP: 130.89.148.12 80]
E: Unable to fetch some archives, maybe run apt-get update or try with
--fix-missing?

Rolf

Nicolas Le Falher

unread,
Apr 29, 2012, 11:02:37 AM4/29/12
to biffe...@googlegroups.com
Try the solution from Dimitriy.

Please note that the oldstable distribution will be moved from the main archive to the archive.debian.org repository after March 24th 2012. After this move, it will no longer be available from the main mirror network.
http://www.debian.org/distrib/archive.en.html

Nicolas

Kyle Gordon

unread,
Apr 29, 2012, 10:27:04 AM4/29/12
to biffe...@googlegroups.com

Try apt-get update first

Kyle Gordon

unread,
Apr 29, 2012, 10:30:28 AM4/29/12
to biffe...@googlegroups.com
That's a good point. Your version of Debian is no longer supported and the central source of software has been moved to the archive location.
 
So yeah, edit that file to use the archive location, or upgrade to Squeeze!
 
Kyle

rolf

unread,
Apr 29, 2012, 11:36:18 AM4/29/12
to Bifferboard
On 29 Apr., 16:28, Dimitriy Manevitch <dimitr...@gmail.com> wrote:
> Coment all lines in /etc/apt/sourse.list with # and add debhttp://archive.debian.org/debianlenny main contrib

OK, that was obviously the crucial point. Followed by the update/
upgrade procedure as described by David, my system is up to date
again.

Thanks a lot, Hvala lepo,

Rolf

Ivan Zahariev (famzah)

unread,
May 3, 2012, 2:58:25 AM5/3/12
to Bifferboard
If you want to use all available packages, you actually need to put
the following in your "/etc/apt/sources.list":

deb http://archive.debian.org/debian lenny main contrib non-free
deb-src http://archive.debian.org/debian lenny main contrib non-free
deb http://archive.debian.org/debian-security/ lenny/updates main
contrib non-free
deb-src http://archive.debian.org/debian-security/ lenny/updates main
contrib non-free

I've updated this on my blog page, as well as added a warning that
"lenny" is now an obsolete Debian release. Security updates have been
discontinued as of February 6th, 2012.

Cheers.
--famzah

Ivan Zahariev (famzah)

unread,
May 3, 2012, 3:02:59 AM5/3/12
to Bifferboard
The lines got wrapped. You can download / review the "sources.list"
file at the following URL:
http://www.famzah.net/download/bifferboard/sources.list

On May 3, 9:58 am, "Ivan Zahariev (famzah)"
Reply all
Reply to author
Forward
0 new messages