bin/105723: [sysinstall]Install packages failure after
switching discs several times
loader
loader at freebsdmall.com
Tue Nov 21 20:23:23 UTC 2006
The following reply was made to PR bin/105723; it has been noted by GNATS.
From: loader <loader at freebsdmall.com>
To: FreeBSD-gnats-submit at FreeBSD.org
Cc:
Subject: Re: bin/105723: [sysinstall]Install packages failure after switching discs several times
Date: Tue, 21 Nov 2006 12:11:50 -0800 (PST)
loader at freebsdmall.com wrote:
>>Number: 105723
>>Category: bin
>>Synopsis: [sysinstall]Install packages failure after switching discs several times
>>Confidential: no
>>Severity: non-critical
>>Priority: low
>>Responsible: freebsd-bugs
>>State: open
>>Quarter:
>>Keywords:
>>Date-Required:
>>Class: sw-bug
>>Submitter-Id: current-users
>>Arrival-Date: Tue Nov 21 19:50:15 GMT 2006
>>Closed-Date:
>>Last-Modified:
>>Originator: loader
>>Release: FreeBSD 6.1-RELEASE i386
>>Organization:
> freebsdmall
>>Environment:
> System: FreeBSD 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:42:56 UTC 2006 root at opus.cse.buffalo.edu:/usr/obj/usr/src/sys
> /SMP i386
>
>>Description:
>
> In index.c, it calls index_extract() for the depends of glib. Then,
> finds perl is not installed, it asks to switch to disc1, after perl is
> installed, the index_extract() of perl exists and return to execute the
> original index_extract() of glib, at this time the disc volume has
> already checked, but the disc has changed to disc1 in the CDROM, it
> continue to execute the package_extract() part for glib, and unable to
> find the glib package.
>
> I think A quick fix for it is to put the volume checking part before
> the real install.
>
>>How-To-Repeat:
Ooops, this problem occurs when install FreeBSD with "Minimal" or on
a box with no packages installed.
> sysinstall->Configure->Packages->CD/DVD->All->glib-2.8.6_1->Install->
> This is disc #1. Package glib-2.8.6_1 is on disc #2
> Would you like to switch discs now?
>
> Yes->it installs gettext-0.14.5_2 and libiconv-1.9.2_2 , then says:
>
> This is disc #2. Package Perl-5.8.8 is on disc #1
> Would you like to switch discs now?
>
> Yes->it installs perl-5.8.8 pkgconfig-0.20, and says:
>
> Unable to fetch package glib-2.8.6_1 from selected media.
> No package add will be done.
>>Fix:
>
> http://www.freebsdmall.com/~loader/sysinstall.diff
>
>>Release-Note:
>>Audit-Trail:
>>Unformatted:
> _______________________________________________
> freebsd-bugs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
> To unsubscribe, send any mail to "freebsd-bugs-unsubscribe at freebsd.org"
More information about the freebsd-bugs
mailing list