Bug 1256 - install with boot.iso from HD writes a bogus urpmi.cfg
Summary: install with boot.iso from HD writes a bogus urpmi.cfg
Status: RESOLVED DUPLICATE of bug 5690
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard: 5beta1
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-13 10:08 CEST by Peter D
Modified: 2015-05-25 18:43 CEST (History)
4 users (show)

See Also:
Source RPM: drakx-installer
CVE:
Status comment:


Attachments
broken urpmi.cfg from hard disk installation. (78 bytes, text/plain)
2011-06-09 03:02 CEST, Peter D
Details

Description Peter D 2011-05-13 10:08:19 CEST
Description of problem:

After installing from boot.iso (on CD) and mageia-dvd-1-Beta2-i586.iso (on hard disk) /etc/urpmi/urpmi.cfg should contain an entry like; 


Core\ media /mnt/mageia-dvd-1-Beta2-i586/i586/media/core {
  key-ids: 80420f66
}

It actually contains a reference to /tmp, which doesn't work.  

Version-Release number of selected component (if applicable):


It is an old Mandriva bug that is still in Mageia 1 Beta 2.  

How reproducible:

Always.  

Steps to Reproduce:
1. as above
Thierry Vignaud 2011-05-13 11:12:14 CEST

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

Comment 1 Thierry Vignaud 2011-05-13 11:12:34 CEST
Please _attach_ your full original urpmi.cfg

Keywords: (none) => NEEDINFO

Comment 2 Georges Eckenschwiller 2011-06-08 17:45:02 CEST
Bonjour,
Je pense que mon problème est semblable.
Une très vielle bogue de Mandriva

J'installe avec un CD boot.iso
Je choisis hard disk
J'indique le répertoire : sda8
J'indique le chemin : pub/personal/cauldron/x86_64
Je poursuis l'installation qui se déroule sans problème.
Je redémarre normalement.

Lorsque, par la suite, je veux installer un nouveau paquetage, le chemin des sources est incorrect dans /etc/urpmi/urpmi.cfg

Il est : /var/ftp/media/core_release
au lieu de : /var/ftp/pub/personal/cauldron/x86_64/media/core_release.

En fait, lors de l'installation, l'installateur tient compte du répertoire (/var/ftp),
mais il ne tient pas compte du chemin indiqué (pub/personal/cauldron/x86_64

Traduction
Hello,
I think my problem is similar.
A very old bug in Mandriva

I installed with a CD boot.iso
I selected hard disk
I specify the directory: sda8
I specify the path: pub/personal/cauldron/x86_64
I pursue the installation proceeds without problem.
I restart normally.

Where, then, I want to install a new package, the source path is wrong in /etc/urpmi/urpmi.cfg

It is: /var/ftp/media/core_release
instead of: /var/ftp/pub/personal/cauldron/x86_64/media/core_release.

In fact, during installation, the installer recognizes the directory (/var/ftp)
but it does not take into account the way states (pub/personal/cauldron/x86_64

CC: (none) => paiiou

Comment 3 Peter D 2011-06-09 03:02:21 CEST
Created attachment 539 [details]
broken urpmi.cfg from hard disk installation.

I think that the installer writes the path that is in use during installation to urpmi.cfg (which is in /tmp) when it should write the path that will be used by the live installation.
Manuel Hiebel 2011-08-06 16:57:21 CEST

Keywords: NEEDINFO => (none)

Comment 4 Manuel Hiebel 2011-08-07 15:57:16 CEST
it's with all the drakx-installer media (boot.iso/dvd/dual)

Source RPM: (none) => drakx-installer

Thierry Vignaud 2011-08-08 12:03:19 CEST

Summary: install with boot.iso breaks urpmi.cfg => install with boot.iso from HD writes a bogus urpmi.cfg

Comment 5 Frank Griffin 2011-09-01 20:19:55 CEST
Still present in Cauldron, and affects NFS i586 installs as well.

The /mnt/nfs entry placed in /etc/fstab mounts /cauldron there (this is what was specified on the NFS "Directory" line in stage 1), but doesn't qualify any of the urpmi.cfg media definitions with "i586", e.g. /mnt/nfs/media/core/release instead of /mnt/nfs/i586/media/core/release.

CC: (none) => ftg

Comment 6 Marja Van Waes 2011-12-29 20:23:50 CET
@ Thierry

Only pinging so it won't show up again soon when I look for stale assigned but status NEW bugs

CC: (none) => marja11

Comment 7 Doug Laidlaw 2012-03-23 23:46:39 CET
I think that my problem is related to this.

Installing from the HD via an extra entry in GRUB, as per the Wiki (https://wiki.mageia.org/en/Boot.iso_install) but with a separate entry in GRUB as per Mandriva wiki, if I select a directory for the .iso file that is wrong or too high up, the selection box "Please select the directory" should list the contents of the directory.  From that, I can choose a subdirectory.  The listing is empty.  I can of course write the complete path down before I start.

CC: (none) => laidlaws

Comment 8 Thierry Vignaud 2012-03-24 14:50:24 CET
No it's not related.
Comment 9 Marja Van Waes 2012-05-26 13:03:57 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 10 Doug Laidlaw 2012-05-26 13:29:23 CEST
My comment was about using the network installer.  A couple of days ago, I wrote down a mirror in advance, but I didn't need it; everything was already filled in.  The problem about characters surrounding the message boxes has gone away as well.
Comment 11 Peter D 2012-05-28 09:25:51 CEST
Bug still exists in 64 bit version of Mageia 2.
Marja Van Waes 2012-05-28 10:10:10 CEST

Keywords: NEEDINFO => (none)
Hardware: i586 => All
Whiteboard: (none) => (MGA2)

Comment 12 Doug Laidlaw 2012-05-28 10:34:35 CEST
(In reply to comment #7)
> I think that my problem is related to this.
> 
> Installing from the HD via an extra entry in GRUB, as per the Wiki
> (https://wiki.mageia.org/en/Boot.iso_install) but with a separate entry in GRUB
> as per Mandriva wiki, if I select a directory for the .iso file that is wrong
> or too high up, the selection box "Please select the directory" should list the
> contents of the directory.  From that, I can choose a subdirectory.  The
> listing is empty.  I can of course write the complete path down before I start.

I recently did an upgrade with boot.iso, and all fields were filled in for me in advance.  So my contribution is now fixed.  I can't speak to the original bug, because I have never installed that way from scratch.
Comment 13 Marja Van Waes 2012-07-06 15:05:08 CEST
Please look at the bottom of this mail to see whether you're the assignee of this  bug, if you don't already know whether you are.


If you're the assignee:

We'd like to know for sure whether this bug was assigned correctly. Please change status to ASSIGNED if it is, or put OK on the whiteboard instead.

If you don't have a clue and don't see a way to find out, then please put NEEDHELP on the whiteboard.

Please assign back to Bug Squad or to the correct person to solve this bug if we were wrong to assign it to you, and explain why.

Thanks :)

**************************** 

@ the reporter and persons in the cc of this bug:

If you have any new information that wasn't given before (like this bug being valid for another version of Mageia, too, or it being solved) please tell us.

@ the reporter of this bug

If you didn't reply yet to a request for more information, please do so within two weeks from now.

Thanks all :-D
Comment 14 Peter D 2013-05-30 06:12:01 CEST
This bug still exists in the release version of Mageia 3.
Doug Laidlaw 2013-05-30 07:04:11 CEST

CC: laidlaws => (none)

Comment 15 Georges Eckenschwiller 2013-10-21 16:50:22 CEST
I confirm the problem with Mageia 3.

Install with disk boot-nonfree.iso
The mirror is on a partition sda8 (mounted on /var/ftp)

The path indicated in urpmi.cfg is /var/ftp/media/core/release instead of /var/ftp/pub/perso/3/x86_64/media/core/release
Georges Eckenschwiller 2013-11-14 23:06:26 CET

Whiteboard: (MGA2) => (MGA2) MGA3

Comment 16 Georges Eckenschwiller 2014-02-16 14:10:00 CET
This bug still exists since 2011-05-13 and is always present in MGA4 and probably in cauldron.
The version and the architecture are systematically lacking in the path, in the file urpmi.cfg

Whiteboard: (MGA2) MGA3 => (MGA2) MGA3 MGa4

Comment 17 Georges Eckenschwiller 2014-10-26 08:18:37 CET
I confirm the problem with cauldron
boot.iso from 16-10-2014.  Cauldron from 25-10-2014.

The mirror is on a partition sda8 (mounted on /var/ftp)

The path indicated in urpmi.cfg is /var/ftp/media/core/release instead of /var/ftp/pub/perso/5/i586/media/core/release.

Whiteboard: (MGA2) MGA3 MGa4 => (MGA2) MGA3 MGa4 Mga5

Comment 18 Dick Gevers 2014-11-27 13:33:17 CET
Installers before present will not be fixed...

Whiteboard: (MGA2) MGA3 MGa4 Mga5 => 5beta1

Rémi Verschelde 2015-05-25 12:12:39 CEST

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=5690

Comment 19 Thierry Vignaud 2015-05-25 18:43:01 CEST
Fixed

*** This bug has been marked as a duplicate of bug 5690 ***

Status: NEW => RESOLVED
Resolution: (none) => DUPLICATE


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