Ivan AVS
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.0 , skipping Already installed : community / Lib_Phpseclib 1.5.0.0 , skipping Already installed : community / Mage_Locale_en_US 1.5.0.0 , skipping Already installed : community / Lib_Mage 1.5.0.0 , skipping 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
Click thumbnail to see full-size image
Signature
AVS - Daljinski upravljači - MojDaljinski.Rs
Posted: March 23 2011
| top
davidselo
Total Posts: 16
Joined: 2010-10-27
i have the same problem. how to solve it??
Posted: March 29 2011
| top
| # 2
Piedro
Total Posts: 14
Joined: 2008-03-30
Obviously a lot of people have this problem!
Me too!
How to update or upgrade now?
Posted: March 30 2011
| top
| # 3
furnitureforyoultd
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
Posted: March 31 2011
| top
| # 4
Silwing
Total Posts: 6
Joined: 2010-10-01
furnitureforyoultd - 31 March 2011 01: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!
Posted: April 6 2011
| top
| # 5
Sowmya M N
Total Posts: 16
Joined: 2009-06-03
Where is lib folder in app/downmloader/ ? I didn’t get this folder.
Posted: April 7 2011
| top
| # 6
furnitureforyoultd
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)
Posted: April 7 2011
| top
| # 7
J2O
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
Posted: May 22 2011
| top
| # 8
Ross
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
Signature
Ross Kendall - Web Developer - rosskendall.com - sparrowcreative.co.uk
Posted: July 21 2011
| top
| # 9
tizimazza
Total Posts: 9
Joined: 2010-06-11
furnitureforyoultd - 31 March 2011 01: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
Posted: August 30 2011
| top
| # 10
pradeep_kumar67
Total Posts: 136
Joined: 2010-06-24
Bangalore
furnitureforyoultd - 31 March 2011 01: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
Signature
Pradeep Kumar, Magento Developer in Bangalore India, Magento Programmer in Bangalore India, Magento Expert In Bangalore India, Magento Developer India , Magento Programmer India, Magento Expert India, http://pradeepkumarrcs.blogspot.in/ , linkedin.com
haligonia
Total Posts: 97
Joined: 2009-02-28
furnitureforyoultd - 31 March 2011 01: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.
annoncesauto
Total Posts: 1
Joined: 2012-06-21
thanks it worked
soltuionhunter
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!!
bl3_UK
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?