我尝试在编译 inkscape 之前安装依赖项,但出现了这样的错误:
bash install_dependencies.sh --recommended
Downloading and installing dependencies. This may take some time.
+ [[ ubuntu == \d\e\b\i\a\n ]]
+ [[ ubuntu == \u\b\u\n\t\u ]]
+ sudo apt-get update -yqq
+ sudo apt-get install -y -qq build-essential cmake intltool pkg-config python3-dev libtool ccache doxygen git
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
答案1
这个命令帮助了我。
sudo apt -o Dpkg::Options::="--force-overwrite" --fix-broken install