2022年3月27日 星期日

雜七雜八寫一下

 解決卸載失敗問題 “device is busy”

umount: /dev/sda1: device is busy

$ fuser -vm /dev/sda1
/dev/sda1 6015c 6132

亦使用命令「ps auxw | grep PID」獲知個別程式的詳細資訊:

$ ps auxw | grep 6132
johndoe 6132 0.4 3.0 220017 57104 ? S+ 18:27 0:00 rhythmbo


======================================================

使用 netselect-apt 選擇最佳鏡像站台加入 sources.list

      # ls sources.list
      ls: sources.list: File or directory not found
      # netselect-apt stable
      (...)
      # ls -l sources.list
      sources.list

直接用這個也可以

===============================================================

# Debian packages for stable

deb http://debian.cs.nctu.edu.tw/debian/ stable main contrib

# Uncomment the deb-src line if you want 'apt-get source'

# to work with most packages.

deb http://debian.cs.nctu.edu.tw/debian/ bullseye main contrib non-free


# Security updates for stable

#deb http://security.debian.org/ stable/updates main contrib



deb http://deb.debian.org/debian bullseye main contrib non-free

#deb-src http://deb.debian.org/debian bullseye main contrib non-free


deb http://deb.debian.org/debian bullseye-updates main contrib non-free

#deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free


deb http://deb.debian.org/debian bullseye-backports main contrib non-free

#deb-src http://deb.debian.org/debian bullseye-backports main contrib non-free


deb http://security.debian.org/ bullseye-security main contrib non-free

#deb-src http://security.debian.org/ bullseye-security main contrib non-free

======================================================

沒有留言:

張貼留言

二等業餘無線電人員資格考試-3天及格心得

 今天總算去考二等業餘無線電人員資格考 這次考試大約是用了三天的時間來看題庫並且做模擬測驗 題庫是 BV6LC 針對二等業餘資格所整理的 在安卓系統中,先安裝 AnkiDroid 這個程式 然後再將題庫 ( NCC業餘無線電二等題庫_20231007_BV6LC.apkg ) 匯...