sidux.com
Menu

News

Give back
Last 3 Contributions
30-11-2008 20.00
25-11-2008 100.00
25-11-2008 20.00

Donate


Sponsor
hetzner.de

Languages
Preferred language:



Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Lizard
Post subject: apache2 will be removed  PostPosted: Jun 11, 2008 - 06:31 PM



Joined: Dec 03, 2006
Posts: 38

Status: Offline
todays d-u removed apache2 on my sidux-amd64 box.
trying to reinstall apache gives the following error:
Code:
Die folgenden Pakete haben nicht erfüllte Abhängigkeiten:
apache2: Hängt ab: apache2-mpm-worker (>= 2.2.8-5) soll aber nicht installiert werden oder
                      apache2-mpm-prefork (>= 2.2.8-5) aber 2.2.8-4 soll installiert werden oder
                      apache2-mpm-event (>= 2.2.8-5) soll aber nicht installiert werden
Installing apache2 from testing solved the problem for me.

Greetings
Lizard
 
 View user's profile Send private message  
Reply with quote Back to top
slh
Post subject: RE: apache2 will be removed  PostPosted: Jun 11, 2008 - 07:06 PM



Joined: Nov 25, 2006
Posts: 2571

Status: Offline
Please provide further information, apache2 doesn't get removed here and is also installable on a fresh system (maybe your mirror isn't up to date?).
 
 View user's profile Send private message  
Reply with quote Back to top
h2
Post subject: RE: apache2 will be removed  PostPosted: Jun 11, 2008 - 07:25 PM



Joined: Nov 28, 2006
Posts: 4303

Status: Offline
This breaks:

apt-get install -s apache2 libapache2-mod-php5 apache2.2-common apache2-mpm-worker
Reading package lists... Done
Building dependency tree
Reading state information... Done
libapache2-mod-php5 is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libapache2-mod-php5: Depends: apache2-mpm-prefork (> 2.0.52) but it is not going to be installed or
apache2-mpm-itk but it is not going to be installed
E: Broken packages

_________________
sidux Maintenance script: dist-upgrade, kernel install, general utilities: smxi
Backup script [using rdiff-backup]: rd-h2.sh


Last edited by h2 on Jun 11, 2008 - 07:27 PM; edited 1 time in total
 
 View user's profile Send private message  
Reply with quote Back to top
h2
Post subject: RE: apache2 will be removed  PostPosted: Jun 11, 2008 - 07:27 PM



Joined: Nov 28, 2006
Posts: 4303

Status: Offline
but this works:

apt-get install -s apache2 libapache2-mod-php5 apache2.2-common apache2-mpm-prefork
Reading package lists... Done
Building dependency tree
Reading state information... Done
libapache2-mod-php5 is already the newest version.
Suggested packages:
apache2-doc apache2-suexec apache2-suexec-custom
The following NEW packages will be installed:
apache2
The following packages will be upgraded:
apache2-mpm-prefork apache2.2-common
2 upgraded, 1 newly installed, 0 to remove and 199 not upgraded.
Inst apache2-mpm-prefork [2.2.8-4] (2.2.8-5 Debian:unstable) []
Inst apache2.2-common [2.2.8-4] (2.2.8-5 Debian:unstable)
Inst apache2 (2.2.8-5 Debian:unstable)
Conf apache2.2-common (2.2.8-5 Debian:unstable)
Conf apache2-mpm-prefork (2.2.8-5 Debian:unstable)
Conf apache2 (2.2.8-5 Debian:unstable)

_________________
sidux Maintenance script: dist-upgrade, kernel install, general utilities: smxi
Backup script [using rdiff-backup]: rd-h2.sh
 
 View user's profile Send private message  
Reply with quote Back to top
piper
Post subject: RE: apache2 will be removed  PostPosted: Jun 11, 2008 - 07:29 PM
Team Member


Joined: Nov 27, 2006
Posts: 1962
Location: underworld
Status: Offline
Code:
root@siduxbox64:/home/piper64# apt-get install  apache2 libapache2-mod-php5 apache2.2-common apache2-mpm-worker
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  apache2: Depends: apache2-mpm-worker (>= 2.2.8-5) but 2.2.8-4 is to be installed or
                    apache2-mpm-prefork (>= 2.2.8-5) but it is not going to be installed or
                    apache2-mpm-event (>= 2.2.8-5) but it is not going to be installed
  libapache2-mod-php5: Depends: apache2-mpm-prefork (> 2.0.52) but it is not going to be installed or
                                apache2-mpm-itk but it is not going to be installed
E: Broken packages


EDIT: oops I am a little late

_________________
.... _
... (0)>
... / / \
.. / / . )
.. V_/_sidux powered


Last edited by piper on Jun 11, 2008 - 07:30 PM; edited 2 times in total
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
h2
Post subject: RE: apache2 will be removed  PostPosted: Jun 11, 2008 - 07:29 PM



Joined: Nov 28, 2006
Posts: 4303

Status: Offline
you can skip the apache2 by the way, and just install the components

_________________
sidux Maintenance script: dist-upgrade, kernel install, general utilities: smxi
Backup script [using rdiff-backup]: rd-h2.sh
 
 View user's profile Send private message  
Reply with quote Back to top
h2
Post subject: RE: apache2 will be removed  PostPosted: Jun 11, 2008 - 07:30 PM



Joined: Nov 28, 2006
Posts: 4303

Status: Offline
Like this:

Code:
apt-get install -s libapache2-mod-php5 apache2.2-common apache2-mpm-prefork
Reading package lists... Done
Building dependency tree
Reading state information... Done
libapache2-mod-php5 is already the newest version.
Suggested packages:
  apache2-doc apache2-suexec apache2-suexec-custom
The following packages will be upgraded:
  apache2-mpm-prefork apache2.2-common
2 upgraded, 0 newly installed, 0 to remove and 199 not upgraded.
Inst apache2-mpm-prefork [2.2.8-4] (2.2.8-5 Debian:unstable) []
Inst apache2.2-common [2.2.8-4] (2.2.8-5 Debian:unstable)
Conf apache2.2-common (2.2.8-5 Debian:unstable)
Conf apache2-mpm-prefork (2.2.8-5 Debian:unstable)

_________________
sidux Maintenance script: dist-upgrade, kernel install, general utilities: smxi
Backup script [using rdiff-backup]: rd-h2.sh
 
 View user's profile Send private message  
Reply with quote Back to top
Lizard
Post subject:   PostPosted: Jun 11, 2008 - 08:27 PM



Joined: Dec 03, 2006
Posts: 38

Status: Offline
h2, seems not to work on my system (or may be i missed something):
Code:
apt-get install -s libapache2-mod-php5 apache2.2-common apache2-mpm-prefork
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Lese Status-Informationen ein... Fertig
libapache2-mod-php5 ist schon die neueste Version.
apache2.2-common ist schon die neueste Version.
apache2-mpm-prefork ist schon die neueste Version.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 1 nicht aktualisiert.
Code:
apt-get install -s apache2
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Lese Status-Informationen ein... Fertig
Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
Sie eine unmögliche Situation angefordert haben oder dass, wenn Sie die
Unstable-Distribution verwenden, einige erforderliche Pakete noch nicht
erstellt oder aus Incoming herausbewegt wurden.

Da Sie nur eine einzige Operation angefordert haben, ist es sehr wahrscheinlich,
dass das Paket einfach nicht installierbar ist und eine Fehlermeldung über
dieses Paket erfolgen sollte.
Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:

Die folgenden Pakete haben nicht erfüllte Abhängigkeiten:
  apache2: Hängt ab: apache2-mpm-worker (>= 2.2.8-5) soll aber nicht installiert werden oder
                      apache2-mpm-prefork (>= 2.2.8-5) aber 2.2.8-4 soll installiert werden oder
                      apache2-mpm-event (>= 2.2.8-5) soll aber nicht installiert werden
E: Kaputte Pakete]


some information about my system:
Code:
Host/Kernel/OS  "TuxTV" running Linux 2.6.23.16-slh64-smp-1 x86_64 [ sidux 2007-04.5 - Έρως christmas special - kde-lite - (200712260144) ]
CPU Info        (1) AMD Athlon 64 X2 Dual Core 3600+ 256 KB cache flags( sse3 nx lm svm ) clocked at [ 1000.000 MHz ]
                (2) AMD Athlon 64 X2 Dual Core 3600+ 256 KB cache flags( sse3 nx lm svm ) clocked at [ 1000.000 MHz ]
Videocard       nVidia C51PV [GeForce 6150]     [  ]
Network cards   nVidia MCP51 Ethernet Controller, at port: c800
Processes 123 | Uptime 1:43 | Memory 253.0/941.3MB | HDD ATA SAMSUNG HD161HJ,ATA SAMSUNG SP0802N Size 240GB (38%used) | Client Shell | Infobash v3.01

my debian.list
Code:
deb http://ftp.de.debian.org/debian/ sid main contrib non-free
#deb-src http://ftp.de.debian.org/debian/ sid main contrib non-free

my sidux.list
Code:
deb http://debian.tu-bs.de/project/sidux/debian/ sid main fix.main contrib non-free firmware fix.contrib fix.non-free
#deb ftp://ftp.mirrorservice.org/sites/sidux.com/sidux/debian/ sid main fix.main contrib non-free firmware fix.contrib fix.non-free
#deb-src http://debian.tu-bs.de/project/sidux/debian/ sid main fix.main contrib non-free firmware fix.contrib fix.non-free

Greetings
Lizard
 
 View user's profile Send private message  
Reply with quote Back to top
h2
Post subject:   PostPosted: Jun 11, 2008 - 10:30 PM



Joined: Nov 28, 2006
Posts: 4303

Status: Offline
it looks like apache is installed to me, what happens if you do: apache2 -k restart
as root?

_________________
sidux Maintenance script: dist-upgrade, kernel install, general utilities: smxi
Backup script [using rdiff-backup]: rd-h2.sh
 
 View user's profile Send private message  
Reply with quote Back to top
Lizard
Post subject:   PostPosted: Jun 12, 2008 - 06:54 PM



Joined: Dec 03, 2006
Posts: 38

Status: Offline
you' re right
Code:
apache2 -k restart
apache2: bad user name ${APACHE_RUN_USER}

but I don't understand that apt-cache policy says apache is not installed
Code:
apt-cache policy apache2
apache2:
  Installiert: (keine)
  Kandidat: 2.2.8-5
  Versions-Tabelle:
     2.2.8-5 0
        500 http://ftp.de.debian.org sid/main Packages
and when I try to remove apache2 ist says it is not installed
Code:
 apt-get remove apache2
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Lese Status-Informationen ein... Fertig
Paket apache2 ist nicht installiert, wird also auch nicht entfernt
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 25 nicht aktualisiert.

strange

Greetings
Lizard
 
 View user's profile Send private message  
Reply with quote Back to top
h2
Post subject:   PostPosted: Jun 12, 2008 - 11:31 PM



Joined: Nov 28, 2006
Posts: 4303

Status: Offline
apache2 is a metapackage, not apache.

The user name error is one I faintly remember, I think you have to change that name in httpd.conf to www-data or something like that.

Apache is installed, it's just not configured correctly so it's not starting.

To start apache, you must be root, of course.

_________________
sidux Maintenance script: dist-upgrade, kernel install, general utilities: smxi
Backup script [using rdiff-backup]: rd-h2.sh
 
 View user's profile Send private message  
Reply with quote Back to top
Lizard
Post subject:   PostPosted: Jun 13, 2008 - 05:18 PM



Joined: Dec 03, 2006
Posts: 38

Status: Offline
thanks h2 for your help. apache is working again.

Greetings
Lizard
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
 
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2006-2008 by sidux e.V., 10407 Berlin, Kniprodestr. 104. sidux e.V. is a Berlin, Germany based non-profit foundation. Consult Impressum and Legal Terms for details. sidux™ is Free Software released under the GNU/GPL license and other compatible licenses.
powered by Zikula & Zafenio