Re: 9.0-BETA1 installer issues
On 06/08/2011 17:05, Vincent Hoffman wrote: On 06/08/2011 15:48, Nathan Whitehorn wrote: On 08/05/11 10:58, Lars Engels wrote: On Wed, Aug 03, 2011 at 09:03:22PM +0200, Marc Fonvieille wrote: On Wed, Aug 03, 2011 at 08:28:34PM +0200, Marc Fonvieille wrote: [...] Hmm I think it's default PACKAGESITE env variable pointing on non-existing ftp://ftp.freebsd.org/pub/FreeBSD/ports/arch/packages-9-beta1/Latest/ I'm wrong, I did an install and same behavior as Bruce. I looked in /tmp/bsdinstall_log: Running installation step: docsintall pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-current/Latest/en-freebsd-doc.tbz' by URL ^^ I haven't looked at bsdinstall lately, but IIRC there's no dialog that offers a mirror selection? It would be nice to select a nearby server. For the regular distfiles (base, kernel, etc.) you can pick a mirror, but installing packages (e.g. documentation) relies on the behavior of pkg_add -r. -Nathan So it should be doable by using the PACKAGEROOT env variable? Had 10 minutes and did a quick POC patch to have the PACKAGEROOT env variable set from the mirror selected at the mirrorselect stage. I'm not claiming it will do more than work for me or that its well written but just in case anyone is interested in improving/reimplementing. patch is attached. Vince ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org Index: scripts/docsinstall === --- scripts/docsinstall (revision 224732) +++ scripts/docsinstall (working copy) @@ -28,6 +28,7 @@ exec 31 +[ ! -z $1 ] export PACKAGEROOT=$1 DOCS=$(dialog --backtitle FreeBSD Installer \ --title FreeBSD Documentation Installation --separate-output \ --checklist This menu will allow you to install the whole documentation set Index: scripts/auto === --- scripts/auto(revision 224732) +++ scripts/auto(working copy) @@ -83,13 +83,16 @@ if [ -n $FETCH_DISTRIBUTIONS ]; then exec 31 - BSDINSTALL_DISTSITE=$(`dirname $0`/mirrorselect 21 13) + BSDINSTALL_DISTSITES=$(`dirname $0`/mirrorselect 21 13) MIRROR_BUTTON=$? exec 3- test $MIRROR_BUTTON -eq 0 || error + BSDINSTALL_DISTSITE=${BSDINSTALL_DISTSITES#* } + PKG_MIRROR=${BSDINSTALL_DISTSITES% *} export BSDINSTALL_DISTSITE + export PKG_MIRROR + fi - rm $PATH_FSTAB touch $PATH_FSTAB @@ -197,7 +200,7 @@ finalconfig ;; Handbook) - bsdinstall docsinstall + bsdinstall docsinstall $PKG_MIRROR finalconfig ;; Shell) Index: scripts/mirrorselect === --- scripts/mirrorselect(revision 224732) +++ scripts/mirrorselect(working copy) @@ -212,4 +212,4 @@ esac export BSDINSTALL_DISTSITE -echo $BSDINSTALL_DISTSITE 2 +echo $BSDINSTALL_DISTSITE $MIRROR2 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: 9.0-BETA1 installer issues
On 08/05/11 10:58, Lars Engels wrote: On Wed, Aug 03, 2011 at 09:03:22PM +0200, Marc Fonvieille wrote: On Wed, Aug 03, 2011 at 08:28:34PM +0200, Marc Fonvieille wrote: On Tue, Aug 02, 2011 at 08:36:01AM -0500, Nathan Whitehorn wrote: On 08/02/11 04:41, Bruce Cran wrote: I've been trying out 9.0-BETA1: it's a lot easier to install than previous releases with bsdinstall, but I spotted a few issues: Good! Thanks for checking. Typo - Resovler Configuration. If I leave the resolver window for a while it gets corrupted with: Aug 2 10:31:23 dhclient[973]: Bogus domain search list 15: lan, . Interesting. It looks like DHCP doesn't like your local setup... In the documentation installation screen, it should say At a minimum... - the 'a' is missing. Also, there should perhaps be a semi-colon between English version and this is the original. The menu also doesn't appear to do anything once you select OK. The spelling fixes are easy to fix. The documentation issue is more confusing. It should begin running pkg_add, after you press OK, assuming you selected something. Do you have the installer log handy? It will be in /tmp. [...] Hmm I think it's default PACKAGESITE env variable pointing on non-existing ftp://ftp.freebsd.org/pub/FreeBSD/ports/arch/packages-9-beta1/Latest/ I'm wrong, I did an install and same behavior as Bruce. I looked in /tmp/bsdinstall_log: Running installation step: docsintall pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-current/Latest/en-freebsd-doc.tbz' by URL ^^ I haven't looked at bsdinstall lately, but IIRC there's no dialog that offers a mirror selection? It would be nice to select a nearby server. For the regular distfiles (base, kernel, etc.) you can pick a mirror, but installing packages (e.g. documentation) relies on the behavior of pkg_add -r. -Nathan ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: 9.0-BETA1 installer issues
On 06/08/2011 15:48, Nathan Whitehorn wrote: On 08/05/11 10:58, Lars Engels wrote: On Wed, Aug 03, 2011 at 09:03:22PM +0200, Marc Fonvieille wrote: On Wed, Aug 03, 2011 at 08:28:34PM +0200, Marc Fonvieille wrote: On Tue, Aug 02, 2011 at 08:36:01AM -0500, Nathan Whitehorn wrote: On 08/02/11 04:41, Bruce Cran wrote: I've been trying out 9.0-BETA1: it's a lot easier to install than previous releases with bsdinstall, but I spotted a few issues: Good! Thanks for checking. Typo - Resovler Configuration. If I leave the resolver window for a while it gets corrupted with: Aug 2 10:31:23 dhclient[973]: Bogus domain search list 15: lan, . Interesting. It looks like DHCP doesn't like your local setup... In the documentation installation screen, it should say At a minimum... - the 'a' is missing. Also, there should perhaps be a semi-colon between English version and this is the original. The menu also doesn't appear to do anything once you select OK. The spelling fixes are easy to fix. The documentation issue is more confusing. It should begin running pkg_add, after you press OK, assuming you selected something. Do you have the installer log handy? It will be in /tmp. [...] Hmm I think it's default PACKAGESITE env variable pointing on non-existing ftp://ftp.freebsd.org/pub/FreeBSD/ports/arch/packages-9-beta1/Latest/ I'm wrong, I did an install and same behavior as Bruce. I looked in /tmp/bsdinstall_log: Running installation step: docsintall pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-current/Latest/en-freebsd-doc.tbz' by URL ^^ I haven't looked at bsdinstall lately, but IIRC there's no dialog that offers a mirror selection? It would be nice to select a nearby server. For the regular distfiles (base, kernel, etc.) you can pick a mirror, but installing packages (e.g. documentation) relies on the behavior of pkg_add -r. -Nathan So it should be doable by using the PACKAGEROOT env variable? ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: 9.0-BETA1 installer issues
On Wed, Aug 03, 2011 at 09:03:22PM +0200, Marc Fonvieille wrote: On Wed, Aug 03, 2011 at 08:28:34PM +0200, Marc Fonvieille wrote: On Tue, Aug 02, 2011 at 08:36:01AM -0500, Nathan Whitehorn wrote: On 08/02/11 04:41, Bruce Cran wrote: I've been trying out 9.0-BETA1: it's a lot easier to install than previous releases with bsdinstall, but I spotted a few issues: Good! Thanks for checking. Typo - Resovler Configuration. If I leave the resolver window for a while it gets corrupted with: Aug 2 10:31:23 dhclient[973]: Bogus domain search list 15: lan, . Interesting. It looks like DHCP doesn't like your local setup... In the documentation installation screen, it should say At a minimum... - the 'a' is missing. Also, there should perhaps be a semi-colon between English version and this is the original. The menu also doesn't appear to do anything once you select OK. The spelling fixes are easy to fix. The documentation issue is more confusing. It should begin running pkg_add, after you press OK, assuming you selected something. Do you have the installer log handy? It will be in /tmp. [...] Hmm I think it's default PACKAGESITE env variable pointing on non-existing ftp://ftp.freebsd.org/pub/FreeBSD/ports/arch/packages-9-beta1/Latest/ I'm wrong, I did an install and same behavior as Bruce. I looked in /tmp/bsdinstall_log: Running installation step: docsintall pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-current/Latest/en-freebsd-doc.tbz' by URL ^^ I haven't looked at bsdinstall lately, but IIRC there's no dialog that offers a mirror selection? It would be nice to select a nearby server. pgpKnltL7Ojjf.pgp Description: PGP signature
Re: 9.0-BETA1 installer issues
On Tue, Aug 02, 2011 at 08:36:01AM -0500, Nathan Whitehorn wrote: On 08/02/11 04:41, Bruce Cran wrote: I've been trying out 9.0-BETA1: it's a lot easier to install than previous releases with bsdinstall, but I spotted a few issues: Good! Thanks for checking. Typo - Resovler Configuration. If I leave the resolver window for a while it gets corrupted with: Aug 2 10:31:23 dhclient[973]: Bogus domain search list 15: lan, . Interesting. It looks like DHCP doesn't like your local setup... In the documentation installation screen, it should say At a minimum... - the 'a' is missing. Also, there should perhaps be a semi-colon between English version and this is the original. The menu also doesn't appear to do anything once you select OK. The spelling fixes are easy to fix. The documentation issue is more confusing. It should begin running pkg_add, after you press OK, assuming you selected something. Do you have the installer log handy? It will be in /tmp. [...] Hmm I think it's default PACKAGESITE env variable pointing on non-existing ftp://ftp.freebsd.org/pub/FreeBSD/ports/arch/packages-9-beta1/Latest/ -- Marc ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: 9.0-BETA1 installer issues
On Wed, Aug 3, 2011 at 11:28 AM, Marc Fonvieille black...@freebsd.org wrote: On Tue, Aug 02, 2011 at 08:36:01AM -0500, Nathan Whitehorn wrote: On 08/02/11 04:41, Bruce Cran wrote: I've been trying out 9.0-BETA1: it's a lot easier to install than previous releases with bsdinstall, but I spotted a few issues: Good! Thanks for checking. Typo - Resovler Configuration. If I leave the resolver window for a while it gets corrupted with: Aug 2 10:31:23 dhclient[973]: Bogus domain search list 15: lan, . Interesting. It looks like DHCP doesn't like your local setup... In the documentation installation screen, it should say At a minimum... - the 'a' is missing. Also, there should perhaps be a semi-colon between English version and this is the original. The menu also doesn't appear to do anything once you select OK. The spelling fixes are easy to fix. The documentation issue is more confusing. It should begin running pkg_add, after you press OK, assuming you selected something. Do you have the installer log handy? It will be in /tmp. [...] Hmm I think it's default PACKAGESITE env variable pointing on non-existing ftp://ftp.freebsd.org/pub/FreeBSD/ports/arch/packages-9-beta1/Latest/ Unfortunately this still isn't fixed yet in pkg_install. I had a more intuitive error catching scheme with archive(5) built into a workspace in perforce, but it was never accepted; on the bright side it's a minor portion that's being integrated into pkg-ng and is going to be more tested than my version. So, I would probably blame pkg_install's lack of error catching and counter intuitive behavior here, not the installer. Thanks, -Garrett ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: 9.0-BETA1 installer issues
On Wed, Aug 03, 2011 at 08:28:34PM +0200, Marc Fonvieille wrote: On Tue, Aug 02, 2011 at 08:36:01AM -0500, Nathan Whitehorn wrote: On 08/02/11 04:41, Bruce Cran wrote: I've been trying out 9.0-BETA1: it's a lot easier to install than previous releases with bsdinstall, but I spotted a few issues: Good! Thanks for checking. Typo - Resovler Configuration. If I leave the resolver window for a while it gets corrupted with: Aug 2 10:31:23 dhclient[973]: Bogus domain search list 15: lan, . Interesting. It looks like DHCP doesn't like your local setup... In the documentation installation screen, it should say At a minimum... - the 'a' is missing. Also, there should perhaps be a semi-colon between English version and this is the original. The menu also doesn't appear to do anything once you select OK. The spelling fixes are easy to fix. The documentation issue is more confusing. It should begin running pkg_add, after you press OK, assuming you selected something. Do you have the installer log handy? It will be in /tmp. [...] Hmm I think it's default PACKAGESITE env variable pointing on non-existing ftp://ftp.freebsd.org/pub/FreeBSD/ports/arch/packages-9-beta1/Latest/ I'm wrong, I did an install and same behavior as Bruce. I looked in /tmp/bsdinstall_log: Running installation step: docsintall pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-current/Latest/en-freebsd-doc.tbz' by URL Any idea? -- Marc ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: 9.0-BETA1 installer issues
On Wed, Aug 3, 2011 at 12:03 PM, Marc Fonvieille black...@freebsd.org wrote: On Wed, Aug 03, 2011 at 08:28:34PM +0200, Marc Fonvieille wrote: On Tue, Aug 02, 2011 at 08:36:01AM -0500, Nathan Whitehorn wrote: On 08/02/11 04:41, Bruce Cran wrote: I've been trying out 9.0-BETA1: it's a lot easier to install than previous releases with bsdinstall, but I spotted a few issues: Good! Thanks for checking. Typo - Resovler Configuration. If I leave the resolver window for a while it gets corrupted with: Aug 2 10:31:23 dhclient[973]: Bogus domain search list 15: lan, . Interesting. It looks like DHCP doesn't like your local setup... In the documentation installation screen, it should say At a minimum... - the 'a' is missing. Also, there should perhaps be a semi-colon between English version and this is the original. The menu also doesn't appear to do anything once you select OK. The spelling fixes are easy to fix. The documentation issue is more confusing. It should begin running pkg_add, after you press OK, assuming you selected something. Do you have the installer log handy? It will be in /tmp. [...] Hmm I think it's default PACKAGESITE env variable pointing on non-existing ftp://ftp.freebsd.org/pub/FreeBSD/ports/arch/packages-9-beta1/Latest/ I'm wrong, I did an install and same behavior as Bruce. I looked in /tmp/bsdinstall_log: Running installation step: docsintall pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-current/Latest/en-freebsd-doc.tbz' by URL Any idea? Because PACKAGESITE isn't specified properly for starters; also the extension for the file is wrong (it should be txz, right?). So it sounds like the pkg_add remote fetching logic in bsdinstall isn't correct today. Thanks, -Garrett ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: 9.0-BETA1 installer issues
On 08/03/11 14:42, Garrett Cooper wrote: On Wed, Aug 3, 2011 at 12:03 PM, Marc Fonvieilleblack...@freebsd.org wrote: On Wed, Aug 03, 2011 at 08:28:34PM +0200, Marc Fonvieille wrote: On Tue, Aug 02, 2011 at 08:36:01AM -0500, Nathan Whitehorn wrote: On 08/02/11 04:41, Bruce Cran wrote: I've been trying out 9.0-BETA1: it's a lot easier to install than previous releases with bsdinstall, but I spotted a few issues: Good! Thanks for checking. Typo - Resovler Configuration. If I leave the resolver window for a while it gets corrupted with: Aug 2 10:31:23 dhclient[973]: Bogus domain search list 15: lan, . Interesting. It looks like DHCP doesn't like your local setup... In the documentation installation screen, it should say At a minimum... - the 'a' is missing. Also, there should perhaps be a semi-colon between English version and this is the original. The menu also doesn't appear to do anything once you select OK. The spelling fixes are easy to fix. The documentation issue is more confusing. It should begin running pkg_add, after you press OK, assuming you selected something. Do you have the installer log handy? It will be in /tmp. [...] Hmm I think it's default PACKAGESITE env variable pointing on non-existing ftp://ftp.freebsd.org/pub/FreeBSD/ports/arch/packages-9-beta1/Latest/ I'm wrong, I did an install and same behavior as Bruce. I looked in /tmp/bsdinstall_log: Running installation step: docsintall pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-current/Latest/en-freebsd-doc.tbz' by URL Any idea? Because PACKAGESITE isn't specified properly for starters; also the extension for the file is wrong (it should be txz, right?). So it sounds like the pkg_add remote fetching logic in bsdinstall isn't correct today. Thanks, -Garrett It's a regular package, with a .tbz extension. The code is mostly hooked up properly (with the possible exception of a resolv.conf issue I just thought of), but could probably use better error handling. -Nathan ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: 9.0-BETA1 installer issues
On Wed, Aug 3, 2011 at 1:11 PM, Julien Laffaye jlaff...@freebsd.org wrote: On 08/03/2011 21:42, Garrett Cooper wrote: also the extension for the file is wrong (it should be txz, right?) pkg_add still use the bzip2 format iirc. Yes it's the default, but bsdinstall uses .txz across the board I thought. I guess this was an exception.. -Garrett ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: 9.0-BETA1 installer issues
On 08/03/2011 21:42, Garrett Cooper wrote: also the extension for the file is wrong (it should be txz, right?) pkg_add still use the bzip2 format iirc. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
9.0-BETA1 installer issues
I've been trying out 9.0-BETA1: it's a lot easier to install than previous releases with bsdinstall, but I spotted a few issues: Typo - Resovler Configuration. If I leave the resolver window for a while it gets corrupted with: Aug 2 10:31:23 dhclient[973]: Bogus domain search list 15: lan, . In the documentation installation screen, it should say At a minimum... - the 'a' is missing. Also, there should perhaps be a semi-colon between English version and this is the original. The menu also doesn't appear to do anything once you select OK. The shell menu should perhaps have a newline after making, to avoid configuration wrapping. Also, the partitioning screen should maybe have Continue instead of Exit. The known issue with the installation not creating /home is still present in BETA1. -- Bruce Cran ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: 9.0-BETA1 installer issues
On 08/02/11 04:41, Bruce Cran wrote: I've been trying out 9.0-BETA1: it's a lot easier to install than previous releases with bsdinstall, but I spotted a few issues: Good! Thanks for checking. Typo - Resovler Configuration. If I leave the resolver window for a while it gets corrupted with: Aug 2 10:31:23 dhclient[973]: Bogus domain search list 15: lan, . Interesting. It looks like DHCP doesn't like your local setup... In the documentation installation screen, it should say At a minimum... - the 'a' is missing. Also, there should perhaps be a semi-colon between English version and this is the original. The menu also doesn't appear to do anything once you select OK. The spelling fixes are easy to fix. The documentation issue is more confusing. It should begin running pkg_add, after you press OK, assuming you selected something. Do you have the installer log handy? It will be in /tmp. The shell menu should perhaps have a newline after making, to avoid configuration wrapping. Also, the partitioning screen should maybe have Continue instead of Exit. These are good points. I'll fix them. The known issue with the installation not creating /home is still present in BETA1. This was caused by a change in behavior of pw(8) in mid-June, which has been reverted in r224535. This unfortunately missed BETA1... -Nathan ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: 9.0-BETA1 installer issues
On 02/08/2011 14:36, Nathan Whitehorn wrote: The spelling fixes are easy to fix. The documentation issue is more confusing. It should begin running pkg_add, after you press OK, assuming you selected something. Do you have the installer log handy? It will be in /tmp. I selected both English and French documentation sets but pressing OK just returns back to the final menu. I can't see any log files in /tmp, /root or /var/tmp. -- Bruce Cran ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org