2

As the title says, I accidentally deleted /var/package/.

What kind of issues can this cause, is it possible to recover or rebuild the tree, and if so, how?

6
  • 1
    But, is it possible to recover all the xml package that were in the directory? If so, how?
    – WaPoNe
    Commented Aug 29, 2014 at 10:19
  • I don't think this is a duplicate! Commented Aug 29, 2014 at 10:27
  • WaPoNe, please edit the question and add this part about recovering. Commented Aug 29, 2014 at 10:28
  • WaPo, important distinction for a moment: Is this a hypothetical question about what might happen if you delete that directory, or are you asking for help because you did accidentally delete it and now aren't sure what might or might not break? Commented Aug 29, 2014 at 11:07
  • @FabianBlechschmidt: I added that part in my question.
    – WaPoNe
    Commented Aug 29, 2014 at 11:15

3 Answers 3

7

If you don't use magento connect, it doesn't matter, if you do, magento maybe forgets what is installed and which files are part of the package

2
  • upvote for you fabian
    – Amit Bera
    Commented Aug 29, 2014 at 10:38
  • 1
    And since Magento Connect is a horribly problematic piece of work, I only do manual installs, so I'd never miss it at all. And the package management often doesn't function well for the third party modules that would be my only interest in using Magento Connect given the full Magento upgrade failures where Connect has only partially updated stuff have put me off it indefinitely. Commented Aug 29, 2014 at 14:21
3

It contains information about extensions that are installed in your system. It is normally using by Magento Connect. You can delete all contents without any fear, if all extensions are working perfectly.

For more details, have a look on this thread

1
0

i guess it may be creating issue when you want to upgrade your magento system to upper version

or if want to update an module package then it create issue.

During time of upgradation it check package from here

3
  • 1
    only if you used magento connect, does it? Commented Aug 29, 2014 at 10:21
  • it must creating issue if magento is upgrading using connect manager.it may effect on other upgradation process.i am not sure about 100%
    – Amit Bera
    Commented Aug 29, 2014 at 10:25
  • Only issue is that it will be recreated if your third party module install has information to put in it, otherwise, no. Haven't seen a module installer that consults it before running the upgrade scripts. Commented Aug 29, 2014 at 14:25

Not the answer you're looking for? Browse other questions tagged or ask your own question.