mk-sbuild-lv: debian sid doesn't have security updates
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-dev-tools (Ubuntu) |
Fix Released
|
Low
|
Kees Cook |
Bug Description
Binary package hint: ubuntu-dev-tools
when creating a chroot for Debian sid I get these errors:
Err http://
404 Not Found [IP: 212.211.132.250 80]
Err http://
404 Not Found [IP: 212.211.132.250 80]
Err http://
404 Not Found [IP: 212.211.132.250 80]
Err http://
404 Not Found [IP: 212.211.132.250 80]
Err http://
404 Not Found [IP: 212.211.132.250 80]
Err http://
404 Not Found [IP: 212.211.132.250 80]
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
E: Some index files failed to download, they have been ignored, or old ones used instead.
This is because debian doesn't have security updates for sid.
Here's a patch (untested, sorry) to fix this:
--- mk-sbuild-lv 2009-05-04 01:54:07.000000000 -0700
+++ mk-sbuild-lv.new 2009-05-04 02:06:21.000000000 -0700
@@ -258,6 +258,9 @@
if [ -z "$SOURCES_
fi
+ if [ "$RELEASE" = "unstable" -o "$RELEASE" = "sid" ]; then
+ SKIP_SECURITY=1
+ fi
;;
*)
echo "Unknown --distro '$DISTRO': aborting" >&2
@@ -291,10 +294,12 @@
deb-src ${DEBOOTSTRAP_
EOM
fi
- cat >> "$TEMP_SOURCES" <<EOM
+ if [ -z "$SKIP_SECURITY" ]; then
+ cat >> "$TEMP_SOURCES" <<EOM
deb ${SOURCES_
deb-src ${SOURCES_
EOM
+ fi
fi
cat "$TEMP_SOURCES" | sed -e "s|RELEASE|
sudo bash -c "cat > $MNT/etc/
summary: |
- mk-sbuild-lvm: debian sid doesn't have security updates + mk-sbuild-lv: debian sid doesn't have security updates |
Changed in ubuntu-dev-tools (Ubuntu): | |
importance: | Undecided → Low |
patch tested to work building a debian sid chroot