Bug 102 - if a media is _not present_ (unmounted cdrom, no network) try to get package from other sources before complaining
Summary: if a media is _not present_ (unmounted cdrom, no network) try to get package ...
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: Mageia 6
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard: MGA5TOO
Keywords: USABILITY
: 1546 2612 8231 12441 20906 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-02-19 09:37 CET by AL13N
Modified: 2017-05-27 17:13 CEST (History)
13 users (show)

See Also:
Source RPM: urpmi
CVE:
Status comment:


Attachments

Description AL13N 2011-02-19 09:37:45 CET
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?

Reproducible: 

Steps to Reproduce:
D Morgan 2011-02-19 14:02:53 CET

CC: (none) => dmorganec
Source RPM: (none) => urpmi

Thierry Vignaud 2011-03-03 16:53:46 CET

CC: (none) => thierry.vignaud
Component: Installation => RPM Packages

Comment 1 Rémy CLOUARD (shikamaru) 2011-05-02 21:27:19 CEST
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 ?

Keywords: (none) => NEEDINFO
CC: (none) => shikamaru

Comment 2 Samuel Verschelde 2011-07-16 22:43:49 CEST
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.

CC: (none) => stormi

Comment 3 AL13N 2011-07-17 11:45:52 CEST
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
Manuel Hiebel 2011-09-04 00:14:24 CEST

Keywords: NEEDINFO => (none)

Comment 4 Manuel Hiebel 2011-09-04 00:21:29 CEST
*** Bug 2612 has been marked as a duplicate of this bug. ***

CC: (none) => dannyroberts.personal

Comment 5 Marja Van Waes 2011-09-29 21:21:25 CEST
(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

CC: (none) => m.van.waes
Assignee: bugsquad => thierry.vignaud

Comment 6 Christian Lohmaier 2011-10-23 02:20:24 CEST
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).

Keywords: (none) => USABILITY
CC: (none) => lohmaier+mageia

Comment 7 Dick Gevers 2011-12-09 19:56:57 CET
People w/o a fast connection may want to keep the install media for adding more packages later.

CC: (none) => doc-bugs

Comment 8 Marja Van Waes 2012-05-26 13:05:38 CEST
Hi,

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 :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 9 Danny Roberts 2012-05-26 18:57:17 CEST
(In reply to comment #8)
> Hi,
> 
> 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 :)
> 
> Cheers,
> marja

Just installed via the Mageia 2 x86_64 DVD and bug still exists.
Danny Roberts 2012-05-26 18:57:37 CEST

Version: Cauldron => 2

Sander Lepik 2012-05-26 19:07:04 CEST

Keywords: NEEDINFO => (none)
CC: (none) => sander.lepik

Nicolas Vigier 2012-05-27 19:14:02 CEST

Version: 2 => Cauldron

Comment 10 Manuel Hiebel 2012-11-28 16:03:07 CET
*** Bug 8231 has been marked as a duplicate of this bug. ***

CC: (none) => jarillon

Comment 11 Tony Blackwell 2014-03-15 21:46:44 CET
Noted, agreed my bug was duplicate of this.  A _very_ old bug still an active issues as at M4 version2

CC: (none) => tablackwell

Comment 12 Manuel Hiebel 2014-03-15 21:49:28 CET
*** Bug 12441 has been marked as a duplicate of this bug. ***
Comment 13 David Walser 2015-05-04 23:04:35 CEST
*** Bug 1546 has been marked as a duplicate of this bug. ***

CC: (none) => john_alatalo

Comment 14 Tony Blackwell 2015-05-04 23:39:47 CEST
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.

Whiteboard: (none) => M5 RC x86_64

Comment 15 Marja Van Waes 2015-05-13 07:46:20 CEST
(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?
Comment 16 Tony Blackwell 2015-05-13 12:26:36 CEST
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.
Tony

(and for your amusement, about to press the send button, and saw I'd mis-typed 'powerpack' as 'poserpack'  Ah well...)
Comment 17 Christian Lohmaier 2015-05-13 12:48:02 CEST
having the option to copy the medium to disk of course won't solve this bug...
Comment 18 Tony Blackwell 2015-05-13 22:50:06 CEST
...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.
Tony Blackwell 2015-06-15 21:38:04 CEST

Whiteboard: M5 RC x86_64 => MGA6

Comment 19 Thierry Vignaud 2015-06-15 21:43:06 CEST
(In reply to Tony Blackwell from comment #14)
That just mean there's issue with perl-Hal-Cdroms
Samuel Verschelde 2015-06-16 09:27:53 CEST

Target Milestone: --- => Mageia 6
Whiteboard: MGA6 => MGA5TOO

Comment 20 Thierry Vignaud 2015-06-16 09:58:32 CEST
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...
Comment 21 Christian Lohmaier 2015-06-16 12:46:45 CEST
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"
Comment 22 Tony Blackwell 2015-06-17 00:07:14 CEST
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.
Comment 23 Samuel Verschelde 2016-10-10 21:49:06 CEST
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.

Assignee: thierry.vignaud => mageiatools

Comment 24 Frédéric "LpSolit" Buclin 2017-05-26 18:44:35 CEST
*** Bug 20906 has been marked as a duplicate of this bug. ***

CC: (none) => email

Comment 25 Christian Lohmaier 2017-05-27 17:13:49 CEST
a non-obvious workaround is to use ctrl+d to cancel the read attempt from cdmedia - better than nothing...

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