Public bug reported: When APT::Get::Show-Versions is in effect in /etc/apt/apt.conf, apt-get is supposed to print the versions of the packages being [un]installed, but for the packages to be autoremoved it prints the bogus list of versions instead. The list seems to be a concatenation of all the individual package versions.
Example transcript follows: [EMAIL PROTECTED]:~# apt-get --purge --auto-remove remove openoffice.org.* Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting openoffice.org2-math for regex ‘openoffice.org.*’ ... [skipped] ... Note, selecting openoffice.org-l10n-ku for regex ‘openoffice.org.*’ The following packages were automatically installed and are no longer required: aspell-en (6.0-0-5 3.1.20.0-4.3 6-2 0.99g3-2 2.0.4-0ubuntu2 2.0.4-0ubuntu2 2.0.4-0ubuntu2 2.0.4-0ubuntu2 0.60.4-4 2.0.4-0ubuntu2 2.0.4-0ubuntu2 2.0.4-0ubuntu2 1.5.0.2ubuntu1-3 2.0.4-0ubuntu2 2.0.4-0ubuntu2 2.0.4-0ubuntu2 0.70.1ubuntu2 1.5.0.7-0ubuntu1 0.99g3-2 2.0.4-0ubuntu2 2.0.3-2ubuntu1 2.0.3-2ubuntu1 0.99g3-2 1.5.0.2ubuntu1-3 2.0.4-0ubuntu2 2.0.4-0ubuntu2 6-2 2.0.4-0ubuntu2 3.1.20.0-4.3 ) ... [skipped] ... iamerican (6.0-0-5 3.1.20.0-4.3 6-2 0.99g3-2 2.0.4-0ubuntu2 2.0.4-0ubuntu2 2.0.4-0ubuntu2 2.0.4-0ubuntu2 0.60.4-4 2.0.4-0ubuntu2 2.0.4-0ubuntu2 2.0.4-0ubuntu2 1.5.0.2ubuntu1-3 2.0.4-0ubuntu2 2.0.4-0ubuntu2 2.0.4-0ubuntu2 0.70.1ubuntu2 1.5.0.7-0ubuntu1 0.99g3-2 2.0.4-0ubuntu2 2.0.3-2ubuntu1 2.0.3-2ubuntu1 0.99g3-2 1.5.0.2ubuntu1-3 2.0.4-0ubuntu2 2.0.4-0ubuntu2 6-2 2.0.4-0ubuntu2 3.1.20.0-4.3 ) The following packages will be REMOVED aspell* (0.60.4-4) aspell-en* (6.0-0-5) aspell-ru* (0.99g3-2) dictionaries-common* (0.70.1ubuntu2) iamerican* (3.1.20.0-4.3) irussian* (0.99g3-2) ispell* (3.1.20.0-4.3) mozilla-thunderbird* (1.5.0.7-0ubuntu1) myspell-en-gb* (2.0.3-2ubuntu1) myspell-en-us* (2.0.3-2ubuntu1) myspell-ru* (0.99g3-2) openoffice.org-base* (2.0.4-0ubuntu2) openoffice.org-calc* (2.0.4-0ubuntu2) openoffice.org-common* (2.0.4-0ubuntu2) openoffice.org-core* (2.0.4-0ubuntu2) openoffice.org-draw* (2.0.4-0ubuntu2) openoffice.org-impress* (2.0.4-0ubuntu2) openoffice.org-java-common* (2.0.4-0ubuntu2) openoffice.org-kde* (2.0.4-0ubuntu2) openoffice.org-l10n-en-us* (2.0.4-0ubuntu2) openoffice.org-math* (2.0.4-0ubuntu2) openoffice.org-style-crystal* (2.0.4-0ubuntu2) openoffice.org-style-default* (2.0.4-0ubuntu2) openoffice.org-writer* (2.0.4-0ubuntu2) python-uno* (2.0.4-0ubuntu2) thunderbird-locale-en-gb* (1.5.0.2ubuntu1-3) thunderbird-locale-ru* (1.5.0.2ubuntu1-3) wamerican* (6-2) wbritish* (6-2) 0 upgraded, 0 newly installed, 29 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 254MB disk space will be freed. Do you want to continue [Y/n]? ** Affects: apt (Ubuntu) Importance: Undecided Status: Unconfirmed ** Description changed: When APT::Get::Show-Versions is in effect in /etc/apt/apt.conf, apt-get - prints is supposed to print the version of the packed being - [un]installed, but it prints the list of versions for the packages to be - autoremoved. The lists seems to a concatenations of all the individual - versions of the packages. Example transcript follows + is supposed to print the versions of the packages being [un]installed, + but for the packages to be autoremoved it prints the bogus list of + versions instead. The list seems to be a concatenation of all the + individual package versions. + + Example transcript follows: [EMAIL PROTECTED]:~# apt-get --purge --auto-remove remove openoffice.org.* Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting openoffice.org2-math for regex ‘openoffice.org.*’ ... [skipped] ... Note, selecting openoffice.org-l10n-ku for regex ‘openoffice.org.*’ The following packages were automatically installed and are no longer required: aspell-en (6.0-0-5 3.1.20.0-4.3 6-2 0.99g3-2 2.0.4-0ubuntu2 2.0.4-0ubuntu2 2.0.4-0ubuntu2 2.0.4-0ubuntu2 0.60.4-4 2.0.4-0ubuntu2 2.0.4-0ubuntu2 2.0.4-0ubuntu2 1.5.0.2ubuntu1-3 2.0.4-0ubuntu2 2.0.4-0ubuntu2 2.0.4-0ubuntu2 0.70.1ubuntu2 1.5.0.7-0ubuntu1 0.99g3-2 2.0.4-0ubuntu2 2.0.3-2ubuntu1 2.0.3-2ubuntu1 0.99g3-2 1.5.0.2ubuntu1-3 2.0.4-0ubuntu2 2.0.4-0ubuntu2 6-2 2.0.4-0ubuntu2 3.1.20.0-4.3 ) ... [skipped] ... iamerican (6.0-0-5 3.1.20.0-4.3 6-2 0.99g3-2 2.0.4-0ubuntu2 2.0.4-0ubuntu2 2.0.4-0ubuntu2 2.0.4-0ubuntu2 0.60.4-4 2.0.4-0ubuntu2 2.0.4-0ubuntu2 2.0.4-0ubuntu2 1.5.0.2ubuntu1-3 2.0.4-0ubuntu2 2.0.4-0ubuntu2 2.0.4-0ubuntu2 0.70.1ubuntu2 1.5.0.7-0ubuntu1 0.99g3-2 2.0.4-0ubuntu2 2.0.3-2ubuntu1 2.0.3-2ubuntu1 0.99g3-2 1.5.0.2ubuntu1-3 2.0.4-0ubuntu2 2.0.4-0ubuntu2 6-2 2.0.4-0ubuntu2 3.1.20.0-4.3 ) The following packages will be REMOVED aspell* (0.60.4-4) aspell-en* (6.0-0-5) aspell-ru* (0.99g3-2) dictionaries-common* (0.70.1ubuntu2) iamerican* (3.1.20.0-4.3) irussian* (0.99g3-2) ispell* (3.1.20.0-4.3) mozilla-thunderbird* (1.5.0.7-0ubuntu1) myspell-en-gb* (2.0.3-2ubuntu1) myspell-en-us* (2.0.3-2ubuntu1) myspell-ru* (0.99g3-2) openoffice.org-base* (2.0.4-0ubuntu2) openoffice.org-calc* (2.0.4-0ubuntu2) openoffice.org-common* (2.0.4-0ubuntu2) openoffice.org-core* (2.0.4-0ubuntu2) openoffice.org-draw* (2.0.4-0ubuntu2) openoffice.org-impress* (2.0.4-0ubuntu2) openoffice.org-java-common* (2.0.4-0ubuntu2) openoffice.org-kde* (2.0.4-0ubuntu2) openoffice.org-l10n-en-us* (2.0.4-0ubuntu2) openoffice.org-math* (2.0.4-0ubuntu2) openoffice.org-style-crystal* (2.0.4-0ubuntu2) openoffice.org-style-default* (2.0.4-0ubuntu2) openoffice.org-writer* (2.0.4-0ubuntu2) python-uno* (2.0.4-0ubuntu2) thunderbird-locale-en-gb* (1.5.0.2ubuntu1-3) thunderbird-locale-ru* (1.5.0.2ubuntu1-3) wamerican* (6-2) wbritish* (6-2) 0 upgraded, 0 newly installed, 29 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 254MB disk space will be freed. Do you want to continue [Y/n]? ** Tags added: apt-get -- apt-get prints bogus version list for autoremoved packages when APT::Get::Show-Versions is in effect https://launchpad.net/bugs/68941 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs