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

Bug#36201: apt: old coredump and more wrong maths



Package: apt
Version: 0.1.9 and 0.3.4

FYI,

On this newly installed slink machine, I needed gpm2 because ssh and
ssh-askpass installations failed, so I issued `apt-get install gpm2`.
It downloaded, configured, all well, but after printing the last message
about ssh-askpass configuration, it segfaulted and dumped core!
I doubted that it was dpkg, but wanted to double check with a `apt-get
update`, and it crashed the same way. I still have the core file if
it would be of any use to anyone. Then I ran `dpkg --pending --configure`
manually, without any problems. Then I downloaded that newest version
of apt, tried to reproduce the bug, but it all worked well :) I'm not
sure, but I'd say this would call for a new version of apt in
slink-proposed-updates...

Now the existing bug:

APT said:
Need to get 0b/105kb of archives. After unpacking 1001kb will be used. 

But dpkg said:
# dpkg -s gmp2 | grep Size
Installed-Size: 168

Maybe it counted ssh{-askpass} sizes (which were configuring after gpm2),
too? If so, it should print the correct message. Otherwise, please fix
the bug :)

-- 
enJoy -*/\*- http://jagor.srce.hr/~jrodin/


Reply to: