{"id":1100,"date":"2011-09-18T19:30:31","date_gmt":"2011-09-18T17:30:31","guid":{"rendered":"http:\/\/sickel.net\/blogg\/?p=1100"},"modified":"2012-07-05T21:27:24","modified_gmt":"2012-07-05T19:27:24","slug":"mapserver-removed-on-debian","status":"publish","type":"post","link":"http:\/\/sickel.net\/blogg\/?p=1100","title":{"rendered":"mapserver removed on debian"},"content":{"rendered":"<p>Edit: By now (october 2011) the dependencies are fixed and mapserver can again be installed through a normal apt-get install cgi-mapserver and it will survive upgrades.<\/p>\n<p>During a dist-upgrade on my wheezy\/sid debian system, cgi-mapserver turned out to be removed. That was by no means intende by me&#8230; The culprit turned out to be the upgrade from libdap10 to libdap11. I have not found out what this library is intended to to, but searching around a bit, it seems like libdap11 should be downward compatible with libdap10. I.e. the mapserver package should have been updated to be able to live with libdap11, but I have no time now to wait for a new version. I am not running mapserver on a production machine, but I use it for some testing, so far it has worked fine for me. If you have the same problems, follow this description on your own risk, don&#8217;t do this if you do not understand the risks!<\/p>\n<p>All the following must be done as root: (following a sudo -i or su -) # symbols the prompt, all things after the # should be on one line.<\/p>\n<ol>\n<li>Fake a libdap10 library.<code><br \/>\n# ln -s \/usr\/lib\/i386-linux-gnu\/libdap.so.11 \/usr\/lib\/i386-linux-gnu\/libdap.so.10<\/code><br \/>\nNow the library will be found by programs that looks for the libdap.so.10\n<\/li>\n<li>\nReinstall libdapclient3. This has a dependency of libdap10, so it cannot be installed through the normal apt-get. First download it:<br \/>\n<code># apt-get download libdapclient3<\/code><br \/>\nThen install it, forcing it to ignore dependencies (Be sure first that libdap10 is the only non-satisfied dependency, by doing a normal apt-get install)<br \/>\n<code># dpkg --force-depends --install libdapclient3_3.11.1-9_i386.deb <\/code>\n<\/li>\n<li>\nDo the same thing with the libdapserver7 and cgi-mapserver:<br \/>\n<code># apt-get download libdapserver7<br \/>\n# dpkg --force-depends --install libdapserver7_3.11.1-9_i386.deb<br \/>\n# apt-get download cgi-mapserver<br \/>\n# dpkg --force-depends --install cgi-mapserver_5.6.6-2_i386.deb<br \/>\n<\/code>\n<\/li>\n<li>Other modules such as *-mapscript may be installed the same way<\/li>\n<\/ol>\n<p>After this the cgi-mapserver should be in service again. The version numbers of the files may of cource change.<br \/>\nDisclaimer: This will cause problems with upgrades until a new version of cgi-mapserver with the correct dependencies is released. apt-get -f install will remove cgi-mapserver again. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Edit: By now (october 2011) the dependencies are fixed and mapserver can again be installed through a normal apt-get install cgi-mapserver and it will survive upgrades. During a dist-upgrade on my wheezy\/sid debian system, cgi-mapserver turned out to be removed. &hellip; <a href=\"http:\/\/sickel.net\/blogg\/?p=1100\">Continue reading <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":{"jetpack_post_was_ever_published":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":""},"categories":[20],"tags":[],"class_list":["post-1100","post","type-post","status-publish","format-standard","hentry","category-mapserver"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pnVtD-hK","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"http:\/\/sickel.net\/blogg\/index.php?rest_route=\/wp\/v2\/posts\/1100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/sickel.net\/blogg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/sickel.net\/blogg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/sickel.net\/blogg\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/sickel.net\/blogg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1100"}],"version-history":[{"count":13,"href":"http:\/\/sickel.net\/blogg\/index.php?rest_route=\/wp\/v2\/posts\/1100\/revisions"}],"predecessor-version":[{"id":1299,"href":"http:\/\/sickel.net\/blogg\/index.php?rest_route=\/wp\/v2\/posts\/1100\/revisions\/1299"}],"wp:attachment":[{"href":"http:\/\/sickel.net\/blogg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/sickel.net\/blogg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1100"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/sickel.net\/blogg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}