On Tue, Mar 13, 2007 at 08:35:43PM +0100, Helge Kreutzmann wrote: > e) So, if I understood you correct, I should run the following sequence: > db4.2_dump /var/lib/apt/listchanges.db > /tmp/listbefore > script apt-get /tmp/distupgrade > db4.2_dump /var/lib/apt/listchanges.db > /tmp/listafter > > and if I notice a problem, send you the diff of before and after, > correct?
Yes that's indeed it.
the algorithm should be the following, when upgraging $foo:
1. find $foo source package -> $foo_src
2. see if $foo_src has already been shown (in the db).
3. if never (I mean $foo_src is not in the db) jump to 6
4. read the changelog for $foo_src from the .deb of $foo
5. append it to the thing to show in the pager (or anywhere else)
6. update $foo_src as seen with the current version of $foo.
This is done for any package $foo that is going to be
updated/installed/upgraded.
So the reasons for a changelog not to be shown are the following:
a. you never installed a package from that source before (I'm unable to
track source renames, that's not fixeable).
b. there is no changelog entry (binNMU)
c. You already updated one package from the same source at the current
(or greater) version.
d. I was unable to find $foo_src (but I think I trhow an error in that
case, not 100% sure though).
e. I was unable to find the changelog in the .deb
a-c are features or intended bhaviours. d-e are indeed bugs.
Note that for libnautilus-burn3 it is a binNMU according to my
apt-cache policy:
apt-cache policy libnautilus-burn3
libnautilus-burn3:
Installed: (none)
Candidate: 2.14.3-8+b1
Version table:
2.14.3-8+b1 0
990 file: unstable/main Packages
2.14.3-8 0
500 file: testing/main Packages
Hence there was no changelog entry, case (c), it's expected behaviour.
So there is still no record of a reproducible problem _yet_ :)
Though, I may write someday some "verbose" version that explains why
there is no changelog shown for a $foo package, that should make things
clearer I guess. If you think that would be a nice feature, you're
welcome to open a wishlist about that so i don't forget about it.
--
·O· Pierre Habouzit
··O [EMAIL PROTECTED]
OOO http://www.madism.org
pgpYYyVkf3tGu.pgp
Description: PGP signature

