Eva*_*ske 6 upgrade linux ubuntu-9.04 ubuntu
我正在考虑将我的 Intrepid Ibex Ubuntu 安装升级到 Jaunty Jackalope,但我想知道它安装的任何新软件包是否会与我安装的许多库发生冲突。有没有办法让它列出它将安装的软件包而不实际安装任何东西?谢谢。
小智 9
据我所知,您应该能够使用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.
Run Code Online (Sandbox Code Playgroud)