Skip to contentSkip to conversation

apt: update SRC_URI

PATCH In review [email protected] 4 participants 6 messages Nov 1, 2018 – Nov 21, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 apt: update SRC_URI

From: Changqing Li <[email protected]>

update SRC_URI since previous link is not valid now

---
 meta/recipes-devtools/apt/apt.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/apt/apt.inc +1 -1
index f1cde30..50f22c8 100644
@@ -2,7 +2,7 @@ SUMMARY = "Advanced front-end for dpkg"
 LICENSE = "GPLv2.0+"
 SECTION = "base"
 
-SRC_URI = "http://archive.ubuntu.com/ubuntu/pool/main/a/${BPN}/${BPN}_${PV}.tar.xz \
+SRC_URI = "https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/apt/1.2.24/${BPN}_${PV}.tar.xz \
            file://use-host.patch \
            file://makerace.patch \
            file://no-nls-dpkg.patch \
Signature · 1 line
2.7.4
#1 lore raw

Why are we using ubuntu's archive instead of the canonical Debian repository? The idiom for Debian packages is to use snapshot.debian.org.

Ross

Quoted 31 lines · On Thu, 1 Nov 2018 at 03:16, <[email protected]> wrote:

From: Changqing Li <[email protected]>

update SRC_URI since previous link is not valid now

---
 meta/recipes-devtools/apt/apt.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/apt/apt.inc +1 -2
index f1cde30..50f22c8 100644
@@ -2,7 +2,7 @@ SUMMARY = "Advanced front-end for dpkg"
 LICENSE = "GPLv2.0+"
 SECTION = "base"
 
-SRC_URI = "http://archive.ubuntu.com/ubuntu/pool/main/a/${BPN}/${BPN}_${PV}.tar.xz \
+SRC_URI = "https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/apt/1.2.24/${BPN}_${PV}.tar.xz \
            file://use-host.patch \
            file://makerace.patch \
            file://no-nls-dpkg.patch \
--

2.7.4

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#2 lore raw
Quoted 5 lines · Ross

Why are we using ubuntu's archive instead of the canonical Debian repository? The idiom for Debian packages is to use snapshot.debian.org.

Ross

I have checked snapshot.debian.org.  apt_1.2.24 don't  on it.  so I use current link.

//changqing

Quoted 31 lines · On Thu, 1 Nov 2018 at 03:16, <[email protected]> wrote:
Quoted 30 lines

From: Changqing Li <[email protected]>

update SRC_URI since previous link is not valid now

---
  meta/recipes-devtools/apt/apt.inc | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/apt/apt.inc +1 -2
index f1cde30..50f22c8 100644
@@ -2,7 +2,7 @@ SUMMARY = "Advanced front-end for dpkg"
  LICENSE = "GPLv2.0+"
  SECTION = "base"
 
-SRC_URI = "http://archive.ubuntu.com/ubuntu/pool/main/a/${BPN}/${BPN}_${PV}.tar.xz \
+SRC_URI = "https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/apt/1.2.24/${BPN}_${PV}.tar.xz \
             file://use-host.patch \
             file://makerace.patch \
             file://no-nls-dpkg.patch \
--

2.7.4

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Signature · 3 lines
BRs

Sandy(Li Changqing)
#3 lore raw
In reply to [email protected]

Hi,

Quoted 15 lines · On Thu, 1 Nov 2018 at 14:16, <[email protected]> wrote:

From: Changqing Li <[email protected]>

update SRC_URI since previous link is not valid now

---
 meta/recipes-devtools/apt/apt.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/apt/apt.inc +0 -0
index f1cde30..50f22c8 100644

meta/recipes-devtools/apt/apt.inc SUMMARY = "Advanced front-end for dpkg" · line 5

Quoted 5 lines
meta/recipes-devtools/apt/apt.inc +1 -1
@@ -2,7 +2,7 @@ SUMMARY = "Advanced front-end for dpkg"
 LICENSE = "GPLv2.0+"
 SECTION = "base"
 
-SRC_URI = "http://archive.ubuntu.com/ubuntu/pool/main/a/${BPN}/${BPN}_${PV}.tar.xz \
+SRC_URI = "https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/apt/1.2.24/${BPN}_${PV}.tar.xz \

Why don't you replace apt with ${BPN} and 1.2.24 with ${PV} in SRC_URI?

Quoted 11 lines
meta/recipes-devtools/apt/apt.inc +0 -1
            file://use-host.patch \
            file://makerace.patch \
            file://no-nls-dpkg.patch \
--

2.7.4

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Regards,
Jonathan

#5 lore raw
Quoted 7 lines · Richard Purdie
Quoted 6 lines · Jonathan Liu

-SRC_URI = "

Quoted 5 lines

http://archive.ubuntu.com/ubuntu/pool/main/a/${BPN}/${BPN}_${PV}.tar.xz
\
+SRC_URI = "
https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/apt/1.2.24/${BPN}_${PV}.tar.xz
\

Quoted 9 lines
Quoted 2 lines

Why don't you replace apt with ${BPN} and 1.2.24 with ${PV} in SRC_URI?

I tweaked this since it was easier than trying to remember to track this :)

Cheers,

Richard

Thanks. :)

Signature · 3 lines
BRs

Sandy(Li Changqing)