Carlos E. R. wrote:
On Wednesday, 2009-03-25 at 12:11 -0500, David C. Rankin wrote:
Carlos E. R. wrote:
the list of files you updated from there. For example, use 'zypper lr -u' to
Remember that his "zypper" segfaults. He can not use zypper for anything, (nor yast) just raw rpm.
Yes,
The script uses rpm. I guess I should have added that if the OP (I'm not going to try to spell the name) can't even use zypper lr to find out what repositories he has, then he will need to just look in /etc/zypp/repos.d to get the URLs for the offending repos, then the script will take care of the rest.
Zypper didn't have anything to do with the repair beyond having text config files that will point to the URL of the repository where the conflicting updates came from. Then it just checks whether any of the files in that repo are installed via rpm -q and if so, then downgrades the package to the original ..... crud! I knew I missed something.... This will do it:
There is more. Notice that if zypper does not work, the first thing to do is to repair zypper itself, and that is not related to gtk or qt, and the only repos needed are the dvd and the oss repo.
I would simply reinstall zypper and its libraries from the dvd.
If that does not work, then reinstall everything that was installed recently, which list can be obtained using rpm.
-- Cheers, Carlos E. R.
What? ... and miss out on a solid hour of scripting?? Never... The approach I took with the script, was designed to target the problem I experienced when I inadvertently installed several qt45 apps that killed Yast deader-than-a-doornail. Not knowing for sure which were the conflicting rpms, disabling the repos that were suspect, identifying the packages that had been installed from the repo, and downgrading to oss solved my problem. I agree that if a reinstall of zypper from the dvd with either --oldpackage or --force, will pull in the and downgrade the required files, then that is certainly the first step, and probably the solution in this case. However, what the script does for the situation that the zypper dvd reinstall doesn't, is to help identify those packages from repo X that had been installed on the system that would provide a good starting point for backing out packages if for some reason the zypper reload didn't work. ...and... having collected the pieces and put them back together, I now have a fairly generic base for repo parsing and comparison against the installed set of packages;-) -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org