rm: cannot remove '/var/www/html/phpMyAdmin-5.1.1-all-languages/vendor/twig/twig/src/TokenParser

shanky

Verified User
Joined
Dec 7, 2007
Messages
89
Hi!

When I run | ./build update_versions | I will get this error and update failed:

rm: cannot remove '/var/www/html/phpMyAdmin-5.1.1-all-languages/vendor/twig/twig/src/TokenParser': Directory not empty

Please help.
 
What is the OS and Version.

What does this do?
Code:
cd /usr/local/directadmin/custombuild
./build set_fastest
./build clean
./build clean_old_webapps
./build update
./build update_versions
 
You also might try

Code:
cd /usr/local/directadmin/custombuild
./build remove_items

Then update.
 
OS is : AlmaLinux release 8.5 (Arctic Sphynx)

Both are faild.

[root@powerplus custombuild]# ./build update_versions
error parsing config: field hide_brute_force_notifications: unexpeced value: 1
rm: cannot remove '/var/www/html/phpMyAdmin-5.1.1-all-languages/vendor/twig/twig/src/TokenParser': Directory not empty
error parsing config: field hide_brute_force_notifications: unexpeced value: 1
error parsing config: field hide_brute_force_notifications: unexpeced value: 1
error parsing config: field hide_brute_force_notifications: unexpeced value: 1
error parsing config: field hide_brute_force_notifications: unexpeced value: 1
error parsing config: field hide_brute_force_notifications: unexpeced value: 1
rm: cannot remove '/var/www/html/phpMyAdmin-5.1.1-all-languages/vendor/twig/twig/src/TokenParser': Directory not empty
rm: cannot remove '/var/www/html/phpMyAdmin-5.1.1-all-languages/vendor/twig/twig/src/TokenParser': Directory not empty
[root@powerplus custombuild]#

Thanks
 
Try this. Login as root via SSH then:
Code:
cd /var/www/html
rm -rf phpMyAdmin-5.1.1-all-languages
cd /usr/local/directadmin/custombuild
./build phpmyadmin
 
Thanks for your advice. I haven't tried it as I can delete that foldeer by doing this :

./build update
./build all d

It's completed but that folder is still existed and can't delete. Anyway I can't delete that folder.

Now,so surprised, I can delete this folder. I have no reason why and i haven't restart the box either. Hope nobody face this funny but headace case like me.

Thanks for All Support.
 
Back
Top