Bug 15865 - Missed "Requires(post): apache2"
Summary: Missed "Requires(post): apache2"
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: apache2-mod_php5 (show other bugs)
Version: unstable
Hardware: all Linux
: P2 minor
Assignee: Anton Farygin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-01 15:07 MSD by Nikolay A. Fetisov
Modified: 2008-09-23 00:48 MSD (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolay A. Fetisov 2008-06-01 15:07:50 MSD
В секции %post пакета выполняется перезапуск Apache2. Однако, при одновременной 
установке и apache2, и apache2-mod_php5, порядок установки не определён и 
возможно возникновение ошибок из-за отсутствия init.d/httpd2 в момент 
вызова %post.

Steps to Reproduce:
# apt-get install apache2-mod_php5 apache2
Actual Results:  
Может возникнуть:

....
23: apache2-common                                                                          
################################################################################################### 
[ 28%]
24: apache2-httpd-prefork                                                                   
################################################################################################### 
[ 29%]
25: apache2-mod_php5                                                                        
################################################################################################### 
[ 30%]
service: httpd2: Unrecognized service
service: httpd2: Unrecognized service
error: execution of %post scriptlet from apache2-mod_php5-5.2.5-alt1 failed, 
exit status 1
26: libMySQL                                                                                
################################################################################################### 
[ 31%]
27: php5-mysql                                                                              
################################################################################################### 
[ 32%]
service: httpd2: Unrecognized service
error: execution of %post scriptlet from php5-mysql-5.2.5-alt1 failed, exit 
status 1
28: libmcrypt                                                                               
################################################################################################### 
[ 34%]
29: php5-mcrypt                                                                             
################################################################################################### 
[ 35%]
service: httpd2: Unrecognized service
error: execution of %post scriptlet from php5-mcrypt-5.2.5-alt1 failed, exit 
status 1
30: php5-mbstring                                                                           
################################################################################################### 
[ 36%]
service: httpd2: Unrecognized service
error: execution of %post scriptlet from php5-mbstring-5.2.5-alt1 failed, exit 
status 1
....
37: apache2                                                                                 
################################################################################################### 
[ 45%]
Comment 1 Alexey Gladkov 2008-09-23 00:48:32 MSD
Исправлено