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

Matus UHLAR - fantomas uhlar at fantomas.sk
Tue Jul 9 16:00:56 BST 2019


Package: aptitude
Version: 0.8.7-1

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
... voila

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

This was not an issue in jessie (0.6.11-1+b1) and previous versions.

when I have tried to run "apt update" after changing sources.list, and run
aptitude, the expected (former) behaviour was encountered.
(even when I furtger 'u'pdated in aptitude).

the pkgstates contained differencies between releases:

# diff -u /tmp/pkgstates.old /tmp/pkgstates.apt-update

@@ -47,13 +40,6 @@
 Dselect-State: 0
 Remove-Reason: 0

-Package: libcollada2gltfconvert-dev
-Architecture: i386
-Unseen: no
-State: 3
-Dselect-State: 0
-Remove-Reason: 0
-
 Package: python3-doc8
 Architecture: i386
 Unseen: no
@@ -117,6 +103,13 @@
 Dselect-State: 0
 Remove-Reason: 0

+Package: python-libthumbor
+Architecture: i386
+Unseen: yes
+State: 3
+Dselect-State: 0
+Remove-Reason: 0
+
 Package: globus-xioperf
 Architecture: i386
 Unseen: no


When I rolled back and did update inside of aptitude, all packages in
pkgstates were changed to:

--- /tmp/pkgstates.apt-update   2019-07-09 16:31:37.079852823 +0200
+++ /var/lib/aptitude/pkgstates 2019-07-09 16:37:57.671178453 +0200
@@ -1,104 +1,104 @@
 Package: libdatrie-doc
 Architecture: i386
-Unseen: no
+Unseen: yes
 State: 3
 Dselect-State: 0
 Remove-Reason: 0

 Package: libfstrcmp0-dbg
 Architecture: i386
-Unseen: no
+Unseen: yes
 State: 3
 Dselect-State: 0
 Remove-Reason: 0

etc.


-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"One World. One Web. One Program." - Microsoft promotional advertisement
"Ein Volk, ein Reich, ein Fuhrer!" - Adolf Hitler



More information about the Aptitude-devel mailing list