From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Federico Beffa Newsgroups: gmane.lisp.guile.user Subject: Re: guile-2.0.11 installation on system with 2.0.5 Date: Tue, 16 Sep 2014 15:13:03 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1410873219 18545 80.91.229.3 (16 Sep 2014 13:13:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Sep 2014 13:13:39 +0000 (UTC) To: david , guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Sep 16 15:13:33 2014 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XTsZW-0004oy-NU for guile-user@m.gmane.org; Tue, 16 Sep 2014 15:13:30 +0200 Original-Received: from localhost ([::1]:37915 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTsZW-0000fc-9w for guile-user@m.gmane.org; Tue, 16 Sep 2014 09:13:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33803) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTsZM-0000ep-5t for guile-user@gnu.org; Tue, 16 Sep 2014 09:13:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XTsZA-0001vN-Ew for guile-user@gnu.org; Tue, 16 Sep 2014 09:13:20 -0400 Original-Received: from mail-la0-x234.google.com ([2a00:1450:4010:c03::234]:45339) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTsZA-0001uk-7b for guile-user@gnu.org; Tue, 16 Sep 2014 09:13:08 -0400 Original-Received: by mail-la0-f52.google.com with SMTP id gq15so4072163lab.25 for ; Tue, 16 Sep 2014 06:13:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=klWN+X8VMpbognBaP9Qv27dveLxsWJ6n7wKrTb95U0M=; b=YQaTnojUZJfm3QIVLnXQ2G/kRYSsWz78vcgSRtOqjuNIcgilmvlQaVrFGxJ+MQE5Hh l5nnLt4Nc1TZ6qCzfQmlLm6e6TULKDwzX4w5qBSqN6UTl2kWB8vY1Wqsz8Xw1XNJ8mzM mns+ALQmXr2LTNbKJbJoeSHDrEHxMKIJwqhx3syGPXbp+iGV+6zDEkxzgB7Y33vp3iiH KzAEqXj2ubTUIAWmG10BFMTzTybEG12GRT9UdW4zCsn2dzqBpUfI3SUX63xEIuoPLyYK PapsIzL6tXp1Cwedh+4sVL51vr2J1PlDvEoAwKl3rsz+LXwIQewWF/CX7tRyYUjOcR4f kGyA== X-Received: by 10.152.3.35 with SMTP id 3mr37065326laz.5.1410873183901; Tue, 16 Sep 2014 06:13:03 -0700 (PDT) Original-Received: by 10.114.26.101 with HTTP; Tue, 16 Sep 2014 06:13:03 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: 9PoqK4AvnRlzl1-28B9ccxL9dxI X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::234 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:11516 Archived-At: On Tue, Sep 16, 2014 at 1:09 PM, Federico Beffa wrote: > David Pirotte writes: > >> Hello, >> >>> As far as I inderstand the Debian package manager mantains a package >>> database. This is the place where it looks for installed packages. So, >>> if I have a newer version of guile which is not installed through the >>> package manager, the package manager will not know about it. >> >> even if you are locked in a debian stable, you can, and you should in the case of >> guile really, install packages from testing, unstable and even experimental [which >> is not recommended unless you know what you are doing of course]. >> >> So: >> >> update your /etc/apt/sources.list, add a line with testing source >> update you /etc/preferences >> >> Package: * >> Pin: release a=stable >> Pin-Priority: 800 >> >> Package: guile >> Pin: release a=testing >> Pin-Priority: 600 >> >> aptitude update >> aptitude >> search for the guile-2.0 package aptitude entry >> press enter [Menu: Package -> information] >> select and install the testing version [2.0.11+1-1 as of today] >> >> with that setting, aptitude|debian future updates will track and offer you to update >> the installed guile-2.0 testing package, while keeping everything else on stable... >> there are doc about that, duckduckgo for it... >> > > You convinced me that I should be fine using guile from testing. > > I've added the following lines in sources.list: > > deb http://ftp.ch.debian.org/debian/ testing main > deb-src http://ftp.ch.debian.org/debian/ testing main > > created /etc/apt/preferences.d/00-stable containing: > > Package: * > Pin: release a=stable > Pin-Priority: 800 > > and created /etc/apt/preferences.d/20-guile containing: > > Package: guile > Pin: release a=testing > Pin-Priority: 600 > > Now, before installing guile from testing, I wanted to check if I still > get no updatable packages as a moment before doing the change: > > aptitude update > aptitude full-upgrade > > This tells me that the package libxnvctrl0 can be update. If I remove > the testing entry from sources.list, then I get no updates. So, something > is coming in from testing. > > Am I doing something wrong? > > Regards, > Fede OK, I've found out by using "apt-cache policy package-name": I need to lower the default priorities of packages from testing other than guile with Package: * Pin: release o=Debian Pin-Priority: 10 Now I do not get other packages with "aptitude full-upgrade", but if I pull in guile-2.0 from testing it wants to change several other libraries: $ sudo aptitude -t testing full-upgrade guile-2.0 The following NEW packages will be installed: libffi6{a} The following packages will be upgraded: guile-2.0 guile-2.0-libs libc6 libgc1c2 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libtirpc1 locales nfs-common 12 packages upgraded, 1 newly installed, 0 to remove and 1353 not upgraded. Need to get 12.1 MB of archives. After unpacking 2,553 kB will be used. The following packages have unmet dependencies: krb5-user : Depends: libkrb5-3 (= 1.10.1+dfsg-5+deb7u2) but 1.12.1+dfsg-9 is to be installed. libgc-dev : Depends: libgc1c2 (= 1:7.1-9.1) but 1:7.2d-6.3 is to be installed. libc6-i386 : Depends: libc6 (= 2.13-38+deb7u4) but 2.19-11 is to be installed. guile-2.0-dev : Depends: guile-2.0 (= 2.0.5+1-3) but 2.0.11+1-1 is to be installed. libc6-dev : Depends: libc6 (= 2.13-38+deb7u4) but 2.19-11 is to be installed. libc-dev-bin : Depends: libc6 (< 2.14) but 2.19-11 is to be installed. I think I will just install guile 2.0.11 "manually". Thanks for all the help! Fede