Re: yum vs system-config-package

From: Paul Howarth (paul_at_city-fan.org)
Date: 02/01/05

  • Next message: Tony Dietrich: "Re: core 3 hangs"
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    Date: Tue, 01 Feb 2005 08:40:04 +0000
    
    

    On Tue, 2005-02-01 at 13:16 +0800, Wong Kwok-hon wrote:
    > On Mon, 31 Jan 2005 14:19:37 +0000, Paul Howarth <paul@city-fan.org> wrote:
    > > Wong Kwok-hon wrote:
    > > > On Sun, 30 Jan 2005 14:20:32 +0000, Paul Howarth <paul@city-fan.org> wrote:
    > > >>On Sat, 2005-01-29 at 23:12 +0800, Wong Kwok-hon wrote:
    > > >>>On Fri, 28 Jan 2005 08:38:29 +0000, Paul Howarth <paul@city-fan.org> wrote:
    > > >>>>Add/Remove packages (system-config-packages) gets confused once you've
    > > >>>>updated packages to errata versions (e.g. by doing "yum update"). You're
    > > >>>>better off just sticking with yum.
    > > >>>
    > > >>>Hello!
    > > >>>
    > > >>>That means yum and system-config-packages have a compatible problem ?
    > > >>>What should I do if I want to install packages ? User Yum or
    > > >>>system-config-packages ?
    > > >>
    > > >>I would just use yum if I was you.
    > > >
    > > >
    > > > But why not make them sync. together?
    > >
    > > That would the thing to do but at the moment there is a problem with
    > > system-config-packages, which is why I suggest sticking to yum for the
    > > time being.
    > >
    > > In FC4 there may well be a yum-based tool that completely replaces
    > > system-config-packages anyway.
    > >
    > > Paul.
    >
    > Thats a good idea but how to install the package from CD ?

    There are a variety of ways of doing this. The simplest is simply to
    mount the CD and manually use "rpm" to install the desired package. You
    may have to install dependency packages first though, as rpm does not
    install dependencies for you.

    If you've got lots of disk space, the easiest thing to do is to create
    your own yum repository and edit your /etc/yum.repos.d/fedora.repo,
    commenting out the line:

    mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-
    $releasever

    and adding a line:

    baseurl=file:///home/my-yum-repo/fedora-core-$releasever

    You can create this repo by doing the following:

    # mkdir -p /home/my-yum-repo/fedora-core-3
    (insert 1st FC3 CD)
    # mount /media/cdrom
    # cp /media/cdrom/Fedora/RPMS/*.rpm /home/my-yum-repo/fedora-core-3
    # umount /media/cdrom
    (repeat previous 3 steps for each of the remaining FC3 CDs)
    # cd /home/my-yum-repo/fedora-core-3
    # rpm -Uvh createrepo*
    # createrepo .

    You'll need at least 2GB free space in /home to do this.

    You'll then be able to use yum to install packages from your local repo
    without ever needing to mount your CDs.

    Paul.

    -- 
    Paul Howarth <paul@city-fan.org>
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Tony Dietrich: "Re: core 3 hangs"

    Relevant Pages

    • Re: Redhat to Freebsd
      ... >>researching security updates or in performing kernel or package updates. ... >>I assume it is only the Redhat distro that has the ease of RPM installation? ... So you can build from sources with ports, or install binaries ...
      (comp.unix.bsd.freebsd.misc)
    • Re: ./configure command
      ... The package is not available. ... machines which don't even have an OS at all, let alone RPM, ... There is not a "the tool to package and install on Fedora". ... If he wants to avoid trouble, ...
      (Fedora)
    • Re: Backing up whole system
      ... Amanda is packaged by Fedora and if Gene feels that the packages are ... fedora's rpm is/was incapable of handling the nuances of using only enough ... When an rpm package can build a complete user from scratch, ... Do you really believe that rpm can install every package under the sun, ...
      (Fedora)
    • Re: Ubunto
      ... developing Java on Fedora? ... The javadoc is in a third package, ... The lower layer is RPM - RPM files and the 'rpm' command, which is all about taking RPM files and unpacking them into the filesystem. ... It will then transactionally install all of them ...
      (comp.lang.java.programmer)
    • Re: [SLE] deCSS
      ... >> Anyone know of a reasonably easy decss program to copy DVDs to my hard ... This let's you compile from source but converts it to an rpm ... Then instead of make install you type checkinstall. ... package to meet the dependencies it may not be recognized by the other ...
      (SuSE)