Bug 2001333 - Obsolete arduino-core
Summary: Obsolete arduino-core
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-obsolete-packages
Version: 35
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2008802 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-05 15:28 UTC by Miroslav Suchý
Modified: 2021-11-27 01:10 UTC (History)
4 users (show)

Fixed In Version: fedora-obsolete-packages-36-4 fedora-obsolete-packages-35-18 fedora-obsolete-packages-35-21
Clone Of:
Environment:
Last Closed: 2021-11-27 01:10:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miroslav Suchý 2021-09-05 15:28:11 UTC
Description of problem:
The package arduino cause problem during upgrade from F34 to F35:

 Problém 1: package arduino-core-1:1.8.13-5.fc34.noarch requires mvn(org.ow2.asm:asm-all), but none of the providers can be installed
  - objectweb-asm-8.0.1-2.fc34.noarch does not belong to a distupgrade repository
  - problem with installed package arduino-core-1:1.8.13-5.fc34.noarch


The package
  https://src.fedoraproject.org/rpms/arduino
has been retired. Therefore I suggest adding it to fedora-obsolete-packages.

Comment 1 Fedora Update System 2021-09-13 10:16:50 UTC
FEDORA-2021-82f877de44 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2021-82f877de44

Comment 2 Fedora Update System 2021-09-13 10:19:26 UTC
FEDORA-2021-8d6e0c805f has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-8d6e0c805f

Comment 3 Fedora Update System 2021-09-13 10:19:31 UTC
FEDORA-2021-82f877de44 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Fedora Update System 2021-09-13 16:15:31 UTC
FEDORA-2021-8d6e0c805f has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-8d6e0c805f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-8d6e0c805f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2021-09-24 20:22:22 UTC
FEDORA-2021-8d6e0c805f has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 David Auer 2021-11-07 14:35:39 UTC
Still an upgrade blocker for me and and least one other user:
https://bugzilla.redhat.com/show_bug.cgi?id=2008802

This commit adds the obsolete but I think for the wrong version, it doesn't have the epoch prefix "1:":
https://src.fedoraproject.org/rpms/fedora-obsolete-packages/c/924efeeb41dcd824b848c7e91adbb145e868876d?branch=f35

Some data from my F34 machine:

[da@David-UB ~]$ dnf download fedora-obsolete-packages --releasever=35
[...] 
fedora-obsolete-packages-35-20.noarch.rpm       184 kB/s |  31 kB     00:00 
[da@David-UB ~]$ rpm -ql fedora-obsolete-packages* --obsoletes | grep ardui
warning: fedora-obsolete-packages-35-20.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 9867c58f: NOKEY
arduino < 1.8.13-6
arduino-core < 1.8.13-6
arduino-devel < 1.8.13-6
eclipse-cdt-arduino < 2:9.11.1-11
[da@David-UB ~]$ sudo dnf list installed "*arduino*"
Installed Packages
arduino.noarch                           1:1.8.13-5.fc34                 @fedora
arduino-builder.x86_64                   1.3.25-7.fc33                   @fedora
arduino-core.noarch                      1:1.8.13-5.fc34                 @fedora
arduino-ctags.x86_64                     5.8-13.arduino11.fc34           @fedora
arduino-devel.noarch                     1:1.8.13-5.fc34                 @fedora
arduino-doc.noarch                       1:1.8.13-5.fc34                 @fedora
arduino-listSerialPortsC.x86_64          1.4.0-9.fc34                    @fedora
[da@David-UB ~]$

Comment 7 David Auer 2021-11-07 14:37:24 UTC
*** Bug 2008802 has been marked as a duplicate of this bug. ***

Comment 8 David Auer 2021-11-15 22:01:17 UTC
@Miro, could you check and fix those versions or should I provide a PR?

Comment 9 Miro Hrončok 2021-11-16 09:21:36 UTC
This is on my TODO, but providing a PR will make it faster.

Comment 10 David Auer 2021-11-23 19:00:25 UTC
PRs are here:
https://src.fedoraproject.org/rpms/fedora-obsolete-packages/pull-request/50
https://src.fedoraproject.org/rpms/fedora-obsolete-packages/pull-request/49

I don't know how to test this change but I'm confident it is correct and will work. Tried to build and install it on F34 but I guess that is not supposed to work:


$ dnf install /home/da/fedora-scm/fedora-obsolete-packages/noarch/fedora-obsolete-packages-35-21.noarch.rpm
[... cache update ...]

Error: 
 Problem: problem with installed package module-build-service-3.6.1-1.fc34.noarch
  - package module-build-service-3.6.1-1.fc34.noarch requires python3-flask-script, but none of the providers can be installed
  - package module-build-service-3.6.1-1.fc34.noarch requires python3.9dist(flask-script), but none of the providers can be installed
  - package module-build-service-3.4.1-2.fc34.noarch requires python3-flask-script, but none of the providers can be installed
  - package module-build-service-3.4.1-2.fc34.noarch requires python3.9dist(flask-script), but none of the providers can be installed
  - package fedora-obsolete-packages-35-21.noarch obsoletes python3-flask-script < 2.0.6-11 provided by python3-flask-script-2.0.6-10.fc34.noarch
  - conflicting requests
(try to add '--skip-broken' to skip uninstallable packages)

Comment 11 David Auer 2021-11-23 19:21:30 UTC
Found a way and successfully tested on F34->F35:

In case someone is interested, you just need to quickly create a repo containing the package:
createrepo --database /home/whoever/directoryHoldingTheNewRPM/
sudo dnf system-upgrade download --releasever=35 --skip-broken --repofrompath some-repo-name,/home/whoever/directoryHoldingTheNewRPM/

Should this be added to the README to help the next new contributor?

Comment 12 David Auer 2021-11-24 17:50:39 UTC
Clarification: The test I described above worked fine for the "download" step but failed on the "reboot" step (repository not found). I guess I'll just remove the packages for now and go on with the update.

Comment 13 Miro Hrončok 2021-11-25 10:40:59 UTC
Thanks for the PRs!

Comment 14 Fedora Update System 2021-11-25 21:40:31 UTC
FEDORA-2021-860e069772 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-860e069772`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-860e069772

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2021-11-27 01:10:57 UTC
FEDORA-2021-860e069772 has been pushed to the Fedora 35 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.