Apache2 package requires apache to be running
Bug #88210 reported by
Brian Pontarelli
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: apache2-common
When doing a dist-upgrade from Edgy to Feisty, the package for apache2-common (the old edgy version) required the Apache2 server to be running in order to correctly complete. This should check if Apache is not running, it should just continue like normal.
To post a comment you must log in.
Confirm this, more or less - it fails to stop, I suppose that's because apache isn't running. But somehow php has broken my apache and I can't start apache (all this has happened during feisty upgrade and I'm kind of waiting to finish the upgrade :)
rhk@ribantop: ~/datat$ sudo apt-get -f install ita... Valmis mpm-prefork apache2.2-common libapache2-mod-php5 mpm-prefork mpm-prefork depends on apache2-common (= 2.0.55-4ubuntu4). ~/datat$ sudo /etc/init.d/apache2 start mods-enabled/ php5.load: apache2/ modules/ libphp5. so into server: /usr/lib/ apache2/ modules/ libphp5. so: cannot open shared object file: No such file or directory
[ fail]
Luetaan pakettiluettelo
Muodostetaan riippuvuussuhteiden puu
Reading state information... Valmis
Korjataan riippuvuuksia... Valmis
The following packages were automatically installed and are no longer required:
apache2-common libt1-5 libgd2-xpm
Use 'apt-get autoremove' to remove them.
Seuraavat ylimääräiset paketit on merkitty asennettaviksi:
apache2-
Ehdotetut paketit:
php-pear
Seuraavat paketit POISTETAAN:
apache2-common
Seuraavat UUDET paketit asennetaan:
apache2.2-common libapache2-mod-php5
Nämä paketit päivitetään:
apache2-
1 päivitetty, 2 uutta asennusta, 1 poistettavaa ja 859 päivittämätöntä.
3 ei asennettu kokonaan tai poistettiin.
Noudettavaa arkistoa 0t/3888kt.
Purkamisen jälkeen käytetään 6324kt lisää levytilaa.
Haluatko jatkaa [K/e]? k
dpkg: apache2-common: dependency problems, but removing anyway as you request:
apache2-
(Reading database ... 126043 files and directories currently installed.)
Removing apache2-common ...
* Stopping apache 2.0 web server... [fail]
invoke-rc.d: initscript apache2, action "stop" failed.
dpkg: error processing apache2-common (--remove):
subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
apache2-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
rhk@ribantop:
* Starting apache 2.0 web server... Syntax error on line 1 of /etc/apache2/
Cannot load /usr/lib/
NOTE - before the message above I already had removed some php5 packages since apt was complaining about them, as you can see below here:
rhk@ribantop: ~/datat$ sudo dpkg --configure -a 20060613+ lfs; however:
dpkg: dependency problems prevent configuration of php5-gd:
php5-gd depends on phpapi-
Package phpapi-20060613+lfs is not installed.
Package libapache2-mod-php5 which provides phpapi-20060613+lfs is not installed.
dpkg: error processing php5-gd (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apache2:
apache2 depends on apache2-mpm-worker (>= 2.2.3-3.2build1) | apache2-mpm-prefork (>= 2.2.3-3.2build1) | apache2-mpm-event (>= 2.2.3-3.2build1); however:
Package apache2-mpm-worker is not installed.
Version of apache2-mpm-prefork on system ...