02.05.2025, 16:14 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
josk
Titel: Todays D-U apache problems  BeitragVerfasst am: 07.10.2006, 07:35 Uhr



Anmeldung: 30. Mar 2006
Beiträge: 43
Wohnort: HELSINKI
Hi,

I have problems with todays d-u. Im not sure how to solve this one. Any tips?


apt-get dist-upgrade
Code:
< export DEBIAN_FRONTEND; apt-get upgrade;echo RESULT=$?
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
  apache2-mpm-prefork: Depends: apache2.2-common (= 2.2.3-1) but it is not installed
E: Unmet dependencies. Try using -f.
RESULT=100


apt-get -f install
Code:
< export DEBIAN_FRONTEND; apt-get -f install;echo RESULT=$?
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  apache2.2-common
The following NEW packages will be installed:
  apache2.2-common
0 upgraded, 1 newly installed, 0 to remove and 218 not upgraded.
20 not fully installed or removed.
Need to get 0B/917kB of archives.
After unpacking 3314kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 124264 files and directories currently installed.)
Unpacking apache2.2-common (from .../apache2.2-common_2.2.3-1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/apache2.2-common_2.2.3-1_i386.deb (--unpack):
 trying to overwrite `/usr/share/man/man8/suexec.8.gz', which is also in package apache-common
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/apache2.2-common_2.2.3-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
RESULT=100

_________________
Kanotix wallpapers
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
stryder
Titel: RE: Todays D-U apache problems  BeitragVerfasst am: 07.10.2006, 07:57 Uhr



Anmeldung: 26. Jun 2005
Beiträge: 389

There was a warning here:

http://kanotix.com/PNphpBB2-viewtopic-t-21411.html

but no solution.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
titan
Titel: RE: Todays D-U apache problems  BeitragVerfasst am: 07.10.2006, 09:17 Uhr



Anmeldung: 07. Mai 2005
Beiträge: 526
Wohnort: Waliser Märze
I had the same problem yesterday but I don't use Apache so just removed the conflicting packages and the DU completed. They can always be re installed later, when the bug is sorted if needed.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
josk
Titel: RE: Todays D-U apache problems  BeitragVerfasst am: 07.10.2006, 11:40 Uhr



Anmeldung: 30. Mar 2006
Beiträge: 43
Wohnort: HELSINKI
Argh, I didnt notice that warning.

_________________
Kanotix wallpapers
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
h2
Titel: RE: Todays D-U apache problems  BeitragVerfasst am: 07.10.2006, 19:56 Uhr



Anmeldung: 12. Mar 2005
Beiträge: 1005

Just put the apache and php stuff on hold following what I posted here. I should have put a link to that posting in the general thread as well.

http://kanotix.com/PNphpBB2-viewtopic-t-21411.html

The solution is to just put all your apache2 and php packages on hold, that short bash thing will do that, but double check your install to see if you have extra modules and the apache2 package itself installed.

One key point however: the fix I made does not fix the issue after it's happened, it simply prevents it from happening in the first place, which means you have to run it before the dist-upgrade, not after. I'm just going to leave my apache2 and php stuff on hold for a few weeks, it's not like I need any of that updated anyway.

_________________
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
Swynndla
Titel: RE: Todays D-U apache problems  BeitragVerfasst am: 07.10.2006, 20:56 Uhr



Anmeldung: 05. Dez 2005
Beiträge: 414
Wohnort: Auckland, New Zealand
Those of you who only did an apt-get upgrade (instead of dist-upgrade) were yet again unaffected, as apache was held back automatically.

_________________
Linux is evolution, not intelligent design - Linus Torvalds
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
boomshalek
Titel:   BeitragVerfasst am: 29.10.2006, 16:07 Uhr



Anmeldung: 07. Jan 2006
Beiträge: 23

and what can i do if i have already done a dist-upgrade. i am waiting since Oktober the 7th to get it fixed again. but it isn't yet. It blocks my whole apt-get-system ...
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
titan
Titel:   BeitragVerfasst am: 29.10.2006, 16:51 Uhr



Anmeldung: 07. Mai 2005
Beiträge: 526
Wohnort: Waliser Märze
boomshalek hat folgendes geschrieben::
and what can i do if i have already done a dist-upgrade. i am waiting since Oktober the 7th to get it fixed again. but it isn't yet. It blocks my whole apt-get-system ...


Do you mean you have been running with an unfinished DU since 7th Oct. Do you run Apache, most users don,t. so you can remove the conflicting package, which for me allowed the DU to complete
apt-get --purge remove apache-common then your DU should complete.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
boomshalek
Titel:   BeitragVerfasst am: 29.10.2006, 22:25 Uhr



Anmeldung: 07. Jan 2006
Beiträge: 23

if it was that easy buddy ...
Zitat:
apt-get remove apache-common
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut... Fertig
Paket apache-common ist nicht installiert, wird also auch nicht entfernt
Sie möchten wahrscheinlich »apt-get -f install« aufrufen, um dies zu korrigieren:
Die folgenden Pakete haben nichterfüllte Abhängigkeiten:
libapache-mod-php4: Hängt ab: apache-common (>= 1.3.34) soll aber nicht installiert werden
E: Nichterfüllte Abhängigkeiten. Versuchen Sie »apt-get -f install« ohne jeglich Pakete (oder geben Sie eine Lösung an).
root@mybox:/home/schitt# apt-get -f install
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut... Fertig
Abhängigkeit werden korrigiert... Fertig
Die folgenden zusätzlichen Pakete werden installiert:
apache-common
Vorgeschlagene Pakete:
apache apache-ssl apache-perl
Die folgenden NEUEN Pakete werden installiert:
apache-common
0 aktualisiert, 1 neu installiert, 0 zu entfernen und 516 nicht aktualisiert.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
piper
Titel:   BeitragVerfasst am: 30.10.2006, 01:25 Uhr
Team Member
Team Member


Anmeldung: 03. Mai 2005
Beiträge: 1544
Wohnort: out there somewhere
Maybe try (I am no expert on this)

update-rc.d -f apache remove

rm -f /var/lib/dpkg/info/apache2-common.postrm.

apt-get remove --purge apache

apt-get remove --purge apache-ssl

If none of that works try

apt-get -s remove apache-common libapache-mod-php4 libzzip-0-12 php4 php4-common ucf

or php5

or wait for others advise Winken

_________________
h2's d-u script
h2's rdiff-backup script
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
mzilikazi
Titel:   BeitragVerfasst am: 30.10.2006, 04:31 Uhr
Team Member
Team Member


Anmeldung: 17. Dez 2003
Beiträge: 1109
Wohnort: Ganymede
Well one way to solve this (although some may recommend not doing this) is:
Code:
dpkg -i --force-overwrite /var/cache/apt/archives/apache2.2-common_2.2.3-1_i386.deb


But I also never do dist-upgrade only apt-get upgrade and thusly am not affected by this. You'd be amazed how often you miss out on broken things in Sid by not doing a dist-upgrade.

_________________
Ubuntu - An ancient African word for "Can't install Debian"
 
 Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
slh
Titel:   BeitragVerfasst am: 30.10.2006, 09:26 Uhr



Anmeldung: 16. Aug 2004
Beiträge: 1905

Never use force in combination with dpkg, there's a reason for those packages to conflict - either fix it (apache 1.x and php4 XOR apache 2.2 and php5) or let hell break loose.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
dweebman
Titel:   BeitragVerfasst am: 30.10.2006, 19:13 Uhr



Anmeldung: 25. Jul 2006
Beiträge: 14

I had this problem a couple of weeks ago. After fixing my system with help from the gang Winken , I fixed apache.

Goto http://xampp.org and download. This installs apache2, mysql, php,perl, and more into /opt/lampp directory. This is self contained and allows me to run apache2 and apps until fix comes out. Works quite well. However, you may not want to have two installs of apache.

I haven't had any problems since so it may work for you. My two cents.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
slh
Titel:   BeitragVerfasst am: 30.10.2006, 21:46 Uhr



Anmeldung: 16. Aug 2004
Beiträge: 1905

xampp is even more stupid on debian systems, as it neither fits into a linux environment - especially not debian - nor is covered by security support or integration into other packages.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
h2
Titel:   BeitragVerfasst am: 30.10.2006, 22:00 Uhr



Anmeldung: 12. Mar 2005
Beiträge: 1005

I wince every time I see xampp mentioned as a solution, that's really much more a windows thing to me, for windows users. Mysql, php,perl, apache, these are designed to be core features of any linux distro, especially debian stuff.

_________________
Read more on dist-upgrades using du-fixes-h2.sh script.
New: rdiff-backup script


Zuletzt bearbeitet von h2 am 30.10.2006, 22:23 Uhr, insgesamt ein Mal bearbeitet
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
h2
Titel:   BeitragVerfasst am: 30.10.2006, 22:22 Uhr



Anmeldung: 12. Mar 2005
Beiträge: 1005

I have no idea of how to fix this after the fact by the way, when it happened to me, I gave up immediately and reinstalled my / from backup, as I mentioned above, then I put all the apache/php stuff on hold, where it still sits.

One of these days I'll see if I can figure out a reasonably pain free upgrade path for this apache stuff, which will I am almost certain involve numerous restores from backup, but currently I like not having to deal with this particular issue.

_________________
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
slh
Titel:   BeitragVerfasst am: 31.10.2006, 09:57 Uhr



Anmeldung: 16. Aug 2004
Beiträge: 1905

The only "pain free" (not really) way is to purge the existing setup and recreate the configs from scratch, because the whole configuration part differs quite a bit (it might technically work, but...), the same goes for apache2-common --> apache2.2-common which can't be done properly without purging/ reinstalling.
 
 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.