Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1880776 - file conflict between f32-backgrounds-mate and f33-backgrounds-mate
Summary: file conflict between f32-backgrounds-mate and f33-backgrounds-mate
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: f33-backgrounds
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Luya Tshimbalanga
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: AcceptedFreezeException
Depends On:
Blocks: F33BetaFreezeException
TreeView+ depends on / blocked
 
Reported: 2020-09-19 21:43 UTC by Zbigniew Jędrzejewski-Szmek
Modified: 2020-10-06 14:05 UTC (History)
6 users (show)

Fixed In Version: f33-backgrounds-33.0.6-1.fc33
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-06 14:05:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Zbigniew Jędrzejewski-Szmek 2020-09-19 21:43:37 UTC
During upgrade to F33:
  file /usr/share/backgrounds/mate/default.xml conflicts between attempted installs of f32-backgrounds-mate-32.2.2-2.fc33.noarch and f33-backgrounds-mate-33.0.4-1.fc33.noarch

Comment 1 Fedora Blocker Bugs Application 2020-09-19 21:45:50 UTC
Proposed as a Freeze Exception for 33-beta by Fedora user zbyszek using the blocker tracking app because:

 Breaks upgrade to F33.

Comment 2 Luya Tshimbalanga 2020-09-20 21:38:37 UTC
Wolfgang (rave51),
Can you address the issue?

Comment 3 Wolfgang Ulbrich 2020-09-21 08:08:15 UTC
Can you please show me what version of mate-desktop (f32) and new version of mate-desktop (f33) was/is installed?
Dnf log of this transaction would be helpful.
Because mate-desktop-1.24.1-1 requires f32-backgrounds-mate.
This was fixed with mate-desktop-1.24.1-2 between f33 branch and f33 beta freeze.
https://src.fedoraproject.org/rpms/mate-desktop/c/f41df67b39a438faf9db00637fa8fe23235801b1?branch=master 
In result mate-group in comps pulls in new f33-backgrounds-mate
and older mate-desktop package in branched f33 repo try to pull in f32-backgrounds-mate.
I am sure this is a temporary repo issue and we can ignore this.

Comment 4 Wolfgang Ulbrich 2020-09-21 10:48:38 UTC
Btw. How did you made the upgrade from f32?
I will test this for myself when f33 beta is released and all pending packages are in stable repo,
to be sure that the issue is gone with fedora 33 release.
But i need more infos.

Comment 5 Zbigniew Jędrzejewski-Szmek 2020-09-21 13:25:02 UTC
I tried to upgrade using 'sudo dnf upgrade --releasever=33'

Since dnf was unhappy, I removed some packages that were causing conflicts:
$ dnf history info 996
Command Line   : remove gst-transcoder f32-backgrounds-mate
Packages Altered:
    Removed f32-backgrounds-mate-32.2.2-1.fc32.noarch @@System
    Removed gst-transcoder-1.16.0-3.fc32.x86_64       @@System
    Removed mate-desktop-1.24.1-1.fc32.x86_64         @@System
    Removed pitivi-0.999-9.fc32.x86_64                @@System

And apparently dnf was trying to install
f32-backgrounds-mate-32.2.2-2.fc33.noarch and f33-backgrounds-mate-33.0.4-1.fc33.noarch.
And this still conflicts:
$ sudo dnf install f32-backgrounds-mate f33-backgrounds-mate
Installing:
 f32-backgrounds-mate              noarch              32.2.2-2.fc33                 fedora                       9.0 k
 f33-backgrounds-mate              noarch              33.0.4-1.fc33                 updates-testing              8.0 k
...
Error: Transaction test error:
  file /usr/share/backgrounds/mate/default.xml conflicts between attempted installs of f33-backgrounds-mate-33.0.4-1.fc33.noarch and f32-backgrounds-mate-32.2.2-2.fc33.noarch

If I try without updatest-testing:
$ sudo dnf install f32-backgrounds-mate f33-backgrounds-mate --disablerepo=updates-testing
Installing:
 f32-backgrounds-mate                 noarch                32.2.2-2.fc33                   fedora                9.0 k
 f33-backgrounds-mate                 noarch                33.0.2-1.fc33                   fedora                7.7 k
Downgrading:
 f33-backgrounds-base                 noarch                33.0.2-1.fc33                   fedora                8.8 M
 f33-backgrounds-gnome                noarch                33.0.2-1.fc33                   fedora                7.6 k
...
Error: Transaction test error:
  file /usr/share/backgrounds/mate/default.xml conflicts between attempted installs of f32-backgrounds-mate-32.2.2-2.fc33.noarch and f33-backgrounds-mate-33.0.2-1.fc33.noarch

(I don't have mate-desktop installed right now. It seems only f3[23]-background-mate are enough to reproduce the issue.)

Comment 6 Wolfgang Ulbrich 2020-09-21 15:12:02 UTC
(In reply to Zbigniew Jędrzejewski-Szmek from comment #5)
> I tried to upgrade using 'sudo dnf upgrade --releasever=33'
> 
> Since dnf was unhappy, I removed some packages that were causing conflicts:
> $ dnf history info 996
> Command Line   : remove gst-transcoder f32-backgrounds-mate
> Packages Altered:
>     Removed f32-backgrounds-mate-32.2.2-1.fc32.noarch @@System
>     Removed gst-transcoder-1.16.0-3.fc32.x86_64       @@System
>     Removed mate-desktop-1.24.1-1.fc32.x86_64         @@System
>     Removed pitivi-0.999-9.fc32.x86_64                @@System
> 
> And apparently dnf was trying to install
> f32-backgrounds-mate-32.2.2-2.fc33.noarch and
> f33-backgrounds-mate-33.0.4-1.fc33.noarch.

Can you give me the date of this transaction. please?
I need to know if mate-desktop-1.24.1-1.fc33 from 2020-08-12 or fixed version mate-desktop-1.24.1-2.fc33 from 2020-08-25, was in repos to replace mate-desktop-1.24.1-1.fc32.x86_64 ?
Because mate-desktop-1.24.1-1.fc33 pulls in f32-backgrounds-mate.
https://src.fedoraproject.org/rpms/mate-desktop/c/f41df67b39a438faf9db00637fa8fe23235801b1?branch=master

OK, I have a f32 test VM and i will to a test later.

Comment 7 Zbigniew Jędrzejewski-Szmek 2020-09-21 15:53:22 UTC
> Can you give me the date of this transaction. please?
That was two days ago, I filed the report right at the time (2020-09-19 21:43:37 UTC).

Comment 8 Adam Williamson 2020-09-21 19:10:37 UTC
Discussed at 2020-09-21 blocker review meeting: https://meetbot-raw.fedoraproject.org/fedora-blocker-review/2020-09-21/f33-blocker-review.2020-09-21-16.00.html . Accepted as a freeze exception issue as this seems to affect upgrades for MATE users, and it's good to fix upgrade issues as soon as possible for people who upgrade before 0-day updates are available.

Comment 9 Wolfgang Ulbrich 2020-09-21 19:27:55 UTC
The issue was caused by an older version of mate-desktop in repos and not f33-backgrounds.
Why you reassign it back for no reason?

Comment 10 Zbigniew Jędrzejewski-Szmek 2020-09-21 19:38:29 UTC
Sorry, I didn't see you reassigned it, I thought it was my mistake.

Comment 11 Wolfgang Ulbrich 2020-09-22 19:00:40 UTC
Ok , mmy first guess was wrong. Mate-desktop packge isn't involved.
Updrading Mate desktop from f32 to f33 without/with updates-testing enabled installs mate-desktop-1.24.1-2.fc33 or mate-desktop-1.24.1-3.fc33
Both version are using f33-backgrounds-mate as required.
It is just simmple that dnf update f32-backgrounds-mate from f32 to f33 version, and comps group installs f33-backgrounds-mate
And both packages ships the same file.
For me the main issue is that f33-backgrounds do not obsolete f32-backgrounds and/or the package use a version in his name.
Otherwise the package could simply be update by a version number.
Maybe this can be improved in future?
I see several quick solutions at the moment.
1. f33-backgrounds obsolete f32-backgrounds in spec file.
2. /usr/share/backgrounds/mate/default.xml will be moved to desktop-backgrounds-compat or a new subpackage desktop-backgrounds-mate.
3. Luya restore f33-backgrounds to 33.0.3-1.fc33 again. And i will add a static.xml background for my own to mate-backgrounds package, which use /usr/share/backgrounds/default.png as base image file.

I prefer solution 3 ;)

Luya, what do you think?

Comment 12 Luya Tshimbalanga 2020-09-23 04:27:04 UTC
(In reply to Wolfgang Ulbrich from comment #11)

> 3. Luya restore f33-backgrounds to 33.0.3-1.fc33 again. And i will add a
> static.xml background for my own to mate-backgrounds package, which use
> /usr/share/backgrounds/default.png as base image file.
> 
> I prefer solution 3 ;)
> 
> Luya, what do you think?

I agree with this solution. Note that you can use the symlink /usr/share/backgrounds/f33/default/f33.png for your static.xml.
Update is on the way.

Comment 13 Luya Tshimbalanga 2020-09-23 05:21:56 UTC
f33-backgrounds-33.0.4 is now unpushed and 33.0.3 should be available. I built 33.0.5 just in case.

https://koji.fedoraproject.org/koji/packageinfo?packageID=31946

Comment 14 Wolfgang Ulbrich 2020-09-23 13:31:01 UTC
[root@f32 rave]# dnf list f33-backgrounds-mate
Last metadata expiration check: 0:06:28 ago on Wed Sep 23 15:20:04 2020.
Installed Packages
f33-backgrounds-mate.noarch                                   33.0.2-1.fc33                                   @fedora        
Available Packages
f33-backgrounds-mate.noarch                                   33.0.4-1.fc33                                   updates-testing

33.0.3 was unpushed a while ago, i don't see it in repos.
And you need an update at bodhi to close this report and the freeze exception.

Comment 15 Adam Williamson 2020-10-04 17:36:23 UTC
"For me the main issue is that f33-backgrounds do not obsolete f32-backgrounds and/or the package use a version in his name."

This is intentional. We do it this way because often people *like* the background from some particular release and want to use it even when they run a later release. If we used a single package and just bumped the version each release, or obsoleted the previous packages each release, the backgrounds for old releases would not easily be available to people who wanted to use them.

This is why we have both the "fXX-backgrounds" packages and the "desktop-backgrounds" packages, IIRC.

Comment 16 Adam Williamson 2020-10-04 17:37:11 UTC
To follow that thought - this means that anything that would conflict should be not in fXX-backgrounds(-foo), but in desktop-backgrounds(-foo).

Comment 17 Luya Tshimbalanga 2020-10-04 19:25:05 UTC
(In reply to Wolfgang Ulbrich from comment #14)
> [root@f32 rave]# dnf list f33-backgrounds-mate
> Last metadata expiration check: 0:06:28 ago on Wed Sep 23 15:20:04 2020.
> Installed Packages
> f33-backgrounds-mate.noarch                                   33.0.2-1.fc33 
> @fedora        
> Available Packages
> f33-backgrounds-mate.noarch                                   33.0.4-1.fc33 
> updates-testing
> 
> 33.0.3 was unpushed a while ago, i don't see it in repos.
> And you need an update at bodhi to close this report and the freeze
> exception.

Done. 33.0.3 should be available.

Comment 18 Fedora Update System 2020-10-06 01:41:54 UTC
FEDORA-2020-0c0496fb3e has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-0c0496fb3e

Comment 19 Fedora Update System 2020-10-06 14:05:25 UTC
FEDORA-2020-0c0496fb3e has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.