New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paket init in "magic" mode deletes paket.exe #2451

rmunn opened this Issue Jun 21, 2017 · 1 comment


None yet
2 participants

rmunn commented Jun 21, 2017


When you set up the Paket bootstrapper to run in "Magic mode" and then run paket init, it deletes the paket.exe file.

Repro steps

  1. On Linux, create an empty folder to represent a brand-new project: mkdir $HOME/bugrepro
  2. mkdir $HOME/bugrepro/.paket
  3. Download the Paket bootstrapper and put it in $HOME/bugrepro/.paket/paket.exe
  4. Run mono $HOME/bugrepro/.paket/paket.exe init
  5. Result: the paket.exe file disappears from $HOME/bugrepro/.paket/ and you can't run any further Paket commands!
  6. The only thing remaining in the .paket/ folder after these steps is the paket.targets file.

Expected behavior

The paket.exe file stays where the user put it.

Actual behavior

The paket.exe file disappears.

Known workarounds

After paket.exe disappears, if you look in the /tmp folder, you can find paket_(hash).exe and copy that into your .paket folder as paket.exe. But an F# beginner won't know to look there.

System information

OS: Linux Mint 18.1 Serena (based on Ubuntu 16.04 Xenial)
Paket version: 5.1.7


This comment has been minimized.

Show comment
Hide comment

forki Jun 21, 2017


Marked as up-for-grabs


forki commented Jun 21, 2017

Marked as up-for-grabs

lexarchik pushed a commit to lexarchik/Paket that referenced this issue Jun 24, 2017

@forki forki closed this Jun 25, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment