[PlanetCCRMA] Apt problems]

William M. Quarles walrus@bellsouth.net
Wed Nov 24 17:31:02 2004


Fernando Lopez-Lezcano wrote:
>>Fernando Lopez-Lezcano wrote:
>>
>>>On Wed, 2004-11-24 at 14:19, William M. Quarles wrote:
>>>
>>>>Rick B wrote:
>>>>
>>>>>When I install apt-get one of the first things I do is "apt-get remove
>>>>>up2date". I can see how up2date would cause problems with apt, just like
>>>>>using multiple repositories can cause problems for apt.
>>>>
>>>>Thanks for the suggestion, but no thanks.  Some people use apt and some 
>>>>people use yum.  I would prefer to use one program that does both.  I 
>>>>don't think that Up2Date could really cause problems with Apt since they 
>>>>both are really just highly-network-capable front-ends for RPM.
>>>
>>>Well, it does seem to have problems, right?, otherwise this thread would
>>>not exist :-) What is the root of the problem we don't know. Could you
>>>post the extraneous file conflicts that up2date was reporting?
>>
>>Here is an example with kernel-2.4.26-1.ll.rhfc1.ccrma.  All of the
>>conflicts are directories. 
>>
>>I don't have this problem with the other Apt
>>repositories in my Up2Date configuration.  And it only happens with some
>>of the PlanetCCRMA packages, not with all of them.
>>
>>Test install failed because of package conflicts:
>>file /lib/modules from install of kernel-2.4.26-1.ll.rhfc1.ccrma
>>conflicts with file from package filesystem-2.2.1-5
>>file /dev/shm from install of kernel-2.4.26-1.ll.rhfc1.ccrma conflicts
>>with file from package dev-3.3.8-2
>>file /dev/shm from install of kernel-2.4.26-1.ll.rhfc1.ccrma conflicts
>>with file from package kernel-2.4.22-1.2115.nptl
>>file /lib/modules from install of kernel-2.4.26-1.ll.rhfc1.ccrma
>>conflicts with file from package kernel-2.4.22-1.2115.nptl
>>file /dev/shm from install of kernel-2.4.26-1.ll.rhfc1.ccrma conflicts
>>with file from package kernel-2.4.22-1.2199.nptl
>>file /lib/modules from install of kernel-2.4.26-1.ll.rhfc1.ccrma
>>conflicts with file from package kernel-2.4.22-1.2199.nptl
>>file /dev/shm from install of kernel-2.4.26-1.ll.rhfc1.ccrma conflicts
>>with file from package kernel-2.4.22-1.2188.nptl.caps.rhfc1.ccrma
>>file /lib/modules from install of kernel-2.4.26-1.ll.rhfc1.ccrma
>>conflicts with file from package kernel-2.4.22-1.2188.nptl.caps.rhfc1.ccrma
> 
> 
> This is very strange. In my fc1 laptop disk which I just booted to, I
> see this:
> 
> rpm -q --whatprovides /dev/shm
> dev-3.3.8-2
> kernel-2.4.22-1.2174.nptl.caps.rhfc1.ccrma
> kernel-2.4.22-1.2115.nptl
> kernel-2.4.26-1.ll.rhfc1.ccrma
> kernel-smp-2.4.22-1.2174.nptl
> kernel-smp-2.4.26-1.ll.rhfc1.ccrma
> kernel-smp-2.4.22-1.2174.nptl.caps.rhfc1.ccrma
> kernel-smp-2.4.22-1.2188.nptl.caps.rhfc1.ccrma
> kernel-2.4.22-1.2188.nptl.caps.rhfc1.ccrma
> 
> rpm -q --whatprovides /lib/modules
> kernel-2.4.22-1.2174.nptl.caps.rhfc1.ccrma
> filesystem-2.2.1-5
> kernel-2.4.22-1.2115.nptl
> kernel-2.4.26-1.ll.rhfc1.ccrma
> kernel-smp-2.4.22-1.2174.nptl
> kernel-smp-2.4.26-1.ll.rhfc1.ccrma
> kernel-smp-2.4.22-1.2174.nptl.caps.rhfc1.ccrma
> kernel-smp-2.4.22-1.2188.nptl.caps.rhfc1.ccrma
> kernel-2.4.22-1.2188.nptl.caps.rhfc1.ccrma
> 
> So, both the original redhat kernels and my 2.4.26 kernel (the 2.4.26
> spec file is derived from the original spec file) 'provide' the
> conflicting files. So, if all packages were treated the same the
> original redhat kernel should trigger the same problem. Weird. Note that
> neither the underying rpm layer nor apt complain about any conflicts.
> Apparently up2date is more picky than rpm itself, but not when dealing
> with the original redhat kernel itself. 
> 
> Could you send me of the list the whole list of conflicts to see exactly
> which packages other than the kernel are affected by this problem?
> 
> Thanks for the report, btw...

No problem for the report.  As for the other errors, I'll need to do 
some work to recreate them.  Also, you should know that Up2Date in 
graphical mode reports those errors one chooses which packages to 
install, but before those packages are installed.  It's getting this 
information to determine the conflicts from some header that the Apt 
repository provides.

In order for me to get this done, is there a way to download packages 
directly?  I've tried accessing the http directories available on the 
website and on the apt repositories, but I can't a direct listing of the 
files.  I'll need to install older versions of all of the packages 
available to do this test.

Thanks,
William