29.03.2024, 00:08 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
h2
Titel: Apache2 warning: don't dist-upgrade if you use apache 2  BeitragVerfasst am: 06.10.2006, 05:12 Uhr



Anmeldung: 12. Mar 2005
Beiträge: 1005

There are lots of really serious problems that I found today trying to du apache2, the new apache2.2 stuff is coming in, and it totally broke my working apache stuff, as well as stopping du totally dead, beyond the ability of install -f to fix.

So wait to update that, for now, I'm just putting it all on hold with dpkg since I can't seem to get it running even after doing this:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=390893

php5 didn't want to play either after I tried the above, lots of nasty warnings etc.

For now this should make it safe enough:

Code:
ApacheHolds='apache2-common apache2-mpm-prefork apache2-utils libapache2-mod-php5 php5-common php5-mysql';for package in $ApacheHolds;do echo $package hold | dpkg --set-selections;done


Just run that all as one line as root and it will put all those packages on hold and prevent apache2 or php5 from upgrading. If you have more modules installed it's probably a good idea to add them to the hold list.

Also check to see if you are running apache2 itself, by this:

apt-cache policy apache2
and see if you have apache2-mpm-worker instead of apache2-mpm-prefork the same way:

apt-cache policy apache2-mpm-worker


I didn't have that installed, but you may, so you'll want to put that on hold as well if you do have it installed.

Luckily for me, I was testing my new rdiff-backup script yesterday so restoring was no problem at all, just reformatted /, then restored, took a few minutes from livecd.

_________________
Read more on dist-upgrades using du-fixes-h2.sh script.
New: rdiff-backup script
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.