{"id":590,"date":"2012-07-12T07:49:26","date_gmt":"2012-07-12T13:49:26","guid":{"rendered":"http:\/\/www.jedge.com\/wordpress\/?p=590"},"modified":"2012-07-12T07:49:26","modified_gmt":"2012-07-12T13:49:26","slug":"maemo-diablo-php5-mime-support-error","status":"publish","type":"post","link":"https:\/\/www.jedge.com\/wordpress\/2012\/07\/maemo-diablo-php5-mime-support-error\/","title":{"rendered":"Maemo &#8211; Diablo &#8211; PHP5 &#8211; mime-support error"},"content":{"rendered":"<p>I receive this error when trying to install PHP on my Nokia n810 device.  php5-cli: Depends: mime-support but it is not installable.  This is with a fresh flash and I only add the Diable Extras-Devel from repository.maemo.org so I have access to the PHP packages.  I have no idea what is going on but I&#8217;m creating this post in case anybody else comes across a damn mime-support issue.<br \/>\n<!--more--><br \/>\nMy hildon-application-manager.list is as follows:<\/p>\n<p>deb http:\/\/catalogue.tableteer.nokia.com\/certified\/ diablo user<br \/>\ndeb http:\/\/catalogue.tableteer.nokia.com\/non-certified\/ diablo user<br \/>\ndeb http:\/\/catalogue.tableteer.nokia.com\/updates\/diablo-2\/ .\/<br \/>\ndeb http:\/\/repository.maemo.org\/extras\/ diablo free non-free<br \/>\ndeb http:\/\/repository.maemo.org\/extras-devel\/ diablo free non-free<\/p>\n<p>Here is the full error when I try to install PHP from the command-line.<\/p>\n<p><pre><code>Nokia-N810-43-7:~# apt-get install php5-cli\nReading package lists... Done\nBuilding dependency tree\nReading state information... Done\nSome packages could not be installed. This may mean that you have\nrequested an impossible situation or if you are using the unstable\ndistribution that some required packages have not yet been created\nor been moved out of Incoming.\n\nSince you only requested a single operation it is extremely likely that\nthe package is simply not installable and a bug report against\nthat package should be filed.\nThe following information may help to resolve the situation:\n\nThe following packages have unmet dependencies:\n&nbsp;&nbsp;php5-cli: Depends: mime-support but it is not installable\nE: Broken packages<\/code><\/pre><\/p>\n<p>Then I try this&#8230;<\/p>\n<p><pre><code>Nokia-N810-43-7:~# apt-get install mime-support\nReading package lists... Done\nBuilding dependency tree\nReading state information... Done\nPackage mime-support is not available, but is referred to by another package.\nThis may mean that the package is missing, has been obsoleted, or\nis only available from another source\nE: Package mime-support has no installation candidate<\/code><\/pre><\/p>\n<p>To solve this issue I manually downloaded the mime-support deb package from repository.maemo.org\/pool\/.<\/p>\n<p><pre><code>Nokia-N810-43-7:~# wget http:\/\/repository.maemo.org\/pool\/diablo\/free\/m\/mime-supp ort\/mime-support_3.28-1_all.deb\n--09:40:41--&nbsp;&nbsp;http:\/\/repository.maemo.org\/pool\/diablo\/free\/m\/mime-support\/mime-s upport_3.28-1_all.deb\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; `mime-support_3.28-1_all.deb&#039;\nResolving repository.maemo.org... 23.66.230.19, 23.66.230.24\nConnecting to repository.maemo.org|23.66.230.19|:80... connected.\nHTTP request sent, awaiting response... 200 OK\nLength: 28,804 (28K) [application\/x-debian-package]\n\n100%[====================================&gt;] 28,804&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;95.23K\/s\n\n09:40:41 (95.00 KB\/s) - `mime-support_3.28-1_all.deb&#039; saved [28804\/28804]\n\nNokia-N810-43-7:~# dpkg -i mime-support_3.28-1_all.deb\nSelecting previously deselected package mime-support.\n(Reading database ... 16605 files and directories currently installed.)\nUnpacking mime-support (from mime-support_3.28-1_all.deb) ...\nSetting up mime-support (3.28-1) ...\nNokia-N810-43-7:~# apt-get install php5-cli\nReading package lists... Done\nBuilding dependency tree\nReading state information... Done\nThe following extra packages will be installed:\n&nbsp;&nbsp;libmagic1 libpcre3 php5-common\nSuggested packages:\n&nbsp;&nbsp;file php-pear\nThe following NEW packages will be installed:\n&nbsp;&nbsp;libmagic1 libpcre3 php5-cli php5-common\n0 upgraded, 4 newly installed, 0 to remove and 5 not upgraded.\nNeed to get 3097kB of archives.\nAfter unpacking 7594kB of additional disk space will be used.\nDo you want to continue [Y\/n]? y\nWARNING: The following packages cannot be authenticated!\n&nbsp;&nbsp;libpcre3 libmagic1 php5-common php5-cli\nInstall these packages without verification [y\/N]? y\nGet:1 http:\/\/repository.maemo.org diablo\/free libpcre3 6.7-1osso1 [164kB]\nGet:2 http:\/\/repository.maemo.org diablo\/free libmagic1 4.12-1osso [232kB]\nGet:3 http:\/\/repository.maemo.org diablo\/free php5-common 5.2.6-3maemo4 [219kB]\nGet:4 http:\/\/repository.maemo.org diablo\/free php5-cli 5.2.6-3maemo4 [2481kB]\nFetched 3097kB in 9s (325kB\/s)\nSelecting previously deselected package libpcre3.\n(Reading database ... 16631 files and directories currently installed.)\nUnpacking libpcre3 (from ...\/libpcre3_6.7-1osso1_armel.deb) ...\nSelecting previously deselected package libmagic1.\nUnpacking libmagic1 (from ...\/libmagic1_4.12-1osso_armel.deb) ...\nSelecting previously deselected package php5-common.\nUnpacking php5-common (from ...\/php5-common_5.2.6-3maemo4_armel.deb) ...\nSelecting previously deselected package php5-cli.\nUnpacking php5-cli (from ...\/php5-cli_5.2.6-3maemo4_armel.deb) ...\nSetting up libpcre3 (6.7-1osso1) ...\nSetting up libmagic1 (4.12-1osso) ...\nSetting up php5-common (5.2.6-3maemo4) ...\nSetting up php5-cli (5.2.6-3maemo4) ...<\/code><\/pre><\/p>\n<p>All I want to do is parse some damn XML files.  I gave up on getting Perl to work and I don&#8217;t know any Python.  PHP from the command-line with SimpleXML just works.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I receive this error when trying to install PHP on my Nokia n810 device. php5-cli: Depends: mime-support but it is not installable. This is with a fresh flash and I only add the Diable Extras-Devel from repository.maemo.org so I have access to the PHP packages. I have no idea what is going on but I&#8217;m [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-590","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/posts\/590","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/comments?post=590"}],"version-history":[{"count":4,"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/posts\/590\/revisions"}],"predecessor-version":[{"id":594,"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/posts\/590\/revisions\/594"}],"wp:attachment":[{"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/media?parent=590"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/categories?post=590"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/tags?post=590"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}