我正在考虑将我的 Intrepid Ibex Ubuntu 安装升级到 Jaunty Jackalope,但我想知道它安装的任何新软件包是否会与我已安装的许多库发生冲突。有没有办法让它列出要安装的软件包,而无需实际安装任何东西?谢谢。
答案1
据我所知,你应该能够使用标准选项apt-get dist-upgrade模拟运行此命令而不实际执行升级。
-s, --simulate, --just-print, --dry-run, --recon, --no-act
No action; perform a simulation of events that would occur but do not actually change the
system. Configuration Item: APT::Get::Simulate.
Simulate prints out a series of lines each one representing a dpkg operation, Configure (Conf),
Remove (Remv), Unpack (Inst). Square brackets indicate broken packages with and empty set of
square brackets meaning breaks that are of no consequence (rare).
-u, --show-upgraded
Show upgraded packages; Print out a list of all packages that are to be upgraded. Configuration
Item: APT::Get::Show-Upgraded.