Try the Demo

Magento Forum

   
Page 1 of 2
PEAR ERROR: install failed
 
Nightsky
Jr. Member
 
Total Posts:  1
Joined:  2009-04-02
Germany
 

Hello,

I tried to Upgrade my 1.2.1.2 to the 1.3.0 by the MagentoConnectManager but it didn’t work.
extension key: magento-core/Mage_All_Latest

I got this error:
No valid packages found
PEAR ERROR: install failed

My system:
Windows XP 64Bit
xxamp 1.7.0 (PHP Version 5.2.8; Apache/2.2.11; MySQL-Client-Version: 5.0.51a)

Complete output:
No releases for package “magento-core/Mage_Core_Modules” exist
No releases for package “magento-core/Interface_Adminhtml_Default” exist
No releases for package “magento-core/Interface_Frontend_Default” exist
No releases for package “magento-core/Interface_Install_Default” exist
No releases for package “magento-core/Mage_Downloader” exist
No releases for package “magento-core/Mage_Core_Modules” exist
No releases for package “magento-core/Lib_Js_Calendar” exist
No releases for package “magento-core/Lib_Js_Ext” exist
magento-core/Mage_All_Latest requires package “magento-core/Mage_Core_Modules” (version >= 1.3.0, version <= 1.3.0)
magento-core/Mage_All_Latest requires package “magento-core/Interface_Adminhtml_Default” (version >= 1.3.0, version <= 1.3.0)
magento-core/Mage_All_Latest requires package “magento-core/Interface_Frontend_Default” (version >= 1.3.0, version <= 1.3.0)
magento-core/Mage_All_Latest requires package “magento-core/Interface_Install_Default” (version >= 1.3.0, version <= 1.3.0)
magento-core/Mage_All_Latest requires package “magento-core/Mage_Downloader” (version >= 1.2.1, version <= 1.2.1)
magento-core/Mage_Core_Adminhtml requires package “magento-core/Mage_Core_Modules” (version >= 1.3.0, version <= 1.3.0)
magento-core/Mage_Core_Adminhtml requires package “magento-core/Lib_Js_Calendar” (version >= 1.2.0, version <= 1.2.0)
magento-core/Mage_Core_Adminhtml requires package “magento-core/Lib_Js_Ext” (version >= 1.0.18800, version <= 1.0.18800)
Install Errors
No valid packages found
PEAR ERROR: install failed

 
Magento Community Magento Community
Magento Community
Magento Community
 
motau
Jr. Member
 
Total Posts:  3
Joined:  2008-10-06
 

I ve got almost the same error when trying to upgrade from 1.2.1 to 1.3

The 1.3 version of Lib_Varien and Lib_Js_Mage has been completed.

But the core modules (Mage_Core_Modules) failed.

Anyone you can help me?

Thankyou.

 
Magento Community Magento Community
Magento Community
Magento Community
 
motau
Jr. Member
 
Total Posts:  3
Joined:  2008-10-06
 

I ve got almost the same error when trying to upgrade from 1.2.1 to 1.3

The 1.3 version of Lib_Varien and Lib_Js_Mage has been completed.

But the core modules (Mage_Core_Modules) failed.

Anyone who can help me?

Thankyou.

 
Magento Community Magento Community
Magento Community
Magento Community
 
hridaya
Member
 
Avatar
Total Posts:  63
Joined:  2009-02-04
Nepal
 

I ve also got almost the same error when trying to upgrade from 1.2.1 to 1.3
This is the erro i got:

magento-core/Mage_All_Latest requires package “magento-core/Mage_Downloader” (version >= 1.2.1, version <= 1.2.1), installed version is 1.2.0
magento-core/Mage_Core_Modules requires package “magento-core/Lib_Js_Mage” (version >= 1.3.0, version <= 1.3.1, excluded versions: 1.3.1), installed version is 1.2.1
magento-core/Mage_Core_Adminhtml requires package “magento-core/Mage_Core_Modules” (version >= 1.3.0, version <= 1.3.0)
magento-core/Interface_Adminhtml_Default requires package “magento-core/Mage_Core_Adminhtml” (version >= 1.3.0, version <= 1.3.0)
magento-core/Interface_Frontend_Default requires package “magento-core/Mage_Core_Modules” (version >= 1.3.0, version <= 1.3.0)
magento-core/Interface_Install_Default requires package “magento-core/Mage_Core_Modules” (version >= 1.3.0, version <= 1.3.1, excluded versions: 1.3.1)
Install Errors
No valid packages found
PEAR ERROR: install failed

Anyone who can help me?

Thankyou.

 Signature 

http://hridaya.com.np

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sindre|ProperHost
Enthusiast
 
Avatar
Total Posts:  928
Joined:  2008-04-24
 

@Nightsky and others that get the “No valid packages found” error, do you have SSH access? Try to run the following commands from the Magento root directory:

./pear mage-setup .
./
pear install magento-core/Mage_All_Latest

@Hridaya: are you using the web-based Magento Connect Manager? Paste “magento-core/Mage_Downloader” in the Extension Key field and click Install. When it has completed, try again with “magento-core/Mage_All_Latest”.

If you get any other “package_xxx requires package package_yyy” type of warnings, first install the package_yyy to solve the dependencies, then try again.

 Signature 

Professional Magento Optimized Web Hosting
Magento Web Hosting - Reseller Plans - Dedicated Servers
Providing high-performance Magento hosting since 2008.
50% Off First Month: use coupon code: “magentocommerce”

 
Magento Community Magento Community
Magento Community
Magento Community
 
hridaya
Member
 
Avatar
Total Posts:  63
Joined:  2009-02-04
Nepal
 

Thanks Sindre|ProperHost for the reply..
I have the SSH access and when i try with this

./pear mage-setup .
./pear install magento-core/Mage_All_Latest

Now its work .

Thanks

 Signature 

http://hridaya.com.np

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sindre|ProperHost
Enthusiast
 
Avatar
Total Posts:  928
Joined:  2008-04-24
 

Great! smile Glad I could be of help.

 Signature 

Professional Magento Optimized Web Hosting
Magento Web Hosting - Reseller Plans - Dedicated Servers
Providing high-performance Magento hosting since 2008.
50% Off First Month: use coupon code: “magentocommerce”

 
Magento Community Magento Community
Magento Community
Magento Community
 
freshshoot
Jr. Member
 
Total Posts:  1
Joined:  2009-04-16
 

[root@xxxxxxx public_html]# ./pear install magento-core/Mage_All_Latest

No releases available for package “connect.magentocommerce.com/core/Mage_All_Latest”
Cannot initialize ‘channel://connect.magentocommerce.com/core/Mage_All_Latest’, invalid or missing package file
Package “channel://connect.magentocommerce.com/core/Mage_All_Latest” is not valid

??? Any ideas, same with all other packages.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sindre|ProperHost
Enthusiast
 
Avatar
Total Posts:  928
Joined:  2008-04-24
 

@freshshoot: try this first:

./pear mage-setup .

 Signature 

Professional Magento Optimized Web Hosting
Magento Web Hosting - Reseller Plans - Dedicated Servers
Providing high-performance Magento hosting since 2008.
50% Off First Month: use coupon code: “magentocommerce”

 
Magento Community Magento Community
Magento Community
Magento Community
 
pinky72
Jr. Member
 
Total Posts:  13
Joined:  2008-12-15
 

Problems ...  I need to solve the issue .... when I click on check for upgrades ....

Exception caught:


Warningin_array() [function.in-array]Wrong datatype for second argument in /chroot/home/efigaroi/e-figaro.it/html/efigaro/downloader/pearlib/php/PEAR/REST/10.php on line 671


Backtrace
:
#0 /chroot/home/efigaroi/e-figaro.it/html/efigaro/downloader/pearlib/php/PEAR/REST/10.php(671): mageCoreErrorHandler(2, 'in_array() [listLatestUpgrades('stable', false)
#2 /chroot/home/efigaroi/e-figaro.it/html/efigaro/downloader/pearlib/php/PEAR/Command/Common.php(285): PEAR_Command_Remote->doListUpgrades('http://connect....', 'stable', Array, 'connect.magento...', Object(Maged_Pear_Registry))
#3 /chroot/home/efigaroi/e-figaro.it/html/efigaro/downloader/Maged/Pear.php(234): PEAR_Command_Common->run('list-upgrades', Array, Array)
#4 /chroot/home/efigaroi/e-figaro.it/html/efigaro/downloader/Maged/Model/Pear.php(100): Maged_Pear->run('list-upgrades', Array, Array)
#5 /chroot/home/efigaroi/e-figaro.it/html/efigaro/downloader/template/pear/packages.phtml(49): Maged_Model_Pear->getAllPackages('list-upgrades', Array)
#6 /chroot/home/efigaroi/e-figaro.it/html/efigaro/downloader/Maged/View.php(59): include('/chroot/home/ef...')
#7 /chroot/home/efigaroi/e-figaro.it/html/efigaro/downloader/Maged/Controller.php(113): Maged_View->template()
#8 /chroot/home/efigaroi/e-figaro.it/html/efigaro/downloader/Maged/Controller.php(355): Maged_Controller->pearPackagesAction('pear/packages.p...')
#9 /chroot/home/efigaroi/e-figaro.it/html/efigaro/downloader/Maged/Controller.php(170): Maged_Controller->dispatch()
#10 /chroot/home/efigaroi/e-figaro.it/html/efigaro/downloader/index.php(35): Maged_Controller::run()

Then .... i’m not able to install via SSH..... Mage_Core_Modules

$ ./pear upgrade  magento-core/Mage_All_Latest
downloading Mage_All_Latest
-1.3.1.tgz ...
Starting to download Mage_All_Latest-1.3.1.tgz (995 bytes)
....
done995 bytes
downloading Mage_Core_Modules
-1.3.1.tgz ...
Starting to download Mage_Core_Modules-1.3.1.tgz (1,584,952 bytes)
...
done1,584,952 bytes
ERROR
connect.magentocommerce.com/core/Mage_Core_Modules not installed
upgrade ok
channel://connect.magentocommerce.com/core/Mage_All_Latest-1.3.1

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sindre|ProperHost
Enthusiast
 
Avatar
Total Posts:  928
Joined:  2008-04-24
 

Try this:

./pear install -f magento-core/Mage_All_Latest

or

./pear install -f magento-core/Mage_Core_Modules

 Signature 

Professional Magento Optimized Web Hosting
Magento Web Hosting - Reseller Plans - Dedicated Servers
Providing high-performance Magento hosting since 2008.
50% Off First Month: use coupon code: “magentocommerce”

 
Magento Community Magento Community
Magento Community
Magento Community
 
pinky72
Jr. Member
 
Total Posts:  13
Joined:  2008-12-15
 

Thank you, it seems works properly ....

Regards, Roberto

 
Magento Community Magento Community
Magento Community
Magento Community
 
Hucks
Sr. Member
 
Total Posts:  150
Joined:  2009-02-28
 
Sindre|ProperHost - 10 April 2009 01:27 AM

@Nightsky and others that get the “No valid packages found” error, do you have SSH access? Try to run the following commands from the Magento root directory:

./pear mage-setup .
./
pear install magento-core/Mage_All_Latest

@Hridaya: are you using the web-based Magento Connect Manager? Paste “magento-core/Mage_Downloader” in the Extension Key field and click Install. When it has completed, try again with “magento-core/Mage_All_Latest”.

If you get any other “package_xxx requires package package_yyy” type of warnings, first install the package_yyy to solve the dependencies, then try again.

where is SSH i don´t know if i have it ot not.
and how do i run commands in root directory ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sindre|ProperHost
Enthusiast
 
Avatar
Total Posts:  928
Joined:  2008-04-24
 

Hucks: you should ask your host whether SSH access is available on your hosting plan. SSH is a command line interface against your server, where you can run basic unix commands. You need an SSH client in oder to connect, of which Putty is the most popular one.

Once you have connected to your server, you can change directories with the ‘cd’ command. For example, if your store is located in ‘public_html/magento’, you would type ‘cd public_html/magento’

PS: If you have no experience with Unix/Linux, I strongly advise you to read a few tutorials first, as you can very easily mess up your site if you don’t know what you are doing. In SSH, there is generally no ‘undo’ function.

 Signature 

Professional Magento Optimized Web Hosting
Magento Web Hosting - Reseller Plans - Dedicated Servers
Providing high-performance Magento hosting since 2008.
50% Off First Month: use coupon code: “magentocommerce”

 
Magento Community Magento Community
Magento Community
Magento Community
 
Hucks
Sr. Member
 
Total Posts:  150
Joined:  2009-02-28
 

hi my host dont give me acces but offer to run the commands,’

you said
./pear mage-setup .
./pear install magento-core/Mage_All_Latest

but will that fix it so i can use magento connect ?

best regards hucks Denmark

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sindre|ProperHost
Enthusiast
 
Avatar
Total Posts:  928
Joined:  2008-04-24
 

Hi Hucks,

Do you get any error messages currently with Magento Connect ? Please provide some more information about the problem, as it could be related to something else than the pear commands. Are you able to log in to the Magento Connect Manager at all?

 Signature 

Professional Magento Optimized Web Hosting
Magento Web Hosting - Reseller Plans - Dedicated Servers
Providing high-performance Magento hosting since 2008.
50% Off First Month: use coupon code: “magentocommerce”

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