Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Apache lässt sich nicht vernünftig (de-)installieren

Empfohlene Antworten


217-20-127-77:/home/user# apt-get install apache

Reading Package Lists... Done

Building Dependency Tree... Done

The following extra packages will be installed:

  apache-common

The following NEW packages will be installed:

  apache apache-common

0 packages upgraded, 2 newly installed, 0 to remove and 0  not upgraded.

Need to get 0B/1167kB of archives. After unpacking 3584kB will be used.

Do you want to continue? [Y/n] Y

Selecting previously deselected package apache-common.

(Reading database ... 37364 files and directories currently installed.)

Unpacking apache-common (from .../apache-common_1.3.26-0woody6_i386.deb) ...

Selecting previously deselected package apache.

Unpacking apache (from .../apache_1.3.26-0woody6_i386.deb) ...

Setting up apache-common (1.3.26-0woody6) ...


Setting up apache (1.3.26-0woody6) ...

[color=red]update-rc.d: /etc/init.d/apache: file does not exist[/color]

dpkg: error processing apache (--configure):

 subprocess post-installation script returned error exit status 1

Errors were encountered while processing:

 apache

Updating Debian Packages of System Configurations.

E: Sub-process /usr/bin/dpkg returned an error code (1)

217-20-127-77:/home/user#

Ich glaube dieser Konsolenauszug beinhaltet so ziemlich die meisten nötigen Infos, trotzdem nochmal in Kurz:

- OS: Debian

- Apache war ursprünglich mit nem Image installiert worden (vom Provider)

- habe ihn versucht mit apt-get zu deinstallieren -> kein Erfolg

- habe ihn versucht mit dselect zu deinstallieren -> kein Erfolg

- habe versucht, ihn mit dpkg zu deinstallieren -> kein Erfolg

- irgendwie habe ich ihn nachher doch noch runter bekommen (dabei ist auch das start/stop-script ais init.d abhanden gekommen)

- wenn ich ihn nun mit apt-get neuinstallieren will erhalte ich oben aufgeführten Fehler

- die anderen Install-prox (also dpkg, dselect) wollen ihn auch nicht vernünftig installieren

-- HILFE!!!! --

  • 3 Jahre später...

Ist eine X-Shell installiert? Wenn ja, dann versuch es mit dem Synaptics-Packet-Manager zu de-/installieren.

Ansonsten probier mal apt-get install apache2 oder apt-get install httpd2.

Kann grad leider nix verbindliches Sagen, hab keine Testumgebung vor Ort.

Gruß

Dr.Flash

  • 1 Monat später...

217-20-127-77:/home/user# apt-get install apache

[..]

Need to get 0B/1167kB of archives. After unpacking 3584kB will be used./code][/QUOTE]

D.h. das Paket liegt gecached auf deiner Platte..

[quote name='Just2blue4U'][code]

Unpacking apache-common (from .../apache-common_1.3.26-0woody6_i386.deb) ...
APT will dieses Paket installieren (Btw: Debian Woody ist stinkalt, der Indianer ebenso - würde ich NICHT so installieren lassen..)
Setting up apache (1.3.26-0woody6) ...

[color=red]update-rc.d: /etc/init.d/apache: file does not exist[/color]

dpkg: error processing apache (--configure):

 subprocess post-installation script returned error exit status 1

Errors were encountered while processing:

 apache

Vorneweg:

a) Debian Woody ist veraltet

B) Apache 1.3.26 ist veraltet (und wenn du kein gepatchtes Paket von nem Debian Mirror ziehst hat er auch noch Sicherheitslücken)

c) Irgendwas stimmt mit dem Paket nicht: (/etc/init.d/apache sollte nach der Installation vorhanden sein)

Du könntest unter in der Datei "/var/lib/dpkg/info/apache-common_1.3.26??.postinst" nachsehen, welche Anweisungen im Installationsskript ausgeführt werden. Denn da knallt..

ABER: wegen a) & B) besser gleich ein Update auf Sarge und dann Etch machen. (Lenny steht schon vor der Tür..)

-- HILFE!!!! --

Ich hab so leicht das Gefühl, daß dich die Administration eines Servers ein bisschen zu sehr fordert..

@Dr.Flash:

DAS war nicht dein Ernst, oder? :eek:eek:eek

Grüße

Ripper

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.