Not understanding how repos work.

So wolfi explained to me in another thread about tumbleweed repos, but I don’t know why libreoffice doesn’t change vendor to factory automatically when I do “zypper dup”, as I even set it at a higher priority.

~> zypper lr -dEP
#  | Alias                            | Name                             | Enabled | Refresh | Priority | Type   | URI                                                                                 | Service
---+----------------------------------+----------------------------------+---------+---------+----------+--------+-------------------------------------------------------------------------------------+--------
 2 | LibreOffice:Factory              | LibreOffice:Factory              | Yes     | Yes     |   98     | rpm-md | http://download.opensuse.org/repositories/LibreOffice:/Factory/openSUSE_Tumbleweed/ |        
 5 | Science_BuildService             | Science_BuildService             | Yes     | Yes     |   98     | rpm-md | http://download.opensuse.org/repositories/science/openSUSE_Tumbleweed/              |        
 1 | Bumblebee-tumbleweed             | Bumblebee-tumbleweed             | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/X11:/Bumblebee/openSUSE_Tumbleweed/       |        
 3 | Packman                          | Packman                          | Yes     | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Tumbleweed/                                   |        
 6 | google-chrome                    | google-chrome                    | Yes     | Yes     |   99     | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64                                 |        
10 | openSUSE:Stable_OSS              | openSUSE:Stable_OSS              | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/openSUSE-current/repo/oss/                |        
11 | openSUSE:Stable_Updates          | openSUSE:Stable_Updates          | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/openSUSE-current/                               |        
12 | openSUSE:Stable_non-OSS          | openSUSE:Stable_non-OSS          | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/openSUSE-current/repo/non-oss/            |        
13 | openSUSE:Stable_non-OSS__Updates | openSUSE:Stable_non-OSS__Updates | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/openSUSE-non-oss-current/                       |        
14 | openSUSE:Tumbleweed              | openSUSE:Tumbleweed              | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/            |        
 8 | home:ecsos                       | home:ecsos                       | Yes     | Yes     |  100     | rpm-md | http://download.opensuse.org/repositories/home:/ecsos/openSUSE_Tumble

In the meantime, do my repos look ok?

On Mon, 04 Aug 2014 20:06:01 +0000, bonedriven wrote:

> libreoffice doesn’t change vendor to factory automatically when I do
> “zypper dup”, as I even set it at a higher priority.

https://www.suse.com/documentation/sles11/book_sle_deployment/data/
sec_y2_sw_instsource.html

While that’s SLE, the same principles apply.

Priority is used to determine which repo a new package is installed from

  • but to change vendors, you have to tell it to do that - priority isn’t
    used for that reason (because you could break dependencies by doing that,
    among other things).

There are circumstances where automating that could cause an update
loop, for example, if a newer version of ‘a’ depends on an older version
of ‘b’. If a repo has a newer version of ‘b’ in that case, it might
downgrade ‘a’ to match (in order to meet dependency requirements), which
on the next update would upgrade ‘a’ and downgrade ‘b’, and so on.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Thank you. That makes perfect sense to me. I’m gonna uninstall and reinstall it.

After “zypper dup”, I found that gparted does not work anymore, with error:

/usr/sbin/gpartedbin: symbol lookup error: /usr/lib64/libglibmm-2.4.so.1: undefined symbol: g_variant_parse_error_quark

I checked the libglibmm version and found 3:

  1. v2.40.0-0.2.9 from opensuse:Tumbleweed (currently installed)
  2. v2.38.0-0.6.1 from opensuse:stable_updates
  3. v2.38.0-0.1.1 from opensuse:stable_OSS

What’s the difference between “stable_updates” and “stable_OSS”. Do I have conflicting repos?

On Mon, 04 Aug 2014 20:46:02 +0000, bonedriven wrote:

> Thank you. That makes perfect sense to me. I’m gonna uninstall and
> reinstall it.

You don’t need to do that - you just need to go into the software
installer in YaST and manually switch the repo for the package(s)
affected.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

On 2014-08-04 22:30, Jim Henderson wrote:
> On Mon, 04 Aug 2014 20:06:01 +0000, bonedriven wrote:
>
>> libreoffice doesn’t change vendor to factory automatically when I do
>> “zypper dup”, as I even set it at a higher priority.

> Priority is used to determine which repo a new package is installed from
> - but to change vendors, you have to tell it to do that - priority isn’t

AFAIK, “zypper dup” does not respect vendor lock.


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))

On Mon, 04 Aug 2014 23:54:10 +0000, Carlos E. R. wrote:

> On 2014-08-04 22:30, Jim Henderson wrote:
>> On Mon, 04 Aug 2014 20:06:01 +0000, bonedriven wrote:
>>
>>> libreoffice doesn’t change vendor to factory automatically when I do
>>> “zypper dup”, as I even set it at a higher priority.
>
>
>> Priority is used to determine which repo a new package is installed
>> from - but to change vendors, you have to tell it to do that - priority
>> isn’t
>
> AFAIK, “zypper dup” does not respect vendor lock.

That is correct, as I recall.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

On Tue, 05 Aug 2014 01:10:43 +0000, Jim Henderson wrote:

> On Mon, 04 Aug 2014 23:54:10 +0000, Carlos E. R. wrote:
>
>> On 2014-08-04 22:30, Jim Henderson wrote:
>>> On Mon, 04 Aug 2014 20:06:01 +0000, bonedriven wrote:
>>>
>>>> libreoffice doesn’t change vendor to factory automatically when I do
>>>> “zypper dup”, as I even set it at a higher priority.
>>
>>
>>> Priority is used to determine which repo a new package is installed
>>> from - but to change vendors, you have to tell it to do that -
>>> priority isn’t
>>
>> AFAIK, “zypper dup” does not respect vendor lock.
>
> That is correct, as I recall.

And apparently I missed that the OP was doing that rather than an ‘up’.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Hi, can anyone answer this question?

Now everytime I do a “zypper dup” gparted will not work anymore and I have to change vendor for that package from the source stable_OSS.

Can I get rid of the repo “stable_updates”? “stable_OSS” covers what “stable updates” covers?

Sorry, I meant I have to use the version from “stable_update”.

On 2014-08-09 11:16, bonedriven wrote:

>> 1) v2.40.0-0.2.9 from opensuse:Tumbleweed (currently installed)
>> 2) v2.38.0-0.6.1 from opensuse:stable_updates
>> 3) v2.38.0-0.1.1 from opensuse:stable_OSS
>>
>> What’s the difference between “stable_updates” and “stable_OSS”. Do I
>> have conflicting repos?
>
> Hi, can anyone answer this question?

“Stable oss” is a link, at the moment, to 13.1, and “stable updates”
should be a link to the 13.1 official updates. You absolutely need those
repos while using Tumbleweed. And then, of course, you need the
tumbleweed repo.

That’s the way tumbleweed is designed to work.

> Can I get rid of the repo “stable_updates”? “stable_OSS” covers what
> “stable updates” covers?

No, and no.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

Thank you. :slight_smile: