[nflug] Hacking files in /etc/yum.repos.d
Sam Stern
samstern at samstern.net
Wed Aug 23 13:10:33 EDT 2006
> -----Original Message-----
> From: nflug-bounces at nflug.org
> [mailto:nflug-bounces at nflug.org] On Behalf Of default
> Sent: Wednesday, August 23, 2006 12:52 PM
> To: nflug at nflug.org
> Subject: [nflug] Hacking files in /etc/yum.repos.d
>
> Ladies (if there are any) and Gentlemen:
>
> I'm running FC3 on my laptop, and have in my intentions to upgrade
> eventually to FC5. The FC5 DVD I burned apparently has an unreadable
> file and I cannot proceed in upgrading. The file in question, an XML
> file whose name I don't recall at the moment, indeed cannot
> be read from
> the DVD, nor even from the ISO when mounted. Googling
> reveals this as a
> problem, but doesn't seem to propose a solution. There's some talk
> about padding the DVD, but this is currently beyond my expertise in
> burning optical discs. Anyway, it follows, at least in my mind, that
> the file won't burn to be readable if it isn't readable from
> the ISO, so
> that effort would be futile.
>
<snip>
Hi,
I've been trying yum on Suse (long story). Perhaps a copy of my files will
help:
/etc/yum.conf
--
[main]
cachedir=/var/cache/yum
reposdir=/etc/yum.repos.d
debuglevel=2
errorlevel=2
logfile=/var/log/yum.log
gpgcheck=1
assumeyes=0
tolerant=1
exactarch=1
obsoletes=1
distroverpkg=suse-release
retries=20
pkgpolicy=newest
plugins=1
metadata_expire=1800
exactarchlist=kernel-bigsmp, kernel-debug, kernel-default, kernel-dummy,
kernel-iseries64, kernel-ppc64, kernel-s3
90, kernel-smp, kernel-syms, kernel-um, kernel-xen, kernel-xenpae, glibc
installonlypkgs=kernel-bigsmp, kernel-debug, kernel-default, kernel-dummy,
kernel-iseries64, kernel-ppc64, kernel-
s390, kernel-smp, kernel-syms, kernel-um, kernel-xen, kernel-xenpae
kernelpkgnames=kernel-bigsmp, kernel-debug, kernel-default, kernel-dummy,
kernel-iseries64, kernel-ppc64, kernel-s
390, kernel-smp, kernel-syms, kernel-um, kernel-xen, kernel-xenpae
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
#[repository]
[cthiel1]
name=cthiel1
baseurl=http://linux.nssl.noaa.gov/opensuse/repositories/home:/cthiel1/SL-9.
3
# Other repositories go here in the same pattern as above
--
/etc/yum.repos.d/packman.repo
--
[packman]
name=Packman for SUSE Extras $releasever - $basearch
mirrorlist=http://packman.links2linux.de/mirrorlists/suse
enabled=1
gpgcheck=1
gpgkey=file:///usr/lib/rpm/gnupg/packman-andsch.asc
file:///usr/lib/rpm/gnupg/packman-bwalle.asc
file:///usr/lib/rpm/gnupg/packman-detrei.asc
file:///usr/lib/rpm/gnupg/packman-henmuh.asc
file:///usr/lib/rpm/gnupg/packman-henvol.asc
file:///usr/lib/rpm/gnupg/packman-hergra.asc
file:///usr/lib/rpm/gnupg/packman-konmal.asc
file:///usr/lib/rpm/gnupg/packman-leofre.asc
file:///usr/lib/rpm/gnupg/packman-mantre.asc
file:///usr/lib/rpm/gnupg/packman-marhue.asc
file:///usr/lib/rpm/gnupg/packman-marsch.asc
file:///usr/lib/rpm/gnupg/packman-pasble.asc
file:///usr/lib/rpm/gnupg/packman-queden.asc
file:///usr/lib/rpm/gnupg/packman-railay.asc
file:///usr/lib/rpm/gnupg/packman-ralcor.asc
file:///usr/lib/rpm/gnupg/packman-robrak.asc
file:///usr/lib/rpm/gnupg/packman-thomue.asc
--
So taking the above as a sample, I would suggest starting from thease files
as a base and applying the knowledge from:
<http://fedoraproject.org/wiki/Extras/UsingExtras>
To recreate the FC specific Files. Hint: Open:
http://download.fedora.redhat.com/pub/fedora/linux/
In your browser. This then suggests that you only need two entries in your
yum.conf file (or you can inflict the yum.conf.d madness on yourself):
[core]
name=Fedora Core
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/
$basearch/os/
gpgkey=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$
basearch/os/RPM-GPG-KEY
http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearc
h/os/RPM-GPG-KEY-fedora
[updates]
name=Fedora Core updates
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$rel
easever/$basearch/
[extra]
name-Fedora Core Extras
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/4/i386/
gpgkey=http://download.fedora.redhat.com/pub/fedora/linux/extras/RPM-GPG-KEY
-Fedora-Extras
# Add other repos here.
Good Luck!!
Sam S.
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug
More information about the nflug
mailing list