On Friday 28 Mar 2003 18:17, Matt Tucker wrote:
> -- Peter Ruskin <[EMAIL PROTECTED]> spake thusly:
> > Use this to emerge alsa-driver:
> >
> > ---------------------------------------
> ># !/bin/bash
> > echo "Removing any installation records for alsa-driver from
> > /var/db/pkg/"
> > if [[ $(epm -qaG|grep alsa-driver) != "" ]]; then
> >     rm -Rf /var/db/pkg/$(epm -qaG|grep alsa-driver)
>
> Or:
>   find /var/db/pkg -type d -maxdepth 2 -name 'alsa-driver*' \
>   | xargs rm -rf

Yes, I like that better.
> >
> > fi
> > AUTOCLEAN="no" emerge alsa-driver
> > ---------------------------------------
>
> While I'm sure that'll work, it seems like kind of a hack. It'll remove
> any record of the installation, so those files will never get cleaned.
>
It does work.  At the end of the emerge the record is created, so if 
alsa-driver gets updated, `emerge world -u` will pick it up.  A better 
solution would be for gentoo to automagically add AUTOCLEAN="no" to the 
ebuilds concerned (those tied to kernel version, like alsa-driver, 
nvidia-kernel and lm_sensors).

Peter
-- 
Gentoo-1.4.3.4 Unstable. KDE: 3.1.1 Qt: 3.1.2
AMD Athlon(tm) XP 1900+ 768MB.  Kernel: 2.4.20-xfs-r2.  GCC 3.2.2


--
[EMAIL PROTECTED] mailing list

Reply via email to