Package removed after trying to update them

I installed Racket from git HEAD. When I tried to update some packages, the process failed in the middle so the packages got removed in the end. Has anyone encountered similar problems?

I am not sure why gui-easy-lib appeared twice in the updating list. Could that be the problem?

● [Nov20 22:35:12] $ raco pkg update -j 1 rhombus-prototype gui-easy gui-lib rosette drracket typed-racket-lib
00: Resolving "rhombus-prototype" via https://pkgs.racket-lang.org
01: Resolving "gui-easy" via https://pkgs.racket-lang.org
02: Resolving "gui-lib" via https://pkgs.racket-lang.org
03: Resolving "rosette" via https://pkgs.racket-lang.org
04: Resolving "drracket" via https://pkgs.racket-lang.org
Resolving "typed-racket-lib" via https://pkgs.racket-lang.org
Updating:
  rosette
  typed-racket-lib
  drracket
  rhombus-prototype
  gui-easy
  gui-lib
Downloading repository git://github.com/emina/rosette commit 63524aa7fe03990ccdd6be7de38504422b05c5a9
Downloading repository git://github.com/racket/typed-racket/?path=typed-racket-lib commit 8c55c1fb76d41c1af2b7840bc6fac3c8d302f663
Downloading repository git://github.com/racket/drracket/?path=drracket commit 6257cb8e6b9ac824ca103147ed487a39bb590c1c
Downloading repository https://github.com/racket/rhombus-prototype.git commit b2c8470b274876997d0fbf3651e93bdadfa88fa8
Downloading repository https://github.com/Bogdanp/racket-gui-easy.git?path=gui-easy commit 11868784629017d8422156cf06854dd58c524d58
Downloading repository git://github.com/racket/gui/?path=gui-lib commit 35195ceea5cb36fd53407febba9097fe4bb4e3cc
Resolving "drracket-plugin-lib" via https://pkgs.racket-lang.org
Resolving "drracket-tool-lib" via https://pkgs.racket-lang.org
The following out-of-date packages are listed as dependencies of drracket
and they will be automatically updated:
   drracket-plugin-lib
   drracket-tool-lib
Using cached17005413571700541357062 for git://github.com/racket/drracket/?path=drracket-plugin-lib
Using cached17005413571700541357062 for git://github.com/racket/drracket/?path=drracket-tool-lib
Resolving "drracket-tool-text-lib" via https://pkgs.racket-lang.org
The following out-of-date packages are listed as dependencies of drracket-tool-lib
and they will be automatically updated:
   drracket-tool-text-lib
Using cached17005413571700541357062 for git://github.com/racket/drracket/?path=drracket-tool-text-lib
Resolving "gui-easy-lib" via https://pkgs.racket-lang.org
The following out-of-date packages are listed as dependencies of gui-easy
and they will be automatically updated:
   gui-easy-lib
   gui-easy-lib
Using cached17005413591700541359311 for https://github.com/Bogdanp/racket-gui-easy.git?path=gui-easy-lib
Uninstalling to prepare re-install of rosette
Moving rosette to trash: <PATH>
Uninstalling to prepare re-install of typed-racket-lib
Moving typed-racket-lib to trash: <PATH>
Uninstalling to prepare re-install of drracket
Moving drracket to trash: <PATH>
Uninstalling to prepare re-install of rhombus-prototype
Moving rhombus-prototype to trash: <PATH>
Uninstalling to prepare re-install of gui-easy
Moving gui-easy to trash: <PATH>
Uninstalling to prepare re-install of gui-lib
Moving gui-lib to trash: <PATH>
Uninstalling to prepare re-install of drracket-plugin-lib
Moving drracket-plugin-lib to trash: <PATH>
Uninstalling to prepare re-install of drracket-tool-lib
Moving drracket-tool-lib to trash: <PATH>
Uninstalling to prepare re-install of drracket-tool-text-lib
Moving drracket-tool-text-lib to trash: <PATH>
Uninstalling to prepare re-install of gui-easy-lib
Moving gui-easy-lib to trash: <PATH>
Uninstalling to prepare re-install of gui-easy-lib
raco pkg update: package not currently installed
  package: gui-easy-lib
  current scope: installation

Not sure what the issue is, but I’ve occasionally had issues updating gui-easy by doing raco pkg update gui-easy. Using gui-easy-lib as the name sometimes helps. But there shouldn’t be anything special about the way it’s configured relative to other packages that use that split, so I’m not really sure what’s happening.

Thanks a lot! I guess it's not just me having this issue.

I opened an issue and @ Bogdanp has updated the dependency list since, so hopefully raco pkg update gui-easy now works.

raco pkg update gui-easy should be working now. @ Bogdanp has updated the package dependency to avoid duplication.

1 Like

Great! That also motivated me to notice new GUI Easy features :slight_smile: