Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #207977
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: apt pinning: find out from which system version is a package |
| Date | 2019-04-29 15:50 +0200 |
| Message-ID | <xSePn-2CX-3@gated-at.bofh.it> (permalink) |
| References | <xS5j3-59d-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon 29 Apr 2019 at 05:30:30 (+0200), Emanuel Berg wrote:
> 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)?
apt-show-versions can give you a good idea. Occasionally,
and after major upgrades, I archive the output of:
$ apt-cache dump | grep -A 2 '^Package:' | grep -B 2 '^ File:' | sed -e 'N;N;s/\n/ /g;s/ \+/ /g;N' | grep -v '^--' | sort >> "$Unique1"
$ dpkg-query -W -f '^Package: ${Package} \n' | grep --file=- "$Unique1" | sort
Cheers,
David.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
apt pinning: find out from which system version is a package Emanuel Berg <moasenwood@zoho.eu> - 2019-04-29 05:40 +0200
Re: apt pinning: find out from which system version is a package Jonas Smedegaard <jonas@jones.dk> - 2019-04-29 07:40 +0200
Re: apt pinning: find out from which system version is a package "Alexander V. Makartsev" <avbetev@gmail.com> - 2019-04-29 09:20 +0200
Re: apt pinning: find out from which system version is a package Emanuel Berg <moasenwood@zoho.eu> - 2019-05-03 03:40 +0200
Re: apt pinning: find out from which system version is a package Emanuel Berg <moasenwood@zoho.eu> - 2019-05-03 03:40 +0200
Re: apt pinning: find out from which system version is a package Greg Wooledge <wooledg@eeg.ccf.org> - 2019-05-03 14:40 +0200
Re: apt pinning: find out from which system version is a package David Wright <deblis@lionunicorn.co.uk> - 2019-04-29 15:50 +0200
Re: apt pinning: find out from which system version is a package Emanuel Berg <moasenwood@zoho.eu> - 2019-05-03 03:50 +0200
Re: apt pinning: find out from which system version is a package <tomas@tuxteam.de> - 2019-05-03 08:50 +0200
Re: apt pinning: find out from which system version is a package Emanuel Berg <moasenwood@zoho.eu> - 2019-05-03 23:20 +0200
Re: apt pinning: find out from which system version is a package David Wright <deblis@lionunicorn.co.uk> - 2019-05-04 17:30 +0200
Re: apt pinning: find out from which system version is a package Greg Wooledge <wooledg@eeg.ccf.org> - 2019-05-03 14:40 +0200
Re: apt pinning: find out from which system version is a package David Wright <deblis@lionunicorn.co.uk> - 2019-05-03 14:50 +0200
Re: apt pinning: find out from which system version is a package Francisco M Neto <fmneto@fmneto.com.br> - 2019-04-29 23:20 +0200
Re: apt pinning: find out from which system version is a package Toni Mas <antomassol@gmail.com> - 2019-04-29 23:20 +0200
Re: apt pinning: find out from which system version is a package Emanuel Berg <moasenwood@zoho.eu> - 2019-05-03 04:10 +0200
Re: apt pinning: find out from which system version is a package Emanuel Berg <moasenwood@zoho.eu> - 2019-05-03 04:10 +0200
Re: apt pinning: find out from which system version is a package Emanuel Berg <moasenwood@zoho.eu> - 2019-05-03 04:00 +0200
csiph-web