Comment 6 for bug 1019709

Revision history for this message
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??