Scratch from Elementary PPA conflicts with Debian/Ubuntu source package

Bug #1019709 reported by Jeremy Bicha on 2012-07-01
54
This bug affects 10 people
Affects Status Importance Assigned to Milestone
Scratch
Fix Released
Undecided
Unassigned
elementary OS
Fix Released
Undecided
Unassigned

Bug Description

Hi, MIT Scratch has finally made it into Debian & Ubuntu this weekend, closing a Ubuntu request bug that had been open for 3 years and a Debian bug that had been open for 4 years. Scratch is a popular app to introduce children to programming.

https://secure.wikimedia.org/wikipedia/en/wiki/Scratch_(programming_language)
https://launchpad.net/ubuntu/+source/scratch

Basically, you'll need to rename your binary and source package in Ubuntu or Elementary to not conflict with "scratch" which has now been taken.

Jeremy Bicha (jbicha) wrote :

Oh, I guess this was already fixed by http://bazaar.launchpad.net/~elementary-apps/scratch/scratch/revision/766

I'll let you close the bug if you like, since this bug may have other unpleasant side effects.

Cody Garver (codygarver) wrote :

Packaging has been updated to reflect the name change. For a week or so it it conflicts with and replaces any package named scratch. This is only temporary so that when we update the Luna build scripts, current scratch (text editor) users will be properly transitioned to the new package.

Changed in elementaryos:
milestone: none → luna-beta1
Changed in scratch:
milestone: none → luna-beta1
status: New → Fix Committed
Changed in elementaryos:
status: New → Confirmed
FM5 (pvmhoang) wrote :

How can i resolve this problem, It has been raised from last Saturday, thanks

Cody Garver (codygarver) wrote :

To install the new scratch package over the old one:

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

Cody Garver (codygarver) wrote :

The packaging no longer replaces or conflicts with scratch so you have to manually remove the old version. The updated instructions are:

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

Changed in elementaryos:
status: Confirmed → Fix Committed
Pranav (pranavkaranjkar) wrote :

I dont think it solves the problem. When you try and install the deb of the MIT-scratch package, it still gives you error. I have reported the bug (https://bugs.launchpad.net/scratch/+bug/1022107), but here is the command line output again.
(After doing sudo apt-get -y remove scratch && sudo apt-get -y install scratch-text-editor)

pranav@pranav-xps:~$ sudo apt-get -y remove scratch && sudo apt-get -y install scratch-text-editor
[sudo] password for pranav:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package scratch is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
scratch-text-editor is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

And during the install of the MITs package:

pranav@pranav-xps:~$ sudo dpkg -i /home/pranav/Downloads/scratch_1.4.0.1-0ubuntu5_i386.deb
(Reading database ... 232897 files and directories currently installed.)
Unpacking scratch:i386 (from .../scratch_1.4.0.1-0ubuntu5_i386.deb) ...
dpkg: error processing /home/pranav/Downloads/scratch_1.4.0.1-0ubuntu5_i386.deb (--install):
 trying to overwrite '/usr/share/applications/scratch.desktop', which is also in package scratch-text-editor 1.1+r775-0+pkg23~precise1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db ...
Processing triggers for shared-mime-info ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Errors were encountered while processing:
 /home/pranav/Downloads/scratch_1.4.0.1-0ubuntu5_i386.deb

Will deleting the scratch.desktop file solve this problem??

Pranav (pranavkaranjkar) wrote :

A recent apt-get upgrade solved this issue. The package no longer conflicts with scratch-text-editor and I can install the MIT-scratch from its .deb

Cody Garver (codygarver) wrote :

Pranav:

sudo rm /usr/share/applications/scratch.desktop

Daniel Fore (danrabbit) on 2012-08-03
Changed in scratch:
status: Fix Committed → Fix Released
Pranav (pranavkaranjkar) on 2012-08-10
Changed in elementaryos:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers