Mageia Bugzilla – Attachment 8862 Details for
Bug 19742
Near end of installer process updates fail due to udisks-daemon not running
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
remove media priror to add online media
19742.diff (text/plain), 482 bytes, created by
Thierry Vignaud
on 2017-01-16 11:00:32 CET
(
hide
)
Description:
remove media priror to add online media
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2017-01-16 11:00:32 CET
Size:
482 bytes
patch
obsolete
>diff --git a/perl-install/any.pm b/perl-install/any.pm >index 278abe1..4a357c2 100644 >--- a/perl-install/any.pm >+++ b/perl-install/any.pm >@@ -1020,6 +1020,9 @@ sub urpmi_add_all_media { > log::l("no network connexion!"); > return; > } >+ # First remove all media: >+ run_program::rooted($::prefix, 'urpmi.removemedia', '-a'); >+ # Then add online media: > my $wait; > my @options = ('--distrib', '--mirrorlist', '$MIRRORLIST'); > if ($binary eq 'urpmi.addmedia') {
diff --git a/perl-install/any.pm b/perl-install/any.pm index 278abe1..4a357c2 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -1020,6 +1020,9 @@ sub urpmi_add_all_media { log::l("no network connexion!"); return; } + # First remove all media: + run_program::rooted($::prefix, 'urpmi.removemedia', '-a'); + # Then add online media: my $wait; my @options = ('--distrib', '--mirrorlist', '$MIRRORLIST'); if ($binary eq 'urpmi.addmedia') {
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 19742
:
8637
|
8638
|
8639
|
8660
| 8862