[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Difficulty downgrading a mistakenly installed non-stable package



On Fri, Apr 24, 2015 at 1:50 PM, Brian <ad44@cityscape.co.uk> wrote:
> On Fri 24 Apr 2015 at 12:37:36 -0400, Kynn Jones wrote:
>
>> I try to keep my system as close to 100% stable as possible.  In spite
>> of this, a version of libp11-kit0 that is ahead of stable "somehow"
>> snuck into my system:
>>
>>     $ apt-cache policy libp11-kit0
>>     libp11-kit0:
>>       Installed: 0.20.7-1~bpo70+1
>>       Candidate: 0.20.7-1~bpo70+1
>>       Version table:
>>      *** 0.20.7-1~bpo70+1 0
>>             100 /var/lib/dpkg/status
>>          0.12-3 0
>>             500 http://debian.csail.mit.edu/debian/ stable/main amd64 Packages
>>             500 http://ftp.us.debian.org/debian/ stable/main amd64 Packages
>
> libp11-kit0 wasn't installed by mistake and didn't sneak onto your
> system uninvited. Backports will pull in packages and versions of
> packages which are not in a stable release.

You're right, that's exactly what happened!  (The reason I thought
otherwise is that I misinterpreted some of `aptitude`'s output.  I
won't bore you with the details.)

Searching for libp11-kit0 in /var/log/aptitude.1.gz I found the line

    [UPGRADE] libp11-kit0:amd64 0.12-3 -> 0.20.7-1~bpo70+1

just a couple of lines below the line

    [INSTALL] emacs24-lucid:amd64

Sure enough, emacs24-lucid is one of only two packages (the other one
being emacs24-el) that I've installed from outside of stable, and both
come from wheezy-backports.

Thanks for your comments.

And @Bob, thanks also for your suggestion.  The output I got when I tried
it included the lines

    The following packages have unmet dependencies:
     libgnutls-deb0-28 : Depends: libp11-kit0 (>= 0.20.7) but 0.12-3
is to be installed.
    The following actions will resolve these dependencies:

         Remove the following packages:
    1)     emacs24-lucid
    2)     libgnutls-deb0-28

...and seeing `emacs24-lucid` there was what set me on the "Road to
Enlightenment." ;)

kj


Reply to: