|
Autor |
Sõnum |
svenx
Pingviini külastaja
Liitunud: 12.12.2009
Postitused: 22
|
|
Nimelt selline kalam et kustutasin kogemata apache conf kasuta /etc/apache2 ära ja nüüd tuleb välja, et ka proftpd on katkine ja dpkg ei nõustu mitte mingi nurga alt neid reinstalleerima.
Tsitaat: | kasutaja@jope:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libltdl3-dev ttf-dejavu-extra libcap1 python-central fam openssl-blacklist ttf-dejavu libpq5 dbus-x11 portmap lsb-release libungif4g
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
apache2.2-common proftpd-basic
Suggested packages:
www-browser apache2-doc apache2-suexec apache2-suexec-custom proftpd-doc proftpd-mod-mysql proftpd-mod-pgsql proftpd-mod-ldap proftpd-mod-odbc proftpd-mod-sqlite
openbsd-inetd inet-superserver
The following NEW packages will be installed:
apache2.2-common
The following packages will be upgraded:
proftpd-basic
1 upgraded, 1 newly installed, 0 to remove and 129 not upgraded.
210 not fully installed or removed.
Need to get 0B/2712kB of archives.
After this operation, 4305kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Preconfiguring packages ...
(Reading database ... 27661 files and directories currently installed.)
Unpacking apache2.2-common (from .../apache2.2-common_2.2.16-6+squeeze4_amd64.deb) ...
egrep: /etc/apache2/apache2.conf: No such file or directory
touch: cannot touch `/etc/apache2/disable-other-vhost-access-log.dpkg-apache2.2-common': No such file or directory
dpkg: error processing /var/cache/apt/archives/apache2.2-common_2.2.16-6+squeeze4_amd64.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Preparing to replace proftpd-basic 1.3.1-17lenny4 (using .../proftpd-basic_1.3.3a-6squeeze1_amd64.deb) ...
/etc/init.d/proftpd: /usr/local/sbin/proftpd: cannot execute
invoke-rc.d: initscript proftpd, action "stop" failed.
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
/etc/init.d/proftpd: /usr/local/sbin/proftpd: cannot execute
invoke-rc.d: initscript proftpd, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/proftpd-basic_1.3.3a-6squeeze1_amd64.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
update-rc.d: warning: /etc/init.d/proftpd missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
/etc/init.d/proftpd: /usr/local/sbin/proftpd: cannot execute
invoke-rc.d: initscript proftpd, action "start" failed.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/apache2.2-common_2.2.16-6+squeeze4_amd64.deb
/var/cache/apt/archives/proftpd-basic_1.3.3a-6squeeze1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1) |
Tsitaat: | Linux version 2.6.32.15-xen-amd64 (root@algol.elkdata.ee) (gcc version 4.3.2 (Debian 4.3.2-1.1) ) #1 SMP Mon Jun 14 14:28:47 EEST 2010 |
Oskab keegi aidata?
|
|
|
|
|
|
|
|
mihkel
Vana Pingviin
Liitunud: 16.04.2006
Postitused: 1284
Distributsioon: Fedora/Centos
|
|
Kood: | apt-get remove --purge $(dpkg -l apache* | grep ii | awk '{print $2}') && apt-get install apache2 |
Ehk purgeb kõik pakid, mis seotud apachega ja siis installib apache2 uuesti.
|
|
|
|
|
|
|
|
svenx
Pingviini külastaja
Liitunud: 12.12.2009
Postitused: 22
|
|
mihkel kirjutas: | Kood: | apt-get remove --purge $(dpkg -l apache* | grep ii | awk '{print $2}') && apt-get install apache2 |
Ehk purgeb kõik pakid, mis seotud apachega ja siis installib apache2 uuesti. |
Tänud, tundub, et sain korda.
|
|
|
|
|
|
|
|
|
|
Powered by phpBB2 Plus based on phpBB © 2001/7 phpBB Group
|
|