add-apt-repository: command not found

2021-02-05 · 1 min read

嘗試加入新的 package repository 時出現了以下 error
add-apt-repository: command not found

fixed - add-apt-repository: command not found
fixed - add-apt-repository: command not found

解決方法: 加了software-properties-common 便可

sudo apt-get install software-properties-common

Hope you find it useful