这个问题描述了如何获取给定包的变更日志。但是,这是整个变更日志。
我想要的是一种查看我将要升级的内容会发生什么变化的方法。例如,我在想象这样的事情:
$ sudo apt-get upgrade --show-changelogs
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
foo
-- adds the bar feature for better snazziness
-- removes the deprecated baz feature
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 8,864 kB of archives.
After this operation, 285 kB disk space will be freed.
Do you want to continue [Y/n]?
Run Code Online (Sandbox Code Playgroud)
不幸的是,我在 apt-get …
当我打字
aptitude dist-upgrade
Run Code Online (Sandbox Code Playgroud)
我得到例如:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following NEW packages will be installed:
bc{a} linux-image-2.6.32-24-virtual linux-image-2.6.32-308-ec2
The following packages will be upgraded:
apt apt-transport-https apt-utils base-files bijk-node binutils cloud-init grub-common grub-pc icedtea-6-jre-cacao ifupdown landscape-client landscape-common
libfreetype6 libfreetype6-dev libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0 libldap-2.4-2 libmysqlclient16 libpcsclite1 libsmbclient libudev0
libusb-0.1-4 libwbclient0 libwww-perl lintian linux-ec2 linux-image-ec2 linux-image-virtual linux-libc-dev linux-virtual mountall mysql-client-5.1
mysql-client-core-5.1 mysql-common mysql-server mysql-server-5.1 mysql-server-core-5.1 openjdk-6-jre …Run Code Online (Sandbox Code Playgroud)