Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare man pages for switch to dnf5 as the default package manager #1366

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

@inknos
Copy link
Collaborator

inknos commented Apr 3, 2024

something is not working when I install dnf5-plugins

to reproduce:

  1. I use a container with these steps
FROM fedora:39 
RUN sed -i "/tsflags=.*/d" /etc/dnf/dnf.conf
RUN dnf update -y
RUN dnf install -y man dnf5 dnf-plugins-core
  1. Then I build my rpms and run the container
    2.a. man dnf -> DNF man pages
    2.b. man dnf-copr -> DNF Plugins Core man pages
    2.c. man dnf5 -> DNF5 man pages

  2. Install dnf5 update -y /rpms/dnf5/aarch64/*aarch64.rpm /rpms/dnf/noarch/*noarch.rpm /rpms/dnf-plugins-core/noarch/*noarch.rpm
    3.a. man dnf -> DNF5 man pages
    3.b. man dnf4-copr -> DNF Plugins Core man pages
    3.c. man dnf4 -> DNF man pages
    3.d. man dnf-copr -> nothing

Works until here!

  1. Install dnf5 plugins dnf5 install -y dnf5-plugins
    4.a. man dnf -> nothing !!!
    4.b. man dnf4-copr -> DNF Plugins Core man pages
    4.c. man dnf4 -> DNF man pages
    4.d. man dnf5-copr -> DNF5 plugins
    4.e. man dnf5 -> DNF5 man pages

@inknos
Copy link
Collaborator

inknos commented Apr 3, 2024

tricky. one more thing: would it be ok to have man dnf and man dnf5 pointing at the same manpage?

Because now the PR aims at:

  • man dnf -> DNF5 man pages
  • man dnf5 -> nothing
  • man dnf4 -> DNF man pages
  • man dnf-copr -> DNF5 plugins man pages
  • man dnf5-copr -> nothing
  • man dnf4-copr -> DNF plugins man pages

But what about having also:

  • man dnf5 -> DNF5 man pages
  • man dnf5-copr -> DNF5 plugins man pages

we are providing a simlink anyway 🤔

@inknos
Copy link
Collaborator

inknos commented Apr 3, 2024

Install dnf5 plugins dnf5 install -y dnf5-plugins

This step is faulty, I should install plugins from the built rpms, which have the dnf5_obsoletes_dnf flag on. It's not an issue

@inknos
Copy link
Collaborator

inknos commented Apr 3, 2024

good, we can think about this comment in the next step

@inknos inknos added this pull request to the merge queue Apr 3, 2024
Merged via the queue into main with commit 9407ef7 Apr 3, 2024
18 checks passed
@inknos inknos deleted the jkolarik/prepare-man-pages-for-dnf5 branch April 3, 2024 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants