Error while processing Scratch

Asked by Fourgs

since a few days, i have an error while doing update:
Errors were encountered while processing:
Error in function:
SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
Setting up scratch (1.1-0~r766+pkg21~precise1) ...
update-alternatives: error: alternative path /usr/bin/scratch doesn't exist.
dpkg: error processing scratch (--configure):
 subprocess installed post-installation script returned error exit status 2

Question information

English Edit question
Scratch Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Mario Guerriero (mefrio-g) said :

we noticed some conflicts problems with an already existing scratch package in the ubuntu repos and so we changes its name to scratch-text-editor. Following the package name also the executable name changed so you can fix your problem removing scratch package and then installing the new one (scratch-text-editor)

Revision history for this message
Cody Garver (codygarver) said :

sudo apt-get -y remove scratch && sudo apt-get -y install scratch-text-editor

Can you help with this problem?

Provide an answer of your own, or ask Fourgs for more information if necessary.

To post a message you must log in.