unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Julien Lepiller <julien@lepiller.eu>
To: help-guix@gnu.org,Lo Peter <peterloleungyau@gmail.com>
Subject: Re: Install older version of a package with the "@version" specifier
Date: Fri, 26 Jun 2020 13:14:12 -0400	[thread overview]
Message-ID: <89632FC3-1266-430D-822B-392DB700B323@lepiller.eu> (raw)
In-Reply-To: <CAEM+zmgidvYuuYAm13-91Z_5rMPx0nnqhM1JFj2EGmT2VgU-TQ@mail.gmail.com>

Le 26 juin 2020 12:07:42 GMT-04:00, Lo Peter <peterloleungyau@gmail.com> a écrit :
>Dear all,
>
>I am trying to install r version 3.6.3, where the current version is at
>4.0.2.
>
>Accordingly to the manual at
>https://guix.gnu.org/manual/en/html_node/Invoking-guix-package.html it
>should be possible to specify the package version such as "guix
>package -i r@3.6.2", but on my guix (installed on slackware 14.2), it
>says:
>guix package: error: r: package not found for version 3.6.2
>
>What am I missing here?
>
>Regards,
>Peter

In general, at any point in time, we only keep one version of each packages. Exceptions are pretty rare (gcc, python, …). There two ways to get a version that's different from the one in the current guix:

- use the current guix and apply the recipe to an different version, by using something --with-source=r=r-3.6.3.tar.gz or similar. This is not guaranteed to work, as it applies the build procedure of version 4 to version 3. It uses recent software that are patched for vulnerability though.

- use r from an old revision of guix that had the version you're looking for. This can be done using an "inferior". The package will more likely build (and even have substitutes), but it uses the old version of all its dependencies, which are not necessarily patched for vulnerabilities and may require more space to be stored, as they are not shared with other packages.

HTH!


  reply	other threads:[~2020-06-26 17:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-26 16:07 Install older version of a package with the "@version" specifier Lo Peter
2020-06-26 17:14 ` Julien Lepiller [this message]
2020-06-26 18:04   ` zimoun
2020-06-27  6:33     ` Lo Peter

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=89632FC3-1266-430D-822B-392DB700B323@lepiller.eu \
    --to=julien@lepiller.eu \
    --cc=help-guix@gnu.org \
    --cc=peterloleungyau@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.
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).