piface / pifacedigital-scratch-handler

Allows Scratch to control PiFace Digital through MESH.
GNU General Public License v3.0
9 stars 5 forks source link

Error on install, upgrade, removal #2

Closed ghost closed 10 years ago

ghost commented 10 years ago

I can not update my Pi because of this error...

Do you want to continue [Y/n]? y (Reading database ... 100409 files and directories currently installed.) Preparing to replace python3-pifacedigital-scratch-handler 2.0.2-1 (using .../python3-pifacedigital-scratch-handler_2.0.3-1_all.deb) ... Unpacking replacement python3-pifacedigital-scratch-handler ... rm: cannot remove /home/pi/Desktop/pifacedigital-scratch-handler.desktop': No such file or directory dpkg: warning: subprocess old post-removal script returned error exit status 1 dpkg: trying script from the new package instead ... rm: cannot remove/home/pi/Desktop/pifacedigital-scratch-handler.desktop': No such file or directory dpkg: error processing /var/cache/apt/archives/python3-pifacedigital-scratch-handler_2.0.3-1_all.deb (--unpack): subprocess new post-removal script returned error exit status 1 rm: cannot remove `/home/pi/Desktop/pifacedigital-scratch-handler.desktop': No such file or directory dpkg: error while cleaning up: subprocess new post-removal script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/python3-pifacedigital-scratch-handler_2.0.3-1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

tompreston commented 10 years ago

The latest update removes the auto-installation of the desktop icon however I forgot to remove the auto-remove bit. I've submitted a patch to Raspbian. I'll let you know when they've updated it.

ghost commented 10 years ago

Thanks for your quick reply! I will try it later again.

tompreston commented 10 years ago

Fixed. I've submitted the new .deb to Raspbian. You can get it manually from here: https://github.com/piface/pifacedigital-scratch-handler/releases

Thanks for bug reporting!