nux at li.nux.ro
2011-Jan-07 18:46 UTC
[CentOS] rpm/yum/repo issue - Error: Package tuple could not be found in packagesack
Hi guys, I've been working on a yum repo for PHP 5.2 and today I wanted to update it[1], however on a test machine using my PHP packages (e.g. php-common-5.2.16-1nux) a yum update to the new RPMs with version 5.2.17 gives the following error: "Error: Package tuple ('php-common', 'i386', '0', '5.2.17', '1nux') could not be found in packagesack". Any rpm guru around has an idea of what is causing this? The php-common package is clearly mentioned in the spec file: "%package common Group: Development/Languages Summary: Common files for PHP Provides: php-api = %{apiver}, php-zend-abi = %{zendver} Provides: php(api) = %{apiver}, php(zend-abi) = %{zendver} # Provides for all builtin modules: Provides: php-bz2, php-calendar, php-ctype, php-curl, php-date, php-exif Provides: php-ftp, php-gettext, php-gmp, php-hash, php-iconv, php-libxml Provides: php-reflection, php-session, php-shmop, php-simplexml, php-sockets Provides: php-spl, php-tokenizer, php-openssl, php-pcre Provides: php-zlib, php-json, php-zip, php-dbase Obsoletes: php-openssl, php-pecl-zip, php-json, php-dbase %description common The php-common package contains files used by both the php package and the php-cli package." [1] - http://www.php.net/archive/2011.php#id2011-01-06-1
Keith Roberts
2011-Jan-07 21:11 UTC
[CentOS] rpm/yum/repo issue - Error: Package tuple could not be found in packagesack
On Fri, 7 Jan 2011, nux at li.nux.ro wrote:> To: centos at centos.org > From: nux at li.nux.ro > Subject: [CentOS] rpm/yum/repo issue - Error: Package tuple could not be found > in packagesack > > Hi guys, > > I've been working on a yum repo for PHP 5.2 and today I > wanted to update it[1], however on a test machine using my > PHP packages (e.g. php-common-5.2.16-1nux) a yum update to > the new RPMs with version 5.2.17 gives the following > error: "Error: Package tuple ('php-common', 'i386', '0', > '5.2.17', '1nux') could not be found in packagesack".Will you be adding the readline library, which allows PHP to be used as an interactive interpreter, similar to GW-Basic. That's very helpfull for debugging 2-3 lines of complex code, like regex patterns. http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html http://forums.fedoraforum.org/showthread.php?t=160348 Installed Packages Name : readline Arch : i386 Version : 5.1 Release : 3.el5 Size : 337 k Repo : installed Summary : A library for editing typed command lines. ... Kind Regards, Keith Roberts ----------------------------------------------------------------- Websites: http://www.karsites.net http://www.php-debuggers.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] -----------------------------------------------------------------
nux at li.nux.ro
2011-Jan-10 06:33 UTC
[CentOS] rpm/yum/repo issue - Error: Package tuple could not be found in packagesack
nux at li.nux.ro writes:> Hi guys, > > I've been working on a yum repo for PHP 5.2 and today I wanted to update > it[1], however on a test machine using my PHP packages (e.g. > php-common-5.2.16-1nux) a yum update to the new RPMs with version 5.2.17 > gives the following error: "Error: Package tuple ('php-common', 'i386', '0', > '5.2.17', '1nux') could not be found in packagesack". > > Any rpm guru around has an idea of what is causing this? > The php-common package is clearly mentioned in the spec file: > "%package common > Group: Development/Languages > Summary: Common files for PHP > Provides: php-api = %{apiver}, php-zend-abi = %{zendver} > Provides: php(api) = %{apiver}, php(zend-abi) = %{zendver} > # Provides for all builtin modules: > Provides: php-bz2, php-calendar, php-ctype, php-curl, php-date, php-exif > Provides: php-ftp, php-gettext, php-gmp, php-hash, php-iconv, php-libxml > Provides: php-reflection, php-session, php-shmop, php-simplexml, php-sockets > Provides: php-spl, php-tokenizer, php-openssl, php-pcre > Provides: php-zlib, php-json, php-zip, php-dbase > Obsoletes: php-openssl, php-pecl-zip, php-json, php-dbase > > %description common > The php-common package contains files used by both the php > package and the php-cli package." > > > [1] - http://www.php.net/archive/2011.php#id2011-01-06-1 > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >No ideas guys? What I could figure out is that the spec file is not the problem, it's somehow my build environment. If I use the centos-testing repo for php everything works fine, if i rebuild the srpm from centos-testing.. the error appears again.. I tried building both "manually" and from mock. Same sad result on both cases. -- Nux! www.nux.ro