Bug 13331 - drakrpm crashed (Can't call method "flag_skip" on an undefined value at URPM/Resolve.pm line 582)
Summary: drakrpm crashed (Can't call method "flag_skip" on an undefined value at URPM/...
Status: RESOLVED DUPLICATE of bug 14235
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
: 13335 13422 13992 14319 14336 14365 14428 14431 14447 14451 14579 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-05-06 21:59 CEST by Magnus Rasche
Modified: 2014-11-25 18:04 CET (History)
17 users (show)

See Also:
Source RPM: rpmdrake-6.10-1.mga4
CVE:
Status comment:


Attachments

Description Magnus Rasche 2014-05-06 21:59:32 CEST
The "drakrpm" program crashed. Drakbug-16.26.8 caught it.

I tried to change from MGA4 to Cauldron.
1. urpmi.removemedia -a
2. urpmi.addmedia ...


after the call of the MCC

Can't call method "flag_skip" on an undefined value at /usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi/URPM/Resolve.pm line 582.
Perl's trace:
standalone::bug_handler() called from /usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi/URPM/Resolve.pm:582
URPM::find_candidate_packages() called from /usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi/URPM/Resolve.pm:1503
URPM::__ANON__() called from /usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi/URPM/Resolve.pm:737
URPM::__ANON__() called from /usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi/URPM/Resolve.pm:701
URPM::__ANON__() called from /usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi/URPM/Resolve.pm:703
URPM::with_db_unsatisfied_requires() called from /usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi/URPM/Resolve.pm:737
URPM::with_any_unsatisfied_requires() called from /usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi/URPM/Resolve.pm:1549
URPM::_handle_diff_provides() called from /usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi/URPM/Resolve.pm:1283
URPM::resolve_requested__no_suggests_() called from /usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi/URPM/Resolve.pm:1174
URPM::resolve_requested__no_suggests() called from /usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi/URPM/Resolve.pm:1106
URPM::resolve_requested() called from /usr/lib/perl5/vendor_perl/5.18.1/urpm/select.pm:404
urpm::select::_resolve_priority_upgrades() called from /usr/lib/perl5/vendor_perl/5.18.1/urpm/select.pm:391
urpm::select::resolve_priority_upgrades_after_auto_select() called from /usr/lib/perl5/vendor_perl/5.18.1/Rpmdrake/pkg.pm:393
Rpmdrake::pkg::get_updates_list() called from /usr/lib/perl5/vendor_perl/5.18.1/Rpmdrake/pkg.pm:509
Rpmdrake::pkg::get_pkgs() called from /usr/lib/perl5/vendor_perl/5.18.1/Rpmdrake/gui.pm:642
Rpmdrake::gui::pkgs_provider() called from /usr/libexec/drakrpm:803
main::__ANON__() called from /usr/lib/perl5/vendor_perl/5.18.1/rpmdrake.pm:415
rpmdrake::slow_func() called from /usr/libexec/drakrpm:803
main::run_treeview_dialog() called from /usr/libexec/drakrpm:846

Theme name: oxygen-gtk
Kernel version = 3.12.13-desktop-2.mga4
Distribution=Mageia release 4 (Official) for x86_64
CPU=AMD Turion(tm) II Neo K685 Dual-Core Processor
Comment 1 Manuel Hiebel 2014-05-08 19:27:03 CEST
*** Bug 13335 has been marked as a duplicate of this bug. ***

CC: (none) => ramaspaceship

Comment 2 Manuel Hiebel 2014-05-08 19:27:10 CEST
looks like an old that come back https://bugs.mageia.org/show_bug.cgi?id=4425

Assignee: bugsquad => thierry.vignaud
Summary: drakrpm crashed => drakrpm crashed (Can't call method "flag_skip" on an undefined value at /usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi/URPM/Resolve.pm line 582)

Comment 3 Thierry Vignaud 2014-05-09 07:34:47 CEST
Can you reproduce it?
Thierry Vignaud 2014-05-09 07:34:53 CEST

Keywords: (none) => NEEDINFO

Comment 4 Magnus Rasche 2014-05-09 07:48:12 CEST
Yes, do you need more informations?
In the evening, in the moment I`m in the office.

On the affected machine I tried to change from mga4 to Cauldron.
After adding the cauldron medias I have the known prob with perl-URPM.
I am not yet managed to install the package.
Comment 5 Thierry Vignaud 2014-05-09 08:11:05 CEST
Yes.
Can you run the following commands then send me by email the resulting bug13331.tar.xz tarball (it'll be too big to attach here):

# just answer no when he actually ask to perform any install:
urpmi --auto-select --bug bug13331
tar cfa bug13331{.tar.xz,}
Comment 6 Magnus Rasche 2014-05-09 08:33:23 CEST
ok, in the evening
Comment 7 Magnus Rasche 2014-05-09 21:30:50 CEST
[root@localhost magnus]# LC_ALL=C urpmi --auto-select --bug bug13331 tar cfa bug13331{.tar.xz,}
Error: can't use --auto-select along with package list.
[root@localhost magnus]# 

Where is my Mistake?
Comment 8 Thierry Vignaud 2014-05-10 16:52:34 CEST
Those are 2 different commands, not one :

urpmi --auto-select --bug bug13331

tar cfa bug13331{.tar.xz,}
Comment 9 Thierry Vignaud 2014-05-16 06:54:40 CEST
Ping?
Comment 10 Fif91 2014-05-22 19:19:49 CEST
Hello,
Same problem here, moving MGA4 i686 to Cauldron.

Steps :
- urpmi.removemedia -a
- urpmi.addmedia --wget --distrib --mirrorlist 'http://mirrors.mageia.org/api/mageia.cauldron.$ARCH.list'
- urpmi --wget --auto --auto-update
=> problème de lecture du fichier de synthèse du média « Core Release »
Erreur de génération du fichier names : dépendance 0 non trouvée
Can't call method "flag_skip" on an undefined value at /usr/lib/perl5/vendor_perl/5.18.1/i386-linux-thread-multi/URPM/Resolve.pm line 582.

ping : 
PING distrib-coffee.ipsl.jussieu.fr (134.157.176.20) 56(84) bytes of data.

--- distrib-coffee.ipsl.jussieu.fr ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2003ms

CC: (none) => pdezac-linux

Angelo Naselli 2014-05-23 13:52:54 CEST

CC: (none) => anaselli

Comment 11 Fif91 2014-05-23 14:08:55 CEST
In my case, I changed the mirror to migrate to Cauldron, and now it works fine.

urpmi.addmedia --wget --distrib --mirrorlist 'http://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/cauldron/i586
Comment 12 Thierry Vignaud 2014-05-23 18:24:02 CEST
That's totally unrelated, I think you didn't applied the perl-URPM update...
Comment 13 Manuel Hiebel 2014-05-31 10:27:35 CEST
*** Bug 13422 has been marked as a duplicate of this bug. ***

CC: (none) => magnux77

Comment 14 Liam Quin 2014-06-22 20:46:11 CEST
This also happens for me on a cauldron system that has not been updated in a few weeks. (64-bit)

CC: (none) => liam

Comment 15 Marja Van Waes 2014-06-23 12:01:20 CEST
(In reply to Liam Quin from comment #14)
> This also happens for me on a cauldron system that has not been updated in a
> few weeks. (64-bit)

There is still the "NEEDINFO" keyword for this bug.

@ Liam

If you can reproduce this bug, would you then have time to do what Thierry asked in comment 5 and comment 8

@ Magnus

That doesn't mean that, if you didn't already do that, you shouldn't ;-)

CC: (none) => marja11

Comment 16 Magnus Rasche 2014-06-23 12:14:54 CEST
@ Marja
I have sent the informations to Thierry.

One part of the problem ist solved for me:
I have updated a fresh mga4 to Cauldron, the error did not appear.

I will check the Cauldron on my other system the next days.
But because of working inside my home my main system is in the moment offline in a box :(
Comment 17 Marja Van Waes 2014-06-23 13:52:40 CEST
(In reply to Magnus Rasche from comment #16)
> @ Marja
> I have sent the informations to Thierry.
> 

Thx, Magnus, so removing "NEEDINFO"

Keywords: NEEDINFO => (none)

Comment 18 Liam Quin 2014-06-24 00:17:02 CEST
I went to reproduce this today and to make the bug file requested...
and urpmi is working.

So maybe it was a problem with the sources that's been fixed on the mirrors?
Comment 19 Magnus Rasche 2014-06-24 07:01:35 CEST
On my second system the error does not appear.
seems solved because of the updated packages!?
Comment 20 Thierry Vignaud 2014-06-26 23:13:14 CEST
Removing "NEEDINFO" is wrong.
What was send was generated weeks after the initial demand and I could not reproduce the issue.
As well as detailed instructions how to reproduce (what was done, what rpmdrake view, ...)

Keywords: (none) => NEEDINFO

Thierry Vignaud 2014-06-27 15:44:32 CEST

Summary: drakrpm crashed (Can't call method "flag_skip" on an undefined value at /usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi/URPM/Resolve.pm line 582) => drakrpm crashed (Can't call method "flag_skip" on an undefined value at URPM/Resolve.pm line 582)

Comment 21 Thierry Vignaud 2014-08-27 13:36:59 CEST
*** Bug 13992 has been marked as a duplicate of this bug. ***

CC: (none) => cgilson

Comment 22 Jean-Luc Benchetrite 2014-10-03 15:29:40 CEST
I had this bug after my first install of cauldron (x86_64)
This bug is solved upgrading perl-URPM-4.29-1 to perl-URPM-4.30-1

CC: (none) => jean-luc.benchetrite

Comment 23 Manuel Hiebel 2014-10-22 19:14:55 CEST
*** Bug 14336 has been marked as a duplicate of this bug. ***

CC: (none) => anita_de_jongh

Comment 24 Manuel Hiebel 2014-10-22 19:15:02 CEST
*** Bug 14319 has been marked as a duplicate of this bug. ***

CC: (none) => egoitzro

Comment 25 Frank Griffin 2014-10-22 19:41:57 CEST
I;m not sure if this is any help, but you can also get this doing a fresh install of MGA4 if you have Core 32-bit Updates checked.  First it will complain that it can't read the Core 32 Update files, and then if you continue you'll get the flag-skip error

CC: (none) => ftg

Comment 26 Manuel Hiebel 2014-10-23 00:40:16 CEST
but if you update your distrib with urpmi, it works fine after (confirmed by the two last duplicate) , so ihmo there is nothing we can do.
Comment 27 Frank Griffin 2014-10-23 12:43:02 CEST
Yes, I understand that we can't update the installer urpmi after the fact.  I offered the observation purely as a diagnostic aside for helping to track down the flag-skip issue reported here.
Comment 28 Rémi Verschelde 2014-11-04 20:33:53 CET
I think this bug has been fixed by the perl-URPM 4.30 update. The report is comment 25 is a duplicate of bug 14235 IMO.

@Thierry, if you agree, you can close this one as RESOLVED FIXED I guess.

CC: (none) => remi

Comment 29 Rémi Verschelde 2014-11-04 20:34:17 CET
s/report is/report in/
Comment 30 Manuel Hiebel 2014-11-07 20:06:30 CET
*** Bug 14451 has been marked as a duplicate of this bug. ***

CC: (none) => varun

Comment 31 Manuel Hiebel 2014-11-07 20:07:05 CET
*** Bug 14447 has been marked as a duplicate of this bug. ***

CC: (none) => k7.riso

Comment 32 Manuel Hiebel 2014-11-07 20:08:12 CET
*** Bug 14431 has been marked as a duplicate of this bug. ***
Comment 33 Manuel Hiebel 2014-11-07 20:08:26 CET
*** Bug 14428 has been marked as a duplicate of this bug. ***
Comment 34 Manuel Hiebel 2014-11-07 20:08:48 CET
*** Bug 14365 has been marked as a duplicate of this bug. ***

CC: (none) => roger_javier

Comment 35 Thierry Vignaud 2014-11-20 17:59:36 CET
*** Bug 14579 has been marked as a duplicate of this bug. ***

CC: (none) => gstults

Comment 36 papoteur 2014-11-22 11:28:53 CET
I just done a fresh install from 4.1 DVD i586
I added the sources with the GUI tool.
Then I tried an update. I get the error reported.
In commandline, urpmi --auto-select generates the same error.
Thus I'm unable to add any software nor to update something.
I think that an entry should be written in errata.

CC: (none) => yves.brungard_mageia

Comment 37 Thierry Vignaud 2014-11-25 18:04:36 CET
This is already fixed.

If you still have the bug, you need to manually run (as root):
urpmi.update -a
urpmi perl-URPM

*** This bug has been marked as a duplicate of bug 14235 ***

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


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