This kind of error happens quite often. Upgrading works if you manually remove the erroneous symlink. Given that, would removing all the symlinks in a prerm script be a totally crazy idea?
for lang in $( ls /usr/share/help ); do
test "$lang" = 'C' && continue
test -d "/usr/share/help/$lang" || continue
help_dir="/usr/share/help/$lang"/ubuntu-help
for link in $( ls "$help_dir" ); do
test -h "$help_dir/$link" || continue
rm "$help_dir/$link"
done
for link in $( ls "$help_dir/figures" ); do
test -h "$help_dir/figures/$link" || continue
rm "$help_dir/figures/$link"
done
done
Hi Martin,
This kind of error happens quite often. Upgrading works if you manually remove the erroneous symlink. Given that, would removing all the symlinks in a prerm script be a totally crazy idea?
for lang in $( ls /usr/share/help ); do help/$lang" || continue dir="/usr/ share/help/ $lang"/ ubuntu- help dir/figures/ $link" || continue dir/figures/ $link"
test "$lang" = 'C' && continue
test -d "/usr/share/
help_
for link in $( ls "$help_dir" ); do
test -h "$help_dir/$link" || continue
rm "$help_dir/$link"
done
for link in $( ls "$help_dir/figures" ); do
test -h "$help_
rm "$help_
done
done