[MacPorts] #31370: Can't update outdated php5.3.8
#31370: Can't update outdated php5.3.8 ---------------------------------------------+------------------------------ Reporter: cristian@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: php 5.3.8 upgrade outdated fail | Port: php5 ---------------------------------------------+------------------------------ I ran the commands sudo port selfupdate sudo port upgrade outdated over Snow Leopard this morning and I found this surprise: ---> Computing dependencies for php5 ---> Verifying checksum(s) for php5 Error: Checksum (rmd160) mismatch for php-5.3.8.tar.bz2 Error: Checksum (sha256) mismatch for php-5.3.8.tar.bz2 *** The non-matching file appears to be HTML. See this page for possible reasons for the checksum mismatch: <https://trac.macports.org/wiki/MisbehavingServers> *** Error: Target org.macports.checksum returned: Unable to verify file checksums Log for php5 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php5/php5/main.log Error: Unable to upgrade port: 1 To report a bug, see <http://guide.macports.org/#project.tickets> Which seems to be an error of php5 port, I guess. I need to get installed php5-gd and php5-curl, but I can't because these two depend on php5 package, wich can't be upgraded. -- Ticket URL: <https://trac.macports.org/ticket/31370> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31370: Can't update outdated php5.3.8 ----------------------------------------+----------------------------------- Reporter: cristian@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: php5 ----------------------------------------+----------------------------------- Changes (by ryandesign@…): * keywords: php 5.3.8 upgrade outdated fail => * type: update => defect Old description:
I ran the commands
sudo port selfupdate sudo port upgrade outdated
over Snow Leopard this morning and I found this surprise:
---> Computing dependencies for php5 ---> Verifying checksum(s) for php5 Error: Checksum (rmd160) mismatch for php-5.3.8.tar.bz2 Error: Checksum (sha256) mismatch for php-5.3.8.tar.bz2 *** The non-matching file appears to be HTML. See this page for possible reasons for the checksum mismatch: <https://trac.macports.org/wiki/MisbehavingServers> *** Error: Target org.macports.checksum returned: Unable to verify file checksums Log for php5 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php5/php5/main.log Error: Unable to upgrade port: 1 To report a bug, see <http://guide.macports.org/#project.tickets>
Which seems to be an error of php5 port, I guess. I need to get installed php5-gd and php5-curl, but I can't because these two depend on php5 package, wich can't be upgraded.
New description: I ran the commands {{{ sudo port selfupdate sudo port upgrade outdated }}} over Snow Leopard this morning and I found this surprise: {{{ ---> Computing dependencies for php5 ---> Verifying checksum(s) for php5 Error: Checksum (rmd160) mismatch for php-5.3.8.tar.bz2 Error: Checksum (sha256) mismatch for php-5.3.8.tar.bz2 *** The non-matching file appears to be HTML. See this page for possible reasons for the checksum mismatch: <https://trac.macports.org/wiki/MisbehavingServers> *** Error: Target org.macports.checksum returned: Unable to verify file checksums Log for php5 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php5/php5/main.log Error: Unable to upgrade port: 1 To report a bug, see <http://guide.macports.org/#project.tickets> }}} Which seems to be an error of php5 port, I guess. I need to get installed php5-gd and php5-curl, but I can't because these two depend on php5 package, wich can't be upgraded. -- Comment: Did you read MisbehavingServers? What does the file /opt/local/var/macports/distfiles/php5/php-5.3.8.tar.bz2 contain? (Open it in a text editor.) -- Ticket URL: <https://trac.macports.org/ticket/31370#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31370: Can't update outdated php5.3.8 ----------------------------------------+----------------------------------- Reporter: cristian@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: php5 ----------------------------------------+----------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => ryandesign@… -- Ticket URL: <https://trac.macports.org/ticket/31370#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31370: Can't update outdated php5.3.8 ----------------------------------------+----------------------------------- Reporter: cristian@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: php5 ----------------------------------------+----------------------------------- Comment(by cristian@…): the file actually contains html. {{{ <html> <head> <title> </title> <script type="text/javascript"> function bredir(a,b,c,d,e){var f,g,h,i,j;var k=false;var l=false;var m=[[300,250,false],[250,250,false],[240,400,false],[336,280,false],[180,150,false],[468,60,false],[234,60,false],[88,31,false],[120,90,false],[120,60,false],[120,240,false],[125,125,false],[728,90,false],[160,600,false],[120,600,false],[300,600,false],[300,125,false],[530,300,false],[190,200,false],[470,250,false],[720,300,true],[500,350,true],[550,480,true]];if(typeof window.innerHeight=="number"){g=window.innerHeight;f=window.innerWidth}else if(typeof document.body.offsetHeight=="number"){g=document.body.offsetHeight;f=document.body.offsetWidth}for(var n=0;n<m.length;n++){j=m[n];h=Math.abs(f-j[0]);i=Math.abs(g-j[1]);if(h<=2&&i<=2){k=true;l=j[2]}}if(k||f<100&&f!==0||g<100&&g!==0){if(l&&self==parent){self.close();return}return"/b"+"anner.php?w="+f+"&h="+g+"&d="+a+"&u="+b+"&r="+c+"&view="+d}else{return e+"&w="+f+"&h="+g}} </script> </head> <body onLoad="location.replace(bredir('uk2.php.net', 'uk2.php.net%2Fdistributions%2Fphp-5.3.8.tar.bz2', '', 'error', '/main?url=uk2.php.net%2Fdistributions%2Fphp-5.3.8.tar.bz2'));" style="margin: 0px;"> <noscript> <iframe frameborder="0" src="/main?url=uk2.php.net%2Fdistributions%2Fphp-5.3.8.tar.bz2" width="100%" height="100%"></iframe> </noscript> </body> </html> }}} What should the problem be? I mean, why I receive html instead of the proper file? Which should the source be and how do I fix it? Thanks! -- Ticket URL: <https://trac.macports.org/ticket/31370#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31370: Can't update outdated php5.3.8 -----------------------------------------+---------------------------------- Reporter: cristian@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: duplicate | Keywords: Port: php5 | -----------------------------------------+---------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => duplicate Comment: Duplicate of #31249. I already fixed this in r83973 on the 13th. You said you ran selfupdate, but if you had, you should have received this update... please try "sudo port -v selfupdate" again. -- Ticket URL: <https://trac.macports.org/ticket/31370#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31370: Can't update outdated php5.3.8 -----------------------------------------+---------------------------------- Reporter: cristian@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: duplicate | Keywords: Port: php5 | -----------------------------------------+---------------------------------- Comment(by ryandesign@…): Also, you will then need to "sudo port clean --all php5" to clean out the bad file that was downloaded before. -- Ticket URL: <https://trac.macports.org/ticket/31370#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31370: Can't update outdated php5.3.8 -----------------------------------------+---------------------------------- Reporter: cristian@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: duplicate | Keywords: Port: php5 | -----------------------------------------+---------------------------------- Comment(by cristian@…): Replying to [comment:5 ryandesign@…]:
Also, you will then need to "sudo port clean --all php5" to clean out the bad file that was downloaded before.
Thanks! I did it, but without the "-v" parameter. Never noticed the difference (which seems to matter). The real thing happened when I ran {{{ sudo port clean --all php5 }}} After that everything worked as it should. Thanks a lot! -- Ticket URL: <https://trac.macports.org/ticket/31370#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31370: Can't update outdated php5.3.8 -----------------------------------------+---------------------------------- Reporter: cristian@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: duplicate | Keywords: Port: php5 | -----------------------------------------+---------------------------------- Comment(by ryandesign@…): "-v" stands for "verbose"; it just means it will show more information. You didn't mention what happened the first time you ran selfupdate, but if it updated MacPorts base to a newer version, then you needed to have run selfupdate a second time to actually update the portfiles. -- Ticket URL: <https://trac.macports.org/ticket/31370#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31370: Can't update outdated php5.3.8 -----------------------------------------+---------------------------------- Reporter: cristian@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: duplicate | Keywords: Port: php5 | -----------------------------------------+---------------------------------- Comment(by ryandesign@…): Or perhaps you tried before to upgrade php5, before the 13th, before I had fixed the problem, and now you were trying again, without having cleaned first. Either way, glad you got it fixed. -- Ticket URL: <https://trac.macports.org/ticket/31370#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31370: Can't update outdated php5.3.8 -----------------------------------------+---------------------------------- Reporter: cristian@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: duplicate | Keywords: Port: php5 | -----------------------------------------+---------------------------------- Comment(by cristian@…): Now I remember. First tried to install php-curl. At that time showed me the error for php5.3.8 (this morning). Then I tried to update and upgrade outdated. The update surely was installed, but I never cleaned before retrying to upgrade. My mistake! Will never happen again! Thanks again! -- Ticket URL: <https://trac.macports.org/ticket/31370#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts