From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Simon Tournier <zimon.toutoune@gmail.com>
Cc: "Loïc SIRVIN" <loic.sirvin@inria.fr>,
"Ludovic Courtès" <ludovic.courtes@inria.fr>,
66647@debbugs.gnu.org
Subject: bug#66647: Installation of RPMs produced by ‘guix pack’ is super slow
Date: Wed, 17 Jan 2024 17:21:11 -0500 [thread overview]
Message-ID: <87a5p3mwiw.fsf@gmail.com> (raw)
In-Reply-To: <87cyu0ugse.fsf@gmail.com> (Simon Tournier's message of "Wed, 17 Jan 2024 16:21:37 +0100")
Hello,
Simon Tournier <zimon.toutoune@gmail.com> writes:
> Hi,
>
> On Mon, 15 Jan 2024 at 10:12, Ludovic Courtès <ludovic.courtes@inria.fr> wrote:
>
>>> We could mention that other package managers than yum should be
>>> preferred in a "@quotation Note", due to a performance problem when
>>> handling modern RPMs as those made by Guix; or we could close this and
>>> wait for yum to have become completely irrelevant (which seems like in a
>>> year or so, last I checked the RHEL end-of-life dates).
>>>
>>> Is someone volunteering to add the note? Or should we close this?
>>
>> Yeah maybe let’s just a short note warning against old versions of ‘yum’
>> and close this issue.
>
> I am proposing [1]:
>
> 1 file changed, 8 insertions(+)
> doc/guix.texi | 8 ++++++++
>
> modified doc/guix.texi
> @@ -7299,6 +7299,14 @@ Invoking guix pack
> sudo rpm --install --prefix=/opt /gnu/store/...-hello.rpm
> @end example
>
> +@quotation Warning
> +Rely on @command{rpm --install} for installing an RPM archive and avoid
> +@command{yum install} or related. The generated RPM archive will
> +install faster when using @command{rpm} than when using @command{yum}.
> +The performances of @command{yum} when installing generated RPM archive
> +could be detrimental compared to installing using @command{rpm} tool.
> +@end quotation
> +
Instead of wording it in a way that make it seems 'rpm' is the only tool
to be preferred, I'd say something like
--8<---------------cut here---------------start------------->8--- Older
versions of the @command{yum} command is known to have performance
problems when installing a Guix-generated RPM package. Prefer to use
modern alternatives such as the @command{dnf} or the @command{rpm}
commands.
--8<---------------cut here---------------end--------------->8---
Otherwise, LGTM! Thanks for volunteering to write it!
--
Thanks,
Maxim
next prev parent reply other threads:[~2024-01-17 22:22 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-20 10:20 bug#66647: Installation of RPMs produced by ‘guix pack’ is super slow Ludovic Courtès
2023-10-20 15:33 ` Maxim Cournoyer
2023-10-20 15:34 ` Maxim Cournoyer
2023-10-22 21:57 ` Ludovic Courtès
2023-10-23 1:35 ` Maxim Cournoyer
2023-10-23 12:16 ` Simon Tournier
2023-10-23 14:37 ` Maxim Cournoyer
2023-11-13 12:31 ` Loïc SIRVIN
2023-11-14 11:49 ` Simon Tournier
2023-11-25 14:22 ` Ludovic Courtès
2023-11-28 13:31 ` Simon Tournier
2023-12-02 23:13 ` Maxim Cournoyer
2024-01-11 16:57 ` Simon Tournier
2024-01-15 3:43 ` Maxim Cournoyer
2024-01-15 9:12 ` Ludovic Courtès
2024-01-17 15:21 ` Simon Tournier
2024-01-17 22:21 ` Maxim Cournoyer [this message]
2024-09-13 14:32 ` Maxim Cournoyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a5p3mwiw.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=66647@debbugs.gnu.org \
--cc=loic.sirvin@inria.fr \
--cc=ludovic.courtes@inria.fr \
--cc=zimon.toutoune@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).