Zulip Chat Archive
Stream: lean4
Topic: Possible bug with lake update
Tomaz Gomes Mascarenhas (Dec 23 2022 at 01:26):
Hi, I don't think the behavior of lake update is correct in the following case:
- Create new project with
lake new test - Change
lakefile.leanto importstd4 - Run
lake updateto clonestd4into./lean_packages - Change
lakefile.leanto importmathlib4 - Run
lake updateto clonemathlib4into./lean_packages
this last command returns the following error:
error: cannot find revision master in repository ./lean_packages/std
Gabriel Ebner (Dec 23 2022 at 02:09):
If you still have the lean_packages directory then you have an old version of Lake/Lean. Please upgrade Lean. (if you depend on mathlib4, then you should use the same version as mathlib4)
Last updated: May 02 2025 at 03:31 UTC