Parašė Bucis· 2010 Rugp. 4 19:08:36
#1
Kai bandau ant savo vps įrašyti
phpmyadmin (kurio man dabar reikia) ar šiaip kąnors kitą gaunu klaidą:
E: Sub-process /usr/bin/dpkg returned an error code (1)
O čia pilnas log'as kai parašau apt-get install...
server:~# apt-get install phpmyadmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libhtml-template-perl libdbd-mysql-perl mysql-server-5.0
libterm-readkey-perl mysql-client-5.0
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
phpmyadmin
0 upgraded, 1 newly installed, 0 to remove and 26 not upgraded.
7 not fully installed or removed.
Need to get 0B/2884kB of archives.
After this operation, 10.4MB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package phpmyadmin.
(Reading database ... 30056 files and directories currently installed.)
Unpacking phpmyadmin (from .../phpmyadmin_4%3a2.11.8.1-5+lenny4_all.deb) ...
Setting up libapache2-mod-php5 (5.2.6.dfsg.1-1+lenny8) ...
Error: The new file /usr/share/php5/php.ini-dist does not exist!
dpkg: error processing libapache2-mod-php5 (--configure):
subprocess post-installation script returned error exit status 1
Setting up php5-cgi (5.2.6.dfsg.1-1+lenny8) ...
Error: The new file /usr/share/php5/php.ini-dist does not exist!
dpkg: error processing php5-cgi (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of php5:
php5 depends on libapache2-mod-php5 (>= 5.2.6.dfsg.1-1+lenny8) | libapache2-mod-php5filter (>= 5.2.6.dfsg.1-1+lenny8) | php5-cgi (>= 5.2.6.dfsg.1-1+lenny8); however:
Package libapache2-mod-php5 is not configured yet.
Package libapache2-mod-php5filter is not installed.
Package php5-cgi is not configured yet.
dpkg: error processing php5 (--configure):
dependency problems - leaving unconfigured
Setting up php5-cli (5.2.6.dfsg.1-1+lenny8) ...
Error: The new file /usr/share/php5/php.ini-dist.cli does not exist!
dpkg: error processing php5-cli (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of php5-gd:
php5-gd depends on phpapi-20060613+lfs; however:
Package phpapi-20060613+lfs is not installed.
Package libapache2-mod-php5 which provides phpapi-20060613+lfs is not configured yet.
Package php5-cli which provides phpapi-20060613+lfs is not configured yet.
Package php5-cgi which provides phpapi-20060613+lfs is not configured yet.
dpkg: error processing php5-gd (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php5-mcrypt:
php5-mcrypt depends on phpapi-20060613+lfs; however:
Package phpapi-20060613+lfs is not installed.
Package libapache2-mod-php5 which provides phpapi-20060613+lfs is not configured yet.
Package php5-cli which provides phpapi-20060613+lfs is not configured yet.
Package php5-cgi which provides phpapi-20060613+lfs is not configured yet.
dpkg: error processing php5-mcrypt (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php5-mysql:
php5-mysql depends on phpapi-20060613+lfs; however:
Package phpapi-20060613+lfs is not installed.
Package libapache2-mod-php5 which provides phpapi-20060613+lfs is not configured yet.
Package php5-cli which provides phpapi-20060613+lfs is not configured yet.
Package php5-cgi which provides phpapi-20060613+lfs is not configured yet.
dpkg: error processing php5-mysql (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of phpmyadmin:
phpmyadmin depends on libapache2-mod-php5 | libapache-mod-php5 | php5-cgi | php5 | libapache2-mod-php4 | libapache-mod-php4 | php4 | php4-cgi; however:
Package libapache2-mod-php5 is not configured yet.
Package libapache-mod-php5 is not installed.
Package php5-cgi is not configured yet.
Package php5 is not configured yet.
Package libapache2-mod-php4 is not installed.
Package libapache-mod-php4 is not installed.
Package php4 is not installed.
Package php4-cgi is not installed.
phpmyadmin depends on php5-mysql | php5-mysqli | php4-mysql; however:
Package php5-mysql is not configured yet.
Package php5-mysqli is not installed.
Package php4-mysql is not installed.
phpmyadmin depends on php5-mcrypt | php4-mcrypt; however:
Package php5-mcrypt is not configured yet.
Package php4-mcrypt is not installed.
dpkg: error processing phpmyadmin (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libapache2-mod-php5
php5-cgi
php5
php5-cli
php5-gd
php5-mcrypt
php5-mysql
phpmyadmin
E: Sub-process /usr/bin/dpkg returned an error code (1)
Kodėl man neleidžia įrašyti
phpmyadmin, apache?