How should I setup my repository?

I look at it something is wrong here.

1  | KDE:42               | KDE:42               | Yes     | Yes
2  | devel:tools:building | devel:tools:building | Yes     | Yes
3  | openSUSE 11.1-0      | openSUSE 11.1-0      | No      | No
4  | repo                 | repo                 | No      | No
5  | repo-debug           | repo-debug           | No      | Yes
6  | repo-non-oss         | repo-non-oss         | Yes     | Yes
7  | repo-oss             | repo-oss             | Yes     | Yes
8  | repo-update          | repo-update          | Yes     | Yes
9  | repo_1               | repo_1               | No      | No
10 | repo_2               | Packman Repository   | Yes     | Yes

I really appreciate for helping me

Mike

Could you please open a terminal and give the output of

zypper lr --details

Anyways what do you think is wrong?

Take Care,

Ian

#  | Alias                | Name                 | Enabled | Refresh | Priority | Type   | URI                                                                             | Service
---+----------------------+----------------------+---------+---------+----------+--------+---------------------------------------------------------------------------------+--------
1  | KDE:42               | KDE:42               | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/42/openSUSE_11.1/                |
2  | devel:tools:building | devel:tools:building | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/devel:/tools:/building/openSUSE_11.1/ |
3  | openSUSE 11.1-0      | openSUSE 11.1-0      | No      | No      |   99     | yast2  | cd:///?devices=/dev/sr0                                                         |
4  | repo                 | repo                 | No      | No      |   99     | NONE   | http://download.nvidia.com/opensuse/11.1                                        |
5  | repo-debug           | repo-debug           | No      | Yes     |  100     | NONE   | http://download.opensuse.org/debug/distribution/11.1/repo/oss/                  |
6  | repo-non-oss         | repo-non-oss         | Yes     | Yes     |  120     | NONE   | http://download.opensuse.org/distribution/11.1/repo/non-oss/                    |
7  | repo-oss             | repo-oss             | Yes     | Yes     |  120     | NONE   | http://download.opensuse.org/distribution/11.1/repo/oss/                        |
8  | repo-update          | repo-update          | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/11.1/                                       |
9  | repo_1               | repo_1               | No      | No      |   99     | NONE   | http://download.videolan.org/pub/videolan/vlc/SuSE/11.1/                        |
10 | repo_2               | Packman Repository   | Yes     | Yes     |   99     | rpm-md | http://ftp.skynet.be/pub/packman/suse/11.1/               

That what I get

You have your videolan repository disable which is GOOD.

You might want to re-enable your Nvidia repository (#4)

And I’m not sure the reasoning behind having the debug repository disabled but set to refresh everytime. So I would probably either enable the repository or disable refresh (#5)

You don’t need repository #2. The only reason I can think you have it is that you tried to download compiz and then deleted the compiz repositories. If you’re not going to use compiz-fusion, you don’t need repository #2.

That’s all I can say for it right now. If there’s anything wrong with my diagnostics someone can chime in and correct me :wink:

Take Care,

Ian

ijbreakey wrote:

> You have your videolan repository disable which is GOOD.

Why is that good?

> That’s all I can say for it right now. If there’s anything wrong with
> my diagnostics someone can chime in and correct me :wink:

I would also give the KDE4.2 and packman repo’s a higher priority than the
default and update repo’s.

–
Chris Maaskant

Well that is good because the packages from Videolan conflict with the packages from Packman. If you have them both enabled then you’ll get conflicts like crazy and most of the time you’ll end up with players that won’t be able to play media because the codecs they’re trying to use aren’t the right ones from the right repository. The only package you need from Videolan is the libdvdcss package. Then it should either be deleted or disabled.

The second comment isn’t really necessary either. As long as they’re all set to 99 then Yast or zypper will take the higher of the packages. If he had his update at 20 then that would cause major problems, but as suggested here

Repository Management - openSUSE Forums

he’s alright. Except Michael you might want to put your debug as 99 after you’ve enabled it.

Take Care,

Ian

ijbreakey wrote:

>
> Well that is good because the packages from Videolan conflict with the
> packages from Packman. If you have them both enabled then you’ll get
> conflicts like crazy

This i avoid by giving packman a higher priority than videolan.
All i want from videolan is libdvdcss.
If i would disable the videolan repo i wouldn’t get updates for it.
Not automagicly i mean :slight_smile:

> The second comment isn’t really necessary either. As long as they’re
> all set to 99 then Yast or zypper will take the higher of the packages.
> If he had his update at 20 then that would cause major problems, but as
> suggested here

Not giving the KDE4.x repos a higher priority than the default and update
repo’s often made a mess of my system.
4.1.x and 4.2.x KDE packages all mixed together, also downgrades of packages
when i ran zypper dup.

Maybe this is all over now i wouldn’t know but at the time it sure cleaned
up my system.
So i’ll stick with this setup.
Give your setup a try, if it messes up your system you can allways change
prioryties later and run zypper dup.

–
Chris Maaskant

This i avoid by giving packman a higher priority than videolan.
All i want from videolan is libdvdcss.
If i would disable the videolan repo i wouldn’t get updates for it.
Not automagicly i mean :slight_smile:

That’s a good point. And also a valid reason to have videolan enabled. But I really can’t remember the last time I had an update for libdvdcss. It plays dvd’s perfectly the way it is. So as far as I know it’s not needed to have videolan enabled. The tutorial I pointed to also gives the same advice.

Not giving the KDE4.x repos a higher priority than the default and update
repo’s often made a mess of my system.
4.1.x and 4.2.x KDE packages all mixed together, also downgrades of packages
when i ran zypper dup.

If it was a default install it was because the update repository was set at 20. The update repository has KDE 4.1.3 packages in it which would then give you conflicts with the KDE 4.2 repositories with a default priority set at 99. That’s why if you follow the Repository Management guide I linked to, you’ll have no problems.

Take Care,

Ian

ijbreakey wrote:

> If it was a default install it was because the update repository was
> set at 20. The update repository has KDE 4.1.3 packages in it which
> would then give you conflicts with the KDE 4.2 repositories with a
> default priority set at 99. That’s why if you follow the Repository
> Management guide I linked to, you’ll have no problems.

Looks like that guide tells me exactly what i did.
Well allmost, the guide says to give the OSS, non-OSS and update repo a
higher number of priority.
I instead gave the others a lower number.
The result is the same :slight_smile:

–
Chris Maaskant

Is there a side about priority,how to setup the right way??

1michael1 wrote:

> Is there a side about priority,how to setup the right way??

http://tinyurl.com/d36dml

–
Chris Maaskant

Most users probably don’t even consider changing the defaults. The guide I posted indicates that when referring to Updates being (20) by default. A lower number BTW is a Higher priority.

However, users who have kde42 or Factory kde4 may find setting Updates to 99 works better. Why? Because updates will have updates to the original OS providing kde4.1.3 and these should not have a higher priority than 4.2 or 4.3

Your questions are non specific and rather generalized - If you are having issues, submit your question and post the details of

zypper lr --details