Bug 32515 - drakrpm-update crashed
Summary: drakrpm-update crashed
Status: RESOLVED DUPLICATE of bug 32290
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords: FOR_ERRATA9
Depends on:
Blocks:
 
Reported: 2023-11-13 18:31 CET by Ricardo Naranjo
Modified: 2024-06-17 20:56 CEST (History)
2 users (show)

See Also:
Source RPM: rpmdrake-6.32-1.mga8
CVE:
Status comment:


Attachments

Description Ricardo Naranjo 2023-11-13 18:31:10 CET
The "drakrpm-update" program crashed. Drakbug-18.45 caught it.

Recién instalé Mageia 8 desde el medio live
comprobé mi conexión a internet
activé todos los repositorios, inclusive tainted (con excepción de testing y debug)
mandé a actualizar el sistema... salió el error

Can't call method "flag_skip" on an undefined value at /usr/lib64/perl5/vendor_perl/URPM/Resolve.pm line 577.
Perl's trace:
drakbug::bug_handler() called from /usr/lib64/perl5/vendor_perl/URPM/Resolve.pm:577
URPM::find_candidate_packages() called from /usr/lib64/perl5/vendor_perl/URPM/Resolve.pm:1504
URPM::__ANON__() called from /usr/lib64/perl5/vendor_perl/URPM/Resolve.pm:733
URPM::__ANON__() called from /usr/lib64/perl5/vendor_perl/URPM/Resolve.pm:697
URPM::__ANON__() called from /usr/lib64/perl5/vendor_perl/URPM/Resolve.pm:699
URPM::with_db_unsatisfied_requires() called from /usr/lib64/perl5/vendor_perl/URPM/Resolve.pm:733
URPM::with_any_unsatisfied_requires() called from /usr/lib64/perl5/vendor_perl/URPM/Resolve.pm:1553
URPM::_handle_diff_provides() called from /usr/lib64/perl5/vendor_perl/URPM/Resolve.pm:1280
URPM::resolve_requested__no_recommends_() called from /usr/lib64/perl5/vendor_perl/URPM/Resolve.pm:1170
URPM::resolve_requested__no_recommends() called from /usr/lib64/perl5/vendor_perl/URPM/Resolve.pm:1100
URPM::resolve_requested() called from /usr/share/perl5/vendor_perl/urpm/select.pm:403
urpm::select::_resolve_priority_upgrades() called from /usr/share/perl5/vendor_perl/urpm/select.pm:391
urpm::select::resolve_priority_upgrades_after_auto_select() called from /usr/share/perl5/vendor_perl/Rpmdrake/pkg.pm:393
Rpmdrake::pkg::get_updates_list() called from /usr/share/perl5/vendor_perl/Rpmdrake/pkg.pm:509
Rpmdrake::pkg::get_pkgs() called from /usr/share/perl5/vendor_perl/Rpmdrake/gui.pm:642
Rpmdrake::gui::pkgs_provider() called from /usr/libexec/drakrpm-update:266
main::run_treeview_dialog() called from /usr/libexec/drakrpm-update:293

Theme name: Adwaita
Kernel version = 5.10.16-desktop-1.mga8
Distribution=Mageia release 8 (Official) for x86_64
CPU=Intel(R) Celeron(R) N4000 CPU @ 1.10GHz
Comment 1 Lewis Smith 2023-11-13 21:39:53 CET
Ricardo, can you please say:
* What you were doing when the crash happened?
* Whether it was an isolated incident, or happes repeatedly when doing the same thing?

CC: (none) => lewyssmith

Comment 2 katnatek 2023-11-14 19:10:19 CET
Can't reproduce on my VM with Mageia 8 i586, but in telegram I did suggest to Ricardo use a specific mirror and look that fix the issue.

I guess the mirror list give to Ricardo one of the bad servers https://mirrors.mageia.org/status
Comment 3 Lewis Smith 2023-11-15 21:40:28 CET
Do we know whether that (changing mirror used) fixed the problem?
@Ricardo
Please answer the simple questions in comment 1.
Comment 4 Ricardo Naranjo 2023-11-17 05:29:20 CET
(In reply to Lewis Smith from comment #1)
> Ricardo, can you please say:
> * What you were doing when the crash happened?
> * Whether it was an isolated incident, or happes repeatedly when doing the
> same thing?

After a fresh installation of Mageia 8 Live, I checked my internet connection.

Then I activated all the repositories (including tainted, also the 32-bit ones, except for any that say testing or debugging)

When I requested to update the system the error appeared.

I thought it was because of the repositories, so I forced another set of repositories to install and the error went away.

It is a repeated incident, every time mageia 8 chooses the repository update process it is interrupted by the error.
Comment 5 Lewis Smith 2023-11-18 22:23:54 CET
Thank you for the clarification.
> I thought it was because of the repositories, so I forced another set of
> repositories to install and the error went away.
> It is a repeated incident, every time mageia 8 chooses the repository update
> process it is interrupted by the error.
So katnatek guessed right in comment 2.

This changes the nature of the bug: "every time mageia 8 chooses the repository, update process it is interrupted by the error".
CC'ing two people who know more about this sort of thing. Is it a bug in urpmi?

CC: (none) => davidwhodgins, j.alberto.vc

Comment 6 Dave Hodgins 2023-11-19 23:08:05 CET
It's a bug in urpmi such that it doesn't handle corruption in the data from
the mirrors, which can be caused by things such as downloading the files
while the mirror is in the middle of syncing with it's source.

The mirror may also have stopped syncing due to an issue such as a full file
system.

Workaround is to choose a specific mirror from one that is shown as good
in https://mirrors.mageia.org/status

It's a known issue, but will not be fixed until a developer get's around to
implementing proper mirror management in urpmi.

There's a separate issue described in https://wiki.mageia.org/en/Mageia_9_Errata#Downloading_software
where a partial download from the mirror has occurred. That requires running
"urpmi --clean" to resolve.
Comment 7 Lewis Smith 2023-11-20 21:53:05 CET
Thanks for this feedback.
It warrants another ERRATA...
Assigning to 'tools' fo the form.

Keywords: (none) => FOR_ERRATA9
Assignee: bugsquad => mageiatools
CC: lewyssmith => (none)

Comment 8 Lewis Smith 2024-06-17 20:56:17 CEST
Several similar bugs.

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

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


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