From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ivan Vilata i Balaguer Subject: Re: Emacs not seeing newer packages after pull Date: Mon, 6 Apr 2020 20:44:49 -0400 Message-ID: <20200407004449.GF9908@sax.terramar.selidor.net> References: <20200331044752.GJ6131@sax.terramar.selidor.net> <20200401000416.GK6131@sax.terramar.selidor.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:59572) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLcMI-0000MI-9v for help-guix@gnu.org; Mon, 06 Apr 2020 20:44:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jLcMG-0003Cg-KD for help-guix@gnu.org; Mon, 06 Apr 2020 20:44:53 -0400 Received: from lev.selidor.net ([2600:3c03:e001:1100::1]:55092) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jLcMG-0003C5-Gz for help-guix@gnu.org; Mon, 06 Apr 2020 20:44:52 -0400 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: Konrad Hinsen Cc: help-guix@gnu.org Konrad Hinsen (2020-04-02 09:20:58 +0200) wrote: > Hi Ivan, >=20 > [=E2=80=A6] Interesting. That looks very different for me on Guix Syste= m! But then, > I don't have "guix" in my profile. Not sure it's a good idea. >=20 > > If I run `guix package -s guix`, the version of the `guix` package (w= hich I > > assume is the same that I got after the last `guix pull`, but I may b= e wrong) > > is `1.0.1-15=E2=80=A6`. >=20 > If you have "guix" in your profile, you'd have to update your profile > after a pull to run the latest version. >=20 > > Maybe I should just `guix package -u` this time and check if the prob= lem > > repeats with the next pull=E2=80=A6 >=20 > That sounds like a good experiment to do. So I did `guix package -u` and `emacs-guix` continued to show the list of packages and references to package definitions from the previous pull. I= then confirmed that definitions belonged to the `guix` package *in my profile* while, for instance, `guix package -s whatever` showed references to file= s *in my pulled Guix*. Anyway, that kinda confirmed what a bad idea keeping `guix` in my profile= was (it landed there in some of my first generations). So I removed it, pull= ed and upgraded packages again. However (as I had tested before), `emacs-guix` now shows a lot of "unknow= n" pink packages in my installed list. Some of the few green ones can't be opened because of unbound variables, others can be opened but have empty descriptions with just a link to their store directory=E2=80=A6 but some = do have descriptions and a valid reference (absolute path) to their definition an= d, lo and behold, the files are under my pulled Guix. Yay! However, `guix-pul= l` in Emacs still fails with a bunch of "incompatible bytecode kind" errors the= n "guix: pull: command not found". So I guess the proper way to go now is to report why `emacs-guix` on a fo= reign distro doesn't really work. I'll look at the archives and open a new thr= ead if needed. Thanks anyway Konrad for your help! --=20 Ivan Vilata i Balaguer -- https://elvil.net/