CodelyTV / dotly

🌚 Modular and easy to customize dotfiles framework
https://codely.com/cursos
MIT License
1.19k stars 116 forks source link

Errores en la instalación de Dotly #247

Open gtorres04 opened 1 year ago

gtorres04 commented 1 year ago

He tenido errores en la instalación de Dotly que me alarman, sobre todo por desconocimiento el entorno no funcione como espero.

  1. ¿Porque me da errores en la sección " > Installing needed gnu packages"? a pesar de que hago un "brew bundle dump" y me los muestra como instalados
<▸> ~ brew bundle dump
==> Downloading https://formulae.brew.sh/api/formula.jws.json
##O#-  #
<▸> ~ cat Brewfile
tap "denisidoro/tools"
tap "homebrew/bundle"
tap "homebrew/services"
brew "bash"
brew "bat"
brew "coreutils"
brew "exa"
brew "findutils"
brew "fzf"
brew "gnu-sed"
brew "hyperfine"
brew "make"
brew "mas"
brew "navi"
brew "python@3.11"
brew "tldr"
brew "zsh"
brew "denisidoro/tools/docpars"
  1. ¿Porque me dice "❌ python could not be installed" si me aparece en el listado de brew?

Quedo atento.


Installation:

% bash <(curl -s https://raw.githubusercontent.com/CodelyTV/dotly/HEAD/installer)
  ┌────────────────────────────────────┐
~ │ 🚀 Welcome to the dotly installer! │ ~
  └────────────────────────────────────┘

🤔 Where do you want your dotfiles to be located? (default ~/.dotfiles): ~/.dotfiles_dotly
 > Ok! dotfiles will be located in: /Users/gerlin.torres/.dotfiles_dotly
 > Initializing your dotfiles git repository
 > Cloning dotly
 > Installing dotly dependencies
 > 🍎 Setting up macOS platform
 > Installing needed gnu packages
Error: No such keg: /opt/homebrew/Cellar/bash
Error: No such keg: /opt/homebrew/Cellar/zsh
Error: No such keg: /opt/homebrew/Cellar/coreutils
Error: No such keg: /opt/homebrew/Cellar/make
Error: No such keg: /opt/homebrew/Cellar/gnu-sed
Error: No such keg: /opt/homebrew/Cellar/findutils
Error: No such keg: /opt/homebrew/Cellar/bat
Error: No such keg: /opt/homebrew/Cellar/hyperfine
 > Installing mas
/opt/homebrew/Cellar/mas/1.8.6/bin/mas
/opt/homebrew/Cellar/mas/1.8.6/etc/bash_completion.d/mas
/opt/homebrew/Cellar/mas/1.8.6/share/fish/vendor_completions.d/mas.fish
==> Tapping denisidoro/tools
Cloning into '/opt/homebrew/Library/Taps/denisidoro/homebrew-tools'...
remote: Enumerating objects: 207, done.
remote: Counting objects: 100% (12/12), done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 207 (delta 3), reused 9 (delta 2), pack-reused 195
Receiving objects: 100% (207/207), 43.85 KiB | 680.00 KiB/s, done.
Resolving deltas: 100% (67/67), done.
Tapped 4 formulae (15 files, 56.6KB).
==> Fetching denisidoro/tools/docpars
==> Downloading https://github.com/denisidoro/docpars/releases/download/v0.2.0/docpars-v0.2.0-x86_64-os
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/27209
################################################################################################ 100.0%
==> Installing docpars from denisidoro/tools
🍺  /opt/homebrew/Cellar/docpars/0.2.0: 3 files, 1.7MB, built in 4 seconds
==> Running `brew cleanup docpars`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
✅ docpars installed
❌ python could not be installed
 > Creating dotfiles structure
✔ Done!
 > Backing up existing dotfiles
 > Setting up symlinks
✔ Done!
 > Installing Zim
) git-info: Installed
) completion: Installed
) environment: Installed
) input: Installed
) zsh-autosuggestions: Installed
) zsh-syntax-highlighting: Installed
Done with install. Restart your terminal for changes to take effect.
 > Installing completions

 > Now restart your terminal
 > Executing custom restoration scripts
 > 🎉 dotly installed correctly! 🎉
 > Please, restart your terminal to see the changes

Errores como:

 > Installing needed gnu packages
Error: No such keg: /opt/homebrew/Cellar/bash
Error: No such keg: /opt/homebrew/Cellar/zsh
Error: No such keg: /opt/homebrew/Cellar/coreutils
Error: No such keg: /opt/homebrew/Cellar/make
Error: No such keg: /opt/homebrew/Cellar/gnu-sed
Error: No such keg: /opt/homebrew/Cellar/findutils
Error: No such keg: /opt/homebrew/Cellar/bat
Error: No such keg: /opt/homebrew/Cellar/hyperfine

y

❌ python could not be installed
Mrthnx commented 12 months ago

Tengo el mismo problema, se llego a encontrar solucion ?

gtrabanco commented 12 months ago

Try with:

brew cleanup --prune-prefix