security updates keep failing on OpenSUSE 11.3 Gnome i386 32-bit

I’m new to OpenSUSE, though somewhat familiar with Ubuntu and Linux Mint. After installing OS11.3, I keep getting the securtiy update icon on my taskbar, but the update doesn’t work. Here’s the latest example:

“lvm2: lvcreate–snapshot” results in scary error messages"
Result:
Dependency resolution failed:
Details:
“nothing provides libsepol.so.1 needed by device-mapper-1.02.49-4.1.1.i586”

Tried opening YasT to manually resolve:
Warning:
"There was an error in the repository initialization.
‘repo-oss’: |] Valid metadata not found at specified URL(s)
History:

  • File /var/tmp/TmpFile.kk2eD9 doesn’t contain public key data"

On clicking OK, YasT offers 3 choices:

  • list of consequent actions
  • do not install patch: device-mapper-2924.noarch
  • break device mapper by ignoring some of its dependencies

This set of options has come up before - I have avoided taking any action as I have no clue what is the safe option here

Could someone please advise how I should (a) preventsuch repeated failures in security updates (b) decide which is the safe option in case I have to use manual YasT again?
Thanks in advance

Open a terminal

su
# zypper lr -d

Post the output.

And try to install this library

su
# zypper install libsepol.so.1

Hi thanks very much for that zippy reply :slight_smile:
Sorry for being so dumb, but I can’t figure out how to copy/paste the output from my terminal to this post. Ctrl C/ V don’t seem to work. What’s the secret for OpenSuse copy /paste?
Thanks

The secret? :
What do you mean with that?:\

With right click.

Sorry - was using the XTerm instead of Gnome Terminal :frowning:

Here’s the output

zypper lr -d

| Alias | Name | Enabled | Refresh | Priority | Type | URI | Service

–±------------------------------------±------------------------------------±--------±--------±---------±-------±----------------------------------------------------------------±-------
1 | Updates for openSUSE 11.3 11.3-1.82 | Updates for openSUSE 11.3 11.3-1.82 | Yes | Yes | 99 | rpm-md | Index of /update/11.3 |
2 | openSUSE-11.3 11.3-1.82 | openSUSE-11.3 11.3-1.82 | Yes | No | 99 | yast2 | cd:///?devices=/dev/sr0 |
3 | repo-debug | openSUSE-11.3-Debug | No | Yes | 99 | NONE | Index of /debug/distribution/11.3/repo/oss |
4 | repo-non-oss | openSUSE-11.3-Non-Oss | Yes | Yes | 99 | rpm-md | Index of /distribution/11.3/repo/non-oss |
5 | repo-oss | openSUSE-11.3-Oss | Yes | Yes | 99 | rpm-md | Index of /distribution/11.3/repo/oss |
6 | repo-source | openSUSE-11.3-Source | No | Yes | 99 | NONE | Index of /source/distribution/11.3/repo/oss |

Thanks again

Now the problem was fixed?

Result:
zypper install libsepol.so.1
Retrieving repository ‘openSUSE-11.3-Non-Oss’ metadata [error]
Repository ‘openSUSE-11.3-Non-Oss’ is invalid.
File /var/tmp/TmpFile.yTVuCY doesn’t contain public key data
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Disabling repository ‘openSUSE-11.3-Non-Oss’ because of the above error.
Retrieving repository ‘openSUSE-11.3-Oss’ metadata [error]
Repository ‘openSUSE-11.3-Oss’ is invalid.
File /var/tmp/TmpFile.kLrDft doesn’t contain public key data
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Disabling repository ‘openSUSE-11.3-Oss’ because of the above error.
Loading repository data…
Reading installed packages…
‘libsepol.so.1’ not found in package names. Trying capabilities.
No provider of ‘libsepol.so.1’ found.
Resolving package dependencies…

Nothing to do.

Doesn’t look like it’s fixed???

No it does not.

Try again and write this

su
# zypper install libsepol.so.1-32bit

Result:
zypper install libsepol.so.1-32bit
Retrieving repository ‘openSUSE-11.3-Non-Oss’ metadata [error]
Repository ‘openSUSE-11.3-Non-Oss’ is invalid.
File /var/tmp/TmpFile.G8GPw5 doesn’t contain public key data
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Disabling repository ‘openSUSE-11.3-Non-Oss’ because of the above error.
Retrieving repository ‘openSUSE-11.3-Oss’ metadata [error]
Repository ‘openSUSE-11.3-Oss’ is invalid.
File /var/tmp/TmpFile.z4LN7P doesn’t contain public key data
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Disabling repository ‘openSUSE-11.3-Oss’ because of the above error.
Loading repository data…
Reading installed packages…
‘libsepol.so.1-32bit’ not found in package names. Trying capabilities.
No provider of ‘libsepol.so.1-32bit’ found.
Resolving package dependencies…

Nothing to do.

openSUSE-11.3-Non-Oss’ metadata [error]

‘openSUSE-11.3-Oss’ metadata [error]

I see that you have error with these repositories

Try to remove them
and add them Package repositories - openSUSE

remove a repostitory

su
# zypper removerepo <repository>

add repository

# zypper addrepo -f <repository>

Or go through yast–>software repositories and remove them
then add from this page Package repositories - openSUSE the two repositories who you need.

zypper removerepo <repository>

bash: syntax error near unexpected token `newline’

So tried YaST > Software repositories > delete : worked for both the oss and the non-oss
Then tried Add > Specify url > from your linked database:
Index of /distribution/11.3/repo/non-oss
Index of /distribution/11.3/repo/oss

Unfortunately only the oss link seems to have worked. Non -oss isn’t sjowing up on YaST> Software repositories
Result:
“There were errors while restoring the repository configuration.
Error refreshing service service_2 (http://download.opensuse.org/distribution/11.3/repo/non-oss/): Bad input stream”

Try to unistall the two repos and to re-add them.
Without #

On Wed, 23 Feb 2011 20:06:03 +0530, sakusa
<sakusa@no-mx.forums.opensuse.org> wrote:

>
> Hi thanks very much for that zippy reply :slight_smile:
> Sorry for being so dumb, but I can’t figure out how to copy/paste the
> output from my terminal to this post. Ctrl C/ V don’t seem to work.
> What’s the secret for OpenSuse copy /paste?
> Thanks
>

  • after executing the “zypper lr -d” command, highlight the command & all
    the output created by it;
  • create code-tags in your forum post;
  • position your mouse within these code tags and click on the middle
    button;


phani.

Hi - sorry I don’t understand “without #”. GnomeTerminal won’t let me do anything to the repositories without ‘su’, which means # is auto inserted

I thought you put Double #. For example ## zypper…
Try to remove them and then to re-add them.

sorry for the confusion. I’ve been using single # followed by the commands you specified :slight_smile:

That’s ok. Have you removed them?

The name of the package is libsepol1. “libsepol.so.1” is the library file provided by this package.