ublue-os / fleek

[deprecated] Own your $HOME
https://getfleek.dev
Apache License 2.0
831 stars 27 forks source link

Error reading package cache on `fleek search` or `fleek add` #364

Closed kollienne closed 8 months ago

kollienne commented 8 months ago

After a fresh install using nix flakes fleek and helix appear to be installed and working, but fleek search and fleek add both produce errors.

bash-5.2$ FLEEK_DEBUG=1 fleek search neovim
DEBUG debug enabled 
DEBUG Loaded configuration location: .local/share/fleek
DEBUG git autopush: true autocommit: true autopull: true
 [*]  Search the package repository
DEBUG package cache dir: /var/home/kieran/.cache/fleek
▀  Reading package cache (0s)DEBUG updating package list 

ERROR Error reading package cache 
  ERROR   
  ERROR   Error: nix search: exit status 1
  ERROR   
 [d]  Command stderr: 

 [d]  
      ExecutionID:288b7e5b8c3a49e5a730a7fd64bb94cb

  ERROR   
  ERROR   Error: nix search: exit status 1
  ERROR   
 [d]  Command stderr: 

 [d]  
      ExecutionID:288b7e5b8c3a49e5a730a7fd64bb94cb
bash-5.2$ FLEEK_DEBUG=1 fleek add neovim
DEBUG debug enabled 
DEBUG Loaded configuration location: .local/share/fleek
DEBUG git autopush: true autocommit: true autopull: true
 [*]  Add a new package to your configuration
INFO  Initializing templates 
INFO  skipping git 
DEBUG package cache dir: /var/home/kieran/.cache/fleek
DEBUG updating package list 
ERROR Error reading package cache 
  ERROR   
  ERROR   Error: nix search: exit status 1
  ERROR   
 [d]  Command stderr: 

 [d]  
      ExecutionID:7198f622f7da45e9b3f1b957b7cce2e0

  ERROR   
  ERROR   Error: nix search: exit status 1
  ERROR   
 [d]  Command stderr: 

 [d]  
      ExecutionID:7198f622f7da45e9b3f1b957b7cce2e0

fleek update appears to work, but does not fix the errors above.

Environment