Mageia Bugzilla – Bug 102
if a media is _not present_ (unmounted cdrom, no network) try to get package from other sources before complaining
Last modified: 2016-10-10 21:49:06 CEST
Description of problem:
suppose you have a cdrom media and full distrib from installing updates at the end of installation.
if cdrom is unmounted, then perhaps it could directly find the packages you want to install from the internet media instead of asking to mount the cdrom. or perhaps, giving a choice?
Steps to Reproduce:
Works for me, I have a local nfs mirror and when I update when I’m away it gets ignored, perhaps it is specific to CDRom medias ?
I haven't tested recently, but I remember that in Mdv after installing from CD or DVD I always had to urpmi.removemedia -a and add the internet media so that it would not require me to insert the CD/DVD, so this is a valid enhancement request for me.
i don't know if it's only related to CDrom medias, but it'd be nice if both cdrom and other medias are present that it can ignore the missing media and get the stuff from the internet medias
*** Bug 2612 has been marked as a duplicate of this bug. ***
(In reply to comment #2)
> I haven't tested recently, but I remember that in Mdv after installing from CD
> or DVD I always had to urpmi.removemedia -a and add the internet media so that
> it would not require me to insert the CD/DVD, so this is a valid enhancement
> request for me.
It was still like that with Mageia 1 rc and 1 official
I agree - it is really annoying that it doesn't offer choice "insert medium or fetch it from the internet".
I have to <ctrl>+c and then use
urpmi --excludemedia "Mageia - 1 - x86_64 DVD"
and of course
> Works for me, I have a local nfs mirror and when I update when I’m away
> it gets ignored, perhaps it is specific to CDRom medias ?
is completely irrelevant, as of course the updated packages can not be on the DVD/CD (and it should be a very rare case when an update pulls in another non-installed package from the release media)
It is mainly about installing additional stuff (e.g. devel packages).
People w/o a fast connection may want to keep the install media for adding more packages later.
This bug was filed against cauldron, but we do not have cauldron at the moment.
Please report whether this bug is still valid for Mageia 2.
(In reply to comment #8)
> This bug was filed against cauldron, but we do not have cauldron at the moment.
> Please report whether this bug is still valid for Mageia 2.
> Thanks :)
Just installed via the Mageia 2 x86_64 DVD and bug still exists.
*** Bug 8231 has been marked as a duplicate of this bug. ***
Noted, agreed my bug was duplicate of this. A _very_ old bug still an active issues as at M4 version2
*** Bug 12441 has been marked as a duplicate of this bug. ***
*** Bug 1546 has been marked as a duplicate of this bug. ***
The current state of this bug is that if you don't have the DVD on hand, updates fail if anything is needed from the DVD. A pain.
The behaviour of the antecedent distribution was to offer the choice of installing and mounting (the DVD image) to somewhere so it was automatically available - this worked very well unless one was pressed for disk space.
I'd like to see either this behavior restored, or perhaps more reasonably in our connected age, to just have the installer go and get everything from the mirror in use if the DVD is not available. Lack of the DVD should not crash package updates as it does at present.
(In reply to Tony Blackwell from comment #14)
> The behaviour of the antecedent distribution was to offer the choice of
> installing and mounting (the DVD image) to somewhere so it was automatically
> available - this worked very well unless one was pressed for disk space.
Do you remember whether that was always the case, or only an available option for powerpack users?
I know I usually got the powerpack, so perhaps it was just with that - but I really don't recall for sure. Certainly the choice was offered for the media I usually used over several years.
(and for your amusement, about to press the send button, and saw I'd mis-typed 'powerpack' as 'poserpack' Ah well...)
having the option to copy the medium to disk of course won't solve this bug...
...except in the sense that the medium is always 'present' - so the install script just runs. I agree however in that in this day and age the install script should be able to just download from the mirror whatever it needs if the install medium is not available, rather than having the install fail as at present.
This is said from the perspective of having immense data available via cable - but we all would still like to install from DVD if stuff is there, when on a limited data plan.
(In reply to Tony Blackwell from comment #14)
That just mean there's issue with perl-Hal-Cdroms
The issue is that as far as urpmi is concerned, identical packages from different media (eg: CD & online mirror) are different packages that happen to have the sames provides and thus can fulfill the needed requires.
They're not interchangeable.
Once one is picked, it cannot be changed.
So we first to dependencies resolution, then if we've packages from CD and perl-Hal-Cdroms works, we ask to insert for CD.
If we've picked only packages from remote mirror, we don't ask...
I'd love to see a prompt
"insert CDROM or press »x« to exclude CDROM media for this transaction"
(i.e. restart itself/inject --excludemedia cdrommedia)
Maybe even with "use »urpmi.update --ignore cdrommedia« to permanently disable the media"
We can of course just take the ticks out of the boxes for CD-ROM media in the first couple of lines for media sources in MCC, when it won't complain.
That does however lose the benefit of having an always-mounted image of the install DVD, as Mandriva used to offer (see comment 15 above) to save network traffic. Remember when during initial installation, it used to ask if you wanted to copy the installation media to disk? Disk space is pretty cheap these days.
This enhancement was targeted at Mageia 6 but I don't think anything was done until now. We need either someone from the Mageia Tools Maintainer Group to work on it quickly or set the milestone to Mageia 7.