Web lists-archives.com

Re: apt pinning: find out from which system version is a package




Quoting Emanuel Berg (2019-04-29 05:30:30)
> With apt pinning [1], in /etc/apt/preferences ,
> I have learned that one can have certain packs
> from another release than the rest of the
> system, seemlessly (?) with apt-get and the
> other tools, for example like this for
> w3m-el-snapshot:
> 
>     Package: *
>     Pin: release a=testing
>     Pin-Priority: -10
> 
>     Package: w3m-el-snapshot
>     Pin: release a=testing
>     Pin-Priority: 800
> 
> But is there a way to find out/confirm from
> which release is a certain pack? I know about
> 'aptitude show' but save for the version, which
> I suppose one could Google and compare (poor
> man's solution IMO), it doesn't seem to say
> what I can see.
> 
> Neither does 'dpkg -l'.
> 
> So is there a way to do this with shell
> tool(s)?

Add file /etc/apt/apt.conf.d/99aptitude-list-suite-local
eith the following one-line content:

aptitude::UI::Package-Display-Format "%c%a%M%S %p %Z %t %v %V";

...and install and use aptitude in fullscreen mode (i.e. start it with 
no non-option arguments).

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature