Re: Replacing DNF with DNF5: changes reverted and helping steps

2023-08-15 Thread Nicola Sella
>
> Perhaps a 'dnf-is-dnf5' providing the dnf command as a symlink to dnf5
> (taking inspiration from debian's python-is-python3) would work as a
> stop-gap, so people who want a system with just dnf could install that
> package as an alternate dnf provider ?
>

Rather than a `dnf-is-dnf5` package, we are working on a COPR repository to
ship dnf5 and dnf with obsolete directives. The packages will be built from
dist-git (therefore following fedora versioning) and will be suited for
testing dnf replacement. I see this as a good chance for testers and daily
users.
This COPR repo will be ready by the end of next week and I will announce it
on fedora-devel.

On Tue, Aug 15, 2023 at 1:31 PM Dominique Martinet 
wrote:

> Vít Ondruch wrote on Tue, Aug 15, 2023 at 12:09:34PM +0200:
> > > I think only the mass-prebuild maintainer can help you there. dnf5
> > > cannot be set to provide dnf, because it...doesn't.
> >
> >
> > I know and yet again, I have not find any issues using mass-prebuild with
> > DNF5 and until now, it worked just fine. I probably won't ever understand
> > this game with names.
> >
> > But may be we are on the same boat and your "because it...doesn't." falls
> > into the same category 路‍♂️
>
> Perhaps a 'dnf-is-dnf5' providing the dnf command as a symlink to dnf5
> (taking inspiration from debian's python-is-python3) would work as a
> stop-gap, so people who want a system with just dnf could install that
> package as an alternate dnf provider ?
>
>
> Alternatively making dnf install as dnf4 + provide dnf as an
> 'alternative' config, and making dnf5 provide dnf as an alternative
> config with lower priority would likely also work ; but that probably
> requires modifying the dnf package first to avoid conflict.
>
> --
> Dominique Martinet | Asmadeus
> ___
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
>
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Replacing DNF with DNF5: changes reverted and helping steps

2023-08-15 Thread Dominique Martinet
Vít Ondruch wrote on Tue, Aug 15, 2023 at 12:09:34PM +0200:
> > I think only the mass-prebuild maintainer can help you there. dnf5
> > cannot be set to provide dnf, because it...doesn't.
> 
> 
> I know and yet again, I have not find any issues using mass-prebuild with
> DNF5 and until now, it worked just fine. I probably won't ever understand
> this game with names.
> 
> But may be we are on the same boat and your "because it...doesn't." falls
> into the same category 路‍♂️

Perhaps a 'dnf-is-dnf5' providing the dnf command as a symlink to dnf5
(taking inspiration from debian's python-is-python3) would work as a
stop-gap, so people who want a system with just dnf could install that
package as an alternate dnf provider ?


Alternatively making dnf install as dnf4 + provide dnf as an
'alternative' config, and making dnf5 provide dnf as an alternative
config with lower priority would likely also work ; but that probably
requires modifying the dnf package first to avoid conflict.

-- 
Dominique Martinet | Asmadeus
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Replacing DNF with DNF5: changes reverted and helping steps

2023-08-15 Thread Petr Pisar
V Tue, Aug 15, 2023 at 11:52:55AM +0100, Peter Robinson napsal(a):
> On Tue, Aug 15, 2023 at 11:41 AM Petr Pisar  wrote:
> >
> > V Tue, Aug 15, 2023 at 12:09:34PM +0200, Vít Ondruch napsal(a):
> > > Dne 14. 08. 23 v 19:30 Adam Williamson napsal(a):
> > > > On Mon, 2023-08-14 at 16:59 +0200, Vít Ondruch wrote:
> > > > > $ sudo dnf update -x dnf
> > > > > Updating and loading repositories:
> > > > > Repositories loaded.
> > > > > Failed to resolve the transaction:
> > > > > Problem 1: package mass-prebuild-1.1.0-1.fc39.noarch requires dnf, but
> > > > > none of the providers can be installed
> > [...]
> > > > I think only the mass-prebuild maintainer can help you there. dnf5
> > > > cannot be set to provide dnf, because it...doesn't.
> > >
> > > I know and yet again, I have not find any issues using mass-prebuild with
> > > DNF5 and until now, it worked just fine. I probably won't ever understand
> > > this game with names.
> > >
> > Since DNF5 is planned as a replacement for Fedora 40 and because Fedora 39 
> > has
> > already branched, I'd like to see making dnf5 replacing dnf package in 
> > Fedora
> > 40 as soon as possible. To have a testing, integration, and stablization 
> > period
> > as long as possible.
> 
> Quoting Samantha [1]:
> 
> "We've gone ahead and decided not to replace DNF with DNF05 in Fedora
> 39 and, perhaps notably, Fedora 40 as well. Fedora 41 is the safest
> option at the moment."
> 
> So I thought it wasn't coming until Fedora 41?
> 
You are right. I was mistaken and thought that DNF5 only slipped a Fedora
release. Then ignore my suggestion.

-- Petr


signature.asc
Description: PGP signature
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Replacing DNF with DNF5: changes reverted and helping steps

2023-08-15 Thread Peter Robinson
On Tue, Aug 15, 2023 at 11:41 AM Petr Pisar  wrote:
>
> V Tue, Aug 15, 2023 at 12:09:34PM +0200, Vít Ondruch napsal(a):
> > Dne 14. 08. 23 v 19:30 Adam Williamson napsal(a):
> > > On Mon, 2023-08-14 at 16:59 +0200, Vít Ondruch wrote:
> > > > $ sudo dnf update -x dnf
> > > > Updating and loading repositories:
> > > > Repositories loaded.
> > > > Failed to resolve the transaction:
> > > > Problem 1: package mass-prebuild-1.1.0-1.fc39.noarch requires dnf, but
> > > > none of the providers can be installed
> [...]
> > > I think only the mass-prebuild maintainer can help you there. dnf5
> > > cannot be set to provide dnf, because it...doesn't.
> >
> > I know and yet again, I have not find any issues using mass-prebuild with
> > DNF5 and until now, it worked just fine. I probably won't ever understand
> > this game with names.
> >
> Since DNF5 is planned as a replacement for Fedora 40 and because Fedora 39 has
> already branched, I'd like to see making dnf5 replacing dnf package in Fedora
> 40 as soon as possible. To have a testing, integration, and stablization 
> period
> as long as possible.

Quoting Samantha [1]:

"We've gone ahead and decided not to replace DNF with DNF05 in Fedora
39 and, perhaps notably, Fedora 40 as well. Fedora 41 is the safest
option at the moment."

So I thought it wasn't coming until Fedora 41?

[1] 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/EYE2JY537OM7GFW46EK7YIBLHJ52USAZ/
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Replacing DNF with DNF5: changes reverted and helping steps

2023-08-15 Thread Petr Pisar
V Tue, Aug 15, 2023 at 12:09:34PM +0200, Vít Ondruch napsal(a):
> Dne 14. 08. 23 v 19:30 Adam Williamson napsal(a):
> > On Mon, 2023-08-14 at 16:59 +0200, Vít Ondruch wrote:
> > > $ sudo dnf update -x dnf
> > > Updating and loading repositories:
> > > Repositories loaded.
> > > Failed to resolve the transaction:
> > > Problem 1: package mass-prebuild-1.1.0-1.fc39.noarch requires dnf, but
> > > none of the providers can be installed
[...]
> > I think only the mass-prebuild maintainer can help you there. dnf5
> > cannot be set to provide dnf, because it...doesn't.
> 
> I know and yet again, I have not find any issues using mass-prebuild with
> DNF5 and until now, it worked just fine. I probably won't ever understand
> this game with names.
> 
Since DNF5 is planned as a replacement for Fedora 40 and because Fedora 39 has
already branched, I'd like to see making dnf5 replacing dnf package in Fedora
40 as soon as possible. To have a testing, integration, and stablization period
as long as possible.

That would also resolve Vít's issue with mass-prebuild.

-- Petr


signature.asc
Description: PGP signature
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Replacing DNF with DNF5: changes reverted and helping steps

2023-08-15 Thread Vít Ondruch


Dne 14. 08. 23 v 19:30 Adam Williamson napsal(a):

On Mon, 2023-08-14 at 16:59 +0200, Vít Ondruch wrote:

Can you please make this work?


~~~

$ sudo dnf update -x dnf
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Problem 1: package mass-prebuild-1.1.0-1.fc39.noarch requires dnf, but
none of the providers can be installed
    - cannot install both dnf5-5.1.0-1.fc39.x86_64 and
dnf5-5.1.1-1.fc39.x86_64
    - cannot install the best update candidate for package
mass-prebuild-1.1.0-1.fc39.noarch
    - cannot install the best update candidate for package
dnf5-5.1.0-1.fc39.x86_64
    - package dnf-4.16.2-2.fc39.noarch is filtered out by exclude filtering
   Problem 2: problem with installed package
    - package mass-prebuild-1.1.0-1.fc39.noarch requires dnf, but none of
the providers can be installed
    - cannot install both dnf5-5.1.0-1.fc39.x86_64 and
dnf5-5.1.1-1.fc39.x86_64
    - package dnf5-plugins-5.1.1-1.fc39.x86_64 requires dnf5(x86-64) =
5.1.1-1.fc39, but none of the providers can be installed
    - cannot install the best update candidate for package
dnf5-plugins-5.1.0-1.fc39.x86_64
    - package dnf-4.16.2-2.fc39.noarch is filtered out by exclude filtering

~~~


IOW I want to stay with DNF 5  and DNF 5 only. This system was installed
with DNF 5 and I don't want to have a mess of all the cache directories
DNF leaves behind and what not.

BTW I have also asked the mass-prebuild maintainer for help:

https://gitlab.com/fedora/packager-tools/mass-prebuild/-/issues/86

I think only the mass-prebuild maintainer can help you there. dnf5
cannot be set to provide dnf, because it...doesn't.



I know and yet again, I have not find any issues using mass-prebuild 
with DNF5 and until now, it worked just fine. I probably won't ever 
understand this game with names.


But may be we are on the same boat and your "because it...doesn't." 
falls into the same category 路‍♂️



Vít



OpenPGP_signature.asc
Description: OpenPGP digital signature
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Replacing DNF with DNF5: changes reverted and helping steps

2023-08-14 Thread Adam Williamson
On Mon, 2023-08-14 at 16:59 +0200, Vít Ondruch wrote:
> Can you please make this work?
> 
> 
> ~~~
> 
> $ sudo dnf update -x dnf
> Updating and loading repositories:
> Repositories loaded.
> Failed to resolve the transaction:
> Problem 1: package mass-prebuild-1.1.0-1.fc39.noarch requires dnf, but 
> none of the providers can be installed
>    - cannot install both dnf5-5.1.0-1.fc39.x86_64 and 
> dnf5-5.1.1-1.fc39.x86_64
>    - cannot install the best update candidate for package 
> mass-prebuild-1.1.0-1.fc39.noarch
>    - cannot install the best update candidate for package 
> dnf5-5.1.0-1.fc39.x86_64
>    - package dnf-4.16.2-2.fc39.noarch is filtered out by exclude filtering
>   Problem 2: problem with installed package
>    - package mass-prebuild-1.1.0-1.fc39.noarch requires dnf, but none of 
> the providers can be installed
>    - cannot install both dnf5-5.1.0-1.fc39.x86_64 and 
> dnf5-5.1.1-1.fc39.x86_64
>    - package dnf5-plugins-5.1.1-1.fc39.x86_64 requires dnf5(x86-64) = 
> 5.1.1-1.fc39, but none of the providers can be installed
>    - cannot install the best update candidate for package 
> dnf5-plugins-5.1.0-1.fc39.x86_64
>    - package dnf-4.16.2-2.fc39.noarch is filtered out by exclude filtering
> 
> ~~~
> 
> 
> IOW I want to stay with DNF 5  and DNF 5 only. This system was installed 
> with DNF 5 and I don't want to have a mess of all the cache directories 
> DNF leaves behind and what not.
> 
> BTW I have also asked the mass-prebuild maintainer for help:
> 
> https://gitlab.com/fedora/packager-tools/mass-prebuild/-/issues/86

I think only the mass-prebuild maintainer can help you there. dnf5
cannot be set to provide dnf, because it...doesn't.
-- 
Adam Williamson (he/him/his)
Fedora QA
Fedora Chat: @adamwill:fedora.im | Mastodon: @ad...@fosstodon.org
https://www.happyassassin.net



___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Replacing DNF with DNF5: changes reverted and helping steps

2023-08-14 Thread Vít Ondruch

Can you please make this work?


~~~

$ sudo dnf update -x dnf
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Problem 1: package mass-prebuild-1.1.0-1.fc39.noarch requires dnf, but 
none of the providers can be installed
  - cannot install both dnf5-5.1.0-1.fc39.x86_64 and 
dnf5-5.1.1-1.fc39.x86_64
  - cannot install the best update candidate for package 
mass-prebuild-1.1.0-1.fc39.noarch
  - cannot install the best update candidate for package 
dnf5-5.1.0-1.fc39.x86_64

  - package dnf-4.16.2-2.fc39.noarch is filtered out by exclude filtering
 Problem 2: problem with installed package
  - package mass-prebuild-1.1.0-1.fc39.noarch requires dnf, but none of 
the providers can be installed
  - cannot install both dnf5-5.1.0-1.fc39.x86_64 and 
dnf5-5.1.1-1.fc39.x86_64
  - package dnf5-plugins-5.1.1-1.fc39.x86_64 requires dnf5(x86-64) = 
5.1.1-1.fc39, but none of the providers can be installed
  - cannot install the best update candidate for package 
dnf5-plugins-5.1.0-1.fc39.x86_64

  - package dnf-4.16.2-2.fc39.noarch is filtered out by exclude filtering

~~~


IOW I want to stay with DNF 5  and DNF 5 only. This system was installed 
with DNF 5 and I don't want to have a mess of all the cache directories 
DNF leaves behind and what not.


BTW I have also asked the mass-prebuild maintainer for help:

https://gitlab.com/fedora/packager-tools/mass-prebuild/-/issues/86



Vít


Dne 07. 08. 23 v 19:59 Nicola Sella napsal(a):

Hi all,

As discussed[1] DNF will not be obsoleted in fedora 39. The side-tag 
with the reverted changes was merged[2,3] just now.
You can now try the new packages by upgrading to the newer version of 
DNF5 (dnf5-5.1.1-1.fc39) which will not obsolete DNF 
(dnf-4-16.2-2.fc39) anymore.


Note that, if you install the packages from the side-tag, DNF might 
not be installed because it would be obsoleted by DNF5-5.1.0, from 
rawhide repositories.
Therefore, if you want to upgrade and use DNF < 5 on your rawhide 
system, here are some steps that should help you.


1. If you intend to install the new packages from the side-tag, you 
might want to exclude rawhide repositories. You have two options:


a. First, upgrade the system to the latest packages in the side-tag:
$ dnf5 upgrade \
  --best --releasever=39 \
  --disablerepo=* \
  --enablerepo=side-tag 
--repofrompath=side-tag,'https://kojipkgs.fedoraproject.org/repos/f39-build-side-71087/latest/x86_64/'

Then, install DNF:
$ dnf5 install dnf \
  --best --releasever=39 \
  --disablerepo=* \
  --enablerepo=side-tag 
--repofrompath=side-tag,'https://kojipkgs.fedoraproject.org/repos/f39-build-side-71087/latest/x86_64/'


b. You can achieve the same goal in one step:
$ dnf5 install "dnf < 5" \
  --best --releasever=39 \
  --disablerepo=* \
  --enablerepo=side-tag 
--repofrompath=side-tag,'https://kojipkgs.fedoraproject.org/repos/f39-build-side-71087/latest/x86_64/'


2. If you would rather not use the side-tag OR you are updating after 
the packages are available in rawhide, you should have no issues. The 
same two options follow:


a. Upgrade and install:
$ dnf5 upgrade --best
$ dnf5 install dnf --best

b. Or, with the one-liner:
$ dnf5 install "dnf < 5" --best

Please, don't hesitate to reach back if you cannot install the newest 
packages,


Cheers,

Nicola

[1]: https://pagure.io/fesco/issue/3039
[2]: https://bodhi.fedoraproject.org/updates/FEDORA-2023-5fd964c1bf
[3]: https://koji.fedoraproject.org/koji/taginfo?tagID=71087



___
devel mailing list --devel@lists.fedoraproject.org
To unsubscribe send an email todevel-le...@lists.fedoraproject.org
Fedora Code of 
Conduct:https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:https://fedoraproject.org/wiki/Mailing_list_guidelines
List 
Archives:https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report 
it:https://pagure.io/fedora-infrastructure/new_issue


OpenPGP_signature.asc
Description: OpenPGP digital signature
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Replacing DNF with DNF5: changes reverted and helping steps

2023-08-07 Thread Ian Laurie

On 8/8/23 03:59, Nicola Sella wrote:

Hi all,

As discussed[1] DNF will not be obsoleted in fedora 39. The side-tag
with the reverted changes was merged[2,3] just now.
You can now try the new packages by upgrading to the newer version of
DNF5 (dnf5-5.1.1-1.fc39) which will not obsolete DNF (dnf-4-16.2-2.fc39)
anymore.

Note that, if you install the packages from the side-tag, DNF might not
be installed because it would be obsoleted by DNF5-5.1.0, from rawhide
repositories.
Therefore, if you want to upgrade and use DNF < 5 on your rawhide
system, here are some steps that should help you.

1. If you intend to install the new packages from the side-tag, you
might want to exclude rawhide repositories. You have two options:

a. First, upgrade the system to the latest packages in the side-tag:
$ dnf5 upgrade \
   --best --releasever=39 \
   --disablerepo=* \
   --enablerepo=side-tag
--repofrompath=side-tag,'https://kojipkgs.fedoraproject.org/repos/f39-build-side-71087/latest/x86_64/
 '
Then, install DNF:
$ dnf5 install dnf \
   --best --releasever=39 \
   --disablerepo=* \
   --enablerepo=side-tag
--repofrompath=side-tag,'https://kojipkgs.fedoraproject.org/repos/f39-build-side-71087/latest/x86_64/
 '

b. You can achieve the same goal in one step:
$ dnf5 install "dnf < 5" \
   --best --releasever=39 \
   --disablerepo=* \
   --enablerepo=side-tag
--repofrompath=side-tag,'https://kojipkgs.fedoraproject.org/repos/f39-build-side-71087/latest/x86_64/
 '

2. If you would rather not use the side-tag OR you are updating after
the packages are available in rawhide, you should have no issues. The
same two options follow:

a. Upgrade and install:
$ dnf5 upgrade --best
$ dnf5 install dnf --best

b. Or, with the one-liner:
$ dnf5 install "dnf < 5" --best

Please, don't hesitate to reach back if you cannot install the newest
packages,



I think you may need a --nogpgcheck in there to allow it to work.

--
Ian Laurie
FAS: nixuser | IRC: nixuser
TZ: Australia/Sydney
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Replacing DNF with DNF5: changes reverted and helping steps

2023-08-07 Thread Adam Williamson
On Mon, 2023-08-07 at 15:12 -0700, Adam Williamson wrote:
> On Mon, 2023-08-07 at 19:59 +0200, Nicola Sella wrote:
> > 
> > 2. If you would rather not use the side-tag OR you are updating after the
> > packages are available in rawhide, you should have no issues. The same two
> > options follow:
> 
> The update will not land in Rawhide as-is because the removal of any
> `dnf` command on a typical update breaks almost all of the openQA
> tests.
> https://bodhi.fedoraproject.org/updates/FEDORA-2023-5fd964c1bf#comment-3149533
> 
> If we're really fine with leaving Rawhide systems with no `dnf` on
> update, we will have to do some work to work around this in the test
> system so as not to break tests on all subsequent updates. Also, there
> needs to be a PR for fedora-comps to revert the dnf5 migration there
> (and anywhere else it happened). 

Correction - it seems the comps PR was already merged,
https://pagure.io/fedora-comps/pull-request/866 . I just looked at open
PRs, so I didn't see it.
-- 
Adam Williamson (he/him/his)
Fedora QA
Fedora Chat: @adamwill:fedora.im | Mastodon: @ad...@fosstodon.org
https://www.happyassassin.net



___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Replacing DNF with DNF5: changes reverted and helping steps

2023-08-07 Thread Adam Williamson
On Mon, 2023-08-07 at 19:59 +0200, Nicola Sella wrote:
> 
> 2. If you would rather not use the side-tag OR you are updating after the
> packages are available in rawhide, you should have no issues. The same two
> options follow:

The update will not land in Rawhide as-is because the removal of any
`dnf` command on a typical update breaks almost all of the openQA
tests.
https://bodhi.fedoraproject.org/updates/FEDORA-2023-5fd964c1bf#comment-3149533

If we're really fine with leaving Rawhide systems with no `dnf` on
update, we will have to do some work to work around this in the test
system so as not to break tests on all subsequent updates. Also, there
needs to be a PR for fedora-comps to revert the dnf5 migration there
(and anywhere else it happened). 
-- 
Adam Williamson (he/him/his)
Fedora QA
Fedora Chat: @adamwill:fedora.im | Mastodon: @ad...@fosstodon.org
https://www.happyassassin.net



___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Replacing DNF with DNF5: changes reverted and helping steps

2023-08-07 Thread Nicola Sella
Hi all,

As discussed[1] DNF will not be obsoleted in fedora 39. The side-tag with
the reverted changes was merged[2,3] just now.
You can now try the new packages by upgrading to the newer version of DNF5 (
dnf5-5.1.1-1.fc39) which will not obsolete DNF (dnf-4-16.2-2.fc39) anymore.

Note that, if you install the packages from the side-tag, DNF might not be
installed because it would be obsoleted by DNF5-5.1.0, from rawhide
repositories.
Therefore, if you want to upgrade and use DNF < 5 on your rawhide system,
here are some steps that should help you.

1. If you intend to install the new packages from the side-tag, you might
want to exclude rawhide repositories. You have two options:

a. First, upgrade the system to the latest packages in the side-tag:
$ dnf5 upgrade \
  --best --releasever=39 \
  --disablerepo=* \
  --enablerepo=side-tag --repofrompath=side-tag,'
https://kojipkgs.fedoraproject.org/repos/f39-build-side-71087/latest/x86_64/
'
Then, install DNF:
$ dnf5 install dnf \
  --best --releasever=39 \
  --disablerepo=* \
  --enablerepo=side-tag --repofrompath=side-tag,'
https://kojipkgs.fedoraproject.org/repos/f39-build-side-71087/latest/x86_64/
'

b. You can achieve the same goal in one step:
$ dnf5 install "dnf < 5" \
  --best --releasever=39 \
  --disablerepo=* \
  --enablerepo=side-tag --repofrompath=side-tag,'
https://kojipkgs.fedoraproject.org/repos/f39-build-side-71087/latest/x86_64/
'

2. If you would rather not use the side-tag OR you are updating after the
packages are available in rawhide, you should have no issues. The same two
options follow:

a. Upgrade and install:
$ dnf5 upgrade --best
$ dnf5 install dnf --best

b. Or, with the one-liner:
$ dnf5 install "dnf < 5" --best

Please, don't hesitate to reach back if you cannot install the newest
packages,

Cheers,

Nicola

[1]: https://pagure.io/fesco/issue/3039
[2]: https://bodhi.fedoraproject.org/updates/FEDORA-2023-5fd964c1bf
[3]: https://koji.fedoraproject.org/koji/taginfo?tagID=71087
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue