apache2 installimine

Debiani foorum

Moderaator: Moderaatorid

Vasta
indrek56
Pingviini aktivist
Pingviini aktivist
Postitusi: 282
Liitunud: 30.08.2006, 17:04

apache2 installimine

Postitus Postitas indrek56 »

üritan debianis paigaldada apache2-te. ei ole eriti asjatundja.
tulemuseks on aga:
# apt-get install apache2
Reading Package Lists... Done
Building Dependency Tree... Done
apache2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up apache2-common (2.0.54-5sarge1) ...
This module does not exist!
dpkg: error processing apache2-common (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of apache2-mpm-worker:
apache2-mpm-worker depends on apache2-common (= 2.0.54-5sarge1); however:
Package apache2-common is not configured yet.
dpkg: error processing apache2-mpm-worker (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apache2:
apache2 depends on apache2-mpm-worker (= 2.0.54-5sarge1) | apache2-mpm-prefork (= 2.0.54-5sarge1) | apache2-mpm-perchild (= 2.0.54-5sarge1); however:
Package apache2-mpm-worker is not configured yet.
Package apache2-mpm-prefork is not installed.
Package apache2-mpm-perchild is not installed.
dpkg: error processing apache2 (--configure):
dependency problems - leaving unconfigured
Setting up clamav-freshclam (0.84-2.sarge.13) ...
invoke-rc.d: unknown initscript, /etc/init.d/clamav-freshclam not found.
dpkg: error processing clamav-freshclam (--configure):
subprocess post-installation script returned error exit status 100
Errors were encountered while processing:
apache2-common
apache2-mpm-worker
apache2
clamav-freshclam
E: Sub-process /usr/bin/dpkg returned an error code (1)

mis valesti on või tegema peaks?
Kasutaja avatar
DaStoned
Pingviini aktivist
Pingviini aktivist
Postitusi: 395
Liitunud: 11.01.2007, 16:23

Postitus Postitas DaStoned »

Proovi sissejuhatuseks "apt-get -f install" ja siis vaatame edasi.

"apt-get update" ikka tegid enne seda? Mis repodest sul pakid tulevad? Pasteeri siia /etc/apt/sources.list faili sisu
When the shit hits the fan, keep your mouth shut!
indrek56
Pingviini aktivist
Pingviini aktivist
Postitusi: 282
Liitunud: 30.08.2006, 17:04

Postitus Postitas indrek56 »

apt-get -f install proovitud
apt-get update tehtud

pasteerin:
#deb file:///cdrom/ sarge main

deb ftp://ftp.ee.debian.org/debian/ stable main
deb-src ftp://ftp.ee.debian.org/debian/ stable main

deb http://security.debian.org/ stable/updates main
Kasutaja avatar
johnsmith
Vana Pingviin
Vana Pingviin
Postitusi: 714
Liitunud: 24.07.2006, 23:33

Postitus Postitas johnsmith »

See ei ole muidugi mingi lahendus sinu praegusele probleemile aga ma ise olen viimasel ajal alati sortsust kokku lasknud kogu lamp -i .

Ei mäleta, et oleks olnud ka mingeid erilisi erroreid.
"Thinking is the hardest work there is, which is probably the reason why so few engage in it" - Henry Ford
indrek56
Pingviini aktivist
Pingviini aktivist
Postitusi: 282
Liitunud: 30.08.2006, 17:04

Postitus Postitas indrek56 »

tänud muretsejatele. asi toimib jälle, pakid käivad maha ja peale.
googeldus vihjas et tuleb natuke sonkida sellises kohas: /var/lib/dpkg/info
mingid konfimuudatused apache ja clamav kohta olid vigased mingil põhjusel.
bsdo
Pingviini aktivist
Pingviini aktivist
Postitusi: 140
Liitunud: 22.02.2007, 14:46

Postitus Postitas bsdo »

Vast peaks ubuntu serverit proovima- mina konsentreerun bsd'st ubuntu serverile..
Vasta