[OT] who maintains aptitude for rpm?

Wilfried Weissmann wweissmann at gmx.at
Thu Sep 14 05:08:32 PDT 2006


Hello,

Sorry for posting something offtopic but this is the best place I could find to ask this question. Who maintains aptitude for rpm? The latest verion that I could find is 0.3.3 from Mandriva, however there is no project page.
I am asking because I have two problems with aptitude. The first is that the package description is parsed by aptitude and rendered in a way that is only suitable for DEB packages. This parsing breaks the description of RPMs which have "raw" text in the description field. I have attached a patch that just disables the parsing and just copies the discription line by line.
The other issue is that if I uninstall a package that has a %postun scriptlet then the script always fails without being executed (!) and when aptitude returns to the main screen it crashes with SIGSEGV.

Committing changes...
Preparing...                ########################################### [100%]
error: %postun(blahlaber-1-0.noarch) scriptlet failed, exit status 255
Press return to continue.

Ouch!  Got SIGSEGV, dying..
Segmentation fault

If I remove the package with "apt-get remove blahlaber" (version apt-0.5.15lorg3.2) everything works fine. This looks to me like there is some memory corruption in the aptitude code.

The backtrace is:#0  0x00827b3e in rpmRecordParser::Jump ()
   from /usr/lib/libapt-pkg-libc6.4-6.so.2
#1  0x0086dc8f in pkgRecords::Lookup () from /usr/lib/libapt-pkg-libc6.4-6.so.2
#2  0x0808afb0 in pkg_item::pkg_columnizer::setup_column (this=0xbfe48838,
    type=5) at pkg_columnizer.cc:319
#3  0x0813b006 in column_generator::layout_columns (this=0xbfe48838, width=80)
    at column_definition.cc:172
#4  0x080c2c2d in pkg_handling_label::paint (this=0x9201000, st=@0xbfe48890)
    at pkg_view.cc:115
#5  0x08161c07 in vscreen_widget::display (this=0x9201000, st=@0xbfe488e0)
    at vscreen_widget.cc:188
#6  0x0818d10e in vs_table::paint (this=0x9200710, st=@0xbfe488e0)
    at vs_table.cc:1314
#7  0x08161c07 in vscreen_widget::display (this=0x9200710, st=@0xbfe489a0)
    at vscreen_widget.cc:188
#8  0x08179059 in vs_multiplex::paint (this=0x91ac2f0, st=@0xbfe489a0)
    at vs_multiplex.cc:173
#9  0x08161c07 in vscreen_widget::display (this=0x91ac2f0, st=@0xbfe489f0)
    at vscreen_widget.cc:188
#10 0x0818d10e in vs_table::paint (this=0x91a8150, st=@0xbfe489f0)
    at vs_table.cc:1314
#11 0x08161c07 in vscreen_widget::display (this=0x91a8150, st=@0xbfe48a40)
    at vscreen_widget.cc:188
---Type <return> to continue, or q <return> to quit---
#12 0x0818379e in vs_stacked::paint (this=0x91a7908, st=@0xbfe48a40)
    at vs_stacked.cc:106
#13 0x08161c07 in vscreen_widget::display (this=0x91a7908, st=@0xbfe48b00)
    at vscreen_widget.cc:188
#14 0x08174e75 in vs_menubar::paint (this=0x91a0858, st=@0xbfe48b00)
    at vs_menubar.cc:451
#15 0x08161c07 in vscreen_widget::display (this=0x91a0858, st=@0x919e584)
    at vscreen_widget.cc:188
#16 0x0815c8d5 in vscreen_updatenow () at vscreen.cc:450
#17 0x0815c9ea in vscreen_tryupdate () at vscreen.cc:472
#18 0x080d487b in do_show_reload_message () at ui.cc:383
#19 0x081098e4 in apt_reload_cache (progress_bar=0xf33db08,
    do_initselections=true, status_fname=0x0)
    at /usr/include/sigc++-2.0/sigc++/signal.h:544
#20 0x0806b952 in do_install_run (load_progress=0xf33db08,
    text_download=false, download_only=false) at download.cc:513
#21 0x080ce1eb in install_or_remove_packages () at ui.cc:750
#22 0x080d4069 in check_package_trust () at ui.cc:809
#23 0x080e25f5 in actually_do_package_run () at ui.cc:956
#24 0x08161cd1 in vscreen_widget::dispatch_key (this=0xf26f450, k=@0xbfe496e8)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:440
#25 0x0819187a in vs_table::handle_key (this=0x91ae5b8, k=@0xbfe496e8)
    at vs_table.cc:481
---Type <return> to continue, or q <return> to quit---
#26 0x08161d04 in vscreen_widget::dispatch_key (this=0x91ae5b8, k=@0xbfe496e8)
    at vscreen_widget.cc:225
#27 0x0817ffaf in vs_passthrough::handle_key (this=0x91ac2f0, k=@0xbfe496e8)
    at vs_passthrough.cc:77
#28 0x08161d04 in vscreen_widget::dispatch_key (this=0x91ac2f0, k=@0xbfe496e8)
    at vscreen_widget.cc:225
#29 0x0819187a in vs_table::handle_key (this=0x91a8150, k=@0xbfe496e8)
    at vs_table.cc:481
#30 0x08161d04 in vscreen_widget::dispatch_key (this=0x91a8150, k=@0xbfe496e8)
    at vscreen_widget.cc:225
#31 0x0817ffaf in vs_passthrough::handle_key (this=0x91a7908, k=@0xbfe496e8)
    at vs_passthrough.cc:77
#32 0x08161d04 in vscreen_widget::dispatch_key (this=0x91a7908, k=@0xbfe496e8)
    at vscreen_widget.cc:225
#33 0x081761f3 in vs_menubar::handle_key (this=0x91a0858, k=@0xbfe496e8)
    at vs_menubar.cc:440
#34 0x08161d04 in vscreen_widget::dispatch_key (this=0x91a0858, k=@0xbfe496e8)
    at vscreen_widget.cc:225
#35 0x0815cd91 in vscreen_mainloop (synch=0) at vscreen.cc:622
#36 0x080ce213 in ui_main () at ui.cc:1788
#37 0x08051664 in main (argc=1, argv=0xbfe498f4) at main.cc:478


Greetings,
Wilfried

PS: Please CC me when replying to this email. I am not subscribed to this list.
-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aptitude-0.3.3-desc-fix.patch
Type: text/x-diff
Size: 1000 bytes
Desc: not available
URL: <http://lists.laiskiainen.org/pipermail/apt-rpm-laiskiainen.org/attachments/20060914/a3d7d5fe/attachment-0002.patch>


More information about the Apt-Rpm mailing list