all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: iyzsong@member.fsf.org (宋文武)
To: Hartmut Goebel <h.goebel@goebel-consult.de>
Cc: help-guix@gnu.org
Subject: Re: How to install an old package version?
Date: Fri, 12 Aug 2016 21:20:55 +0800	[thread overview]
Message-ID: <8737makts8.fsf@member.fsf.org> (raw)
In-Reply-To: <f1ae32ab-0662-ba6a-c329-21f4423704fc@goebel-consult.de> (Hartmut Goebel's message of "Thu, 11 Aug 2016 21:16:44 +0200")

Hartmut Goebel <h.goebel@goebel-consult.de> writes:

> Hi,
>
> I'm curious about how to install an old package version with guix.
>
> Example for what I mean:
>
> In e.g Debian, the list of available packages is separate from apt-get
> (et al.). So I can query all available versions of a package and
> install the version I need:
>
> $ apt-cache madison nginx
> nginx | 1.9.10-1~bpo8+3 | http://debian.mirror.lrz.de/debian/
> jessie-backports/ma
> nginx | 1.6.2-5+deb8u2 | http://security.debian.org/
> jessie/updates/main amd64 Pa
>
> Now in guix, the list of available packages is build into guix, there
> is no external cache. So how can I e.g. install python-2.7.10 after I
> installed guix 0.11.0, which only defines python-2.7.11?

All definitions (like debian's dsc) of packages are in the guix
git reposiroy.  You can clone it, checkout to any commit, build it,
and then run `pre-inst-env guix package -i ...' there to install
packages at that commit.  Note that guix hydra only has binary caches
for latest builds, so the old packages will be built from sources.

You can also 'guix pull --url=...' to update (or downgrade) the
package definitions from a tarball, which can be generated from the
git repository by `git archive'.

  parent reply	other threads:[~2016-08-12 14:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-11 19:16 How to install an old package version? Hartmut Goebel
2016-08-12  9:18 ` Alex Kost
2016-08-12 13:20 ` 宋文武 [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-12-27 19:34 cdelia
2018-12-28 15:03 ` Ricardo Wurmus

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8737makts8.fsf@member.fsf.org \
    --to=iyzsong@member.fsf.org \
    --cc=h.goebel@goebel-consult.de \
    --cc=help-guix@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.