LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-12-2014, 08:32 AM   #1
Surya137
LQ Newbie
 
Registered: Mar 2014
Posts: 12

Rep: Reputation: Disabled
Question yum


Hi,
This is Surya, new to Fedora but who loves LINUX.
I use yum in my Linux to manage softwares. But I am not able to upgrade or install stuffs via yum because I keep getting this error message always, "Could not resolve bae URL". Thus I decided to configure yum and used this command, "/etc/yum.conf " even while logged in as Root user, I get the error "Permission denied" what am I to do. I run on fedora 17, and wherever I post this they keep telling me upgrade your OS, but being a beginner I don't know to do that nor am I interested as of now. All I want to do is make my yum work better and slowly upgrade my OS later. I have been with this problem for so long so please please please please look in to this and give me an "easy to understand" and useful help. I have referred lots of other websites, help forums, books for help but all of those only resulted in vain.
So please help me out and help me learn about LINUX more..
 
Old 03-12-2014, 08:47 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Hi and welcome to LinuxQuestions!

The problem should be inside one of your .repo files in /etc/yum.repos.d/. Maybe start to check the main Fedora repository defined in /etc/yum.repos.d/fedora.repo and see if there's something weird inside it. Regarding /etc/yum.conf, it's not an executable, but an ASCII text file that hosts the switches to control the behaviour of yum. If you want to play with it, you have to open it in a text editor like gedit or vi (the latter from the command line).


To learn more about package managing in Fedora (using yum) you may take a look at http://docs.fedoraproject.org/en-US/...anagement.html.
 
2 members found this post helpful.
Old 03-12-2014, 08:58 AM   #3
Surya137
LQ Newbie
 
Registered: Mar 2014
Posts: 12

Original Poster
Rep: Reputation: Disabled
Question

Hi
thnx..
I am totally new to LINUX and to me everything appears weird, I am just googling and browsing stuffs to learn more, this is what was inside /etc/yum.repos.d/fedora.repo
plz help me out...

"[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-$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-$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-$basearch
~

Last edited by Surya137; 03-12-2014 at 09:01 AM. Reason: wanted to thank
 
Old 03-12-2014, 09:09 AM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Nothing wrong with your fedora.repo. What package where you trying to install? Also, please can you post the complete output of
Code:
yum list bash*
just to have a clue of what's going on?

An aside note: please use CODE tags to embed the output of the commands and/or lines of code. They preserve the original format, indentation, multiple spaces and so on in order to improve readability. To use CODE tags put [CODE] before and [/CODE] after the lines of text. Thanks.
 
1 members found this post helpful.
Old 03-12-2014, 02:53 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
I run on fedora 17
you will have all kinds of UNSOLVABLE !!! problems even trying to use the dead and unsupported Fedora 17
Fedora 17 is unsupported
Fedora 18 is unsupported
fedora 19 is half way through it's life span
Fedora20 is the CURRENT version


Install Fedora 20 !!!!!


Quote:
even while logged in as Root user, I get the error "Permission denied"
fedora will not allow you to login as root into the gui
if you try to use the " pam hack" to re-enable it you will cause all kinds of mostly not easily solved problems
including not being able sometimes to edit files

Quote:
r I post this they keep telling me upgrade your OS, but being a beginner I don't know to do that nor am I interested as of now.
seeing as it is impossible to UPGRADE the dead fedora 17 to 20
you have to REINSTALL using the fedora 20 dvd

Quote:
I interested as of now.
then do not ask for help!!!!!!!!!

you have been informed that 17 is DEAD!!!!!!!!!!
and NOT to use it

install 20
then in about 90 days install/upgrade to fedora 21
then 180 days after that upgrade to fedora 22
then 180 DAYS after that upgrade to fedora 23

Last edited by John VV; 03-12-2014 at 03:00 PM.
 
1 members found this post helpful.
Old 03-12-2014, 08:10 PM   #6
Surya137
LQ Newbie
 
Registered: Mar 2014
Posts: 12

Original Poster
Rep: Reputation: Disabled
Question yum list bash*

@colucix: thnx again..
Using yum list bash this is what I get,
Code:
Loaded plugins: langpacks, presto, refresh-packagekit
Could not retrieve mirrorlist http://fedora.redhat.com/download/mirrors/fedora-core-17 error was
14: curl#6 - "Couldn't resolve host"
Could not retrieve mirrorlist http://fedora.redhat.com/download/mirrors/fedora-extras-17 error was
14: curl#6 - "Couldn't resolve host"
Error: Cannot find a valid baseurl for repo: core
 
Old 03-12-2014, 08:17 PM   #7
Surya137
LQ Newbie
 
Registered: Mar 2014
Posts: 12

Original Poster
Rep: Reputation: Disabled
Thumbs down OMG!!

@John VV:

that's all Negative from you huh??
but I am gonna try my best with yum with the help of colucix and if nothing helps maybe then I ll try some other distro, if that is the case can U suggest me the best and easy to use LINUX for beginners that doesnt need such constant upgradation or is easy to configure,
but I really do hope that this yum starts working, if yum picks up then without having the trouble of lots of procedures, I can simply upgrade my OS via this...
Is there any other way by which softwares can be installed in fedora...

but once I have installed open office using yum,
I followed all the instructions present in: http://www.if-not-true-then-false.co...-red-hat-rhel/
everything went well, stuffs got installed but if I try to open it keeps on loading and loading.....


HOW I WISH YUM WORKS BETTER....
 
Old 03-12-2014, 08:39 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
yum works JUST fine
fedora 17 is DEAD and unsupported
that mirror list is pointing to a DEAD webpage

there is and NEVER!!!!!!!
read NEVER!!!!!!!!
was a page called
http://fedora.redhat.com/download/mi...fedora-core-17
you can NOT get to that webpage

there is and NEVER was a fedora 17 repo mirror list page by that name

fedora even dropped using the "core" in the name all the way back with "Fedora-core 6 "
6 was the VERY last to have "core" in the name

you are trying to access a mirror list that never existed
there is no way that address is from the fedora 17 install dvd
you had to create your self
WHY ???



install Fedora 20


you used a "local insrtall" using yum
-- not the recomended way from the install instructions

you are instructed in the OO readme install instructions to use "rpm" to install the fedora OO

some how you REWROTE the NOT working
--- yes the not working fedora 17 mirror list in the "fedora.repo" file
and replaced it with http://fedora.redhat.com/download/mi...fedora-core-17

a page that NEVER existed

Last edited by John VV; 03-12-2014 at 08:45 PM.
 
1 members found this post helpful.
Old 03-13-2014, 04:38 AM   #9
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
@Surya137: JohnVV may have a rather strong way of saying things, but he is correct on the technical detail.
F17 is dead; you're wasting your time trying to "fix" yum; there's nothing wrong with yum.

Do indeed install a fresh version of F20 if you want to make progress.
 
1 members found this post helpful.
Old 03-13-2014, 08:18 AM   #10
Surya137
LQ Newbie
 
Registered: Mar 2014
Posts: 12

Original Poster
Rep: Reputation: Disabled
Arrow abt yum and installing new OS

@ John VV and Chrism01:
Well I get the fact that Fed17 is obsolete, but then I am not gonna do much with this OS, all I wanted to do was install open office so that I could use power point and probably install adobe flash so that few plugins will work in my browser....
tht's it...
So I thought tht in my attempts to install all these I mit learn quiet a bit nd with that I culd upgrade my OS...
If all goes well nd if some day I am able to use softwares like Adobe photoshop or stuffs like that with LINUX, I ll ditch off Windows and fully stick on with LINUX.
I do hope that day is not far...
Hope thngs go good...
and as you said (John VV) if the base URL doesn't exist, then I ll try to use some other base URL perhaps...
<b><i>do u know any valid base URL's that works???</b></i>
that ll work na...???

nd I am planning to take it to my lab technician at college if nothing I try works..
thnx nyways...
 
Old 03-14-2014, 12:54 AM   #11
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Its not just that F17 is obsolete; its that (because it is obsolete), the repos have been switched off/disabled/removed, which is why you can't reach them...
Hope that clarifies things.
 
1 members found this post helpful.
Old 03-14-2014, 05:04 AM   #12
Surya137
LQ Newbie
 
Registered: Mar 2014
Posts: 12

Original Poster
Rep: Reputation: Disabled
@ chrism01:
yup that clarifies... thnk u..
but Can't I use the repos from the recent version of fedora?
I mean a repo is just a software collection right, maybe it is specific to fed 20 but still it mit work rit..
but then again I am not sure if it will work coz once as I already mentioned I installed open office in fed 17 following some instructions in a website, but even though the open office got installed I was not able to open it, whenver I tried to open it, it kept on loading but never opened up..
I mean even if I had to upgrade my fed to a recent one I have to use yum, (coz I thnk with my knowledge of LINUX distros using DVD to install mit be risky) for which again I gotta use yum...
So what only am I to do now???
 
Old 03-14-2014, 07:22 AM   #13
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
The best solution to your problem is to back up your data and completely reinstall a supported operating system. If you are an Adobe Photoshop user, then my recommendation is Windows 7, Windows 8, or Mac OSX (because Adobe does not make a version of Photoshop for Linux).

You say you want to "learn more about Linux." A good way to learn about ANYTHING is to listen to (not ignore or argue with) advice from experts.

Last edited by snowday; 03-14-2014 at 07:24 AM.
 
1 members found this post helpful.
Old 03-14-2014, 07:54 AM   #14
itsgregman
Member
 
Registered: Jan 2008
Location: North Carolina
Distribution: Slackware 14.1
Posts: 211

Rep: Reputation: 77
If you don't like to reinstall/upgrade you should try PcLinux or maybe Mint Debian edition. Both are rolling releases which means you never have to do a reinstall and just have to update the system one a month or so. Pclinux is probably the most windows like as it uses KDE by default while Mint debian edition uses XFCE. I've used Mint Debian edition, PcLinux, and Arch and of those 3 Pclinux has been the most stable by far, of course there are qualifiers to that. Pclinux is rarely cutting edge, meaning a lot of the software in their repos isn't the most recent version. While Arch is very cutting edge and most of their repos are the most recent versions available. Mint Debian Edition falls somewhere in between.

You just need to decide What you need, the newest versions of software isn't always the most stable but may be needed in some instances, only you know your individual needs.
 
1 members found this post helpful.
Old 03-14-2014, 08:13 AM   #15
Surya137
LQ Newbie
 
Registered: Mar 2014
Posts: 12

Original Poster
Rep: Reputation: Disabled
:)

@ snow pine:
Hi...
thnks for the tip.
yup I do wanna learn more about LINUX,
nd oh!my.. did I sound like arguing??
I was just asking of possibilities of continuing with this version..
yup I do use all of adobe products from photoshop, dreamweaver nd stuffs on my win7.
I have dual OS in my lap, that is why I am so reluctant about backing up data and reinstalling Fed20...
coz if I mess up I possibly gotta buy those win, adobe and sony products I am using again or look for a crack...
but I do really love LINUX...
all that I wanna do is install a good quality of open office in here,VLC player and adobe plugin for my browser, is that too much to ask for...
nd plz don't take it that way as I am arguing, I am really grateful to all of you: snowpine,chrism 01, John VV and colucix...
I really did learn some..
but I just wish I could install those in here, there is nothing more I ask for.
Where can I find the list of base URL's and mirror list Yum uses,
Someone once said me that there are lots of servers hosted by LINUX, so if one base URL doesnt work try the one near your country,
and someone also told me that it doesnt matter what version your fedora is, you can use the base URL used by recent versions too..
if thts de case thn my attempts culd succeed right??
hope I dont sound like arguing... I am just a newbie, I hardly know stuffs to argue about...
 
  


Reply



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
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg0000 Fedora 8 04-13-2011 11:25 AM
how to update rhel 5 using centos yum updater without conflict with yum redhat plugin udayvikram Linux - Software 2 03-30-2010 08:15 AM
how to update rhel 5 using centos yum updater without conflict with yum redhat plugin udayvikram Linux - Newbie 1 03-29-2010 12:56 PM
problem after yum yum yum (delicious) alaios Fedora 3 01-14-2009 02:34 AM
yum config error parsing file failed - yum won't run emuub Linux - Software 9 11-04-2008 05:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:12 AM.

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