[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-update-stat.pl analyse changes in Debian software repository



You can run this script, it won't mess up your dpkg/apt state.
run "perl apt-update-stat.pl" for help.

Because indirect circular dependence is not handled properly, libc gets a
rdepends_score -10000000, I don't know why there is circular dependence
and how to deal with it. Can anybody give an explanation?

And notice I don't consider source packages, the default score setting
in calculate_score() subroutine is probably not proper.

Here is part of output from "apt-update-stat.pl stat" for Ubuntu dapper:
libxrender1                                22          10358       77736015
libfreetype6                               22           1142       54685778
libxfixes3                                 22          14735       34401220
libxcursor1                                22          35495       31797406
libfontenc1                                21           5519       28837607
xcursorgen                                 21          57419       28809897
xfonts-utils                               21           7846       28805163
makedepend                                 21            520       28804515
sessreg                                    21            520       28804494
imake                                      21           1061       28804494
xutils                                     21          66930       28804473
libglib2.0-0                               22            520       26218863
libexpat1                                  22            520       14510631
ttf-bitstream-vera                         21           8609       14402688
wget                                       80           4985       14402265
ttf-freefont                               21           8609       14400823
ttf-dejavu                                 21           8609       14399230
gsfonts-x11                                21          75580       14397858
cabextract                                 20            520       14397738
msttcorefonts                              20          84551       14397718
fontconfig                                 20         117502       14397698
libfontconfig1                             22         120370       14083273
libxml2                                    22           1142        6403433
libcairo2                                  22         144080        5268249
libdbus-1-2                                20            520        5136055
libidl0                                    22           1602        5059538
liborbit2                                  22           3271        4993344
python2.4-minimal                         100           1142        3786344
libxft2                                    22         142916        3085262
libxinerama1                               22          34411        3018898
libxrandr2                                 22          44791        3002039
libpango1.0-0                              22         991594        2631011
gconf2-common                              22           3281        2595071
libatk1.0-0                                22           1062        2592025
libbz2-1.0                                 62            520        2540732
readline-common                            65              0        2350099
libreadline5                               62           1210        2349237
python2.4                                  60           9910        2038896
libhal1                                    22           1060        2002538
libgconf2-4                                22           9444        1826844
libavahi-common-data                       22              0        1772631
libavahi-common3                           22            542        1772549

2006/5/31, Matt Taggart <taggart@debian.org>:

"Liu Yubao" writes...

> The little Perl script can calculate how heavy a package depends on other
> packages and is depended by other packages, they are depicted by
> depends_score and rdepends_score.

With the help of Brendan O'Dea I wrote something similar a while back as a way
of determining the most depended upon packages as part of an exercise to
determine the most important things for the Linux Standard Base to standardize.
The script and result are at,

 http://freestandards.org/futures/identification/depends/

In particular the annotated output is sorta interesting (but out of date now,
I should re-run it at some point).

Have you published output from your tool anywhere?

--
Matt Taggart
taggart@debian.org






Reply to: