LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ASK: Accidentally deleted Repo in fedora 15 (https://www.linuxquestions.org/questions/linux-newbie-8/ask-accidentally-deleted-repo-in-fedora-15-a-909069/)

busoh.sensen 10-19-2011 07:08 PM

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...

thezerodragon 10-19-2011 08:28 PM

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.

busoh.sensen 10-19-2011 08:39 PM

Quote:

Originally Posted by thezerodragon (Post 4503010)
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 :confused:, i can not install .rpm
Code:

could not resolve: file:///home/kestrel/Prox/adobe-release-i386-1.0-1.noarch.rpm
:doh::doh::doh:

thezerodragon 10-19-2011 08:54 PM

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.

thezerodragon 10-19-2011 09:03 PM

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.

loveulinux 10-19-2011 09:26 PM

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 (Post 4503010)
busoh, this is from another thread where someone was doing the same thing. Tell me if it helps.


busoh.sensen 10-19-2011 09:35 PM

Quote:

Originally Posted by thezerodragon (Post 4503025)
...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? :D

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

thezerodragon 10-19-2011 11:15 PM

Quote:

i still cant install adobe, update firefox and the other program?
did you install the repositories as outlined in the link I posted?

thezerodragon 10-19-2011 11:21 PM

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.

busoh.sensen 10-19-2011 11:52 PM

Quote:

Originally Posted by thezerodragon (Post 4503099)
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?

thezerodragon 10-20-2011 11:23 PM

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

loveulinux 10-21-2011 10:29 PM

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 (Post 4503101)
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.


fukawi1 10-21-2011 10:54 PM

Quote:

Originally Posted by busoh.sensen (Post 4502968)
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.


All times are GMT -5. The time now is 08:05 PM.