Web lists-archives.com

Re: discover and install specific package version


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>

> 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