[Bug 371569] [NEW] mk-sbuild-lvm: debian sid doesn't have security updates

Ryan Niebur RyanRyan52 at gmail.com
Mon May 4 09:18:59 UTC 2009


Public bug reported:

Binary package hint: ubuntu-dev-tools

when creating a chroot for Debian sid I get these errors:

Err http://security.debian.org sid/updates/main Packages
  404 Not Found [IP: 212.211.132.250 80]
Err http://security.debian.org sid/updates/non-free Packages
  404 Not Found [IP: 212.211.132.250 80]
Err http://security.debian.org sid/updates/contrib Packages
  404 Not Found [IP: 212.211.132.250 80]
Err http://security.debian.org sid/updates/main Sources
  404 Not Found [IP: 212.211.132.250 80]
Err http://security.debian.org sid/updates/non-free Sources
  404 Not Found [IP: 212.211.132.250 80]
Err http://security.debian.org sid/updates/contrib Sources
  404 Not Found [IP: 212.211.132.250 80]
W: Failed to fetch http://security.debian.org/dists/sid/updates/main/binary-amd64/Packages  404 Not Found [IP: 212.211.132.250 80]

W: Failed to fetch http://security.debian.org/dists/sid/updates/non-free
/binary-amd64/Packages  404 Not Found [IP: 212.211.132.250 80]

W: Failed to fetch http://security.debian.org/dists/sid/updates/contrib
/binary-amd64/Packages  404 Not Found [IP: 212.211.132.250 80]

W: Failed to fetch
http://security.debian.org/dists/sid/updates/main/source/Sources  404
Not Found [IP: 212.211.132.250 80]

W: Failed to fetch http://security.debian.org/dists/sid/updates/non-
free/source/Sources  404 Not Found [IP: 212.211.132.250 80]

W: Failed to fetch
http://security.debian.org/dists/sid/updates/contrib/source/Sources  404
Not Found [IP: 212.211.132.250 80]

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_SECURITY_URL" ]; then
         SOURCES_SECURITY_URL="http://security.debian.org/"
     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_MIRROR} RELEASE-updates ${COMPONENTS}
 EOM
     fi
-    cat >> "$TEMP_SOURCES" <<EOM
+    if [ -z "$SKIP_SECURITY" ]; then
+       cat >> "$TEMP_SOURCES" <<EOM
 deb ${SOURCES_SECURITY_URL} ${SOURCES_SECURITY_SUITE} ${COMPONENTS}
 deb-src ${SOURCES_SECURITY_URL} ${SOURCES_SECURITY_SUITE} ${COMPONENTS}
 EOM
+    fi
 fi
 cat "$TEMP_SOURCES" | sed -e "s|RELEASE|$RELEASE|g" | \
     sudo bash -c "cat > $MNT/etc/apt/sources.list"

** Affects: ubuntu-dev-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
mk-sbuild-lvm: debian sid doesn't have security updates
https://bugs.launchpad.net/bugs/371569
You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in ubuntu.




More information about the universe-bugs mailing list