aptitude problem WAS: Re: NMU and hijacking of gnome-apt
David Z Maze wrote:
>
> Erik Steffl <steffl@bigfoot.com> writes:
> ES> aptitude rocks, or used to rock, now I cannot make it show what it
> ES> is going to do. how do you use it to do equivalent of dist-upgrade
> ES> so that you see what's going to happen?
>
> I always get a summary screen when I press 'g'; I thought that was the
> default setting. You might need the "Display a preview of what will
> be done before doing it" option on the "Miscellaneous" options screen
> enabled.
thanks, but now it doesn't work at all, I can't see similar bug
report:
jojda:/home/erik# time aptitude
Ouch! Got SIGABRT, dying..
Aborted
real 0m19.414s
user 0m19.130s
sys 0m0.040s
when it starts it displays the message "Loading cache", stays like
that for 19.414s and quits with the above message (same when run without
timing it)
strace reveals:
write(2, "aptitude: pkg_grouppolicy.cc:779"..., 146aptitude:
pkg_grouppolicy.cc:779: void pkg_grouppolicy_task::add_package(const
pkgCache::PkgIterator &, pkg_subtree *): Assertion `tasks' failed.
) = 146
this message is never seen, even though it looks like it should go to
stderr, maybe it's redirected somewhere...
here's the end of strace:
read(8, "Package: 3270-common\nPriority: o"..., 16687) = 16687
open("/var/lib/apt/lists/http.us.debian.org_debian_dists_unstable_contrib_binary-i386_Packages",
O_RDONLY) = 9
fcntl64(9, F_SETFD, FD_CLOEXEC) = 0
brk(0x8259000) = 0x8259000
read(9, "Package: acl-installer\nPriority:"..., 16687) = 16687
open("/var/lib/apt/lists/http.us.debian.org_debian_dists_unstable_main_binary-i386_Packages",
O_RDONLY) = 10
fcntl64(10, F_SETFD, FD_CLOEXEC) = 0
read(10, "Package: 3dchess\nPriority: optio"..., 16687) = 16687
open("/usr/share/tasksel/debian-tasks.desc", O_RDONLY) = -1 ENOENT (No
such file or directory)
write(1, "\33[?1h\33=", 7ESC[?1hESC=) = 7
write(1, "\33[?1h\33=", 7ESC[?1hESC=) = 7
write(1, "\33[?1h\33=", 7ESC[?1hESC=) = 7
brk(0x825a000) = 0x825a000
write(1, "\33[?1h\33=", 7ESC[?1hESC=) = 7
rt_sigaction(SIGTSTP, {SIG_IGN}, {0x40040c30, [], SA_RESTART|0x4000000},
8) = 0
poll([{fd=0, events=POLLIN}], 1, 0) = 0
poll([{fd=0, events=POLLIN}], 1, 0) = 0
write(1, "\33[12d\33[37m\33[40m\33[K\n\33[K\n\33[K\33[m\17\33["...,
48ESC[12dESC[37mESC[40mESC[K
ESC[K
ESC[KESC[m^OESC[39;49mESC[37mESC[40m) = 48
rt_sigaction(SIGTSTP, {0x40040c30, [], SA_RESTART|0x4000000}, NULL, 8) =
0
write(2, "aptitude: pkg_grouppolicy.cc:779"..., 146aptitude:
pkg_grouppolicy.cc:779: void pkg_grouppolicy_task::add_package(const
pkgCache::PkgIterator &, pkg_subtree *): Assertion `tasks' failed.
) = 146
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
kill(18199, SIGABRT) = 0
--- SIGABRT (Aborted) ---
write(1, "\33[?1000l", 8ESC[?1000l) = 8
write(1, "\33[39;49m\33[24d\33[K\33[24;1H\33[?25h",
29ESC[39;49mESC[24dESC[KESC[24;1HESC[?25h) = 29
write(1, "\33[?1049l\r\33[?1l\33>", 16ESC[?1049l^MESC[?1lESC>) = 16
ioctl(2, SNDCTL_TMR_STOP, {0x1000 /* B??? */ opost -isig -icanon echo
...}) = -1 ENOTTY (Inappropriate ioctl for device)
write(2, "Ouch! Got SIGABRT, dying..\n", 28Ouch! Got SIGABRT, dying..
) = 28
rt_sigaction(SIGABRT, {SIG_DFL}, {0x40040c30, [ABRT],
SA_RESTART|0x4000000}, 8) = 0
kill(18199, SIGABRT) = 0
sigreturn() = ? (mask now [RTMIN])
--- SIGABRT (Aborted) ---
+++ killed by SIGABRT +++
looks like bug, doesn't it? but considering that I didn't update
aptitude in few days (since nov 22) I guess it would already show up in
bug database...
ideas/comments appreciated... TIA
erik
Reply to: