{"id":845,"date":"2012-02-07T23:13:26","date_gmt":"2012-02-08T05:13:26","guid":{"rendered":"http:\/\/blografia.net\/vicm3\/?p=845"},"modified":"2012-02-07T23:13:26","modified_gmt":"2012-02-08T05:13:26","slug":"scratch-on-debian","status":"publish","type":"post","link":"https:\/\/blografia.net\/vicm3\/2012\/02\/scratch-on-debian\/","title":{"rendered":"Scratch on Debian"},"content":{"rendered":"<p>For some unknown reason, at least for me (license most likely) there is no Scratch package in Debian as long I remember the problem could be that the name and the mascot are trademarks (same problem that with Firefox \/ Iceweasel), any case there is a .deb package for Ubuntu, that of course tested on my Debian 6 (current stable) and hit with the problem that a lot of people had found, there is no easy way to install it on Debian because of broken dependencies, specially that the Ubuntu version requires pulseaudio =&gt; 1.0.9 and in Debian we had pulseaudio 0.9.21-3+squeeze1, on Wheezy is used 1.0-4, but reading on the net there are really ugly hacks to install this package forcing deps, hacking dpkg controls and so on, but the interesting thing was that even with the oldest version of pulseaudio this package works! So why no hack the package instead of hack my installation?<\/p>\n<p>Now knowing that the dependencies control is on a file called control, I found without too much search a nice recipe in the Ubuntu forums [1] really searching for other thing<\/p>\n<p>In my case I create a directory called 1 (you can use test, temp, etc.)<\/p>\n<p>mkdir 1<\/p>\n<p>Extract the contents of the Deb.<\/p>\n<p>dpkg-deb -x scratch_1.4.0.1-0ubuntu5_i386.deb 1\/<\/p>\n<p>dpkg-deb \u2013control scratch_1.4.0.1-0ubuntu5_i386.deb 1\/<\/p>\n<p>edit the contents of 1\/DEBIAN\/control<\/p>\n<p>vi 1\/DEBIAN\/contro (change vi for nano, emacs or whatever you use to edit text)<\/p>\n<p>now change the pulseaudio =&gt;1.0.9 for =&gt;0.9.2 (you can be safe using 0.9 instead), save and exit.<\/p>\n<p>We need to rebuild our package<\/p>\n<p>dpkg -b 1\/ scratch_1.4.0.1-0ubuntu5_i386.modified.deb<\/p>\n<p>And that\u2019s it our package now can be installed on Squeeze or Wheezy without problems or at least without breaking the dpkg control, colliding with next updates and more or less work along with the system. I listed all the steps but again in the Ubuntuforums I found that someone found this so easy (or uneasy) that wrote a script [2] and to make it better it\u2019s on githhub [3] to anyone to fork and contribute, and of course maybe you now where wondering where I download Scratch? Well from their MIT site [3], after done this I was thinking on report this as an issue on their trac, just to find that there is already reported! [4] in case you find this instructions too hard I have upload the package on my previous post [5] or directly you can grab here [6]<\/p>\n<p>[1] <a href=\"http:\/\/ubuntuforums.org\/showthread.php?t=636724\">http:\/\/ubuntuforums.org\/showthread.php?t=636724<br \/>\n<\/a>[2]<a href=\"https:\/\/gist.github.com\/1410666\">https:\/\/gist.github.com\/1410666<\/a><br \/>\n[3]<a href=\"http:\/\/info.scratch.mit.edu\/Scratch_1.4_Download\">http:\/\/info.scratch.mit.edu\/Scratch_1.4_Download<\/a><br \/>\n[4]<a href=\"http:\/\/www.assembla.com\/spaces\/scratchonlinux\/tickets\/19\">http:\/\/www.assembla.com\/spaces\/scratchonlinux\/tickets\/19<\/a><br \/>\n[5] https:\/\/blografia.net\/vicm3\/2012\/01\/scratch-deb-for-debian\/<br \/>\n[6]<a href=\"..\/data\/file\/scratch_1.4.0.1-0ubuntu5_i386.modifiedforDebian.deb\">https:\/\/blografia.net\/vicm3\/data\/file\/scratch_1.4.0.1-0ubuntu5_i386.modifiedforDebian.deb<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>For some unknown reason, at least for me (license most likely) there is no Scratch package in Debian as long I remember the problem could be that the name and the mascot are trademarks (same problem that with Firefox \/ &hellip; <a href=\"https:\/\/blografia.net\/vicm3\/2012\/02\/scratch-on-debian\/\">Sigue leyendo <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[5,3,8,7],"tags":[],"class_list":["post-845","post","type-post","status-publish","format-standard","hentry","category-debraye","category-general","category-sysadmin","category-web"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":922,"url":"https:\/\/blografia.net\/vicm3\/2012\/06\/the-sorry-state-of-moodle-on-debian\/","url_meta":{"origin":845,"position":0},"title":"The sorry state of Moodle on Debian","author":"vicm3","date":"7 junio, 2012","format":false,"excerpt":"Well, yes I know, for starters i would be involved on the -team for Moodle, but it bug me out that the important security fixes takes really time to get out to stable, yes I know some are not that severe, but also 1.9.x that is currently on Stable (squeezy)\u2026","rel":"","context":"En \u00abEducaci\u00f3n\u00bb","block_context":{"text":"Educaci\u00f3n","link":"https:\/\/blografia.net\/vicm3\/category\/educacion\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1091,"url":"https:\/\/blografia.net\/vicm3\/2013\/08\/scratch-on-debian-continued\/","url_meta":{"origin":845,"position":1},"title":"Scratch on Debian continued","author":"vicm3","date":"8 agosto, 2013","format":false,"excerpt":"Not really following this, but today as I updated a older machine where i have tweaked an Ubuntu Scratch package to be able to install it on Squeeze, I just noticed the following: $ apt-cache show scratch Package: scratch Version: 1.4.0.6~dfsg1-4 Installed-Size: 45660 Maintainer: Miriam Ruiz <miriam@debian.org> Architecture: all Depends:\u2026","rel":"","context":"En \u00abEducaci\u00f3n\u00bb","block_context":{"text":"Educaci\u00f3n","link":"https:\/\/blografia.net\/vicm3\/category\/educacion\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":844,"url":"https:\/\/blografia.net\/vicm3\/2012\/01\/scratch-deb-for-debian\/","url_meta":{"origin":845,"position":2},"title":"Scratch deb for Debian","author":"vicm3","date":"23 enero, 2012","format":false,"excerpt":"On the last post I outlined (in Spanish only) how to modify the control file of Ubuntu package of Scratch, I plan to translate to English but in the meantime I also have uploaded the resulting deb and my md5sum of it, works on Debian 6, testing and current Unstable\u2026","rel":"","context":"En \u00abGeneral\u00bb","block_context":{"text":"General","link":"https:\/\/blografia.net\/vicm3\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":752,"url":"https:\/\/blografia.net\/vicm3\/2010\/10\/on-the-debian-upgrade-for-moodle-to-1-8-13-miss-profile-pics-i-found-this\/","url_meta":{"origin":845,"position":3},"title":"Miss the profile pics when upgrading Moodle to 1.8.13 on Debian?  I found this","author":"vicm3","date":"12 octubre, 2010","format":false,"excerpt":"On the upgrade from 1.8.2 to 1.8.13 the way \/var\/lib\/moodle profile pics where handle changed in a subtle way. From users\/x to user\/0 user\/1000 user\/2000 this is a very good idea, but I can't find info about it on README.Debian or any other documentation, would be nice to add to\u2026","rel":"","context":"En \u00abEducaci\u00f3n\u00bb","block_context":{"text":"Educaci\u00f3n","link":"https:\/\/blografia.net\/vicm3\/category\/educacion\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1425,"url":"https:\/\/blografia.net\/vicm3\/2015\/01\/what-you-tell-about-yourself\/","url_meta":{"origin":845,"position":4},"title":"What you tell about yourself","author":"vicm3","date":"5 enero, 2015","format":false,"excerpt":"Not talking about yourself. Last year at Debconf Linus Torvalds held a Q&A session and on you can get a really good insight on who is he and what he does from it, I\u2019m posting some excerpts I like about the culture of project correctness at 14:37 I agree that\u2026","rel":"","context":"En \u00abDebraye\u00bb","block_context":{"text":"Debraye","link":"https:\/\/blografia.net\/vicm3\/category\/debraye\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":721,"url":"https:\/\/blografia.net\/vicm3\/2010\/04\/security-dsa-2038-1-new-pidgin-packages-fix-denial-of-service\/","url_meta":{"origin":845,"position":5},"title":"[SECURITY] [DSA 2038-1] New pidgin packages fix denial of service","author":"vicm3","date":"18 abril, 2010","format":false,"excerpt":"\"Since a few months, Microsoft's servers for MSN have changed the protocol, making Pidgin non-functional for use with MSN. It is not feasible to port these changes to the version of Pidgin in Debian Lenny. This update formalises that situation by disabling the protocol in the client. Users of the\u2026","rel":"","context":"En \u00abSin categor\u00eda\u00bb","block_context":{"text":"Sin categor\u00eda","link":"https:\/\/blografia.net\/vicm3\/category\/sin-categoria\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/posts\/845","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/comments?post=845"}],"version-history":[{"count":0,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/posts\/845\/revisions"}],"wp:attachment":[{"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/media?parent=845"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/categories?post=845"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/tags?post=845"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}