Date: Thu, 24 Jan 2008 18:08:05 GMT From: Byron Young <bkyoung74q9@yahoo.com> To: freebsd-gnats-submit@FreeBSD.org Subject: amd64/119949: 6.3-RELEASE install; cannot find packages/INDEX error Message-ID: <200801241808.m0OI85g6069721@www.freebsd.org> Resent-Message-ID: <200801241810.m0OIA190064370@freefall.freebsd.org>
index | next in thread | raw e-mail
>Number: 119949
>Category: amd64
>Synopsis: 6.3-RELEASE install; cannot find packages/INDEX error
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-amd64
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Jan 24 18:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Byron Young
>Release: 6.3-RELEASE
>Organization:
>Environment:
6.3-RELEASE-amd64-bootonly.iso
>Description:
After creating a local 6.3-RELEASE using the attached script, to avoid a "cannot find packages/INDEX" error during install, a symbolic 'packages -> ../packages' link must be added to 6.3-RELEASE/6.3-RELEASE.
>How-To-Repeat:
Attempt a 6.3-RELEASE install using custom FTP URL.
>Fix:
Add a packages->../packages symbolic link.
Patch attached with submission follows:
#!/bin/sh
if test "${1}" = "m"; then
disk=1
for i in 1 2 3 4; do
if test -e /dev/md${disk}; then
echo "Adjust the disk= parameter."
exit
fi
done
for i in \
6.3-RELEASE-amd64-disc1.iso \
6.3-RELEASE-amd64-disc2.iso \
6.3-RELEASE-amd64-disc3.iso \
6.3-RELEASE-amd64-docs.iso \
; do
test -e /tmp/disk${disk} && rm -rf /tmp/disk${disk}
mkdir /tmp/disk${disk}
mdconfig -a -t vnode \
-f "/var/ftp/pub/FreeBSD/ISO-IMAGES-amd64/6.3/${i}" \
-u ${disk}
mount -t cd9660 /dev/md${disk} /tmp/disk${disk}
disk=`expr 1 + ${disk}`
done
elif test "${1}" = "u"; then
for i in 1 2 3 4; do
if test -e /tmp/disk${i}; then
umount /tmp/disk${i}
rmdir /tmp/disk${i}
mdconfig -d -u $i
fi
done
elif test "${1}" = "c"; then
mkdir -p /var/ftp/pub/FreeBSD/releases/amd64/6.3-RELEASE
for disk in 1 2 3 4; do
cp -pPR /tmp/disk${disk}/* /var/ftp/pub/FreeBSD/releases/amd64/6.3-RELEASE
done
(cd /var/ftp/pub/FreeBSD/releases/amd64/6.3-RELEASE/6.3-RELEASE; \
ln -s ../packages packages)
chown -Rh root:operator /var/ftp/pub/FreeBSD/releases/amd64/6.3-RELEASE
else
echo "m or u or c."
fi
>Release-Note:
>Audit-Trail:
>Unformatted:
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801241808.m0OI85g6069721>
