Bug 23491 - urpmi hangs
Summary: urpmi hangs
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-28 12:47 CEST by Denis Bitouzé
Modified: 2020-08-16 18:31 CEST (History)
3 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
strace of urpmi.addmedia (258.20 KB, text/plain)
2018-08-28 12:47 CEST, Denis Bitouzé
Details

Description Denis Bitouzé 2018-08-28 12:47:12 CEST
Created attachment 10337 [details]
strace of urpmi.addmedia

Description of problem:

After a MGA6 update (performed on 2018-08-27), `urpmi.addmedia` (and some
`drak...` applications as well) hangs. After this update, I restarted the
computer as advised (because of a new kernel) and, during shutdown or restart (I
don't remember), thousands messages such as :

```
xx printk messages dropped acpi error x0gs namespace
```


were emitted, endlessly so I had to hard power off. Probably due to these
messages, I noticed an full `/var` partition, because of `syslog.1`,
`errors.log.1` and `messages.1`, each of them about 2.7 GB. Even after empty
them with e.g. `>messages.1` and a `/var` partition okay, `urpmi.addmedia`
hangs. I'll attach the strace of e.g.:

```
strace -o strace-rpm.txt urpmi.addmedia --debug -v --distrib --mirrorlist '$MIRRORLIST'
```

the `debug` and `verbose` options only tell:

```
getting exclusive lock on urpmi
parsing: /etc/urpmi/mediacfg.d/Official-6-x86_64
loading mirrors cache
using mirror http://ftp.free.fr/mirrors/mageia.org/distrib/6/x86_64
récupération du fichier media.cfg...
récupération de $MIRRORLIST  media/media_info/media.cfg
'/usr/bin/aria2c' '--log' '/var/cache/urpmi/partial/.aria2.log' '--auto-file-renaming=false' '--ftp-pasv' '--summary-interval=1' '--follow-metalink=mem' '--metalink-enable-unique-protocol=true' '--metalink-preferred-protocol=http' '--max-tries=5' '--lowest-speed-limit=20K' '--timeout' '3' '--split=3' '--uri-selector=adaptive' '--server-stat-if=/root/.aria2-adaptive-stats' '--server-stat-of=/root/.aria2-adaptive-stats' '--max-file-not-found=9' '--connect-timeout=6' '-Z' '-j1' '--allow-overwrite=true' '/var/cache/urpmi/.metalink'
aria2c: 
aria2c: 08/28 12:38:16 [NOTICE] ServerStat file /root/.aria2-adaptive-stats loaded successfully.
aria2c: 
aria2c: 08/28 12:38:16 [NOTICE] Download complete: /var/cache/urpmi/partial/media.cfg
aria2c: 
aria2c: 08/28 12:38:16 [NOTICE] ServerStat file /root/.aria2-adaptive-stats saved successfully.
aria2c: 
aria2c: Download Results:
aria2c: gid   |stat|avg speed  |path/URI
aria2c: ======+====+===========+=======================================================
aria2c: 93759d|OK  |   9.7MiB/s|/var/cache/urpmi/partial/media.cfg
aria2c: 
aria2c: Status Legend:
aria2c: (OK):download completed.
$MIRRORLIST  media/media_info/media.cfg récupéré
opening rpmdb (root=, write=)
```

Version-Release number of selected component (if applicable):
Computer: Dell OptiPlex 7050
Marja Van Waes 2018-08-28 14:49:10 CEST

Assignee: bugsquad => mageiatools
CC: (none) => marja11, thierry.vignaud

Comment 1 Denis Bitouzé 2018-08-29 15:37:09 CEST
With a reasonable /var partition, playing around with urpmi (using curl instead of aria2) made everything work as expected. Hence I mark this bug as unconfirmed.

Status: NEW => UNCONFIRMED
Ever confirmed: 1 => 0

Comment 2 Aurelien Oudelet 2020-08-16 18:31:38 CEST
Mageia 6 changed to end-of-life (EOL) status on 2019-09-30. It is no longer 
maintained, which means that it will not receive any further security or bug 
fix updates.

Package Maintainer: If you wish for this bug to remain open because you plan 
to fix it in a currently maintained version, simply change the 'version' to 
a later Mageia version.

Bug Reporter: Thank you for reporting this issue and we are sorry that we 
weren't able to fix it before Mageia 6's end of life. If you are able to 
reproduce it against a later version of Mageia, you are encouraged to click 
on "Version" and change it against that version of Mageia.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a more recent
Mageia release includes newer upstream software that fixes bugs or makes them
obsolete.

If you would like to help fixing bugs in the future, don't hesitate to join the
packager team via our mentoring program [1] or join the teams that fit you 
most [2].

[1] https://wiki.mageia.org/en/Becoming_a_Mageia_Packager
[2] http://www.mageia.org/contribute/

Best regards,
Aurélien
Bugsquad Team

Resolution: (none) => OLD
Status: UNCONFIRMED => RESOLVED
CC: (none) => ouaurelien


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