try apt-get remove --purge p7zip-full and install it again. i was in the same situation, and it was solved by itself
# 7z x /home/user/MyDocs/maemo-sdk-rootstrap_5.0_10.2010.19-1_armel.tgz -o /floppy Error: Incorrect command line