LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-19-2011, 07:08 PM   #1
busoh.sensen
LQ Newbie
 
Registered: Oct 2011
Distribution: Fedora15
Posts: 5

Rep: Reputation: Disabled
ASK: Accidentally deleted Repo in fedora 15


hi all, im nubie in linux...

I have a question, I've made ​​fastest repo & accidentally delete the folder "yum.repos.d". After I tried to find hows and it appears again "yum.repos.d". but, now I can not update this repo & not from local my country. please help me ...

How do I can update via the fastest repo from local country again, and disable this fastest repo from another country?
im from indonesia, ussualy i used repo "kambing.ui"

Code:
[root@bdm kestrel]# yum install update
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
 * rpmfusion-free: ftp.astral.ro
 * rpmfusion-free-updates: mirror.cse.iitk.ac.in
 * rpmfusion-free-updates-testing: ftp.astral.ro
Setting up Install Process
No package update available.
Error: Nothing to do
many thx...

Last edited by busoh.sensen; 10-19-2011 at 08:51 PM.
 
Old 10-19-2011, 08:28 PM   #2
thezerodragon
Member
 
Registered: Apr 2009
Location: Paris, France
Distribution: Fedora 12 Constantine
Posts: 142

Rep: Reputation: 44
busoh, this is from another thread where someone was doing the same thing. Tell me if it helps.

Quote:
This error is because you told yum to install the package named "update" which doesn't exist.

-I think what I usually use is


Code:
yum -v upgrade
with the -v "verbose" switch providing a little more detail about what is being done.
 
Old 10-19-2011, 08:39 PM   #3
busoh.sensen
LQ Newbie
 
Registered: Oct 2011
Distribution: Fedora15
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by thezerodragon View Post
busoh, this is from another thread where someone was doing the same thing. Tell me if it helps.
hi thezerodragon, this is the result:
Code:
[root@bdm kestrel]# yum -v upgrade
Loading "fastestmirror" plugin
Loading "langpacks" plugin
Loading "presto" plugin
Loading "refresh-packagekit" plugin
Adding en_US to language list
Config time: 0.028
Yum Version: 3.2.29
Setting up Package Sacks
Loading mirror speeds from cached hostfile
 * rpmfusion-free: ftp.astral.ro
 * rpmfusion-free-updates: mirror.cse.iitk.ac.in
 * rpmfusion-free-updates-testing: ftp.astral.ro
pkgsack time: 0.012
rpmdb time: 0.000
Setting up Upgrade Process
Updating Everything
Building updates object
up:Obs Init time: 0.005
up:simple updates time: 0.000
up:obs time: 0.000
up:condense time: 0.000
updates time: 0.233
No Packages marked for Update
nothing changes bro...
before i was deleted the repo, i checked my update about 700 files (almost 1 Gb). But now is nothing change in update. I check my version firefox is 4.0.1. And update question is , i can not install .rpm
Code:
could not resolve: file:///home/kestrel/Prox/adobe-release-i386-1.0-1.noarch.rpm

Last edited by busoh.sensen; 10-19-2011 at 08:48 PM.
 
Old 10-19-2011, 08:54 PM   #4
thezerodragon
Member
 
Registered: Apr 2009
Location: Paris, France
Distribution: Fedora 12 Constantine
Posts: 142

Rep: Reputation: 44
http://www.mjmwired.net/resources/mj...a-f15.html#yum

This guide has helped me out a lot with yum and its ins and outs. Try and make sure you have all the repositories installed.
 
Old 10-19-2011, 09:03 PM   #5
thezerodragon
Member
 
Registered: Apr 2009
Location: Paris, France
Distribution: Fedora 12 Constantine
Posts: 142

Rep: Reputation: 44
Quote:
nothing changes bro...
this is not quite the case. Before, you were trying to install "update", which doesn't exist. This time it was telling you there were no packages marked for update.
 
Old 10-19-2011, 09:26 PM   #6
loveulinux
Member
 
Registered: Aug 2011
Posts: 68

Rep: Reputation: Disabled
ASK: Accidentally deleted Repo in fedora 15

Hi...
I am using Cent O/S 5.5 and it is installed with software RAID(RAID level 1). I want to update/upgrade O/S and softwares. If I run yum update or yum -v upgrade, does anything goes wrong with the mdadm package? I am getting fear in updating O/S because there are many important data. So could you please guide me, can I run above commands or should I not run?

Quote:
Originally Posted by thezerodragon View Post
busoh, this is from another thread where someone was doing the same thing. Tell me if it helps.
 
Old 10-19-2011, 09:35 PM   #7
busoh.sensen
LQ Newbie
 
Registered: Oct 2011
Distribution: Fedora15
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by thezerodragon View Post
...there were no packages marked for update.
hi thezerodragon, but why can not im update my fedora?
i still cant install adobe, update firefox and the other program? last night i want to re-install again my F15, but is that so exaggerate if just my repo is problem then im install again?

Because before im deleted, update about 1 Gb, but now, there is no update

Last edited by busoh.sensen; 10-19-2011 at 09:41 PM.
 
Old 10-19-2011, 11:15 PM   #8
thezerodragon
Member
 
Registered: Apr 2009
Location: Paris, France
Distribution: Fedora 12 Constantine
Posts: 142

Rep: Reputation: 44
Quote:
i still cant install adobe, update firefox and the other program?
did you install the repositories as outlined in the link I posted?
 
Old 10-19-2011, 11:21 PM   #9
thezerodragon
Member
 
Registered: Apr 2009
Location: Paris, France
Distribution: Fedora 12 Constantine
Posts: 142

Rep: Reputation: 44
Lightbulb

Quote:
Hi...
I am using Cent O/S 5.5 and it is installed with software RAID(RAID level 1). I want to update/upgrade O/S and softwares. If I run yum update or yum -v upgrade, does anything goes wrong with the mdadm package? I am getting fear in updating O/S because there are many important data. So could you please guide me, can I run above commands or should I not run?
loveulinux,

maybe your question deserves its own thread? I'm a Fedora user, I'm not as familiar with CentOS, but as I understand it, upgrading it to the next OS version is officially not supported- you should a clean install. If yum is also the package manager for CentOS (pretty sure it is), then
Code:
man yum
will tell you more than I can about how to update your software.
 
1 members found this post helpful.
Old 10-19-2011, 11:52 PM   #10
busoh.sensen
LQ Newbie
 
Registered: Oct 2011
Distribution: Fedora15
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by thezerodragon View Post
did you install the repositories as outlined in the link I posted?
yes, here's the result:
Code:
[root@bdm kestrel]# yum install yum-plugin-fastestmirror
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
 * rpmfusion-free: ftp.astral.ro
 * rpmfusion-nonfree: ftp.astral.ro
 * rpmfusion-nonfree-updates: ftp.astral.ro
Setting up Install Process
Nothing to do
Code:
[root@bdm kestrel]# rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
Retrieving http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
warning: /var/tmp/rpm-tmp.9Z46KZ: Header V3 RSA/SHA256 Signature, key ID a3780952: NOKEY
Preparing...                ########################################### [100%]
	package rpmfusion-free-release-15-1.noarch (which is newer than rpmfusion-free-release-13-4.noarch) is already installed
	file /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora from install of rpmfusion-free-release-13-4.noarch conflicts with file from package rpmfusion-free-release-15-1.noarch
Code:
[root@bdm kestrel]# rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
Retrieving http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
warning: /var/tmp/rpm-tmp.1S1oaj: Header V3 RSA/SHA256 Signature, key ID 2425b284: NOKEY
Preparing...                ########################################### [100%]
	package rpmfusion-nonfree-release-15-1.noarch (which is newer than rpmfusion-nonfree-release-13-4.noarch) is already installed
	file /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora from install of rpmfusion-nonfree-release-13-4.noarch conflicts with file from package rpmfusion-nonfree-release-15-1.noarch
what should i do next?
 
Old 10-20-2011, 11:23 PM   #11
thezerodragon
Member
 
Registered: Apr 2009
Location: Paris, France
Distribution: Fedora 12 Constantine
Posts: 142

Rep: Reputation: 44
Quote:
[root@bdm kestrel]# yum install yum-plugin-fastestmirror
Loaded plugins: fastestmirror,
you already had fastestmirror installed.


it seems the guide I posted is a little outdated, or really only useful for initial set-up. It seems you already have all of the repositories installed. If Firefox is not being updated, try
Code:
yum reinstall firefox
 
Old 10-21-2011, 10:29 PM   #12
loveulinux
Member
 
Registered: Aug 2011
Posts: 68

Rep: Reputation: Disabled
ASK: Accidentally deleted Repo in fedora 15

Ok, if I run just "yum update", Does anything goes wrong with mdadm package?

Quote:
Originally Posted by thezerodragon View Post
loveulinux,

maybe your question deserves its own thread? I'm a Fedora user, I'm not as familiar with CentOS, but as I understand it, upgrading it to the next OS version is officially not supported- you should a clean install. If yum is also the package manager for CentOS (pretty sure it is), then
Code:
man yum
will tell you more than I can about how to update your software.
 
Old 10-21-2011, 10:54 PM   #13
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 190Reputation: 190
Quote:
Originally Posted by busoh.sensen View Post
accidentally delete the folder "yum.repos.d".
I would assume since you deleted the repositories directory, yum has no repo's to compare your current system to, thus its not finding any updates to do...

Try looking into "yum repolist" to check.

Try grabbing /etc/yum.repos.d/* from a livecd, and replacing what was deleted.
 
1 members found this post helpful.
  


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
accidentally deleted partitions somae Linux - Hardware 3 01-13-2009 08:57 AM
I accidentally deleted libstdc++ :( piforever Fedora 4 01-01-2006 06:03 PM
Accidentally deleted files rwalkerphl Linux - Newbie 3 06-24-2004 06:11 PM
Accidentally deleted /etc/init.d .. what do i do? :| waste Linux - General 5 03-04-2004 03:39 AM
accidentally deleted /etc/profile tanbetien Fedora 2 11-21-2003 09:42 PM


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