Skip to content
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

opam remove ignores $OPAMAUTOREMOVE #4217

Closed
pirbo opened this issue Jun 2, 2020 · 1 comment · Fixed by #4219
Closed

opam remove ignores $OPAMAUTOREMOVE #4217

pirbo opened this issue Jun 2, 2020 · 1 comment · Fixed by #4219
Milestone

Comments

@pirbo
Copy link

pirbo commented Jun 2, 2020

# opam config report
# opam-version      2.0.5 
# self-upgrade      no
# system            arch=x86_64 os=linux os-distribution=debian os-version=10
# solver            builtin-mccs+glpk
# install-criteria  -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria  -removed,-count[version-lag,solution],-new
# jobs              7
# repositories      1 (http), 3 (version-controlled) (default repo at eaaaab1a)
# pinned            0
# current-switch    4.09.1+flambda

In a fresh switch, I opam install --unset-root re
But then

$ OPAMAUTOREMOVE=yes opam remove
Nothing to do.

whereas

$ opam remove -a
The following actions will be performed:
  ⊘ remove re   1.9.0
  ⊘ remove seq  base
  ⊘ remove dune 2.5.1
===== ⊘ 3 =====
Do you want to continue? [Y/n] 
@rjbou
Copy link
Collaborator

rjbou commented Jun 2, 2020

From a bisect, seems that it is not handled since 5 years :D
Thanks for the report!

@rjbou rjbou added this to the 2.1.0~alpha2 milestone Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants