[PlanetCCRMA] Re: apt oddity at planetedge

Fernando Pablo Lopez-Lezcano nando@ccrma.Stanford.EDU
Wed Aug 25 17:44:01 2004

On Wed, 2004-08-25 at 09:14, Andrew Burgess wrote:
> >On Thu, 2004-08-19 at 10:34, Andrew Burgess wrote:
> >>   root@athlon:apt # apt-get install kernel# kernel-module-alsa-
> >>   Reading Package Lists... Done
> >>   Building Dependency Tree... Done
> >>   Package kernel-module-alsa- is a virtual package provided by:
> >>     kernel-module-alsa- 1.0.6-0.rc2.cvs.1.rhfc2.ccrma
> >>     kernel-module-alsa- 1.0.6-0.rc2.cvs.1.rhfc2.ccrma
> >>   You should explicitly select one to install.
> >> 
> >> The two choices offered look to me to be exactly the same. Is this just an apt 'feature'
> >> or is there a database screwed up somewhere. I did do an update first...
> >Could you check your /etc/apt/apt.conf against the one I recommend? Most
> >probably you have an extra entry for "kernel-module" in the
> >AllowDuplicates line. 
> No joy. I did have the 'everyone except fc2' version of apt.conf so I changed it, 

That was probably the original problem. The "^kernel-" part was the one
that was creating your problem. 

> updated and got the same thing again.
> The line BTW is:
>   Allow-Duplicated { "^kernel(-(BOOT|smp|bigmem|debug|doc|source.*)|)$"; "^gpg-pubkey$" };
> So there is no kernel-module specified. I tried adding module| before BOOT but
> no change, ditto for adding module.*

Adding "module|" should create the problem, not solve it. I suspect apt
has a cache somewhere that is remembering whatever you had before. Try
commenting out all lines in /etc/apt/sources.list, "apt-get update",
then uncommenting them and again "apt-get update". There are also some
files you could erase for "forget" everything but I don't remember the

-- Fernando