Apt-get: how to know what version will be installed?
H.S.
hs.samix at gmail.com
Sat Nov 1 17:41:09 UTC 2008
Dotan Cohen wrote:
> Before installing an application with apt-get, I would like to check
> which version will be installed. How does one do that?
>
> Thanks in advance.
>
>
I use aptitude and "-V" tells me the version numbers of the packages to
be upgraded. Apt-get should give the same behaviour with "-V".
Example:
$> sudo aptitude -V safe-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Resolving dependencies...
The following packages have been kept back:
cpp-3.4 gcc-3.4-base
The following packages will be upgraded:
acpid [1.0.6-13 -> 1.0.6-15] bind9-host [1:9.5.0.dfsg.P2-1 ->
1:9.5.0.dfsg.P2-4] cpp-4.2 [4.2.4-3 -> 4.2.4-4]
dnsutils [1:9.5.0.dfsg.P2-1 -> 1:9.5.0.dfsg.P2-4] g++-4.2 [4.2.4-3 ->
4.2.4-4] gcc-4.2 [4.2.4-3 -> 4.2.4-4] gcc-4.2-base [4.2.4-3 -> 4.2.4-4]
gcj-4.2-base [4.2.4-3.1 -> 4.2.4-4] gij-4.2 [4.2.4-3.1 -> 4.2.4-4]
libbind9-40 [1:9.5.0.dfsg.P2-1 -> 1:9.5.0.dfsg.P2-4]
libdns43 [1:9.5.0.dfsg.P2-1 -> 1:9.5.0.dfsg.P2-4] libgcj8-1
[4.2.4-3.1 -> 4.2.4-4] libgcj8-1-awt [4.2.4-3.1 -> 4.2.4-4]
libgcj8-jar [4.2.4-3.1 -> 4.2.4-4] libgnomeprintui2.2-0 [2.18.2-1 ->
2.18.3-1] libgnomeprintui2.2-common [2.18.2-1 -> 2.18.3-1]
libisc44 [1:9.5.0.dfsg.P2-1 -> 1:9.5.0.dfsg.P2-4] libisccc40
[1:9.5.0.dfsg.P2-1 -> 1:9.5.0.dfsg.P2-4] libisccfg40 [1:9.5.0.dfsg.P2-1
-> 1:9.5.0.dfsg.P2-4]
liblwres40 [1:9.5.0.dfsg.P2-1 -> 1:9.5.0.dfsg.P2-4] libsoup2.4-1
[2.4.1-1 -> 2.4.1-2] libsplashy1 [0.3.10-2 -> 0.3.10-2.1]
libstdc++6-4.2-dev [4.2.4-3 -> 4.2.4-4] zenity [2.22.1-1 -> 2.22.1-2]
24 packages upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 31.4MB of archives. After unpacking 53.2kB will be used.
Do you want to continue? [Y/n/?]
Regards.
--
Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.
More information about the ubuntu-users
mailing list