Skip to contentSkip to conversation

apt: Use a valid download location for 2.4.5 release tarball

PATCH In review Khem Raj 3 participants 5 messages Apr 29, 2023 – May 10, 2023

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 apt: Use a valid download location for 2.4.5 release tarball

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

---
 meta/recipes-devtools/apt/apt_2.4.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/apt/apt_2.4.5.bb +1 -1
index 429cf6e659..b2b41ab661 100644
@@ -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 \
Signature · 1 line
2.40.1
#1 lore raw

Does the upstream version check still work?

Alex

Quoted 43 lines · Khem Raj

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

---
 meta/recipes-devtools/apt/apt_2.4.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/apt/apt_2.4.5.bb +1 -1
index 429cf6e659..b2b41ab661 100644
@@ -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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

author
#2 lore raw
Quoted 3 lines · Alexander Kanavin

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

Quoted 37 lines

Alex

Quoted 34 lines · Khem Raj

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

---
 meta/recipes-devtools/apt/apt_2.4.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/apt/apt_2.4.5.bb +1 -2
index 429cf6e659..b2b41ab661 100644
@@ -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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw
In reply to Alexander Kanavin
Quoted 1 line · Alexander Kanavin

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

author
#4 lore raw
Quoted 8 lines · Richard Purdie
Quoted 1 line · Alexander Kanavin

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

Quoted 3 lines

Cheers,

Richard