Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22927 - can't download patch patch-2.4.21-rc8.bz2 when updateing aa-sources to[ebuild U ] sys-kernel/aa-sources-2.4.21_rc8-r1 [2.4.21_rc4-r1][ebuild U ] sys-kernel/aa-sources-2.4.21_rc8-r1 [2.4.21_rc4-r1]
Summary: can't download patch patch-2.4.21-rc8.bz2 when updateing aa-sources to[ebuild...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal major (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-16 07:09 UTC by Eske Christiansen
Modified: 2003-06-27 19:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for aa-sources-2.4.21_rc8-r1 (aa-sources-2.4.21_rc8-r1.ebuild,1.12 KB, patch)
2003-06-27 19:22 UTC, james bond
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eske Christiansen 2003-06-16 07:09:28 UTC
I get this error from emerge:
emerge -u world
Calculating world dependencies ...done!
>>> emerge (1 of 4) sys-kernel/aa-sources-2.4.21_rc8-r1 to /
>>> Downloading ftp://sunsite.dk/mirrors/gentoo//distfiles/patch-2.4.21-rc8.bz2
--16:00:10--  ftp://sunsite.dk/mirrors/gentoo/distfiles/patch-2.4.21-rc8.bz2
           => `/usr/portage/distfiles/patch-2.4.21-rc8.bz2'
Resolving sunsite.dk... done.
Connecting to sunsite.dk[130.225.247.90]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /mirrors/gentoo/distfiles ...
No such directory `mirrors/gentoo/distfiles'.

>>> Downloading ftp://gentoo.linux.no/pub/gentoo//distfiles/patch-2.4.21-rc8.bz2
--16:00:31--  ftp://gentoo.linux.no/pub/gentoo/distfiles/patch-2.4.21-rc8.bz2
           => `/usr/portage/distfiles/patch-2.4.21-rc8.bz2'
Resolving gentoo.linux.no... done.
Connecting to gentoo.linux.no[193.201.220.90]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/gentoo/distfiles ... done.
==> PASV ... done.    ==> RETR patch-2.4.21-rc8.bz2 ...
No such file `patch-2.4.21-rc8.bz2'.

>>> Downloading
ftp://ftp.tu-clausthal.de/pub/linux/gentoo//distfiles/patch-2.4.21-rc8.bz2
--16:00:52-- 
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/distfiles/patch-2.4.21-rc8.bz2
           => `/usr/portage/distfiles/patch-2.4.21-rc8.bz2'
Resolving ftp.tu-clausthal.de... done.
Connecting to ftp.tu-clausthal.de[139.174.2.36]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/linux/gentoo/distfiles ... done.
==> PASV ... done.    ==> RETR patch-2.4.21-rc8.bz2 ...
No such file `patch-2.4.21-rc8.bz2'.

>>> Downloading
http://www.kernel.org/pub/linux/kernel/v2.4/testing/patch-2.4.21-rc8.bz2
--16:01:17-- 
http://www.kernel.org/pub/linux/kernel/v2.4/testing/patch-2.4.21-rc8.bz2
           => `/usr/portage/distfiles/patch-2.4.21-rc8.bz2'
Resolving www.kernel.org... done.
Connecting to www.kernel.org[204.152.189.116]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
16:02:45 ERROR 404: Not Found.

!!! Couldn't download patch-2.4.21-rc8.bz2. Aborting.

There is a patch that is named patch-2.4.21.rc8-final.bz2 in
http://www.kernel.org/pub/linux/kernel/v2.4/testing/incr/ maybe it is that patch
you want to use
Comment 1 Eske Christiansen 2003-06-26 05:21:12 UTC
you have to change the download uri too:
http://ftp.belnet.be/linux/kernel/people/marcelo/2.4/testing/old/patch-${PV/_/-}.bz2

(I use the mirror belnet.be) but it is the extra "old" dir in the first line
the diff gives:
23c23
< http://ftp.belnet.be/linux/kernel/people/marcelo/2.4/testing/patch-${PV/_/-}.bz2
---
> http://ftp.belnet.be/linux/kernel/people/marcelo/2.4/testing/old/patch-${PV/_/-}.bz2

this solve the problem.
eske
Comment 2 james bond 2003-06-27 19:22:02 UTC
Created attachment 13947 [details, diff]
ebuild for aa-sources-2.4.21_rc8-r1

there is a problem in the ebuild file.

nano -w /usr/portage/sys-kernel/aa-sources/aa-sources-2.4.21_rc8-r1.ebuild

find this line:
http://www.kernel.org/pub/linux/kernel/v2.4/testing/patch-${PV/_/-}.bz2

change it to this:
http://www.kernel.org/pub/linux/kernel/v2.4/testing/old/patch-${PV/_/-}.bz2


the problem is kernel.org changed the location of the patch.  this fixed the
problem.