-
Notifications
You must be signed in to change notification settings - Fork 0
Description
請輸入選項 (例如: 1 3 4 表示選擇1,3,4號模組)
輸入 'c' 清除選擇,輸入 'i' 開始安裝,輸入 'q' 退出: i
開始安裝以下模組:python docker base terminal dev monitoring
########## 開始安裝 base ##########
INFO: ########## 安裝基礎工具 ##########
git 已安裝
curl 已安裝
wget 已安裝
ca-certificates 已安裝
gnupg2 已安裝
software-properties-common 已安裝
build-essential 已安裝
pkg-config 已安裝
libssl-dev 已安裝
bat 已安裝
tldr 已安裝
lnav 已安裝
fzf 已安裝
ripgrep 已安裝
ipinfo 已安裝
INFO: 安裝 lsd (下一代 ls 指令,來源: github.com/lsd-rs/lsd)
Updating crates.io index
error: cannot install package lsd 1.2.0, it requires rustc 1.85 or newer, while the currently active rustc version is 1.75.0
lsd 1.1.5 supports rustc 1.74
WARNING: lsd 安裝失敗 (cargo),可參考官方安裝說明:github.com/lsd-rs/lsd
ln: failed to create symbolic link '/root/.local/bin/bat': File exists
########## 基礎工具安裝完成 ##########
base 安裝完成
########## 開始安裝 dev ##########
INFO: ########## 安裝開發工具 ##########
Hit:1 https://mirror.as-ty.kamatera.com/ubuntu noble InRelease
Hit:2 https://mirror.as-ty.kamatera.com/ubuntu noble-updates InRelease
Hit:3 https://mirror.as-ty.kamatera.com/ubuntu noble-backports InRelease
Hit:4 https://mirror.as-ty.kamatera.com/ubuntu noble-security InRelease
Ign:5 https://ppa.ipinfo.net InRelease
Ign:6 https://ppa.ipinfo.net Release
Hit:7 https://ppa.launchpadcontent.net/neovim-ppa/unstable/ubuntu noble InRelease
Ign:8 https://ppa.ipinfo.net Packages
Ign:9 https://ppa.ipinfo.net Translation-en_US
Ign:10 https://ppa.ipinfo.net Translation-en
Get:8 https://ppa.ipinfo.net Packages [1,325 B]
Ign:9 https://ppa.ipinfo.net Translation-en_US
Ign:10 https://ppa.ipinfo.net Translation-en
Ign:9 https://ppa.ipinfo.net Translation-en_US
Ign:10 https://ppa.ipinfo.net Translation-en
Ign:9 https://ppa.ipinfo.net Translation-en_US
Ign:10 https://ppa.ipinfo.net Translation-en
Ign:9 https://ppa.ipinfo.net Translation-en_US
Ign:10 https://ppa.ipinfo.net Translation-en
Ign:9 https://ppa.ipinfo.net Translation-en_US
Ign:10 https://ppa.ipinfo.net Translation-en
Ign:9 https://ppa.ipinfo.net Translation-en_US
Ign:10 https://ppa.ipinfo.net Translation-en
Fetched 1,325 B in 4s (358 B/s)
Reading package lists...
PPA publishes dbgsym, you may need to include 'main/debug' component
Repository: 'Types: deb
URIs: https://ppa.launchpadcontent.net/neovim-ppa/unstable/ubuntu/
Suites: noble
Components: main
'
Description:
Daily builds of Neovim.
Homepage: https://neovim.io
Source/Issues: https://github.com/neovim/neovim
Documentation: https://neovim.io/doc
User Manual: https://neovim.io/doc/user
Neovim features: https://neovim.io/doc/user/nvim.html
Packaging: https://launchpad.net/neovim-ppa
More info: https://launchpad.net/~neovim-ppa/+archive/ubuntu/unstable
Adding repository.
Found existing deb entry in /etc/apt/sources.list.d/neovim-ppa-ubuntu-unstable-noble.sources
vim 已安裝
neovim 已安裝
nodejs 已安裝
npm 已安裝
unzip 已安裝
cargo 已安裝
gem 已安裝
lua5.3 已安裝
pipx 已安裝
httpie 已安裝
########## 開發工具安裝完成 ##########
dev 安裝完成
########## 開始安裝 python ##########
INFO: ########## 設定 Python 環境 ##########
[########------------------------------------------] 16% - 安裝 Python 基礎套件INFO: python3 已安裝
INFO: python-is-python3 已安裝
INFO: python3-pip 已安裝
INFO: python3-venv 已安裝
INFO: python3-dev 已安裝
INFO: python3-setuptools 已安裝
INFO: 安裝 python3-neovim
SUCCESS: python3-neovim 安裝成功
[################----------------------------------] 33% - 安裝 uv Python 包管理器INFO: uv 已安裝
[#########################-------------------------] 50% - 配置 uv 鏡像源INFO: 使用全球鏡像源 (https://pypi.org/simple/)
[#########################################---------] 83% - 下載套件需求文件SUCCESS: 下載成功: https://raw.githubusercontent.com/guan4tou2/my-linux-setting/main/requirements.txt
[##################################################] 100% - 安裝 Python 工具
INFO: 使用 requirements.txt 安裝套件
Using Python 3.12.3 environment at: .local/venv/system-tools
Resolved 11 packages in 570ms
Installed 1 package in 28ms
- setuptools==80.9.0
[##########################################################] 116% - 創建工具軟連結INFO: 創建軟連結: ranger
INFO: 創建軟連結: s-tui
INFO: 創建軟連結: thefuck
SUCCESS: ########## Python 環境設定完成 ##########
python 安裝完成
########## 開始安裝 terminal ##########
INFO: ########## 設定終端機環境 ##########
[######--------------------------------------------] 12% - 安裝終端基礎套件INFO: zsh 已安裝
INFO: fonts-firacode 已安裝
[############--------------------------------------] 25% - 檢查 Zsh 版本SUCCESS: Zsh 版本檢查通過: 5.9
[##################--------------------------------] 37% - 安裝 Oh-my-zshINFO: Oh-my-zsh 已安裝
安裝 zsh 插件
安裝 thefuck (使用 uv)
########## 終端機環境設定完成 ##########
Traceback (most recent call last):
File "/root/.local/bin/thefuck", line 4, in
from thefuck.entrypoints.main import main
File "/root/.local/venv/system-tools/lib/python3.12/site-packages/thefuck/entrypoints/main.py", line 8, in
from .. import logs # noqa: E402
^^^^^^^^^^^^^^^^^^^
File "/root/.local/venv/system-tools/lib/python3.12/site-packages/thefuck/logs.py", line 8, in
from .conf import settings
File "/root/.local/venv/system-tools/lib/python3.12/site-packages/thefuck/conf.py", line 1, in
from imp import load_source
ModuleNotFoundError: No module named 'imp'