Bug#362864: apt: apt-get dist-upgrade should reject extra cmd line arguments
Package: apt
Version: 0.6.43.3
Severity: minor
pryzbyj@andromeda:~$ sudo apt-get dist-upgrade sed
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
The following packages will be REMOVED:
fvwm95 libglade2-dev libgtk2.0-dev libgtkdatabox-dev libpango1.0-dev
libxft-dev xbatt xclip xfwp xli xlockmore xtrlock
The following packages have been kept back:
blt blt-dev gkrellm libc6 libc6-dbg libc6-dev libc6-i686 libdirectfb-0.9-24
libdirectfb-dev libdirectfb-extra libfontenc1 libgmp3c2 libx11-6 libx11-dev
libxcursor-dev libxcursor1 libxfixes-dev libxfixes3 libxft2 libxine1
libxrender-dev libxrender1 rapidsvn tcl8.4 tcl8.4-dev xbase-clients
xserver-xorg-core xutils-dev xvfb
The following packages will be upgraded:
dmidecode gaim-extendedprefs linux-doc-2.6.16 posh tetex-bin x11-common
xkb-data xlibmesa-dri xlibs-data xorg xserver-xorg xserver-xorg-input-all
12 upgraded, 0 newly installed, 12 to remove and 29 not upgraded.
Need to get 4740kB/8468kB of archives.
After unpacking 14.2MB disk space will be freed.
Do you want to continue [Y/n]?
It would be *nice* if extra "to be upgraded to the lastest possible
version", as in apt-get install packages could be given on the
dist-upgrade command line, but if not, then apt-get should exit
indicating error when extra cruft is there.
Also, the manpage doesn't mention "dist-upgrade" in the synopsis.
Reply to: