I've found somewhere: "I had a really long list of errors, and here is a script that let me pass the list to dpkg with little effort. Thanks for fixing this problem. WARNING: This script will remove all the packages marked with an error. It will then install them. It might be best to run each command by it’s self. Just remember that when Pico(text editor) opens the file, delete the first few lines that have nothing to do with the problem packages. You should be left with a list of each problem package per line. The script gets a list of problem packages, makes the list into one long line with spaces separating each word. It will then pass the list as an argument to remove all the packages and install them again. #!/bin/bash # Put the list into a file. sudo dpkg -l | grep -v ^ii > fix-dpkg # get just the 2nd column(the problem packages) awk ‘{print $2}’ fix-dpkg > fix-dpkg.sorted # Remind you to remove only the first few lines of the file echo -e “\n\nYou now need to remove the first few lines from the file, leaving only a list of the problem packages.\nPress ENTER to continue” read # Manually remove the first lines of the file so that only a list of the problem packages exist. pico fix-dpkg.sorted # Make the list one line long with spaces separating each problem package. Put the output to fix-dpkg.final sed ‘{:q;N;s/\n/ /g;t q}’ fix-dpkg.sorted > fix-dpkg.final # Store the files contents as a variable read fixit < fix-dpkg.final # Use the list stored in $fixit to pass as an arguments for packages to remove dpkg –purge –force-depends $fixit # Fix any broken packages. apt-get -f install # Don’t think this is needed, but no harm can come from it. apt-get install $fixit # remove all the fix-dpkg files. rm -i fix-dpkg*" and it works Nagymajtényi Gábor Partner ppt consulting 1061 Budapest Király u. 16. +36-20-2612370 www.ppt-consulting.net ----- Original Message ----- From: "kimptoc"