Re: Info on options to yumdownloader

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Thank you very much for the explanation, appreciate it
a lot.  I understand it much better now.

As for why no updates, well, I was on this path and
wanted to know if possible and how to do it.  And it
should be possible, for a user of a system to get the
kernel source of running kernel.

Well, I tried the steps, and something is wrong
(meaning, not working).  When I issued the command, I
get the following:

$ uname -r
2.6.18-1.2798.fc6
$ yumdownloader -e core-source -e updates-source
--source kernel
updates-source            100%
|=========================|  951 B    00:00     
core-source               100%
|=========================|  951 B    00:00     
primary.xml.gz            100%
|=========================| 120 kB    00:00     
##################################################
404/404
primary.xml.gz            100%
|=========================| 305 kB    00:01     
##################################################
1154/1154
kernel-2.6.20-1.2933.fc6. 100%
|=========================| 6.3 MB    00:24     
kernel-2.6.20-1.2933.fc6. 100%
|=========================| 6.3 MB    00:00     
Traceback (most recent call last):
  File "/usr/bin/yumdownloader", line 191, in ?

Why is rmpdownloader downloading 2.6.20 (when my
currently-running kernel is 2.6.18).  Am I doing
something wrong?

Regards,
Ahmed.

--- Todd Zullinger <tmz@xxxxxxxxx> wrote:

> Ahmed A wrote:
> > I have a FC6 system (with no updates).
> 
> Any particular reason why no updates?
> 
> > I have been reading and following the instructions
> in
> > the link
> >
>
"http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/RELEASE-NOTES-en_US.html";
> > section 8.6, to get the full kernel source to the
> > above kernel.  One of the instructions says:
> > 
> > yumdownloader -e core-source -e updates-source
> > --source kernel
> > 
> > Can someone please tell me what the options -
> > core-source and updates-source do?
> 
> The -e (or --enablerepo) option enables a
> repository.  In this case,
> it is being used twice to enable both the
> core-source and
> updates-source repositories.  Those are the same as
> the core and
> updates repos, except they contain the source rpms
> instead of the
> binaries.
> 
> > I have done some googling, read man pages, but to
> no luck.
> 
> It seems that the yumdownloader page doesn't list
> the -e option.  It
> is listed in the --help output though:
> 
> $ yumdownloader --help
> usage: /usr/bin/yumdownloader [options] package1
> [package2] [package..]
> 
> options:
>   -h, --help            show this help message and
> exit
>   -c CONFIG, --config=CONFIG
>                         config file to use (defaults
> to /etc/yum.conf)
>   --destdir=DESTDIR     destination directory
> (defaults to current directory)
>   --urls                just list the urls it would
> download instead of
>                         downloading
>   --resolve             resolve dependencies and
> download required packages
>   --source              operate on source packages
>   -e REPO, --enablerepo=REPO
>                         enable repository
> 
> I just filed a bug and submitted a patch to add this
> option (and the
> similarly missing --config option) to the man page. 
> See
> https://bugzilla.redhat.com/235142
> 
> > Will the option "updates-source"  update my kernel
> version.
> 
> No.  To update your kernel you should just use "yum
> update kernel" or
> to update all of the packages on your system, "yum
> update".
> 
> HTH,
> 
> -- 
> Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL:
> www.pobox.com/~tmz/pgp
>
======================================================================
> As long as people will accept crap, it will be
> financially profitable
> to dispense it.
>     -- Dick Cavett, in "Playboy", 1971
> 
> > -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe:
https://www.redhat.com/mailman/listinfo/fedora-list



 
____________________________________________________________________________________
Bored stiff? Loosen up... 
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux