Skip to content

manifests not added to gc if two instances of package manger running at same time #838

@adamsiembida

Description

@adamsiembida

I'm having an issue where projects are not showing up as "active manifests" when I run gc. It is my understanding that any projects created should show up under gc as active manifests until they are deleted from the filesystem.

I'm using Windows 10.

The problem seems to occur when two instances of the juila console are used at the same time:

  1. Start a julia console using the desktop shortcut that was created during installation.
  2. Start the package manager ]and create a new shared environment activate --shared test1.
  3. Add a package to the test1 project add DSP.
  4. Open up a second terminal in the same manner, without closing the first one.
  5. Inside that terminal create another shared environment called test2. ]then activate --shared test2.
  6. [edit] Add a package to the test2 project add DSP.
  7. Close both terminals.
  8. Open a new terminal in the same manner as before, and enter the package manger ].
  9. Type gc.

At this point I would expect both test1 and test2 to show up under the gc's "active manifests" heading, but only test1 is showing up.

I did some more testing and tried deleting test1 from my filesystem. I ran the gc command, and the package manager deleted the DSP and dependent packages from my computer, even though test2 is still using it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions