LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-04-2013, 02:23 PM   #1
jeffery1
LQ Newbie
 
Registered: Feb 2013
Posts: 16

Rep: Reputation: Disabled
Unhappy Fedora 18 YUM is Screwed


My yum.conf file is screw I need help.
 
Old 10-04-2013, 02:30 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
This is the default `yum.conf' :
Code:
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3

#  This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
#  It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
 
Old 10-04-2013, 02:37 PM   #3
jeffery1
LQ Newbie
 
Registered: Feb 2013
Posts: 16

Original Poster
Rep: Reputation: Disabled
knudfl
Ok Now I'm getting the following "Insufficient server config - no server found. Aborting."
What in the hell does this mean?
 
Old 10-04-2013, 03:03 PM   #4
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
first post your yum configuration otherwise we will be shooting in the dark.
 
Old 10-04-2013, 03:07 PM   #5
jeffery1
LQ Newbie
 
Registered: Feb 2013
Posts: 16

Original Poster
Rep: Reputation: Disabled
lleb,
Until I added the following:
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3
I had nothing, except the from
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
 
Old 10-04-2013, 06:50 PM   #6
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
as posted above that is the exact default yum.conf...

you might want to copy/paste to replace what ever you have in there now.

Code:
[user@user yum.repos.d]$ d
total 72
drwxr-xr-x.   2 root root  4096 Sep 27 15:58 ./
drwxr-xr-x. 152 root root 12288 Oct  4 19:25 ../
-rw-r--r--.   1 root root   183 Apr  1  2011 adobe-linux-x86_64.repo
-rw-r--r--.   1 root root   185 Sep 10 18:06 atrpms.repo
-rw-r--r--.   1 root root  1180 Aug 30 16:32 fedora.repo
-rw-r--r--.   1 root root  1141 Aug 30 16:32 fedora-updates.repo
-rw-r--r--.   1 root root  1199 Aug 30 16:32 fedora-updates-testing.repo
-rw-r--r--.   1 root root   116 Sep 10 16:33 google-chrome.repo
-rw-r--r--.   1 root root  1241 Mar 13  2013 rpmfusion-free-rawhide.repo
-rw-r--r--.   1 root root  1172 Jun 28 17:44 rpmfusion-free.repo
-rw-r--r--.   1 root root  1170 Mar 13  2013 rpmfusion-free-updates.repo
-rw-r--r--.   1 root root  1230 Jun 28 17:44 rpmfusion-free-updates-testing.repo
-rw-r--r--.   1 root root  1295 Mar 13  2013 rpmfusion-nonfree-rawhide.repo
-rw-r--r--.   1 root root  1217 Jun 28 17:49 rpmfusion-nonfree.repo
-rw-r--r--.   1 root root  1215 Mar 13  2013 rpmfusion-nonfree-updates.repo
-rw-r--r--.   1 root root  1275 Jun 28 17:49 rpmfusion-nonfree-updates-testing.repo
i have d set to the following alias
Code:
alias d='/bin/ls -laF'
here is my fedora.repo

Code:
[user@user yum.repos.d]$ cat fedora.repo 
[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
enabled=1
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch

[fedora-debuginfo]
name=Fedora $releasever - $basearch - Debug
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch

[fedora-source]
name=Fedora $releasever - Source
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
and my update:

Code:
[user@user yum.repos.d]$ cat fedora-updates.repo
[updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch

[updates-debuginfo]
name=Fedora $releasever - $basearch - Updates - Debug
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/debug/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch

[updates-source]
name=Fedora $releasever - Updates Source
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/SRPMS/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
Code:
[user@user yum.repos.d]$ cat fedora-updates-testing.repo
[updates-testing]
name=Fedora $releasever - $basearch - Test Updates
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/$releasever/$basearch/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch

[updates-testing-debuginfo]
name=Fedora $releasever - $basearch - Test Updates Debug
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/$releasever/$basearch/debug/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch

[updates-testing-source]
name=Fedora $releasever - Test Updates Source
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/$releasever/SRPMS/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-source-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
all of the rest of your repos you can update/edit/add/remove on your own.
 
Old 10-04-2013, 07:01 PM   #7
jeffery1
LQ Newbie
 
Registered: Feb 2013
Posts: 16

Original Poster
Rep: Reputation: Disabled
In my yum.repos.d I have preety much what you have but I think I'm missing mirrorlist for mine. Because every time I use yum I get the following Insufficient server config - no server found. Aborting." So what in the world does that mean? Someone explain please?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fedora 12 `yum update -y` & ran out of space in my /var/yum/cache/directory. techknowtarded Linux - Newbie 7 08-13-2011 07:23 PM
[SOLVED] Colours in Firefox\Thunderbird are Screwed up (Fedora 14) dalponis Fedora 10 03-14-2011 10:13 PM
windows xp screwed fedora 5 grub loader vishallagdev Fedora 26 08-30-2006 04:23 AM
screwed up fedora install - dumb mistake itsjustme Fedora 2 06-19-2004 03:54 AM
Screwed up my grub. conf file. Can't get into Fedora? mman49 Fedora 5 05-07-2004 10:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration