Reading package lists… Done Building dependency tree Reading state information… Done You might want to run ‘apt-get -f install’ to correct these: The following packages have unmet dependencies: activity-log-manager : Depends: libglib2.0-0 (>= 2.43.2) but 2.40.0-2 is to be installed...
You can force the reinstallation of the latest package version with the--reinstallflag. This option is especially useful for packages with multiplesoftware dependencies. Find out how to useapt-get --reinstallto reinstall packages on Debian and Ubuntu. Prerequisites A Debian/Ubuntu system. Access to...
# apt-get[选项]source 软件包1[软件包2...apt-getsearch[package]#搜索软件包 apt-getinstall|remove[package]#安装或移除软件包 apt-getreinstall[package]#重新安装 apt-getupdate #取回更新的软件包列表信息,返回三种状态:一是命中,一是获取,一是忽略。 apt-getupdate--fix-missing[package]#更新软件列表/...
build-dep Install the build-dependencies of packages. forget-new Forget what packages are "new". search Search for a package by name and/or expression. show Display detailed info about a package. showsrc Display detailed info about a source package (apt wrapper). versions Displays the versions...
Install a specific version by adding an equal sign after the package, followed by the version number you’d like to install. sudo apt install [package]=[version] Reinstall a package and any dependencies by running the following command. This is useful if an installation for a package becomes...
APT 全称为“Advanced Package Tool”即高级软件包工具;这是现今最成熟的软件包管理系统,它可以自动检测软件依赖问题,下载和安装所有文件;甚至只需要一条命令,就可以更新整个系统上所有的软件包。 APT 最初被设计运行于 Debian 系统上,只支持 .deb 格式的软件包文件。如今,APT 已经被移植到使用 PRM 软件包机制的发...
sudoapt-get--reinstallinstall<package_name> In the above command, replace<package_name>with the name of the package you want to install using the apt-get reinstall command. Here, I am reinstalling thersyncpackage and its dependencies on Debian: ...
$sudoaptinstall--dry-run“package name” The process of mock removal can be replicated similarly. $sudoapt remove--dry-run“package name” Fix Broken Packages Installing multiple packages at once can result inbroken packages and unmet dependencies. To resolve these issues, you can use the comman...
(2)修复安装:apt-get -f install softname1 softname2... ;(-f Atemp to correct broken dependencies) (3)重新安装:apt-get --reinstall install softname1 softname2...; 2、Dpkg方式 (1)普通安装:dpkg -i package_name.deb 3、源码安装(.tar、tar.gz、tar.bz2、tar.Z) ...
(2)修复安装:apt-get -f install softname1 softname2… ;(-f Atemp to correct broken dependencies) (3)重新安装:apt-get –reinstall install softname1 softname2…; 2、Dpkg方式 (1)普通安装:dpkg -i package_name.deb 3、源码安装(.tar、tar.gz、tar.bz2、tar.Z) ...