Lieber Besucher, herzlich willkommen bei: sourceserver.info. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
Quellcode |
|
1 |
apt-get install phpmyadmin |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
An error occurred while removing the database: â â ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using â password: YES) â â For some reason it was not possible to perform some of the actions â necessary to remove the database for phpmyadmin. At this point you have â two options: you can find out what has caused this error and fix it, or â you can refuse the offer for help removing the database (the latter â implies you will have to remove the database manually). â â If at this point you choose "retry", you will be prompted with all the â configuration questions once more and another attempt will be made at â performing the operation. "retry (skip questions)" will immediately â attempt the operation again, skipping all questions. If you choose â "abort", the operation will fail and you will need to downgrade, â reinstall, reconfigure this package, or otherwise manually intervene to â continue using it. â â <Ok> |
Quellcode |
|
1 2 |
cat /proc/version Linux version 2.6.32-5-amd64 (Debian 2.6.32-39squeeze1) (dannf@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Mon Jan 9 20:49:59 UTC 2012 |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
The following packages will be REMOVED: phpmyadmin 0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded. Need to get 0 B of archives. After unpacking 17.7 MB will be freed. (Reading database ... 35829 files and directories currently installed.) Removing phpmyadmin ... /var/lib/dpkg/info/phpmyadmin.prerm: line 5: /usr/share/dbconfig-common/dpkg/prerm.mysql: No such file or directory dpkg: error processing phpmyadmin (--remove): subprocess installed pre-removal script returned error exit status 1 configured to not write apport reports /var/lib/dpkg/info/phpmyadmin.postinst: line 35: /usr/share/dbconfig-common/dpkg/postinst.mysql: No such file or directory dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: phpmyadmin E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
An error occurred while removing the database: â â ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using â password: YES) â â For some reason it was not possible to perform some of the actions â necessary to remove the database for phpmyadmin. At this point you have â two options: you can find out what has caused this error and fix it, or â you can refuse the offer for help removing the database (the latter â implies you will have to remove the database manually). â â If at this point you choose "retry", you will be prompted with all the â configuration questions once more and another attempt will be made at â performing the operation. "retry (skip questions)" will immediately â attempt the operation again, skipping all questions. If you choose â "abort", the operation will fail and you will need to downgrade, â reinstall, reconfigure this package, or otherwise manually intervene to â continue using it. â â <Ok> |
Warum nimmst das alte phpMyAdmin System aus dem Debian Repos?
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
apt-get autoremove --purge phpmyadmin Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: phpmyadmin* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 17.7 MB disk space will be freed. Do you want to continue [Y/n]? Y (Reading database ... 35829 files and directories currently installed.) Removing phpmyadmin ... /var/lib/dpkg/info/phpmyadmin.prerm: line 5: /usr/share/dbconfig-common/dpkg/prerm.mysql: No such file or directory dpkg: error processing phpmyadmin (--purge): subprocess installed pre-removal script returned error exit status 1 configured to not write apport reports /var/lib/dpkg/info/phpmyadmin.postinst: line 35: /usr/share/dbconfig-common/dpkg/postinst.mysql: No such file or directory dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: phpmyadmin E: Sub-process /usr/bin/dpkg returned an error code (1) root@rs206395:/home# dpkg --force-all -r phpmyadmin (Reading database ... 35829 files and directories currently installed.) Removing phpmyadmin ... /var/lib/dpkg/info/phpmyadmin.prerm: line 5: /usr/share/dbconfig-common/dpkg/prerm.mysql: No such file or directory dpkg: error processing phpmyadmin (--remove): subprocess installed pre-removal script returned error exit status 1 /var/lib/dpkg/info/phpmyadmin.postinst: line 35: /usr/share/dbconfig-common/dpkg/postinst.mysql: No such file or directory dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: phpmyadmin |
Quellcode |
|
1 2 3 4 5 |
mysql> mysql use -> update user set password=PASSWORD("") where user='root'; ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysql use update user set password=PASSWORD("") where user='root'' at line 1 mysql> |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
aptitude purge phpmyadmin The following packages will be REMOVED: phpmyadmin{p} 0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded. Need to get 0 B of archives. After unpacking 17.7 MB will be freed. Do you want to continue? [Y/n/?] Y (Reading database ... 35829 files and directories currently installed.) Removing phpmyadmin ... /var/lib/dpkg/info/phpmyadmin.prerm: line 5: /usr/share/dbconfig-common/dpkg/prerm.mysql: No such file or directory dpkg: error processing phpmyadmin (--purge): subprocess installed pre-removal script returned error exit status 1 configured to not write apport reports /var/lib/dpkg/info/phpmyadmin.postinst: line 35: /usr/share/dbconfig-common/dpkg/postinst.mysql: No such file or directory dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: phpmyadmin E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
# phpMyAdmin default Apache configuration Alias /phpmyadmin /usr/share/phpmyadmin <Directory /usr/share/phpmyadmin> Options Indexes FollowSymLinks DirectoryIndex index.php <IfModule mod_php5.c> AddType application/x-httpd-php .php php_flag magic_quotes_gpc Off php_flag track_vars On php_flag register_globals Off php_value include_path . </IfModule> </Directory> # Authorize for setup <Directory /usr/share/phpmyadmin/setup> <IfModule mod_authn_file.c> AuthType Basic AuthName "phpMyAdmin Setup" AuthUserFile /etc/phpmyadmin/htpasswd.setup </IfModule> Require valid-user </Directory> # Disallow web access to directories that don't need it <Directory /usr/share/phpmyadmin/libraries> Order Deny,Allow Deny from All </Directory> <Directory /usr/share/phpmyadmin/setup/lib> Order Deny,Allow Deny from All </Directory> |
Zitat
/var/lib/dpkg/info/phpmyadmin.prerm
Diese Zeilen auskommentieren:
Code: Alles auswählen
Quellcode
1 2 3 4 5 . /usr/share/debconf/confmodule . /usr/share/dbconfig-common/dpkg/prerm.mysql if ! dbc_go phpmyadmin $@ ; then echo 'Automatic configuration using dbconfig-common failed!' fi
Danach mit "dpkg -P phpmyadmin" durchlaufen.
Unter /var/lib/dpkg/info herum fummeln kann boese enden.
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Blacksilver« (23. Juni 2013, 05:50)