bad repo for flash

I’m running 32 bit and I keep getting the following error when attempting to install the flash player. any suggestions??

linux-e8k6:/home/justin # zypper in flash-player
Building repository ‘openSUSE-11.2-Update’ cache [done]
Error building the cache:
‘repo2solv.sh’ ‘-o’ ‘/var/cache/zypp/solv/repo-update/solv’ ‘/var/cache/zypp/raw/repo-update’

gzip: 519d562d1e97091166ca8f2d5e0f607da4f4d6b0-primary.xml.gz: unexpected end of file
repo_rpmmd: not well-formed (invalid token) at line 358374:0

Warning: Disabling repository ‘openSUSE-11.2-Update’ because of the above error.
Loading repository data…
Reading installed packages…
‘flash-player’ not found.
Resolving package dependencies…

Nothing to do.
linux-e8k6:/home/justin #

try this in su terminal

rpmdb --rebuilddb

It take a while

nope didnt work. same error

Please post

zypper lr -d

justin@linux-e8k6:~> su
Password:
linux-e8k6:/home/justin # zypper lr -d

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

–±------------±---------------------±--------±--------±---------±---------±------------------------------------------±-------
1 | PK_TMP_DIR | PK_TMP_DIR | Yes | Yes | 99 | plaindir | dir:///var/tmp/TmpDir.TombOn |
2 | repo-update | openSUSE-11.2-Update | Yes | Yes | 99 | rpm-md | Index of /update/11.2 |
linux-e8k6:/home/justin #

Please do this as su

zypper rr 1

then post

zypper lr -d

again

zypper rr 1
Removing repository ‘PK_TMP_DIR’ [done]
Repository ‘PK_TMP_DIR’ has been removed.
linux-e8k6:/home/justin # zypper lr -d

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

–±------------±---------------------±--------±--------±---------±-------±------------------------------------------±-------
1 | repo-update | openSUSE-11.2-Update | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/11.2/ |
linux-e8k6:/home/justin #

It’s a number 1 not a letter L l

zypper rr 1

lol just fixed it, sorry, in the above post

now again

zypper lr -d

zypper lr -d

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

–±------------±---------------------±--------±--------±---------±-------±------------------------------------------±-------
1 | repo-update | openSUSE-11.2-Update | Yes | Yes | 99 | rpm-md | Index of /update/11.2 |
linux-e8k6:/home/justin #

Assuming you now have just the one repo left, it should be number 1 so…
Now do this as su

zypper rr 1
zypper ar -f http://download.opensuse.org/distribution/11.2/repo/oss/ oss
zypper ar -f http://download.opensuse.org/distribution/11.2/repo/non-oss/ non-oss
zypper ar -f http://download.opensuse.org/update/11.2/

whilst you are at it do this

zypper ar -f http://packman.unixheads.com/suse/11.2/ packman

close the terminal and do this

su -c "rpm -Uvh http://download.videolan.org/pub/libdvdcss/1.2.9/rpm/libdvdcss2-1.2.9-1.i386.rpm"

Now open Yast - Online Update
accept all licences

you should be good

You might be interested in
Multi-media and Restricted Format Installation Guide - openSUSE Forums

see my guides in sig too.

I keep getting this error for some reason.

zypper ar -f http://download.opensuse.org/update/11.2/If only one argument is used, it must be a URI pointing to a .repo file.
addrepo (ar) [options] <URI> <alias>
addrepo (ar) [options] <file.repo>

Add a repository to the sytem. The repository can be specified by its URI or can be read from specified .repo file (even remote).

Command options:
-r, --repo <file.repo> Just another means to specify a .repo file to read.
-t, --type <type> Type of repository (yast2, rpm-md, plaindir).
-d, --disable Add the repository as disabled.
-c, --check Probe URI.
-C, --no-check Don’t probe URI, probe later during refresh.
-n, --name <name> Specify descriptive name for the repository.
-k, --keep-packages Enable RPM files caching.
-K, --no-keep-packages Disable RPM files caching.
-f, --refresh Enable autorefresh of the repository.

the other repos where added no problem.

zypper lr -d

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

–±--------±--------±--------±--------±---------±-----±-------------------------------------------------------------±-------
1 | non-oss | non-oss | Yes | Yes | 99 | NONE | Index of /distribution/11.2/repo/non-oss |
2 | oss | oss | Yes | Yes | 99 | NONE | Index of /distribution/11.2/repo/oss |
3 | packman | packman | Yes | Yes | 99 | NONE | Index of /suse/11.2 |
linux-e8k6:/home/justin #

You have it copied incorrectly

use your mouse to copy and paste everything to the terminal

zypper ar -f http://download.opensuse.org/update/11.2/ update

yes that worked. ty

Are you now able to run zypper up?

After, you might want to to look at this
Multi-media and Restricted Format Installation Guide - openSUSE Forums