I'm working on aptitude's dependency resolver at the moment. Mostly
I'm working on some changes to support better UI, but while I have all
the code in my head I'd like to try to fix some of the nagging speed
problems it has. I've already
managed to clear up some simple but large problems with
safe-upgrade, because I could get them to happen on my computer. The
problem is, most of these problems don't happen on my computer. I
have a half dozen or so specific ideas that might speed aptitude up,
but I don't want to just randomly apply tweaks without some baseline
tests that I can use to make sure that I'm actually making things
better and not just perturbing the code for no reason. Plus,
seeing why aptitude is actually running slowly might help when it
comes to finding ways to improve its performance.
So, this is where you come in. If you are using lenny and
aptitude takes a long time to resolve dependencies on your computer
aptitude safe-upgrade, I would like to hear from you.
All you need to do is to run this command when aptitude is slow,
before you upgrade any packages:
$ aptitude-create-state-bundle aptitude-state.tar.bz2
Then, find a way to get the resulting large file to me. Email will
work if your outgoing server accepts it; send to
email@example.com. That will tar up
/var/cache/apt, and a few other directories: run
aptitude-create-state-bundle --print-inputs to see exactly what it
[UPDATE]: PS: please also include a brief description of the
problem that you're seeing so I know what to test. Something like,
when I run .
aptitude full-upgrade it takes thirty minutes to
[UPDATE]: PPS: of course you have to run
aptitude-create-state-bundle before you actually upgrade any
packages! i.e., you must type
n at aptitude's command-line prompt
or quit the program if you're using the curses interface.
Otherwise, your state snapshot will just tell me what you upgraded
to, which is only half the information I need (I also need the state
of all packages prior to the upgrade).