LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 06-27-2008, 12:38 AM   #1
sky rulz
Member
 
Registered: Jun 2008
Posts: 40

Rep: Reputation: 15
fdisk and yum commands does not work properly


when i use

Yum command:
The following error occurs:
[root@localhost Sravan]# yum install kernel
Loading "installonlyn" plugin
Setting up Install Process
Parsing package install arguments
Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mir...ra-7&arch=i386 error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Error: Cannot open/read repomd.xml file for repository: fedora


fdisk command:

the bash shell says that the command not found.
I have tried this this command as root also.
 
Old 06-27-2008, 01:19 AM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
For yum it looks like you have a corrupt /etc/yum.repos.d/fedora.repo file post it and we can see.

How are you becoming root?
 
Old 06-28-2008, 08:19 AM   #3
sky rulz
Member
 
Registered: Jun 2008
Posts: 40

Original Poster
Rep: Reputation: 15
here is the /etc/yum.repos.d/fedora.repo file

Quote:
name=Fedora $releasever - $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

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

[fedora-source]
name=Fedora $releasever - Source
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
~
hai laz,
here is the file u wanted ..let me know the reply fast
 
Old 06-28-2008, 08:20 AM   #4
sky rulz
Member
 
Registered: Jun 2008
Posts: 40

Original Poster
Rep: Reputation: 15
hai laz

As far as i know, i have not corrupted or edited this file...plz let me know if there is any mistake..
 
Old 06-28-2008, 12:41 PM   #5
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
Looks ok, as far as I can tell. Try a
Quote:
yum clean all
(general fixer) and then rerun the update.


With F7 hitting EOL(End of Life) it could be that some of the mirrors are dropping out a couple of days early.

On the other issue; How are you becoming root?

Last edited by lazlow; 06-28-2008 at 12:42 PM.
 
Old 07-24-2008, 12:30 AM   #6
sky rulz
Member
 
Registered: Jun 2008
Posts: 40

Original Poster
Rep: Reputation: 15
there is a proxy password to be setup

hai laz,

how to give the proxy password to the yum command for downloading the rpm from the available mirrors..

i was becoming root using the su command.
 
Old 07-24-2008, 01:29 AM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
as for a yum mirror for 7 i think the only one left is
http://download.fedora.redhat.com/pu...ux/releases/7/
and livna
http://livna-dl.reloumirrors.net/fedora/7/
but there are NO MORE UPDATES
Quote:
i was becoming root using the su command.
the correct command is " su - " with the " - " minus sign
for example
Code:
su -
( your root pass)
fdisk -l
see
Code:
 man fdisk

Last edited by John VV; 07-24-2008 at 01:33 AM.
 
  


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
Yum hangs for all commands tmcmillan Linux - Software 4 05-24-2007 11:56 AM
root commands like fdisk not working matrim Fedora 3 03-16-2007 11:26 PM
shell scripting commands and yum= geminigal Linux - Newbie 2 05-13-2005 04:12 AM
yum not working properly or I think so. raxxal Fedora 1 04-06-2005 11:22 AM
YUM/RPM commands giving errors MontyPY Linux - Software 1 03-04-2005 09:10 AM


All times are GMT -5. The time now is 06:29 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration