1. 因为nvida驱动安装失败导致包间依赖错误,如下图
dpkg: error processing archive /var/cache/apt/archives/linux-tools-common_5.15.0-89.99_all.deb (--unpack):
trying to overwrite '/usr/bin/acpidbg', which is also in package linux-nvidia-5.19-tools-common 5.19.0-1010.10
2. 根据指导,执行apt --fix-broken install进行修复,因为包依赖冲突导致失败
dpkg: error processing archive /var/cache/apt/archives/linux-tools-common_5.15.0-89.99_all.deb (--unpack):
trying to overwrite '/usr/bin/acpidbg', which is also in package linux-nvidia-5.19-tools-common 5.19.0-1010.10
3. 执行dpkg -i --force-overwrite强制覆盖安装
dpkg -i --force-overwrite /var/cache/apt/archives/linux-tools-common_5.15.0-89.99_all.deb
标签:依赖,修复,--,ubuntu,apt,common,linux,tools,overwrite From: https://www.cnblogs.com/chenyujie/p/17875572.html