Magento Forum

   
Page 1 of 2
Update fail via Connect
 
Ivan AVS
Jr. Member
 
Total Posts:  16
Joined:  2010-04-26
 

i’ve moved store from one server (win2008 test) to another (centos soon to be production) via FTP and tried to update magento 1.5.0.0 (version is fully functional) via connect using http://connect20.magentocommerce.com/community/Mage_All_Latest, but i’ve got tons of errors listed below. What to do?

Checking dependencies of packages
Already installed
community/Lib_LinLibertineFont 2.8.14.0skipping
Already installed
community/Lib_Phpseclib 1.5.0.0skipping
Already installed
community/Mage_Locale_en_US 1.5.0.0skipping
Already installed
community/Lib_Mage 1.5.0.0skipping

CONNECT ERROR
Package 'Mage_All_Latest' is invalid
'./pkginfo/Mage_All_Latest.txt' already exists
Package 
'Interface_Adminhtml_Default' is invalid
'./app/design/adminhtml/default/default/layout/admin.xml' already exists
Package 
'Interface_Frontend_Default' is invalid
'./app/design/frontend/default/default/etc/widget.xml' already exists
Package 
'Interface_Install_Default' is invalid
'./app/design/install/default/default/layout/main.xml' already exists
Package 
'Mage_Downloader' is invalid
'./downloader/js/prototype.js' already exists
Package 
'Mage_Centinel' is invalid
'./app/code/core/Mage/Centinel/Block/Adminhtml/Validation/Form.php' already exists
Package 
'Interface_Frontend_Base_Default' is invalid
'./app/design/frontend/base/default/etc/widget.xml' already exists
Package 
'Phoenix_Moneybookers' is invalid
'./app/code/community/Phoenix/Moneybookers/Block/Form.php' already exists
Package 
'Find_Feed' is invalid
'./app/code/community/Find/Feed/Block/Adminhtml/Edit/Codes/Edit/Form.php' already exists
Package 
'Mage_Compiler' is invalid
'./app/code/core/Mage/Compiler/Block/Process.php' already exists
Package 
'Magento_Mobile' is invalid
'./skin/adminhtml/default/default/images/xmlconnect/design_default/accordion_open.png' already exists
Package 
'Mage_Core_Adminhtml' is invalid
'./app/code/core/Mage/Adminhtml/Block/Abstract.php' already exists
Package 
'Mage_Core_Modules' is invalid
'./app/code/core/Mage/Admin/Model/Acl/Assert/Ip.php' already exists
Package 
'Lib_Js_Ext' is invalid
'./js/extjs/css/README.txt' already exists
Package 
'Lib_Js_TinyMCE' is invalid
'./js/tiny_mce/classes/AddOnManager.js' already exists
Package 
'Lib_Varien' is invalid
'./lib/Varien/Autoload.php' already exists
Package 
'Lib_Google_Checkout' is invalid
'./lib/googlecheckout/googlecart.php' already exists
Package 
'Lib_Js_Calendar' is invalid
'./js/calendar/calendar-blue.css' already exists
Package 
'Lib_Js_Mage' is invalid
'./js/lib/FABridge.js' already exists
Package 
'Lib_ZF' is invalid
'./lib/Zend/Acl/Assert/Interface.php' already exists
Package 
'Lib_Js_Prototype' is invalid
'./js/prototype/debug.js' already exists
Package 
'Lib_ZF_Locale' is invalid
'./lib/Zend/Locale/Data/Translation.php' already exists

Image Attachments
mage_todo.jpg
 
Magento Community Magento Community
Magento Community
Magento Community
 
Ivan AVS
Jr. Member
 
Total Posts:  16
Joined:  2010-04-26
 

Screen-shot of installed extensions.

Image Attachments
mage_installed.jpg
 
Magento Community Magento Community
Magento Community
Magento Community
 
davidselo
Jr. Member
 
Total Posts:  16
Joined:  2010-10-27
 

i have the same problem. how to solve it??

 
Magento Community Magento Community
Magento Community
Magento Community
 
Piedro
Jr. Member
 
Total Posts:  14
Joined:  2008-03-30
 

Obviously a lot of people have this problem!
Me too!

How to update or upgrade now?

 
Magento Community Magento Community
Magento Community
Magento Community
 
furnitureforyoultd
Enthusiast
 
Total Posts:  833
Joined:  2009-03-09
 

To allow MCM to overwrite existing files you need to edit this file:

downloader\lib\Mage\Connect\Validator.php

and remove this part:

if (file_exists($dest)) {
                $this
->addError("'{$file}' already exists");
                return 
false;
            
}

which is right at the bottom of the file

If installation fails you will need to re-edit the file as it will be replaced by the version just downloaded

 
Magento Community Magento Community
Magento Community
Magento Community
 
Silwing
Jr. Member
 
Total Posts:  6
Joined:  2010-10-01
 
furnitureforyoultd - 31 March 2011 12:33 PM

To allow MCM to overwrite existing files you need to edit this file:

downloader\\lib\\Mage\\Connect\\Validator.php

and remove this part:

if (file_exists($dest)) {
                $this
->addError(\"\'{$file}\' already exists\");
                return 
false;
            
}

which is right at the bottom of the file

If installation fails you will need to re-edit the file as it will be replaced by the version just downloaded

Worked perfectly for me :D thanks!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sowmya M N
Jr. Member
 
Total Posts:  16
Joined:  2009-06-03
 

Where is lib folder in app/downmloader/ ? I didn’t get this folder.

 
Magento Community Magento Community
Magento Community
Magento Community
 
furnitureforyoultd
Enthusiast
 
Total Posts:  833
Joined:  2009-03-09
 

The lib folder is only in the new magento connect 1.5 package, if you’re using the one packed with 1.4.2 and under then it won’t work (however I don’t believe previous versions had problems overwriting files anyway)

 
Magento Community Magento Community
Magento Community
Magento Community
 
mixJ2O
Jr. Member
 
Total Posts:  2
Joined:  2010-03-23
 

Thanks, this worked for me when trying to upgrade from 1.5.1.0-rc1 to 1.5.1.0 stable

 
Magento Community Magento Community
Magento Community
Magento Community
 
Ross
Guru
 
Avatar
Total Posts:  336
Joined:  2007-08-31
Scarborough, North Yorkshire, UK
 

Try the following to force the install:

./mage mage-setup .
./
mage sync
./mage install http://connect20.magentocommerce.com/community Mage_All_Latest --force

 
Magento Community Magento Community
Magento Community
Magento Community
 
tizimazza
Jr. Member
 
Total Posts:  9
Joined:  2010-06-11
 
furnitureforyoultd - 31 March 2011 12:33 PM

To allow MCM to overwrite existing files you need to edit this file:

downloader\lib\Mage\Connect\Validator.php

and remove this part:

if (file_exists($dest)) {
                $this
->addError("'{$file}' already exists");
                return 
false;
            
}

which is right at the bottom of the file

If installation fails you will need to re-edit the file as it will be replaced by the version just downloaded

Thanks a lot.. it solved my problems ... i was lookking for this solution for 6 months

 
Magento Community Magento Community
Magento Community
Magento Community
 
pradeep_kumar67
Sr. Member
 
Avatar
Total Posts:  160
Joined:  2010-06-24
Bangalore
 
furnitureforyoultd - 31 March 2011 12:33 PM

To allow MCM to overwrite existing files you need to edit this file:

downloader\lib\Mage\Connect\Validator.php

and remove this part:

if (file_exists($dest)) {
                $this
->addError("'{$file}' already exists");
                return 
false;
            
}

which is right at the bottom of the file

If installation fails you will need to re-edit the file as it will be replaced by the version just downloaded

Its Working Fine Thanks a lot

 
Magento Community Magento Community
Magento Community
Magento Community
 
haligonia
Sr. Member
 
Total Posts:  97
Joined:  2009-02-28
 
furnitureforyoultd - 31 March 2011 12:33 PM

To allow MCM to overwrite existing files you need to edit this file:

downloader\lib\Mage\Connect\Validator.php

and remove this part:

if (file_exists($dest)) {
                $this
->addError("'{$file}' already exists");
                return 
false;
            
}

which is right at the bottom of the file

If installation fails you will need to re-edit the file as it will be replaced by the version just downloaded

Sweet. That works.

 
Magento Community Magento Community
Magento Community
Magento Community
 
annoncesauto
Jr. Member
 
Total Posts:  1
Joined:  2012-06-21
 

thanks it worked wink

 
Magento Community Magento Community
Magento Community
Magento Community
 
soltuionhunter
Jr. Member
 
Total Posts:  6
Joined:  2012-05-12
 

This worked for me upgrading to from 1.6.0 to 1.7.0.1 too, thank you!!

 
Magento Community Magento Community
Magento Community
Magento Community
 
bl3_UK
Jr. Member
 
Total Posts:  19
Joined:  2012-07-05
 

I’m going from 1.6.2 to 1.7.

I removed that php from /downloader/lib/Mage/Connect/validator.php and still get the error on upgrade?

CONNECT ERROR - package conflicts with…

What could be wrong, file perms maybe?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
Page 1 of 2