[SOLVED] yast and zypper both freeze when trying to install software
SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
yast and zypper both freeze when trying to install software
I am testing a box with opensuse 13.1 64 bit. The install went well and I installed some software via yast. I closed yast, then decided to reopen yast and found that after loading the repositories, it would just hang. A reboot did not fix it and I would have to use 'kill pid xxx' to close the yast software installer. Every other yast module works. Then I tried zypper and had the same problem. Zypper stopped at 'reading installed packages...'
I tried 'rpmdb --rebuilddb'
I have used 13.1 since it came out and never had this problem. Does it sound like a corrupt data base and how can I trouble shoot it?
linux-7eep:~ # zypper clean
PackageKit is blocking zypper. This happens if you have an updater applet or other software management application using PackageKit running.
Tell PackageKit to quit? [yes/no] (no): yes
PackageKit is still running (probably busy).
Try again? [yes/no] (no):
Append a 3 to the end of the linu line after striking the E key at the Grub menu, then proceed to boot to shell prompt. Login as root to run zypper. PackageKit shouldn't be running without any X session running. If that fails too, try a 1 instead of a 3.
I followed your instruction and booted into run level 3 and was able to see all the available packages in the repositories and what was installed was flagged. That was encouraging. I need to read up on zypper. I do not think I am invoking the install properly, however this is progress.
zypper will have to time out on each mirror( that has been removed) that is in the old mirrorlist
this will make it look like it is freezing
it is time to upgrade this box
My first thought was that zypper was hanging because the repositories were unavailable. The dialogue boxes that pop up to point this out normally don't take very long to appear.
This error occurred right after I used yast to do a software install. In the yast software module, I should see the packages that are installed after it downloads the repository data. Zypper in <package name> hangs when 'reading installed packages'. At this point, I am considering doing an os update from its install disk (13.1 update to 13.1) to fix the problem. I searched yast and zypper usage and issues and have not found this type of yast/zypper issue. I can install .run files in the system, but .rpm files are another matter.
After rereading the posts a second time, I disabled the opensuse update repositories and found that yast software module is working very well. Thank you to all who pointed me in that direction. My reasoning for using 13.1 is that is works well with my hardware and I understand the limitations of not upgrading. I am considering building a new box that will be compatible with current drivers, etc.
Every 64bit PC I ever had 13.1 installed on, except possibly one, still has it, but also has newer versions, as well. That number is in excess of 20. Every single one of them has the current 15.1 release working. There is very little old hardware that 15.1 doesn't support at all, mostly ancient PCI and AGP GPUs that were new before 64bit PCs became commonplace, and some ancient CPUs that don't support SSE2.
Exactly what hardware do you have that makes you fearful of upgrading and staying secure?
If I have to upgrade a video card because of lack of driver support, then my hardware is slowly not being supported, which means that the other hard drives that I use in the box would have to have their configurations changed to support the newer card. I have 15.1 on a another drive that runs 3d ok, but has rips in the video in 2d. However it runs well with 2d drivers and thats ok with what I use 15.1 for. I would have to enable/disable nvidia on boot depending on what I wanted to use 15.1 for.
My hardware:
A8V-E SE motherboard
amd 3000+ cpu
4 gig ram
nvidia 6200 pci express w/turbo cache
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.