Re: Ready for new RPM version?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 6 Mar 2009, Yuan Yijun wrote:

2009/3/5 Michal Schmidt <mschmidt@xxxxxxxxxx>:

Anyone can help me to downgrade my system to 4.6? I am stuck.

Why, do you have any problems with 4.7-beta? It works fine for me so
far.

You can download the rpm-*4.6.0*.rpm packages manually from any Rawhide
mirror and then:  rpm -Uvh --oldpackage rpm-*4.6.0*.rpm


I was going to upgrade my F10 to rawhide, so I installed rpm 4.7b1
first. But soon I realized I need both rpm 4.7b1 build for F10 and
rawhide. Then I give up and installed rpm 4.6, but rpm database seems
to have changed.

Right, the gotcha here has to do with the Berkeley DB version rpm was built against: on F10, it's 4.5.20 and in rawhide it's 4.7.25. If nuking the environment ('rm -f /var/lib/rpm/__*') doesn't clear that up, you'll need to rev back the database to db 4.5.20 with the db utils, something like this:
# rpm -Uvh --oldpackage rpm-*4.6.0*.rpm
# cp -avp /var/lib/rpm/ /var/lib/rpm.save/
# cd /var/lib/rpm/
# mv Packages Packages.orig
# db_dump Packages.orig db45_load Packages
# rpm --rebuilddb

	- Panu -

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux