drracket icon indicating copy to clipboard operation
drracket copied to clipboard

Update button doesn't appear to pass the same --deps argument as Do What I Mean

Open mister-walter opened this issue 1 year ago • 0 comments

I ran into this when updating the lsl package from commit a4ca8306 to commit f4edfabb. Between these commits, a new dependency was added to lsl-lib (which is a dependency of lsl). I went to the "Installed Packages" tab in the package manager, highlighted lsl and lsl-lib, and clicked "Update". This failed with the following:

drracket update: missing dependencies;
 specify `--deps search-auto' to install them, or
 specify `--deps search-ask' to be asked about installing them
  for package: lsl-lib
  missing packages:
   t-test

When I instead typed lsl in the "Do What I Mean" box and pressed Enter, the update completed successfully. It was not clear to me how to get the equivalent raco command for the "Update" button, but "Do What I Mean" does the following:

raco pkg update --deps search-auto --scope user lsl

I would have expected the Update button to either show a pop-up asking if I wanted to install the new dependencies, or just install them for me automatically (like "Do What I Mean" did).

DrRacket version 8.15, installed via the Arch Linux repo.

mister-walter avatar Jan 06 '25 14:01 mister-walter