Modify ↓
Ticket #991 (closed defect: fixed)
Dependency Resolution difference between Package and yum
Reported by: | https://www.google.com/accounts/o8/id?id=AItOawnARWkgfcLN0_65FMSodEEaebtElcsVCH8 | Owned by: | desai |
---|---|---|---|
Priority: | major | Milestone: | Bcfg2 1.2.0 Release |
Component: | bcfg2-server | Version: | 1.0 |
Keywords: | Cc: | [email protected]…, [email protected]… |
Description
I'm running BCFG2 1.1.0 on CentOS 5.5 and there seems to be an issue with the Package plug-in. I have an Apache+PHP bundle which contains the following packages:
<Package name='httpd'/> <Package name='php'/> <Package name='php-pecl-apc'/> <Package name='php-pecl-memcache'/>
The YUM sources are set to the official CentOS 5.5, EPEL and REMI. Now BCFG2 want to install php-devel on the web servers whereas YUM does not require this.
Attachments
Change History
Changed 12 years ago by https://www.google.com/accounts/o8/id?id=AItOawnARWkgfcLN0_65FMSodEEaebtElcsVCH8
- Attachment bcfg2-package-php-debug.log added
comment:1 Changed 12 years ago by https://www.google.com/accounts/o8/id?id=AItOawnARWkgfcLN0_65FMSodEEaebtElcsVCH8
- Cc [email protected]… added
comment:2 Changed 12 years ago by solj
- Cc [email protected]… added
- Milestone changed from Bcfg2 1.2.0 Release to Bcfg2 1.3.0 Release
It appears as though yum's dependency handling is incorrect in this case. In your debug log, it shows php-pecl-apc requires /usr/bin/pecl. php-pear provides /usr/bin/pecl and therefore satisfies that dependency. The php-pear package lists php-devel as a requirement.
Packages: Package php-pecl-apc added requirements set(['rtld(GNU_HASH)', 'libc.so.6(GLIBC_2.4)(64bit)', 'libc.so.6(GLIBC_2.3.4)(64bit)', 'libc.so.6()(64bit)', 'libc.so.6(GLIBC_2.2.5)(64bit)', 'php(api)', '/usr/bin/pecl', '/bin/sh', 'librt.so.1(GLIBC_2.2.5)(64bit)', 'php(zend-abi)', 'librt.so.1()(64bit)']) Packages: requirement /usr/bin/pecl satisfied by set(['php-pear']) Packages: Package php-pear added requirements set(['php-devel', 'php-cli'])
comment:3 Changed 11 years ago by https://www.google.com/accounts/o8/id?id=AItOawnSjgovXZr-_V3vGkvMSR0pc5LDykRc1Nc
- Status changed from new to closed
- Resolution set to fixed
- Milestone changed from Bcfg2 1.3.0 Release to Bcfg2 1.2.0 Release
This is resolved in https://github.com/solj/bcfg2/commit/bd0fd1c4c32864414b60b51828c79198503cb3f6
Note: See
TracTickets for help on using
tickets.
debug log generated using bcfg2-info