Error while processing Scratch

Asked by Fourgs on 2012-07-03

Hi,
since a few days, i have an error while doing update:
Errors were encountered while processing:
 scratch
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

Language:
English Edit question
Status:
Answered
For:
Scratch Edit question
Assignee:
No assignee Edit question
Last query:
2012-07-03
Last reply:
2012-07-07
Mario Guerriero (mefrio-g) said : #1

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)

Cody Garver (codygarver) said : #2

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.