{"id":4454,"date":"2015-02-21T12:03:32","date_gmt":"2015-02-21T11:03:32","guid":{"rendered":"https:\/\/www.bdjl.de\/localhost\/?p=4454"},"modified":"2015-02-21T12:19:57","modified_gmt":"2015-02-21T11:19:57","slug":"wiedergnger","status":"publish","type":"post","link":"https:\/\/www.bdjl.de\/localhost\/?p=4454","title":{"rendered":"Wiederg&auml;nger"},"content":{"rendered":"<p>Direkt nach dem Umstieg von Ubuntu 12.04 auf 14.04 wollte sich die Horde-Installation meiner Schule nicht auf den neuesten Stand bringen lassen. Das \u00fcbliche und sonst erfolgreiche<\/p>\n<pre class=\"lang:default decode:true \">pear upgrade -a -B -c horde<\/pre>\n<p>brachte Fehlermeldungen nach dem folgenden Schema<\/p>\n<pre class=\"lang:default decode:true \">downloading Horde_ActiveSync-2.25.0.tgz ...\r\nStarting to download Horde_ActiveSync-2.25.0.tgz (345,324 bytes)\r\n......................................................................done: 345,324 bytes\r\ncould not extract the package.xml file from \"\/build\/buildd\/php5-5.5.9+dfsg\/pear-build-download\/Horde_ActiveSync-2.25.0.tgz\"\r\nDownload of \"horde\/horde_activesync\" succeeded, but it is not a valid package archive\r\nError: cannot download \"horde\/Horde_ActiveSync\"\r\ndownloading Horde_Compress-2.1.0.tgz ...\r\nStarting to download Horde_Compress-2.1.0.tgz (2,187,446 bytes)\r\n...done: 2,187,446 bytes\r\ncould not extract the package.xml file from \"\/build\/buildd\/php5-5.5.9+dfsg\/pear-build-download\/Horde_Compress-2.1.0.tgz\"\r\nDownload of \"horde\/horde_compress\" succeeded, but it is not a valid package archive\r\nError: cannot download \"horde\/Horde_Compress\"\r\nDownload failed\r\nupgrade failed\r\n<\/pre>\n<p>Damals half mir der folgende Bugreport bei launchpad weiter, der mich <a href=\"https:\/\/bugs.launchpad.net\/ubuntu\/+source\/php5\/+bug\/1310552\" target=\"_blank\">im Beitrag #9<\/a> auf die richtige Spur brachte. Der Fehler sitzt in der Datei<\/p>\n<pre class=\"lang:default decode:true \">\/usr\/share\/php\/Archive\/Tar.php<\/pre>\n<p>Hier muss <em>gzopen<\/em> durch <em>gzopen64<\/em> ersetzt werden und <em>gztell<\/em> durch <em>gztell64<\/em> und <em>gzseek<\/em> durch <em>gzseek64.<\/em><\/p>\n<p>Irgendwann im Laufe der letzten Woche muss ein Update gekommen sein, das die Tar.php ersetzte. Aktuell befinden sich die zu \u00e4ndernden Zeilen samt angepasstem Inhalt in der Tar.php hier:<\/p>\n<pre class=\"lang:default decode:true\">679:\u00a0 if ($this-&gt;_compress_type == 'gz' &amp;&amp; function_exists('gzopen64'))\r\n680:\u00a0 $this-&gt;_file = @gzopen64($this-&gt;_tarname, \"wb9\");\r\n734:\u00a0 if ($this-&gt;_compress_type == 'gz' &amp;&amp; function_exists('gzopen64'))\r\n735:\u00a0 $this-&gt;_file = @gzopen64($v_filename, \"rb\");\r\n759:\u00a0 $this-&gt;_file = @gzopen64($this-&gt;_tarname, \"r+b\");\r\n1782: $v_temp_tar = @gzopen64($this-&gt;_tarname.\".tmp\", \"rb\");\r\n889:  @gzseek64($this-&gt;_file, gztell64($this-&gt;_file)+($p_len*512));\r\n<\/pre>\n<p>Dann l\u00e4uft das Upgrade von Horde brav durch:<\/p>\n<pre class=\"lang:default decode:true \">downloading Horde_ActiveSync-2.25.0.tgz ...\r\nStarting to download Horde_ActiveSync-2.25.0.tgz (345,324 bytes)\r\n......................................................................done: 345,324 bytes\r\ndownloading Horde_Compress-2.1.0.tgz ...\r\nStarting to download Horde_Compress-2.1.0.tgz (2,187,446 bytes)\r\n...done: 2,187,446 bytes\r\nupgrade ok: channel:\/\/pear.horde.org\/Horde_Compress-2.1.0\r\nupgrade ok: channel:\/\/pear.horde.org\/Horde_ActiveSync-2.25.0\r\n<\/pre>\n<p>Bis zum n\u00e4chsten Mal.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Direkt nach dem Umstieg von Ubuntu 12.04 auf 14.04 wollte sich die Horde-Installation meiner Schule nicht auf den neuesten Stand bringen lassen. Das \u00fcbliche und sonst erfolgreiche pear upgrade -a -B -c horde brachte Fehlermeldungen nach dem folgenden Schema downloading Horde_ActiveSync-2.25.0.tgz &#8230; Starting to download Horde_ActiveSync-2.25.0.tgz (345,324 bytes) &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.done: 345,324 bytes could not extract the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,10],"tags":[442,494],"class_list":["post-4454","post","type-post","status-publish","format-standard","hentry","category-linux","category-schule","tag-horde","tag-pear"],"_links":{"self":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/4454","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4454"}],"version-history":[{"count":4,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/4454\/revisions"}],"predecessor-version":[{"id":4458,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/4454\/revisions\/4458"}],"wp:attachment":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4454"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4454"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4454"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}