我有 2 个软件包的版本被锁定,因为新软件包与我使用的其他程序不兼容。这甚至阻止了 Ubuntu 发行版升级尝试执行其工作。观察:
$ sudo apt-get update
Hit:1 https://rweb.crmda.ku.edu/cran/bin/linux/ubuntu bionic-cran35/ InRelease
Hit:2 http://archive.canonical.com/ubuntu cosmic InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu cosmic InRelease
Hit:4 https://packages.microsoft.com/repos/vscode stable InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu cosmic-backports InRelease
Hit:6 http://us.archive.ubuntu.com/ubuntu cosmic-updates InRelease
Hit:7 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu cosmic InRelease
Hit:8 http://security.ubuntu.com/ubuntu cosmic-security InRelease
Hit:9 http://ppa.launchpad.net/unit193/encryption/ubuntu cosmic InRelease
Reading package lists... Done
$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
git-lfs thunderbird
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
$ sudo do-release-upgrade
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.
我能想到的唯一解决方法是允许使用 git-lfs 和 thunderbird 进行更新,然后进行升级,然后安装这些程序的旧版本。这似乎比它应该的更繁琐。
还有其他想法吗?