solarg wrote:
> hello all,
> last day, i gave a try at oss lasdt release, and as it didn't work, i
> uninstalled oss pkg but i got these errors:
> henry at delljm:~$ pfexec pkgrm oss
>
> The following package is currently installed:
> oss Open Sound System
> (i386) v4.1-1051
>
> Do you want to remove this package? [y,n,?,q] y
>
> ## Removing installed package instance <oss>
> ...
> ## Executing postremove script.
> SUNWaudd
> sh: line 1:
> /var/sadm/pkg/SUNWaudd/save/pspool/SUNWaudd/install/postinstall: not found
> SUNWvia823x
> sh: line 1:
> /var/sadm/pkg/SUNWvia823x/save/pspool/SUNWvia823x/install/postinstall:
> not found
> SUNWaudiohd
> sh: line 1:
> /var/sadm/pkg/SUNWaudiohd/save/pspool/SUNWaudiohd/install/postinstall:
> not found
> SUNWad810
> sh: line 1:
> /var/sadm/pkg/SUNWad810/save/pspool/SUNWad810/install/postinstall: not
> found
> SUNWadixp
> sh: line 1:
> /var/sadm/pkg/SUNWadixp/save/pspool/SUNWadixp/install/postinstall: not
> found
> SUNWusb
> sh: line 1:
> /var/sadm/pkg/SUNWusb/save/pspool/SUNWusb/install/postinstall: not found
> ## Updating system information.
>
> Removal of <oss> was successful.
>
>
> since rebooing, i don't have audio:
> henry at delljm:~$ modinfo|grep -i audio
>
> how can i have audio now?
>
One more reason why arbitrary scripting in packaging systems is bad...
The OSS package appears to be reaching around any sensible interfaces
and trying to re-enable the legacy audio system by directly running SVR4
package scripts which don't exist on OpenSolaris. "pkg fix" may be able
to fix the driver database so that the original drivers resume working.
Failing that, pulling the /etc/driver_aliases file from the @install
snapshot taken at install time may get your audio back.
I'd strongly advise anyone adding SVR4 packages to OpenSolaris to use
beadm to take a snapshot, if not create a separate boot environment,
before you let those packages loose on your system.
Dave