RE: How to update RPM's from ISO images after hard driveinstallation

From: Peter De Jager (peterdj_at_telkomsa.net)
Date: 07/10/05

  • Next message: Mike Noble: "Re: USB Memory Stick not seen"
    To: "'For users of Fedora Core releases'" <fedora-list@redhat.com>
    Date: Sun, 10 Jul 2005 22:08:48 +0200
    
    

    > -----Original Message-----
    > From: fedora-list-bounces@redhat.com
    > [mailto:fedora-list-bounces@redhat.com] On Behalf Of Emmanuel Seyman
    > Sent: Sunday, July 10, 2005 18:44
    > To: For users of Fedora Core releases
    > Subject: Re: How to update RPM's from ISO images after hard
    > driveinstallation
    >
    > On Sun, Jul 10, 2005 at 06:24:46PM +0200, Peter De Jager wrote:
    > >
    > > I have already tried to mount my iso images using loopback
    > and it does
    > > work (as in, it does mount), but it still does not solve my
    > problem.
    > > E.g. once an ISO is mounted and available, when I install
    > an RPM the
    > > installer still asks me for a CD (e.g. Disc 3) and there is
    > still no
    > > option to browse to the mounted ISO image (without inserting a
    > > physical CD I cannot proceed). So what I need to know is
    > how to point
    > > Linux to a location where the installation files (or ISO's)
    > are stored
    > > so that I do not get prompted to insert CD's. Is there a
    > config file somewhere that I need to edit?
    >
    > You can tell yum to use a repository on your filesystem.
    > Mount your CDs using loopback then create a configuration
    > file for yum.
    > It should look something like this:
    >
    > [CD1-loop]
    > name=Fedora Core CD 1
    > enabled=1
    > gpgcheck=1
    > baseurl=url://path/to/the/CD/contents/
    >
    > [CD2-loop]
    > name=Fedora Core CD 2
    > enabled=1
    > gpgcheck=1
    > baseurl=url://path/to/the/CD/contents/
    >
    > [CD3-loop]
    > name=Fedora Core CD 3
    > enabled=1
    > gpgcheck=1
    > baseurl=url://path/to/the/CD/contents/
    >
    > [CD4-loop]
    > name=Fedora Core CD 4
    > enabled=1
    > gpgcheck=1
    > baseurl=url://path/to/the/CD/contents/
    >
    > Disable the Fedora repository by editing
    > /etc/yum.repos.d/fedora and changing the line:
    >
    > enabled=1
    >
    > to:
    >
    > enabled=0
    >
    > and yum will use your mounted images to get the rpms from the CD.
    >
    > Emmanuel
    >
    > --
    > fedora-list mailing list
    > fedora-list@redhat.com
    > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list

    Many thanks Emmanuel. I've had a look at yum (both man and Internet) and
    there is a very useful article which explains the process of setting up a
    yum repository in detail. For anyone else who might be interested, it's at:
    http://www.phy.duke.edu/~rgb/General/yum_article/yum_article/node14.html

    In the end I only used yum for installing and did not set up my own
    repository because they say that setting up a static repository from ISO's
    will prevent yum from managing package updates to keep your system current.

    All is working now, even my .NET code is running perfectly under Mono!
    Happiness ;-)
    Thanks to everyone for the help.

    Pete.

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Mike Noble: "Re: USB Memory Stick not seen"

    Relevant Pages

    • Re: Local Copy of Repository
      ... I want to keep a local copy of the Fedora 7 repository, ... This will be updated in regular intervals, ... quite a lot of time for 'yum' to initialize after checking the mirrors. ... Running 'yum' on a locally updated repository will save this time. ...
      (Fedora)
    • Re: newbie: 386/686pkgs. yum list pkg name. kde 3.3 on fc2? k3b.
      ... Am also attaching a txt file with the output of 'yum list'. ... I don't know (since I don't use KDE) if this functionality exists for KDE. ... name=Livna.org Fedora Compatible Packages ... name=Fedora Core 2 NewRPMS.sunsite.dk ...
      (Fedora)
    • Re: Fedora vs. Ubuntu
      ... YUM has some good features but the slowness of it drives me nuts. ... respective repository. ... Fedora repositories are maintained by different ... Extras plus one more repo for non-free stuff. ...
      (Fedora)
    • Re: Unable to install applications..
      ... I tried to install Electronic Lab for fedora 11 and I had this ... metadata for repository: fedora. ... yum groupinstall 'Electronic Lab' ...
      (Fedora)
    • Re: Wheres apt for core 4?
      ... > Where would be the point in providing and maintaining a separate Apt ... > repository for Fedora Core and Fedora Extras? ... Has anything changed in yum not being able to process: ...
      (Fedora)