Bug 4972 - MageiaUpdate crashed
Summary: MageiaUpdate crashed
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
: 4996 5226 5423 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-03-16 04:40 CET by Mriganka Talukdar
Modified: 2012-04-16 03:12 CEST (History)
4 users (show)

See Also:
Source RPM: rpmdrake-5.30-2.mga2
CVE:
Status comment:


Attachments

Description Mriganka Talukdar 2012-03-16 04:40:48 CET
The "MageiaUpdate" program crashed. Drakbug-13.93 caught it.

~~~~ Bug description ~~~

The crash occurred when I unchecked rpmdrake package from the list of software updates - since it was saying that the package already exists.

Before that I got an update notification with the message -

The following package has to be removed for others to be upgraded:
rpmdrake-5.30-2.mga2.noarch
 (in order to install rpmdrake-5.30-2.mga2.noarch)

This occurred 2 times. And then I finally updated using urpmi --auto-update

~~~~~ End Bug description ~~~~

Can't call method "set_flag_skip" on an undefined value at /usr/sbin/MageiaUpdate line 114.
Perl's trace:
standalone::bug_handler() called from /usr/lib/libDrakX/mygtk2.pm:1424
mygtk2::main() called from /usr/lib/libDrakX/ugtk2.pm:767
ugtk2::main() called from /usr/sbin/MageiaUpdate:273
main::run_treeview_dialog() called from /usr/sbin/MageiaUpdate:284

Theme name: oxygen-gtk
Kernel version = 3.3.0-desktop-0.rc7.1.mga2
Distribution=Mageia release 2 (Cauldron) for i586
CPU=Intel(R) Core(TM)2 Duo CPU     T7250  @ 2.00GHz
Comment 1 Thierry Vignaud 2012-03-16 10:12:46 CET
Can you send me (by mail), the bug4972.tar.xz file resulting from running the following commands as root in a terminal:

urpmi --auto-select --bug bug4972
tar cfa bug4972{.tar.xz,}

just answer no to urpmi when asking to install packages

CC: (none) => thierry.vignaud

Thierry Vignaud 2012-03-16 10:12:51 CET

Keywords: (none) => NEEDINFO

Comment 2 Mriganka Talukdar 2012-03-16 15:48:50 CET
Hello Thierry,

I did as instructed. Also, the problem resurfaced again today morning (PST) and for me it always seems to start with the message for removing rpmdrake-5.30-2.mga2.noarch as described also in - https://bugs.mageia.org/show_bug.cgi?id=4918.

For now, I'll resort to the temporary fix for 4918 to update my system.
Comment 3 Thierry Vignaud 2012-03-16 16:30:28 CET
OK, that's because of the previous crash, you've rpmdrake installed twice.
You should run: rpm -e rpmdrake-5.30-1.mga2
Comment 4 Frédéric "LpSolit" Buclin 2012-03-17 16:03:58 CET
*** Bug 4996 has been marked as a duplicate of this bug. ***

CC: (none) => leumar27

Comment 5 Thierry Vignaud 2012-03-20 11:09:27 CET
I can reproduce the dialog with some package installed twice but not the crash though.
I think some vivification must have occurred at some point.
I'll add tests so that it doesn't happen again.
Comment 6 Thierry Vignaud 2012-03-20 11:16:51 CET
Closing

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 7 Thierry Vignaud 2012-04-04 10:53:32 CEST
*** Bug 5226 has been marked as a duplicate of this bug. ***

CC: (none) => andrew

Comment 8 Dave Hodgins 2012-04-16 03:12:13 CEST
*** Bug 5423 has been marked as a duplicate of this bug. ***

CC: (none) => DShelbyD


Note You need to log in before you can comment on or make changes to this bug.