انجمنهای فارسی اوبونتو
کمک و پشتیبانی => انجمن عمومی => نویسنده: alirezamm در 25 فروردین 1402، 12:30 بظ
-
با سلام
در عملکرد php admin خطا میدهد ...و در زمان فراخوان http://localhost/phpmyadmin
یک صفحه سفید ضاهر میشود ... برای نصب مجدد و یا حذف ...تلاش کردم متاسفاهنه نه حذف میشه نه چیزی خطا هم میده
alireza@OptiPlex-5090:~$ sudo apt remove phpmyadmin
Reading package lists... Done
Building dependency tree... Done
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, 36.5 MB disk space will be freed.
Do you want to continue? [Y/n] y
dpkg: warning: files list file for package 'mysql-apt-config' missing; assuming
package has no files currently installed
(Reading database ... 409842 files and directories currently installed.)
Removing phpmyadmin (4:5.1.1+dfsg1-5ubuntu1) ...
/var/lib/dpkg/info/phpmyadmin.postrm: 144: .: cannot open /usr/share/dbconfig-co
mmon/internal/mysql: No such file
dpkg: error processing package phpmyadmin (--remove):
installed phpmyadmin package post-removal script subprocess returned error exit
status 2
dpkg: too many errors, stopping
Errors were encountered while processing:
phpmyadmin
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
-
برای چی phpmyadmin رو میخوای؟ خیلی وقته منسوخ شده و کسی ازش استفاده نمیکنه.
-
برا یمشکلم که هنوز حل نشده و دارم .مرحله به مرحله میرم جلو ببینم چطور میشه حلشکرد که هر بار به یک دیوار میخورم ...
مشکل اصلی نصب ورد پرس هست که اصلا روی لوکال نصب نمیشه و بالا نمیاد و مشکلات واقعا اذیت کرده ...و واقعا بهش نیاز دارم
ممنون میشم راهنمایی بفرمایید ...شاید مسیر اشتباه هست
-
این هم نتیجه فراخوان ( PHP admin) ..بعد از نصب xampp در سیستم
-
وقتی میزنی sudo apt install wordpress چی میگه؟
طبق این عکس، نمیةونه به mysql وصل بشه. با زدن این چه پاسخی میگیری؟
$ sudo mysql -h localhost -u root
-
این پاسخ
alireza@OptiPlex-5090:~$ sudo mysql -h localhost -u root
[sudo] password for alireza:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 8
Server version: 8.0.32-0ubuntu0.22.04.2 (Ubuntu)
Copyright (c) 2000, 2023, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
-
و این پاسخ
alireza@OptiPlex-5090:~$ sudo apt install wordpress
[sudo] password for alireza:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libjs-cropper libjs-prototype libjs-scriptaculous php-getid3 vorbis-tools
wordpress-l10n wordpress-theme-twentytwentyone
Suggested packages:
php-com-dotnet php-rar php-sqlite3 php-ssh2
The following packages will be REMOVED:
phpmyadmin
The following NEW packages will be installed:
libjs-cropper libjs-prototype libjs-scriptaculous php-getid3 vorbis-tools
wordpress wordpress-l10n wordpress-theme-twentytwentyone
0 upgraded, 8 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/15.5 MB of archives.
After this operation, 49.3 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: warning: files list file for package 'mysql-apt-config' missing; assuming
package has no files currently installed
(Reading database ... 409840 files and directories currently installed.)
Removing phpmyadmin (4:5.1.1+dfsg1-5ubuntu1) ...
/var/lib/dpkg/info/phpmyadmin.postrm: 144: .: cannot open /usr/share/dbconfig-co
mmon/internal/mysql: No such file
dpkg: error processing package phpmyadmin (--remove):
installed phpmyadmin package post-removal script subprocess returned error exit
status 2
dpkg: too many errors, stopping
Errors were encountered while processing:
phpmyadmin
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
alireza@OptiPlex-5090:~$
-
اینم نتیجه با xampp هست ...
ببینید لطفا که .روتش درسته یا نه
-
به نظر جایی مخازن رو خراب کردی. سیستم میخواد بستهٔ mysql-apt-config رو نصب کنه؛ در حالی که اصلاً بستهای با این نام وچود نداره.
در ضمن به هیچ وجه نباید برنامههایی مثل xampp رو روی گنو/لینوکس نصب کنی.