I am running up against a less than helpful error message when trying to
install php-pear-DB (why people cannot content themselves with all
lowercase packages names escapes me, but that is a rant for another time
and place). After enableing centos-plus and adding includepkgs=php-pear-DB
I get this:
# yum install php-pear-DB
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Reducing Dag Wieers RPM Repository for Red Hat Enterprise Linux to
included packages only
Finished
Reducing CentOS-4 - Plus to included packages only
Finished
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package php-pear-DB.noarch 0:1.7.6-6.el4.centos set to be updated
--> Running transaction check
--> Processing Dependency: php-pear(PEAR) for package: php-pear-DB
--> Finished Dependency Resolution
Error: Missing Dependency: php-pear(PEAR) is needed by package php-pear-DB
# yum install php-pear(PEAR)
-bash: syntax error near unexpected token `('
# yum install php-pear-PEAR
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Reducing Dag Wieers RPM Repository for Red Hat Enterprise Linux to
included packages only
Finished
Reducing CentOS-4 - Plus to included packages only
Finished
Parsing package install arguments
No Match for argument: php-pear-PEAR
Nothing to do
# yum whatprovides php-pear-PEAR
Searching Packages:
Setting up repositories
Reading repository metadata in from local files
Reducing Dag Wieers RPM Repository for Red Hat Enterprise Linux to
included packages only
Finished
Reducing CentOS-4 - Plus to included packages only
Finished
Importing Additional filelist information for packages
filelists.xml.gz 100% |=========================| 963 kB 00:18
centosplus: ################################################## 286/286
Added 286 new packages, deleted 0 old in 41.20 seconds
No Matches found
So, what is php-pear(PEAR) and how do I get it installed? Can anyone help?
Regards,
Jim
--
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 James B. Byrne wrote:> > So, what is php-pear(PEAR) and how do I get it installed? Can anyone help? >Just: yum install php-pear Should do it. Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFF1IcWHoeeepPau2ERAjVRAKCIHNWyUgFOlS8oFN/IcItEy8LRgwCfch0j tofgXpdU5Z6Xr30VXGBw2Dk=ZC+6 -----END PGP SIGNATURE-----
On Thu, 2007-02-15 at 11:10 -0500, James B. Byrne wrote:> I am running up against a less than helpful error message when trying to > install php-pear-DB (why people cannot content themselves with all > lowercase packages names escapes me, but that is a rant for another time > and place). After enableing centos-plus and adding includepkgs=php-pear-DB > I get this: > > # yum install php-pear-DB > Setting up Install Process > Setting up repositories > Reading repository metadata in from local files > Reducing Dag Wieers RPM Repository for Red Hat Enterprise Linux to > included packages only > Finished > Reducing CentOS-4 - Plus to included packages only > Finished > Parsing package install arguments > Resolving Dependencies > --> Populating transaction set with selected packages. Please wait. > ---> Package php-pear-DB.noarch 0:1.7.6-6.el4.centos set to be updated > --> Running transaction check > --> Processing Dependency: php-pear(PEAR) for package: php-pear-DB > --> Finished Dependency Resolution > Error: Missing Dependency: php-pear(PEAR) is needed by package php-pear-DB > > # yum install php-pear(PEAR) > -bash: syntax error near unexpected token `(' > > # yum install php-pear-PEAR > Setting up Install Process > Setting up repositories > Reading repository metadata in from local files > Reducing Dag Wieers RPM Repository for Red Hat Enterprise Linux to > included packages only > Finished > Reducing CentOS-4 - Plus to included packages only > Finished > Parsing package install arguments > No Match for argument: php-pear-PEAR > Nothing to do > > # yum whatprovides php-pear-PEAR > Searching Packages: > Setting up repositories > Reading repository metadata in from local files > Reducing Dag Wieers RPM Repository for Red Hat Enterprise Linux to > included packages only > Finished > Reducing CentOS-4 - Plus to included packages only > Finished > Importing Additional filelist information for packages > filelists.xml.gz 100% |=========================| 963 kB 00:18 > centosplus: ################################################## 286/286 > Added 286 new packages, deleted 0 old in 41.20 seconds > No Matches found > > So, what is php-pear(PEAR) and how do I get it installed? Can anyone help? > > Regards, > Jimyou must either use \ to escape ( and ) (like this php-pear\(PEAR\) OR use single quotes like this 'php-pear(PEAR)' so yum whatprovides 'php-pear(PEAR)' AND the answer is: I do not see anything that provides that in my repos -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20070215/8a258ed0/attachment.sig>