Resetting all repos to "defaults"?

I’m a recent openSUSE convert; I’ve been a BSD and Debian guy for years.

Then, over the last weekend, I burned a Live CD of KDE 3 / 10.3, and the rest was history. I’ve managed to fix my audio, tweak the video, and get most of the things taken care of that I wanted to.

However:

I’m on a laptop with wireless, and it was inaccessable during ‘update’ time, and as such, for some reason I never did get any repos.

I read the docs and added several specific repos, and everything seems to be OK, but:

I also installed smart and setup a metric buttload of repos for that, because I really can’t stand YaST or zypper. These are obviously different repositories for several packages, and can cause inconsistancies.

What can I do to either clean/match these, or set a priority so if I already have a package installed by (other package management), it will not attempt to force a downgrade/upgrade unless I specifically ask it to?

neptho wrote:
> I’m a recent openSUSE convert; I’ve been a BSD and Debian guy for
> years.
>
> Then, over the last weekend, I burned a Live CD of KDE 3 / 10.3, and
> the rest was history. I’ve managed to fix my audio, tweak the video,
> and get most of the things taken care of that I wanted to.
>
> However:
>
> I’m on a laptop with wireless, and it was inaccessable during ‘update’
> time, and as such, for some reason I never did get any repos.
>
> I read the docs and added several specific repos, and everything seems
> to be OK, but:
>
> I also installed smart and setup a metric buttload of repos for that,
> because I really can’t stand YaST or zypper. These are obviously
> different repositories for several packages, and can cause
> inconsistancies.
>
> What can I do to either clean/match these, or set a priority so if I
> already have a package installed by (other package management), it will
> not attempt to force a downgrade/upgrade unless I specifically ask it
> to?
>
>

Better do not mix different managers. Either stick with smart, or use
zypper/yast. In 10.3, with the latest zypper updates, it is not so bad.
I still prefer smart and I use it on one of my installs, but on the
other one I stick with zypper, and it is OK as well - especially if you
use it from cli (I hate these refresh boxes in the gui).

For zypper someone recommended and I followed the approach to disable
auto refreshing for all repos, and to schedule a cron job with zypper up
for early morning. Then even the gui is not so bad :slight_smile:

To synchronize the repos used by both smart and zypper, use the cli to
list the repos for each of them, and edit accordingly - because the GUIs
will insist to be the only ones who hold a lock on the rpm database - at
least that was the problem I faced in the past.

Cheers
Sunny