LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   fdisk and yum commands does not work properly (https://www.linuxquestions.org/questions/linux-newbie-8/fdisk-and-yum-commands-does-not-work-properly-651962/)

sky rulz 06-26-2008 11:38 PM

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.

lazlow 06-27-2008 12:19 AM

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?

sky rulz 06-28-2008 07:19 AM

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

sky rulz 06-28-2008 07:20 AM

hai laz
 
As far as i know, i have not corrupted or edited this file...plz let me know if there is any mistake..

lazlow 06-28-2008 11:41 AM

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?

sky rulz 07-23-2008 11:30 PM

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.

John VV 07-24-2008 12:29 AM

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


All times are GMT -5. The time now is 04:42 PM.