Update problem

Hi all. I am new to Linux, I just installed OpenSuse 10.3 and I am having problem with update. This is what I do:

start-> System -> Yast (Administrator settings)
Community repositories
I check: NON-OSS and OSS.
After enormous efforts to add these repositories (because Yast either freezes, crashes or reports some segmentation fault) I finally added them.
But, when I check for updates I still get the question mark in the bottom right corner where the update applet is, with the following message:

Unable to check whether updates are available.
Please use “Add/Remove Update Sources…” from the tray icon menu to define an update repository.

Anyone please help…
Thanks.

Quit the updater applet in the tray and tell it not to start at boot.

Open Yast - Software - Software Management
Filter by repository and select the Update channel from the list
If this is a kde desktop you can click the Packages menu and select update all in this list if newer ver. avail…

Or you could try Yast - Software- Online Update

I 'm just having trouble remembering 10.3 - it’s some time ago.

icarus035 wrote:
> start-> System → Yast (Administrator settings)
> Community repositories
> I check: NON-OSS and OSS.
> After enormous efforts to add these repositories (because Yast either
> freezes, crashes or reports some segmentation fault) I finally added
> them.
> But, when I check for updates I still get the question mark in the
> bottom right corner where the update applet is, with the following
> message:
>
> Unable to check whether updates are available.
> Please use “Add/Remove Update Sources…” from the tray icon menu to
> define an update repository.

We like error messages, so use these commands:

zypper lr
zypper up

@AndreasStieger
May have meant to say:

zypper ref

zypper up

That’s done from a su terminal

Correct me if I’m wrong: @AndreasStieger

I would suggest all three commands (as root).


zypper lr

zypper ref

zypper up

If “zypper lr” does not work on 10.3, use “zypper sl”.

Just to avoid any confusion
Zypper/Usage/10.3 - openSUSE

As I didn`t find a direct reference if “zypper ref” was already implemented in 10.3, I just tested it myself with a 10.3-Live CD under VirtualBox.

All three commands should work under 10.3.

Adding repositories is definitely much easier with zypper.
I added

Main Repository (NON-OSS)
Main Repository (OSS)
NVIDIA
Packman Repository
Main update repository

I tried using the zypper command as root:

zypper update

but almost immediately I get:


Refreshing ‘Main_update_repository’
Segmentation fault

This did not happen with NVIDIA repository.

What could be the reason for this?

ok, after restart I tried again but it seems that there is only problem with this Main update repository.
I added it with:

zypper ar Index of /update/10.3 Main_update_repository

When updating I get:

Refreshing ‘Main_update_repository’
Repository ‘Main_update_repository’ is invalid.
Curl error for ‘http://download.opensuse.org/update/10.3/repodata/patch-epiphany-4870.xml’:
Error code: Connection failed
Error message: couldn’t connect to host
Please, check if the URLs defined for this repository are pointing to a valid repository.
Disabling repository ‘Main_update_repository’ because of the above error.

  • Reading repository ‘Main Repository (NON-OSS)’ cache
  • Reading repository ‘NVIDIA’ cache
  • Reading repository ‘Main Repository (OSS)’ cache
  • Reading repository ‘Packman Repository’ cache
  • Reading installed packages [100%]

Nothing to do.

Before we advise - please give us the output of:

zypper lr

ok, here is the output of zypper lr (I copied it from console).
I constantly get “Segmentation fault” when I try zypper ref

| Enabled | Refresh | Type | Alias | Name

–±--------±--------±-------±------------------------------------------------------------------±-------------------------
1 | Yes | Yes | yast2 | Index of /distribution/10.3/repo/non-oss | Main Repository (NON-OSS)

2 | Yes | Yes | rpm-md | NVIDIA | NVIDIA

3 | Yes | Yes | yast2 | Index of /distribution/10.3/repo/oss | Main Repository (OSS)

4 | Yes | Yes | rpm-md | Index of /pub/packman/suse/10.3 | Packman Repository

5 | Yes | Yes | rpm-md | Main_update_repository | Main_update_repository

6 | No | No | yast2 | openSUSE-10.3-DVD 10.3 | openSUSE-10.3-DVD 10.3

ok, here is the output of zypper ref (I copied it from console).
I constantly get “Segmentation fault” with zypper ref

| Enabled | Refresh | Type | Alias | Name

–±--------±--------±-------±------------------------------------------------------------------±-------------------------
1 | Yes | Yes | yast2 | Index of /distribution/10.3/repo/non-oss | Main Repository (NON-OSS)

2 | Yes | Yes | rpm-md | NVIDIA | NVIDIA

3 | Yes | Yes | yast2 | Index of /distribution/10.3/repo/oss | Main Repository (OSS)

4 | Yes | Yes | rpm-md | Index of /pub/packman/suse/10.3 | Packman Repository

5 | Yes | Yes | rpm-md | Main_update_repository | Main_update_repository

6 | No | No | yast2 | openSUSE-10.3-DVD 10.3 | openSUSE-10.3-DVD 10.3

oops, sorry for this duplicate message…my mistake :rolleyes:

Now please do:

Use Yast - Software - Repositories
Delete the update repo
then add back by URL method:

Name = Updates
Url = Index of /update/10.3

copy and paste the above url in the url section and call it updates
finish

Now do:

Zypper ref

then
zypper up

ok, I deleted the repo with Yast but I was unable to add it by URL using Yast because wheh I press finish it automatically starts to refresh and I get Segmentation fault, so I used zypper to add it and then refresh:

zypper ar Index of /update/10.3 Updates

zypper ref

It starts refreshing and after like a 2 minutes or so:

Refreshing ‘Updates’
Segmentation fault

I found exactly the same thing reported in the following URL:

[openSUSE] openSUSE 10.3-418162] yast2 segmentation fault](http://webui.sourcelabs.com/yast/issues/418162)

I don’t know how, but the status says Resolved :confused:

Also, I see that there is very similar topic on this forum:

YaST/zypper segmentation fault - Page 2 - openSUSE Forums

and the solution may be reinstalling the sqlite package. Can you please give some info on how to do that? Is it just:

zypper install -f sqlite


zypper ar -t YUM http://download.opensuse.org/update/10.3 10.3_updates
Adding repository '10.3_updates' [done]
Repository '10.3_updates' successfully added
Enabled: Yes
Autorefresh: No
URI: http://download.opensuse.org/update/10.3

zypper mr -r 10.3_updates
Autorefresh has been enabled for repository '10.3_updates'.

zypper ref 10.3_updates
Retrieving repository '10.3_updates' metadata [done]
Building repository '10.3_updates' cache [done]
Specified repositories have been refreshed.

works for me™

You should also remove the other entry


zypper rr Main_update_repository 

Try it and see

Otherwise, download the package from the repo
Index of /distribution/10.3/repo/oss/suse

and install the .rpm manually with the force option

eg:
rpm -ihv sqlite-3.4.1-14.i586.rpm --force

Some have had success with

sudo rpmdb --rebuilddb

Please, never use -i and --force together, use “-U” instead of “-i”, if the versions are not exactly the same, you will get double entries in the rpm-database.

I have tried this, tried rebuilding and tried manually reinstallig sqlite but the segmentation fault just won’t go away.
Thanks anyway for your support on this. I am really running out of ideas here. The last thing seems reinstalling SUSE, maybe I did something wrong during the installation.