Description of problem: upgrading from mdv 2010.1 PWP to mageia 1 beta 2 (see screenshot)
Created attachment 310 [details] hal error update
Blocks: (none) => 56
it says "hal-thingie (hald) is not active or unready" or similar
Can you attach the report*gz from your /root/drakx/?
Keywords: (none) => NEEDINFOCC: (none) => thierry.vignaud
Created attachment 313 [details] report.bug.gz
Can you attach a tarball of the other files in /root/drakx too?
Created attachment 315 [details] complete /root/drakx dir
OK, what happens is that, in upgrade step, gurpmi is run in the chrooted installed environment. ("gurpmi2 --auto-select --update" with root = /mnt) gurpm computes the updates to install, then aborts before the first transaction due to HAL not running the chroot with the following message: "HAL daemon (hald) is not running or not ready" (from _try_mounting_cdrom_using_hal() from /usr/lib/perl5/vendor_perl/5.12.3/urpm/cdrom.pm) Can you attach your /etc/urpmi/urpmi.cfg?
Summary: in upgrade step, HAL errors out => gurpmi aborts in upgrade step due to HAL not running the chrootSource RPM: (none) => urpmi
Also could you attach the output file "urpmi.txt" resulting from the following command: "urpmi --auto-select --update 2>&1|tee urpmi.txt". Just say no when asking confirmation for installing.
Created attachment 316 [details] urpmi.cfg
the urpmi.txt file is completely empty
perhaps i need to do --auto-update instead?
Created attachment 317 [details] urpmi.txt (from --auto-update)
ping ? any update on that bug ?
CC: (none) => ennael1
The only thing I see is that gurpmi is asked to look only at urpmi update media but there're none in this urpmi.cfg which would hint all update media have been manually untagged
Actually it looks like we've a regression or a very old bug (I'ven't tested on a stable mdv) (but I think it's the later): urpmi --auto-select --update will default to all media when there're no media tagged as update. So there're two bugs here: - update media being not tagged as such - urpmi falling back to all media if there's no update media at all
Created attachment 349 [details] fix defaulting to select all media when using --update and there's no update media I've only tested with urpmi. Now urpmi doesn't default anymore to all media when there're no update media when using --update.
I can reproduce the "urpmi.addmedia --distrib <URL>" not tagging update media as update in an old mga chroot $distribconf->getvalue($media, 'updates_for') consistently not returns the right value
CC: (none) => dmorganec
CC: (none) => miscComponent: Installation => Release (media, process)
CC: (none) => mageia
CC: (none) => boklm
And the winner is the One who mixed "updates_for" with "update_for" in media.cfg. Note the missing "S". media.cfg is just bogus on our mirrors...
CC: (none) => pterjan
Priority: Normal => release_blockerSummary: gurpmi aborts in upgrade step due to HAL not running the chroot => media.cfg is bogus regarding update media (thus exposing *urpmi --auto-s --update defaulting to all media when there're no update media, including cdrom in chroot)Severity: normal => critical
Fixed in rev 1575 by boklm, is it ok ?
Not yet but soon. I'm updating puppet config to copy the files on mirror.
awesome
http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/i586/media/media_info/media.cfg as an example. Closing then
Status: NEW => RESOLVEDResolution: (none) => FIXED
Blocks: (none) => 2317
CC: boklm => (none)