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

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

協谷X108G維修紀錄

這是 BX8AAQ 的協谷 X108G 拿到的時候有下列故障 1.面版缺導電按鍵(全部遺失) 2.開機旋鈕失蹤 3.螢幕斷線到辨識困難 4.內部線路有脫線 5.手持麥克風除了PTT,其餘全部失效 目前維修進度 2、3、4、5 已維修完畢 1 這個有困難,不過還是能解決 維修方案 ...