On Mon, 2003-06-23 at 23:41, Gary Walsh wrote:
> Adam Williamson wrote:
> > On Mon, 2003-06-23 at 19:18, Duncan wrote:
> 
> > I think you misunderstand Gary - he's not upgrading from 9.1 to Cooker,
> > I don't think, he's running a rolling Cooker and suddenly found it
> > impossible to --auto-select because some package wanted to remove
> > others. I had the exact same problem and found the package causing the
> > trouble was Mesa (which wanted to uninstall XFree86, and consequently
> > most of the rest of the system), so if you have a Mesa package
> > installed, Gary, you might want to uninstall it. If that's not it, try
> > updating each package that wants to be updated one at a time to find the
> > one that's causing the problem, then work around it (just remove that
> > package or add it to skip.list or something).
> 
> I have upgraded some packages selectively, but upgrading everything that 
> way takes a lot of time, and leaving out one package can mean a lot of 
> other packages can't be upgraded due to dependencies.

You can automate it with a pretty simple command, something like (I'm
useless at scripting-type things so this *will* be wrong and you'll have
to fix it :>):

for i in 'urpmq --auto-select' do urpmi $i; print $i

or something like that. That will try and do every package in the
--auto-select list one at a time and print the name of the package on
completion, so you'll know what package is causing the problem when you
hit it.
-- 
adamw


Reply via email to