 |
 |
 |
 |
| Installation and Live Media Help with Installation & Live Media (Live CD, USB, DVD) problems. |

3rd June 2012, 03:06 PM
|
|
Registered User
|
|
Join Date: Jan 2011
Posts: 175

|
|
|
yum fault, can't install anything
I followed the instructions on the rpmfusion webpage, to add their repos.
Since then, yum won't work: this is the error I get from yumex
Traceback (most recent call last):
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2038, in _checkForNewer
pkgs = self.yumbase.pkgSack.returnNewestByName(name=po.na me)
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1003, in <lambda>
pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 767, in _getSacks
self.repos.populateSack(which=repos)
File "/usr/lib/python2.7/site-packages/yum/repos.py", line 294, in populateSack
sack.populate(repo, mdtype, callback, cacheonly)
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 186, in populate
xml = repo_get_function()
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1638, in getPrimaryXML
return self.retrieveMD('primary')
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1563, in retrieveMD
return self._retrieveMD(mdtype)
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1571, in _retrieveMD
thisdata = self.repoXML.getData(mdtype)
File "/usr/lib/python2.7/site-packages/yum/repoMDObject.py", line 180, in getData
raise RepoMDError, "requested datatype $s not available" $ type
RepoMDError: requested datatype primary not available
What can I do to fix this?? I cannot update anymore.
|

3rd June 2012, 09:22 PM
|
 |
Registered User
|
|
Join Date: Jun 2010
Posts: 246

|
|
Re: yum fault, can't install anything
That's not much information. RPM Fusion is popular enough and works for many users.
What else does still work related to "yum"? Can you open a terminal, become superuser, then run "yum clean metadata dbcache rpmdb", then try again and also tell whether "yum update" still works?
|

3rd June 2012, 10:57 PM
|
|
Registered User
|
|
Join Date: Jan 2011
Posts: 175

|
|
|
Re: yum fault, can't install anything
Same error, no update:
Before I added rpmfusion repos, this was not so. After install, I updated normally and without problem. If the worst comes to the worst, I will reinstall, paste the rpmfusion repos without using their rpm to install them. But if I don't need to do that, it would be better!
[pedro2@pedro-bedro ~]$ sudo yum clean metadata dbcache rpmdb
[sudo] password for pedro2:
Loaded plugins: langpacks, presto, refresh-packagekit
Cleaning repos: fedora rpmfusion-free rpmfusion-free-updates rpmfusion-nonfree
: rpmfusion-nonfree-updates updates
27 metadata files removed
4 sqlite files removed
4 rpmdb files removed
[pedro2@pedro-bedro ~]$ sudo yum update
Loaded plugins: langpacks, presto, refresh-packagekit
fedora/metalink | 6.0 kB 00:00
fedora | 4.2 kB 00:00
fedora/primary_db | 14 MB 00:33
fedora/group_gz | 434 kB 00:01
rpmfusion-free | 861 B 00:00
rpmfusion-free-updates | 861 B 00:00
rpmfusion-nonfree | 861 B 00:00
rpmfusion-nonfree-updates | 861 B 00:00
updates/metalink | 7.4 kB 00:00
updates | 4.5 kB 00:00
updates/primary_db | 1.9 MB 00:04
updates/group_gz | 434 kB 00:01
Error: requested datatype primary not available
[pedro2@pedro-bedro ~]$
Last edited by Pedroski; 3rd June 2012 at 11:03 PM.
Reason: more info
|

3rd June 2012, 11:22 PM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,933

|
|
|
Re: yum fault, can't install anything
What does yum repolist show?
How about yum --disablerepo=rpmfus* check-update?
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

3rd June 2012, 11:55 PM
|
|
Registered User
|
|
Join Date: Jan 2011
Posts: 175

|
|
|
Re: yum fault, can't install anything
[pedro2@pedro-bedro ~]$ yum repolist
Loaded plugins: langpacks, presto, refresh-packagekit
fedora/metalink | 6.0 kB 00:00
fedora | 4.2 kB 00:00
fedora/primary_db | 14 MB 00:32
fedora/group_gz | 434 kB 00:01
rpmfusion-free | 861 B 00:00
rpmfusion-free-updates | 861 B 00:00
rpmfusion-nonfree | 861 B 00:00
rpmfusion-nonfree-updates | 861 B 00:00
updates/metalink | 7.4 kB 00:00
updates | 4.5 kB 00:00
updates/primary_db | 1.9 MB 00:04
updates/group_gz | 434 kB 00:01
Error: requested datatype primary not available
[pedro2@pedro-bedro ~]$
---------- Post added at 06:52 AM ---------- Previous post was at 06:50 AM ----------
[pedro2@pedro-bedro ~]$ yum --disablerepo=rpmfus* check-update
Loaded plugins: langpacks, presto, refresh-packagekit
[pedro2@pedro-bedro ~]$
---------- Post added at 06:55 AM ---------- Previous post was at 06:52 AM ----------
[pedro2@pedro-bedro ~]$ sudo yum --disablerepo=rpmfus* update
[sudo] password for pedro2:
Loaded plugins: langpacks, presto, refresh-packagekit
No Packages marked for Update
[pedro2@pedro-bedro ~]$
|

4th June 2012, 12:50 AM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,933

|
|
|
Re: yum fault, can't install anything
yum --disablerepo=rpmfus* repolist
If the error doesn't appear when running the above command then the issue is with the rpmfusion repositories. I would remove those repositories and then install them anew.
This should do for removal.
PHP Code:
rpm -e rpmfusion*
Then install them again per the RPMFusion web site.
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

4th June 2012, 02:48 AM
|
|
Registered User
|
|
Join Date: Jan 2011
Posts: 175

|
|
|
Re: yum fault, can't install anything
[pedro2@pedro-bedro ~]$ sudo rpm -e rpmfusion*
[sudo] password for pedro2:
error: package rpmfusion* is not installed
[pedro2@pedro-bedro ~]$
---------- Post added at 09:48 AM ---------- Previous post was at 09:48 AM ----------
But the repos are in yum.repos.d
|

4th June 2012, 03:07 AM
|
 |
"Registered User" T-Shirt Winner
|
|
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,128

|
|
|
Re: yum fault, can't install anything
Try,
Code:
sudo rpm -e rpmfusion-free-release rpmfusion-nonfree-release
|

4th June 2012, 05:07 AM
|
|
Registered User
|
|
Join Date: Jan 2011
Posts: 175

|
|
|
Re: yum fault, can't install anything
That did the trick. Yumex works again . It seems there are no updates available at the mo.
However, now rpmfusion is disabled, how do I get vlc, gstreamer plugins etc. I can't even play a song!
|

4th June 2012, 06:48 AM
|
 |
Registered User
|
|
Join Date: Oct 2006
Location: Singapore, 新加坡
Posts: 741

|
|
|
Re: yum fault, can't install anything
I had exactly this problem over the weekend but the problem fixes by itself last night. If I recall correctly it was due to rpmfusion-nonfree repo. I suppose you just have to be patience to wait the fixes propagate to the mirror site that you use.
__________________
YaoWT - Leave no window unbroken ^_^
|

4th June 2012, 09:18 AM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,933

|
|
|
Re: yum fault, can't install anything
Reinstall the rpmfusion repos as I suggested.
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

4th June 2012, 01:39 PM
|
|
Registered User
|
|
Join Date: Jan 2011
Posts: 175

|
|
|
Re: yum fault, can't install anything
Well, I copied the rpmfusion repos that were in /etc/yum.repos.d to a temp directory.
Then I did as suggested above: sudo rpm -e rpmfusion-free-release rpmfusion-nonfree-release
That got rid of them, and yum and yumex worked again! Then, I pasted the text file rpmfusion.free.repo into /etc/yum.repos.d and now I am downloading vlc.
Slowly I will paste the others, and see what happens.
---------- Post added at 08:39 PM ---------- Previous post was at 07:52 PM ----------
Addendum: I reinstalled the rpmfusion repos from the rpmfusion webpage.
The non-free rpm is causing the problem, there seems to be a mistake in the code. If I have it installed, I can't install anything. Without it, I can. But I would still like Totem to play mp3, my Chinese lessons are mp3s!!
|

4th June 2012, 05:49 PM
|
 |
Registered User
|
|
Join Date: Oct 2006
Location: Singapore, 新加坡
Posts: 741

|
|
|
Re: yum fault, can't install anything
Do a "yum repolist", If it still shows previous errors then your yum's metadata (not really sure) is still "corrupted" (again not really sure) from the previous yum execution. In my case, I had to do a "yum clean all" first to eliminate the problem. By now I think rpmfusion-nonfree metadata should be corrected in all mirror sites, so the repo should be working fine already. Thus, after the clean all, repeat the 'yum repolist' again. You should be out of the wood. If not, repeat and rinse  after a few hours.
In the meantime, if you need to install something else not from the offending repo then you still could by using '--disablerepo=rpmfusion-nonfree' to temporary turn it off. HTH.
__________________
YaoWT - Leave no window unbroken ^_^
Last edited by weitjong; 4th June 2012 at 05:53 PM.
|

4th June 2012, 06:03 PM
|
 |
Registered User
|
|
Join Date: Jun 2005
Location: INDIA
Posts: 772

|
|
|
Re: yum fault, can't install anything
Don't use yum before upgrade. Use preupgrade. Make sure you are using grub2 in fedora 17
|

4th June 2012, 10:53 PM
|
|
Registered User
|
|
Join Date: Jan 2011
Posts: 175

|
|
|
Re: yum fault, can't install anything
Thanks, I'll try rpmfusion-non-free install again. I know how to get rid of it now, if it causes problems.
Just my opinion, but preupgrade is useless, it has never worked for me, and I have tried a lot. It installs itself in grub.cfg, but the vmlinux it installs never starts. Why, I don't know!!??
---------- Post added at 05:53 AM ---------- Previous post was at 05:46 AM ----------
Just tried installing rpmfusion-nonfree-release again. It still causes problems, which disappear when it is erased, so whatever the problem is, it ain't fixed yet!
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 01:31 (Saturday, 25-05-2013)
|
|
 |
 |
 |
 |
|
|