On Wed, Jun 09, 2004, [EMAIL PROTECTED] wrote: > I'm not familiar with apt, but when all else fails, I run stuff from > "strace -f ..." -- just to find out what exactly the lock is meant to > be.
Well, I straced "aptitude dist-upgrade" looking for "open" system calls. Here's the very last one: open("/usr/share/tasksel/debian-tasks.desc", O_RDONLY) = 23 "Hmm," I thought. "A tasksel file... I wonder if..." So then I ran "aptitude purge tasksel" (which is fortunately, not a dependency of anything and I knew it was unimportant because, well, I've never used it). After uninstalling tasksel, "aptitude dist-upgrade" worked like a dream, and ceased complaining about lock files. Yuck. I presume there's some way to make tasksel delete its old lock files, or maybe I could have just deleted it, but hey, the cut-off-my-nose-to-spite-my-face solution actually worked. On the bright side, I've certainly put the fear of Debian into the person who owns this computer. Never again will he upgrade his machine without suitable amounts of awe and wonder. -Mary -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html