diff mbox series

apt: Use a valid download location for 2.4.5 release tarball

Message ID 20230429150611.1521134-1-raj.khem@gmail.com
State New
Headers show
Series apt: Use a valid download location for 2.4.5 release tarball | expand

Commit Message

Khem Raj April 29, 2023, 3:06 p.m. UTC
Fixes
WARNING: apt-2.4.5-r0 do_fetch: Failed to fetch URL http://ftp.debian.org/debian/pool/main/a/apt/apt_2.4.5.tar.xz, attempting MIRRORS if available

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/apt/apt_2.4.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Alexander Kanavin April 29, 2023, 3:20 p.m. UTC | #1
Does the upstream version check still work?

Alex

On Sat 29. Apr 2023 at 17.06, Khem Raj <raj.khem@gmail.com> wrote:

> Fixes
> WARNING: apt-2.4.5-r0 do_fetch: Failed to fetch URL
> http://ftp.debian.org/debian/pool/main/a/apt/apt_2.4.5.tar.xz, attempting
> MIRRORS if available
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  meta/recipes-devtools/apt/apt_2.4.5.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/apt/apt_2.4.5.bb
> b/meta/recipes-devtools/apt/apt_2.4.5.bb
> index 429cf6e659..b2b41ab661 100644
> --- a/meta/recipes-devtools/apt/apt_2.4.5.bb
> +++ b/meta/recipes-devtools/apt/apt_2.4.5.bb
> @@ -5,7 +5,7 @@ LICENSE = "GPL-2.0-or-later"
>  SECTION = "base"
>
>  # Triehash script taken from https://github.com/julian-klode/triehash
> -SRC_URI <https://github.com/julian-klode/triehash-SRC_URI> =
> "${DEBIAN_MIRROR}/main/a/apt/${BPN}_${PV}.tar.xz \
> +SRC_URI = "
> https://launchpad.net/debian/+archive/primary/+sourcefiles/${BPN}/${PV}/${BPN}_${PV}.tar.xz
> <https://launchpad.net/debian/+archive/primary/+sourcefiles/$%7BBPN%7D/$%7BPV%7D/$%7BBPN%7D_$%7BPV%7D.tar.xz>
> \
>             file://triehash \
>             file://0001-Disable-documentation-directory-altogether.patch \
>             file://0001-Fix-musl-build.patch \
> --
> 2.40.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#180541):
> https://lists.openembedded.org/g/openembedded-core/message/180541
> Mute This Topic: https://lists.openembedded.org/mt/98578451/1686489
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [
> alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
Khem Raj April 29, 2023, 6:40 p.m. UTC | #2
On Sat, Apr 29, 2023 at 8:21 AM Alexander Kanavin
<alex.kanavin@gmail.com> wrote:
>
> Does the upstream version check still work?
>

yes, eventually when apt is upgraded to 2.6.0+ it should be falling to
debian mirror again. 2.4.5 has disappeared from it

> Alex
>
> On Sat 29. Apr 2023 at 17.06, Khem Raj <raj.khem@gmail.com> wrote:
>>
>> Fixes
>> WARNING: apt-2.4.5-r0 do_fetch: Failed to fetch URL http://ftp.debian.org/debian/pool/main/a/apt/apt_2.4.5.tar.xz, attempting MIRRORS if available
>>
>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> ---
>>  meta/recipes-devtools/apt/apt_2.4.5.bb | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta/recipes-devtools/apt/apt_2.4.5.bb b/meta/recipes-devtools/apt/apt_2.4.5.bb
>> index 429cf6e659..b2b41ab661 100644
>> --- a/meta/recipes-devtools/apt/apt_2.4.5.bb
>> +++ b/meta/recipes-devtools/apt/apt_2.4.5.bb
>> @@ -5,7 +5,7 @@ LICENSE = "GPL-2.0-or-later"
>>  SECTION = "base"
>>
>>  # Triehash script taken from https://github.com/julian-klode/triehash
>> -SRC_URI = "${DEBIAN_MIRROR}/main/a/apt/${BPN}_${PV}.tar.xz \
>> +SRC_URI = "https://launchpad.net/debian/+archive/primary/+sourcefiles/${BPN}/${PV}/${BPN}_${PV}.tar.xz \
>>             file://triehash \
>>             file://0001-Disable-documentation-directory-altogether.patch \
>>             file://0001-Fix-musl-build.patch \
>> --
>> 2.40.1
>>
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#180541): https://lists.openembedded.org/g/openembedded-core/message/180541
>> Mute This Topic: https://lists.openembedded.org/mt/98578451/1686489
>> Group Owner: openembedded-core+owner@lists.openembedded.org
>> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
Richard Purdie May 10, 2023, 4:10 p.m. UTC | #3
On Sat, 2023-04-29 at 17:20 +0200, Alexander Kanavin wrote:
> Does the upstream version check still work?

I'm very nervous about moving away from the release location like this
even if it is no longer there, I think I'd prefer to leave this and let
our mirror fallback handle it until we upgrade.

Cheers,

Richard
Khem Raj May 10, 2023, 4:22 p.m. UTC | #4
On Wed, May 10, 2023 at 9:10 AM Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
>
> On Sat, 2023-04-29 at 17:20 +0200, Alexander Kanavin wrote:
> > Does the upstream version check still work?
>
> I'm very nervous about moving away from the release location like this
> even if it is no longer there, I think I'd prefer to leave this and let
> our mirror fallback handle it until we upgrade.
>

ok

> Cheers,
>
> Richard
diff mbox series

Patch

diff --git a/meta/recipes-devtools/apt/apt_2.4.5.bb b/meta/recipes-devtools/apt/apt_2.4.5.bb
index 429cf6e659..b2b41ab661 100644
--- a/meta/recipes-devtools/apt/apt_2.4.5.bb
+++ b/meta/recipes-devtools/apt/apt_2.4.5.bb
@@ -5,7 +5,7 @@  LICENSE = "GPL-2.0-or-later"
 SECTION = "base"
 
 # Triehash script taken from https://github.com/julian-klode/triehash
-SRC_URI = "${DEBIAN_MIRROR}/main/a/apt/${BPN}_${PV}.tar.xz \
+SRC_URI = "https://launchpad.net/debian/+archive/primary/+sourcefiles/${BPN}/${PV}/${BPN}_${PV}.tar.xz \
            file://triehash \
            file://0001-Disable-documentation-directory-altogether.patch \
            file://0001-Fix-musl-build.patch \