when I try to do an upgrade of the core packages (I choose only metapackage Mage_All_Latest) by Magento Connect Manager it fails because it cannot delete pkginfo/Mage_All_Latest.txt. Mage_All_Latest.txt has permission 777 and the owner is the webserver.
I could imagine deletion fails because Mage_All_Latest.txt is not a file but an (empty) directory.
Meanwhile I know what to do (delete this directory manually before upgrade) but can anyone tell me the reason why this folder is created but no deleted correctly by Magento Connect Manager?
Is the upgrade still working through MagentoConnect?
From which version did you tried last time to upgrade and to which version?
thank you for reply, I completely missed my topic. Well, just tried to do the upgrade from 126.96.36.199 to 188.8.131.52.
Same problem still exists. Installer tries to delete "file" Mage_All_Latest.txt, but cannot.
As you can see in the screenshot from shell Mage_All_Latest.txt is not a file but an empty directory. After deleting it manually in shell, the update everytime works like a charme. Did not delete this time if you have a suggestion what I could try.
I just did the upgrade for security reasons (deleted the folder before) and again there is an empty folder Mage_All_Latest.txt after the upgrade.
You should not delete folder pgkinfo/mage_all_latest.
You should be able to uninstall it from Magento Connect, and then reinstall / upgrade other modules again that was not applied correclty in the upgrade.
Sorry, I am not sure if we understood each other correctly.
How and why should I uninstall the _folder_ Mage_All_Latest.txt in Magento Connect? Of course I have the Metapackage Mage_All_Latest. As far as I know this metagpackage is used to upgrade the whole Magento instance at once.
If there is an upgrade I choose only for this package "Upgrade to 1.9.3.x" and start the upgrade. The Upgrade fails with the error message above. I can try this upgrade as often as I want to without any changes (except maintenance mode stays enabled after first try).
The first error message is
"CONNECT ERROR: Failed to delete files: /var/www/.../Mage_All_Latest.txt"
This file is not a file but an empty folder and webserver has full permissions on it, so I guess the deletion fails because it probably does something like "rm Mage_All_Latest.txt" but it´s necessary to do "rmdir Mage_All_Latest.txt" or "rm Mage_All_Latest.txt -rf".
The following errors result in this first error.
So I delete this folder on my own ("by hand"). After that I try again "Upgrade to 1.9.3.x" and the upgrade does fine. But after the upgrade the is again a _folder_, not a _file_ Mage_All_Latest.txt and the next upgrade will go wrong again until I delete this folder again.
I don not know where this folder comes from and why it it a folder instead of a .txt file. The only thing I do is trying to upgrade the Metapackage Mage_All_Latest. Nothing else. No plugins, no folder creation by hand, nothing.
Am I doing something wrong?