bin/105723: [sysinstall]Install packages failure after switching discs several times

loader at freebsdmall.com loader at freebsdmall.com
Tue Nov 21 19:52:04 UTC 2006


>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:
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:


More information about the freebsd-bugs mailing list