fred smith napsal(a):
Thanks to Johnny and all the others who pointed out the stupid thing I was trying to do. I'll follow the advice to clean up 'list' before trying it again.
Fred, besides you can use installonlyn plugin, you can remove old kernel but few like this:
if [ $(rpm -q kernel | wc -l) -gt 1 ]; then rpm -e $(rpm -q kernel | sed '$d'); fi if [ $(rpm -q kernel-smp | wc -l) -gt 1 ]; then rpm -e $(rpm -q kernel-smp | sed '$d'); fi
etc. David