Yast Software manager freezes

I just installed OpenSuse 11.1, and upgraded from 10.3 . The package
manager was a little wonky. Everytime I tried to update, it froze in
the middle. Using command-line zypper as root froze also, during
downloading of certain packages (libvzio, for example).

So, I decided to clean out the cache.
zypper clean -a

That was a bad idea. Now, whenever I open the software manager, it
freezes, saying “loading package manager”.

Same with zypper.
linux:/home/scott # zypper -v update
Verbosity: 1
Initializing Target

Any idea?

Thanks


metalman2000

metalman2000’s Profile: http://forums.opensuse.org/member.php?userid=18561
View this thread: http://forums.opensuse.org/showthread.php?t=403330

boot to runlevel 3
login as user then go su

rpmdb --rebuilddb

zypper ref

zypper dup


Box: Linux 2.6.25.18-0.2 x86_64 | OS 11.0 | (KDE4.1.85) “3.1” | M2N4-SLI
| AMD 64 X2 5200+ | nVidia 8500GT | 2GB RAM
Lap: OS 11.1 | Celeron 550 | (KDE 4.1.85 “release 3.1” | Intel 965 GM |
Lenovo R61e | 1GB RAM

caf4926’s Profile: http://forums.opensuse.org/member.php?userid=204
View this thread: http://forums.opensuse.org/showthread.php?t=403330

a newly installed suse-11.1 updated with yast finds no more updates.

but running a zypper dup wants to install 115 packages of updates!!!


ramaswamyps

ramaswamyps’s Profile: http://forums.opensuse.org/member.php?userid=16339
View this thread: http://forums.opensuse.org/showthread.php?t=403330

Give us

zypper lr


Box: Linux 2.6.25.18-0.2 x86_64 | OS 11.0 | (KDE4.1.85) “3.1” | M2N4-SLI
| AMD 64 X2 5200+ | nVidia 8500GT | 2GB RAM
Lap: OS 11.1 | Celeron 550 | (KDE 4.1.85 “release 3.1” | Intel 965 GM |
Lenovo R61e | 1GB RAM

caf4926’s Profile: http://forums.opensuse.org/member.php?userid=204
View this thread: http://forums.opensuse.org/showthread.php?t=403330

caf4926;1917622 Wrote:
> boot to runlevel 3
> login as user then go su
>
> rpmdb --rebuilddb
>
> zypper ref
>
> zypper dup

“zypper ref” worked. But “zypper dup” hangs. Same with “zypper up”
and “lu” and pretty much every other command.

zypper lr works.

These are the enabled repositories:
openSUSE 11.1-0
openSUSE-11.1-Update
openSUSE-11.1-Oss
openSUSE-11.1-Non-Oss

Thanks


metalman2000

metalman2000’s Profile: http://forums.opensuse.org/member.php?userid=18561
View this thread: http://forums.opensuse.org/showthread.php?t=403330

What do you get from

zypper up -t yast2


Box: Linux 2.6.25.18-0.2 x86_64 | OS 11.0 | (KDE4.1.85) “3.1” | M2N4-SLI
| AMD 64 X2 5200+ | nVidia 8500GT | 2GB RAM
http://tinyurl.com/985fp2

caf4926’s Profile: http://forums.opensuse.org/member.php?userid=204
View this thread: http://forums.opensuse.org/showthread.php?t=403330

caf4926;1918259 Wrote:
> What do you get from
>
> zypper up -t yast2

linux:/home/scott # zypper up -t yast2
Unknown package type ‘yast2’.


metalman2000

metalman2000’s Profile: http://forums.opensuse.org/member.php?userid=18561
View this thread: http://forums.opensuse.org/showthread.php?t=403330

Ok try

zypper in -f yast2

you could try add in the * at the end to do all yast2 (the f = force)

zypper in -f yast2*


Box: Linux 2.6.25.18-0.2 x86_64 | OS 11.0 | (KDE4.1.86) “5.1” | M2N4-SLI
| AMD 64 X2 5200+ | nVidia 8500GT | 2GB RAM
http://tinyurl.com/985fp2

caf4926’s Profile: http://forums.opensuse.org/member.php?userid=204
View this thread: http://forums.opensuse.org/showthread.php?t=403330

caf4926;1919074 Wrote:
> Ok try
>
> zypper in -f yast2
>
> you could try add in the * at the end to do all yast2 (the f = force)
>
> zypper in -f yast2*

linux:/home/scott # zypper -v in -f yast2
Verbosity: 1
Non-option program arguments: ‘yast2’
Initializing Target
<freeze>

Same with yast2*

Is there a directory or something I can delete? I remember last time I
had problems with zypper (in like suse 10.2 or something) I had to
delete /var/lib/zypper/ or something? Somehow clear the cache? Can’t
quite remember how I fixed that.


metalman2000

metalman2000’s Profile: http://forums.opensuse.org/member.php?userid=18561
View this thread: http://forums.opensuse.org/showthread.php?t=403330

In a terminal do

rpm -qi yast2

what do you get?

You could try, booting to runlevel3
login and go su
then run

yast

It should run a basic form of yast for you so you can re-install all
yast and do updates

(runlevel3, can be reached from default boot, clear all boot arguments
and just type: 3 )
(then hit enter)


Box: Linux 2.6.27.7-9 i686 | OS 11.1 | (KDE4.1.87) “3.1” | M2N4-SLI |
AMD 64 X2 5200+ | nVidia 8500GT | 2GB RAM
Lap: OS 11.1 | Celeron 550 | (KDE4.1.87)“3.1” | Intel 965 GM | Lenovo
R61e | 3GB RAM

caf4926’s Profile: http://forums.opensuse.org/member.php?userid=204
View this thread: http://forums.opensuse.org/showthread.php?t=403330

caf4926;1923776 Wrote:
> In a terminal do
>
> rpm -qi yast2
>
> what do you get?
>
> You could try, booting to runlevel3
> login and go su
> then run
>
> yast
>
> It should run a basic form of yast for you so you can re-install all
> yast and do updates
>
> (runlevel3, can be reached from default boot, clear all boot arguments
> and just type: 3 )
> (then hit enter)

Name : yast2 Relocations: /usr
Version : 2.17.54 Vendor: openSUSE
Release : 1.1 Build Date: Wed 03 Dec 2008
09:46:26 AM MST
Install Date: Sat 20 Dec 2008 10:52:31 AM MST Build Host: build04
Group : System/YaST Source RPM:
yast2-2.17.54-1.1.src.rpm
Size : 3514451 License: GPL v2 or
later
Signature : RSA/8, Wed 03 Dec 2008 09:48:24 AM MST, Key ID
b88b2fd43dbdc284
Packager : ‘Submitting Bug Reports - openSUSE’
(http://bugs.opensuse.org)
Summary : YaST2 - Main Package
Description :
This package contains scripts and data needed for SuSE Linux
installation with YaST2

Cool I’ll try re-installing in runlevel 3, thanks!


metalman2000

metalman2000’s Profile: http://forums.opensuse.org/member.php?userid=18561
View this thread: http://forums.opensuse.org/showthread.php?t=403330

It freezes in runlevel 3 as well.

Sorry it took so long to reply, it’s been a while since I had time to
boot to runlevel 3 without causing problems to my services.


metalman2000

metalman2000’s Profile: http://forums.opensuse.org/member.php?userid=18561
View this thread: http://forums.opensuse.org/showthread.php?t=403330

The fact that you say at the beginning, you updated from 10.3 - This is
probably compounding the issue.

It is generally not considered wise and neither would I recommend it -
A Upgrade from 10.3 - 11.1

Fresh install only.

Keep /home if you must: But I would just backup docs etc and format
that too.

The only other option I can offer is boot from the dvd use repair. You
want to repair the Installed Packages. But you need to select the expert
option and then choose the packages section for repair.
You need to LOCK/Do Not Modify every package. Just re-install all yast
and zypper.


Box: Linux 2.6.27.12-170.2.5 i686 | Fedora 10 | Gnome 2.24.2 | M2N4-SLI
| AMD 64 X2 5200+ | nVidia 8500GT | 2GB RAM
Lap: openSUSE 11.1 | Celeron 550 | (KDE4.2.0)“83.1” | Intel 965 GM |
Lenovo R61e | 3GB RAM

caf4926’s Profile: http://forums.opensuse.org/member.php?userid=204
View this thread: http://forums.opensuse.org/showthread.php?t=403330

Yeah I agree upgrading from 10.3 was a bad idea… it’s really too bad
that doesn’t work, that makes upgrading a serious proposition rather
than an afternoon activity.

It turns out that the freezing problem was removed when I removed some
of the repositories in Add/Remove repositories. I’m not quite sure
which one, but it’s entirely possible it was the DVD source. So maybe
it was a hardware problem after all. Anyways, all resolved with no
re-install needed.

Thanks!


metalman2000

metalman2000’s Profile: http://forums.opensuse.org/member.php?userid=18561
View this thread: http://forums.opensuse.org/showthread.php?t=403330

caf4926;1937000 Wrote:
> The fact that you say at the beginning, you updated from 10.3 - This is
> probably compounding the issue.
>
> It is generally not considered wise and neither would I recommend it -
> A Upgrade from 10.3 - 11.1
>
> Fresh install only.
>
> Keep /home if you must: But I would just backup docs etc and format
> that too.
>
> The only other option I can offer is boot from the dvd use repair. You
> want to repair the Installed Packages. But you need to select the expert
> option and then choose the packages section for repair.
> You need to LOCK/Do Not Modify every package. Just re-install all yast
> and zypper.

Add another with problems getting updates same as OP. This WAS a fresh
install of 11.1 from the retail ($$) DVD kit. Every time I try to do
any updates, no can do. I am registered. I have a call in to support.
If/when I get this resolved, I’ll post here.


gudewdl

gudewdl’s Profile: http://forums.opensuse.org/member.php?userid=15674
View this thread: http://forums.opensuse.org/showthread.php?t=403330

After trying update again and having it fail again, here’s some screen
output:

There was an error in the repository initialization.
‘repo-update’: |] Valid metadata not found at specified URL(s)
History:

From the looks of the above message I wonder if all is well with the
11.1 update server.

I then tried getting to the update URLs with FireFox and was able to
get to all of them OK, but not with the v11.1 update stuff.

Still waiting for a call back from support.


gudewdl

gudewdl’s Profile: http://forums.opensuse.org/member.php?userid=15674
View this thread: http://forums.opensuse.org/showthread.php?t=403330

Just got a call back from Novell support. They are stumped as to why
software updater is not working. They asked me to check this and that
(rpm,zypper,yast ,etc) as mentioned in this thread. All looked OK
except it doesn’t work. :wink: Once again I have the Novell purchased
retail kit DVD, so I’m entitled to support.

They said they’d get with the developer/s and get back to me tomorrow.
I mentioned that this issue is being posted on these forums.


gudewdl

gudewdl’s Profile: http://forums.opensuse.org/member.php?userid=15674
View this thread: http://forums.opensuse.org/showthread.php?t=403330

Another message received when I try tp update. Wonder if anyone else
has seen this one:

Valid metadata not found at specified URLs:

download.opensuse.org/distribution/11.1/repo/non-oss
download.opensuse.org/distribution/11.1/repo/oss
download.opensuse.org/source/distribution/11.1/repo/oss
download.opensuse.org/update/11.1


gudewdl

gudewdl’s Profile: http://forums.opensuse.org/member.php?userid=15674
View this thread: http://forums.opensuse.org/showthread.php?t=403330