Re: Re: Failed updating PEAR / Suse 8.1

From: Date: Sat, 06 Dec 2003 23:18:26 +0000
Subject: Re: Re: Failed updating PEAR / Suse 8.1
References: 1 2 3 4  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-9339@lists.php.net to get a copy of this message
From: "Greg Beaver" <greg@chiaraquartet.net> > Hi, > > This is the official warning: > > Do NOT upgrade to Console_Getopt 1.1, it will break absolutely > everything with the command-line installer. > > OK :) > > Now, to fix this, you can upgrade to the cvs version of PEAR, but you > MUST also upgrade to Console_Getopt at the same time - this is very, > very important. If you upgrade to console_getopt, and then on the next > installation attempt to upgrade PEAR, it will not work. > > $ pear upgrade package-PEAR.xml package-Console_Getopt.xml If you have installed the CVS version of pear that Greg mentioned on pear-dev, you have to use the -f option... otherwise you'll simply get an error message for the pear package, but Console_Getopt will be upgraded anyway :-( Be warned. Klaus > This is the only current way to upgrade successfully. I've asked Andrei > to remove the 1.1 release, and re-release as 2.0 to indicate the rather > substantial BC break removing those 3 lines of code causes. > > Basically, every piece of code that used Console_Getopt::getopt() and > relied upon the fact that the first option is always discarded is now > officially broken. This means absolutely EVERY piece of code that ever > used it. The maintainers of PECL_Gen and System_Procwatch take note. > > Regards, > Greg > > Klaus Guenther wrote: > > >Yeah, I have the same problem... The latest Console_Getopt is broken. > > > >I see you're committing some changes right now, Greg... any chance to get it > >fixed? > > > >Klaus > > > >----- Original Message ----- > >From: "Andre Gellert" <gellert@reload.de> > >To: <pear-general@lists.php.net> > >Sent: Saturday, December 06, 2003 11:19 PM > >Subject: [PEAR] Re: Failed updating PEAR / Suse 8.1 > > > > > > > > > >>Andre Gellert wrote: > >> > >> > >>>(Before that, I typed pear upgrade-all or installed the PEAR 1.3b3 or > >>>1.2.1 manually, but after the installation pear accepted no commandos > >>>anymore and it seams as if commandos are ignored and only the options > >>>are displayed for each input....strange.) > >>> > >>> > >>Additionally I want to mention, that I tried a simple cli update via the > >>pear command on another suse8.2 a few minutes ago, here i have the same > >>effect : > >> > >>hostname:~ # pear list-upgrades > >>Available Upgrades (stable): > >>============================ > >>Package Local Remote Size > >>Console_Getopt 1.0 1.1 3.1kB > >>DB 1.5.0RC1 1.5.0RC2 67kB > >>Mail 1.1.1 1.1.2 12.9kB > >>perseus:~ # pear upgrade-all > >>Will upgrade console_getopt > >>Will upgrade db > >>Will upgrade mail > >>downloading Console_Getopt-1.1.tgz ... > >>...done: 3,123 bytes > >>upgrade-all ok: Console_Getopt 1.1 > >>downloading DB-1.5.0RC2.tgz ... > >>...done: 68,128 bytes > >>upgrade-all ok: DB 1.5.0RC2 > >>downloading Mail-1.1.2.tgz ... > >>...done: 13,156 bytes > >>upgrade-all ok: Mail 1.1.2 > >> > >> > >>hostname:/usr/share # pear list-upgrades > >>pearcmd.php list-upgrades > >>List releases on the server of packages you have installed where > >>a newer version is available with the same release state (stable etc.). > >> > >>- Thats it. No more pear commands are accepted now... > >>On this system i use a self-compiled 4.3.3 php. > >> > >>Ideas ??? > >> > >>Andre > >> > >>-- > >>PEAR General Mailing List (http://pear.php.net/) > >>To unsubscribe, visit: http://www.php.net/unsub.php > >> > >> > >> > >> > > > > > > > > > > > > -- > PEAR General Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.pear.general (#9339) next »