sudo apt install package=version #安装指定版本的包 sudo apt install package --reinstall #重新安装包 sudo apt -f install #修复安装, "-f = --fix-missing" sudo apt remove package #删除包 sudo apt purge package #删除包,包括删除配置文件等 sudo apt autoremove #自动卸载所有未使用的软件包 ...
temporarily. For example, you run the apt update (but not upgrade), and a new version is available. You may see two versions for the same package in theapt cache. But as soon as the package is upgraded to the new version, the older version is removed...
# 1) 安装软件包 apt-get install PackageName # 普通安装 apt-get --reinstall install PackageName # 重新安装 apt-get install PackageName=VersionName # 安装指定包的指定版本 apt-get install -f # 修复依赖关系 apt-get build-dep PackageName # 安装源码包所需要的编译环境 apt-get source PackageName...
然后安装vim:sudo apt-get install vim,发现又有错误,具体错误如下所示: Reading package lists... Done Building dependency tree Reading state information... Done Vim is already the newest version. You might want to run 'apt-get -f install ' to correct these: The following packages have unmet d...
Summary When I try to install specific package version via Ansible, I got error: TASK [Install my package] ***...
forbid-version Forbid aptitude from upgrading to a specific package version. update Download lists of new/upgradable packages. safe-upgrade Perform a safe upgrade. full-upgrade Perform an upgrade, possibly installing and removing packages. build-dep Install the build-dependencies of packages. ...
Im a basic user of this and mostly my NAS is used for local file sharing but sometimes i need to share with external sources too. I managed to run apt-update and it seemed to work but im getting errors when i try and install the remote.it package. Ive sent...
Filesin packages sometimes get corrupted or accidentally modified. Trying to reinstall an already installed package with theapt-get installcommand may result in an error. You can force the reinstallation of the latest package version with the--reinstallflag. This option is especially useful for packa...
PPA是Personal Package Archive的缩写,可以译为个人软件包档案.使用PPA,软件制作者可以轻松发布软件,并且能够准确的对用户进行升级.Ubuntu用户可以使用PPA源在第一时间体验到最新版本的软件.APT和Ubuntu软件中心都可以添加PPA安装源 4. Dpkg工具 上述几种软件源安装都是需要在线操作,而获取Deb安装包后,可以直接使用dpkg命...
COPYING.GPL: Update to recent version (address, LGPL name) Jan 28, 2017 Dockerfile CI: Use unstable for now, as we need triehash package Mar 11, 2019 README.md Remove leftovers of the apt-key removal Jan 6, 2025 git-clang-format.sh ...