Yan-Fa Li wrote:

Carl Reynolds wrote:


When I run rpm -qa, I get a lot of duplicate packages with the same version number. Should I remove these packages? If I use rpm -e packagename, will it remove both packages or just the first one it gets to?



Carl.



Use the -f option on apt-get while updating and/or dist-upgrade. This usually fixes it. If that doesn't work you'll have to fall back to manually deleting the bad entries, or you could try rebuilding your entire rpm db.


Yan
_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



Li,

Thanks for your help. I thought your suggestion was going to work. After running apt-get -f update several times, all the errors disappeared, but when I ran apt-get dist-upgrade I got several new ones and then after running it two or three times, apt seems to have erased all the programs from my /usr/bin directory.

I'm going to start over with a fresh install, but then I will have the same problem with apt finding multiple versions of some packages.

I used
   rpm -qa --qf '%{name}\n' | sort | uniq -d | grep -v '^kernel'

It listed 206 packages with multiple installations.

The problem is that each package has the same version number and I can't seem to find a way to remove only one of them.

How would I clean up the rpm database by hand?


Carl.


_______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to