[Aptitude-devel] Bug#931718: Bug#931718: new packages list forgets about old packages

Axel Beckert abe at debian.org
Tue Jul 9 17:05:12 BST 2019


Control: tag -1 + moreinfo unreproducible

Hi Matus,

thanks for the bug report.

Matus UHLAR - fantomas wrote:
> I am trying to look which packages are new in buster that were not in
> stretch. I am using aptitude since it't great tool for browsing packages.
> 
> until now it was easy:
> 
> do 'f'orget new packages in aptitude
> change sources.list to point to new release
> do 'u'pdate packages list

I assume you did not exit aptitude inbetween, right

> but now, when I do this, aptitude seems to forget all info about packages
> previously available.

So every package is listed under "New Packages"? I can't reproduce
this.

I just did the following inside an uptodate Stretch pbuilder chroot:

* Start "aptitude"

It shows this view:

-------------------------------------------------------------------------------
 Actions  Undo  Package  Resolver  Search  Options  Views  Help
C-T: Menu  ?: Help  q: Quit  u: Update  g: Preview/Download/Install/Remove Pkgs
aptitude 0.8.7 @ c6
--- Installed Packages (128)
--- Not Installed Packages (50663)
--- Virtual Packages (5897)


These packages are currently installed on your computer.                      ▒
                                                                              ▒
This group contains 128 packages.                                             ▒
-------------------------------------------------------------------------------

* Press Ctrl-Z
* Edit /etc/apt/sources.list and change any occurrence of "stretch" to
  "buster".
* Called "fg" to get aptitude into the foreground again.
* Pressed "u" in aptitude's TUI.

Now aptitude shows me this view:

-------------------------------------------------------------------------------
 Actions  Undo  Package  Resolver  Search  Options  Views  Help
C-T: Menu  ?: Help  q: Quit  u: Update  g: Preview/Download/Install/Remove Pkgs
aptitude 0.8.7 @ c6
--- Upgradable Packages (111)
--- New Packages (13184)
--- Installed Packages (2)
--- Not Installed Packages (43508)
--- Obsolete and Locally Created Packages (15)
--- Virtual Packages (14460)

A newer version of these packages is available.                               ▒
                                                                              ▒
This group contains 111 packages.                                             ▒
-------------------------------------------------------------------------------

Which is more or less what I would expect:

* 13184 new binary packages (You should get the same number on amd64
  unless you also have contrib/non-free or third-party repos enabled.)
* 111 of the 128 installed packages of the minimal chroot are updatable.
* 2 are unchanged between stretch and buster.
* 15 are no more in buster.

Maybe you can post even more verbose steps how to reproduce this.
Otherwise I have no idea what could be different with your setup to
cause such a different behaviour.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



More information about the Aptitude-devel mailing list