[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: another debian-user who inform you ...



On Thu, 11 Mar 1999, Christian Hettler wrote:

>that slink_cd-1.11 doesn't work with the current debian-release.
>Why? In the file dists/stable/main/binary-i386/Packages the 
>Filename:-entries
>are dists/stable/main/... and then 'cp -dpRPl' produces errors because it
>can't copy over the link 'stable' which you generate a few lines above.

OK... There will be a 1.12 release as soon as I get a couple of last
things sorted out. For now, this patch should fix this bug:

virgo:~/debian/slink_cd$ diff -u slink_cd-1.1[12]/mklist
--- slink_cd-1.11/mklist        Sat Mar  6 00:19:55 1999
+++ slink_cd-1.12/mklist        Tue Mar  9 10:14:17 1999
@@ -51,7 +51,7 @@
        echo "   Awooga!"
        (cd $1/dists/slink/main && \
                dpkg-scanpackages binary-$4 $1/indices/override.slink.gz \
-               dists/frozen/main/ > $PACKAGES)
+               dists/stable/main/ > $PACKAGES)
        ls -al $PACKAGES
 fi
 
@@ -152,6 +152,7 @@
 vecho "Sizes for each disc (bytes):"
 for file in list1 list2 EXCLUDED
 do 
+       touch $file # so we don't get ENOENT
        vecho -n $file
        if [ "$VERBOSE" -gt 0 ] ; then
                cat $file | awk '{size=size+$3};END{print " ",size}'
@@ -164,7 +165,7 @@
 for i in 1 2
 do
        vecho "Filling in binary-all links... $i"
-    for file in `cat $3/list/list$i | awk -v ARCH=$4 '{print $2; REPL=sprintf("binary-%s/",ARCH);gsub(REPL,"binary-all/",$2); print $2}'`
+    for file in `cat $3/list/list$i | sed 's/frozen/slink/g' | awk -v ARCH=$4 '{print $2; REPL=sprintf("binary-%s/",ARCH);gsub(REPL,"binary-all/",$2); print $2}'`
     do
        if [ -f $file ] ; then
                vvecho $file


-- 
Steve McIntyre, Allstor Software         smcintyr@allstor-sw.co.uk
<a href=http://www.chiark.greenend.org.uk/~stevem/comp/>My PC page</a>
"Can't keep my eyes from the circling sky,                 
"Tongue-tied & twisted, Just an earth-bound misfit, I..."  


Reply to: