David C. Rankin wrote:
??????? ????????? wrote:
On Mon, Mar 23, 2009 at 03:49:40PM -0500, David C. Rankin wrote:
Ken Schneider - openSUSE wrote:
David C. Rankin pecked at the keyboard and wrote:
Disable any of the qt and gtk repositories, then you will need to rpm -Uvh --force install the qt and gtk rpms to downgrade to the latest 10.3 versions. Thanks for the advice. However, I 'm confused as to how I 'm going to find the gtk related apps to be removed, if my yast interface doesn't come up and zypper segfaults on me. Am I missing something obvious? I know rpm works but don't know which component exactly should be downgraded
Identify any qt or gtk repositories you have added, and then just go to http://download.opensuse.org/repositories/(path to your qt or gtk repo) and get the list of files you updated from there. For example, use 'zypper lr -u' to look at the URLs for your repositories, and then go see what files you potentially updated that are causing your problems. For example, go check:
http://download.opensuse.org/repositories/KDE:/Qt44/openSUSE_11.0/x86_64
and see what is there. I think I just used:
lynx -dump http://download.opensuse.org/repositories/KDE:/Qt44/openSUSE_11.0/x86_64
to get the list of potential files, then I just used a short script to downgrade any files from those repositories. Something like:
lynx -dump repourl > filelist while IFS=$'\n' read line; do (parse rpmname from $line) if rpm -q $rpmname; then rpm -Uvh --oldpackage (opensuse oss repo)/$rpmname fi done < filelist
I'll see if I kept the file and report back.
You are in luck -- I found the scraps. The following will do what you want to downgrade any files from any of the repositories you have disable in attempt to solve your Yast problem: #!/bin/bash showem () { echo -e "\n\tRPMURL = $RPMURL" echo -e "\tRPMFILE = $RPMFILE" echo -e "\tRPMNAME = $RPMNAME" echo -e "\tRPM = $RPM" } # use lynx to get the list, or just save the list to a file and change # the filename at the end of the while loop lynx -dump http://download.opensuse.org/repositories/KDE:/Qt44/openSUSE_11.0/x86_64 > /tmp/qt44list sed -e '/mirrorlist/d' -e '/metalink/d' -e '/\s\[/d' -e 's/^.*http/http/' /tmp/qt44list | grep rpm > /tmp/qt44final while IFS=$'\n' read line; do RPMURL=${line} RPMFILE=${line##*/} RPMNAME=${RPMFILE/%.x86_64.rpm/} RPM=$(echo $RPMNAME | sed -e 's/-[0-9][.][0-9].*$//') # showem # Uncomment to see printout of parameter values if rpm -q $RPMNAME >/dev/null 2>&1; then echo -e "\tDowngrading: $RPMNAME" rpm -Uvh --oldpackage $RPM fi done < /tmp/qt44final exit 0 -- 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