Web lists-archives.com

Re: discover and install specific package version




Reco composed on 2018-11-17 09:53 (UTC+0300):

> On Sat, Nov 17, 2018 at 12:52:14AM -0500, Felix Miata wrote:

>> Web searches have not been helpful for these:

>> 1-Which of apt* returns version numbers along with package names, one line per result, when
>> searching? (in openSUSE, versions are returned by zypper search via the -s switch (one line per
>> package))

> aptitude search -F '%p %V' --disable-columns <pkg_here>

Surely there must be something simpler to be able to remember and type. :-p

aptitude search -F '%p %V' --disable-columns firefox-esr | grep 52. returns only one item:

	firefox-esr-dev 52.9.0esr-1~deb9u1

???

>> 2-http://ftp.debian.org/debian/pool/main/f/firefox-esr/ apparently has what I want for Stretch,
>> esr52.9 by whatever name (Firefox-ESR or IceWeasel). How can I get the cmdline package management
>> system (apt-???) to tell me which I can choose from other than installed and latest? Searches tried
>> (e.g. apt-show-versions; apt list -a; apt-cache madison) only show 45.x (installed) and 60.3
>> (available).

> apt install firefox-esr=52.9.0esr-1~deb9u1

> But, if you want this to work, the appropriate version of firefox-esr
> must be found in some repository that's listed in /etc/apt/sources.list.
> And it seems that they deleted that particular version from everywhere
> including [1].

> [1] https://snapshot.debian.org

https://snapshot.debian.org/archive/debian/20180630T203831Z/pool/main/f/firefox-esr/firefox-esr_52.9.0esr-1_amd64.deb
exists

No errors produced by apt update with the following in sources.list:
deb https://snapshot.debian.org/archive/debian/20180630T203831Z/ stretch main

Yet, apt claims it cannot find:

	apt install firefox-esr=52.9.0esr-1~deb9u1

E: Version '52.9.0esr-1~deb9u1' for 'firefox-esr' was not found. :-(
-- 
Evolution as taught in public schools is religion, not science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/