Re: discover and install specific package version

2018-11-20 Thread Felix Miata
Eric Barault composed on 2018-11-19 22:22 (UTC+0100):

> have you tried this version? It worked for me on top of debian stretch-slim:
> https://snapshot.debian.org/archive/debian/20180701T205743Z/pool/main/f/firefox-esr/firefox-esr_52.9.0esr-1~deb9u1_amd64.deb

I hadn't, but it's now installed and working. Thank you very much!
-- 
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/



Re: discover and install specific package version

2018-11-19 Thread Eric Barault
have you tried this version? It worked for me on top of debian stretch-slim:
https://snapshot.debian.org/archive/debian/20180701T205743Z/pool/main/f/firefox-esr/firefox-esr_52.9.0esr-1~deb9u1_amd64.deb


subject:"Re\: discover and install specific package version"

2018-11-19 Thread Eric Barault
have you tried this version? It worked for me on top of debian stretch-slim:
https://snapshot.debian.org/archive/debian/20180701T205743Z/pool/main/f/firefox-esr/firefox-esr_52.9.0esr-1~deb9u1_amd64.deb


Re: discover and install specific package version

2018-11-19 Thread Greg Wooledge
On Sat, Nov 17, 2018 at 08:53:19AM +0100, john doe wrote:
> Using Bash you could use functions or aliases:
> 
> search_pkg() { aptitude search -F '%p %V' --disable-columns ${1}; }

You probably want "$@" there (with quotes) instead of $1.



Re: discover and install specific package version

2018-11-17 Thread Reco
Hi.

On Sat, Nov 17, 2018 at 06:12:12AM -0500, Felix Miata wrote:
> Reco composed on 2018-11-17 13:45 (UTC+0300):
> 
> > On Sat, Nov 17, 2018 at 05:36:25AM -0500, Felix Miata wrote:
> 
> >> I knew 52.9 was released upstream in June, so I kept trying June archive 
> >> dates
> >> and stopped when I found one containing 52.9. Upstream release bz2 that I
> >> previously wgeted turned out to be dated 25 June.
> 
> > The problem is - version 52.6.0 haven't made it into the "main" that date.
> > They uploaded it into the "updates/main". Yes, these are different.
> > Hence the suggestion to use a later date.
> 
> > I believe I have a way to simplify things here:
> 
> > cd /var/cache/apt/archives/
> 
> > wget 
> > https://snapshot.debian.org/archive/debian/20180630T203831Z/pool/main/f/firefox-esr/firefox-esr_52.9.0esr-1_amd64.deb
> 
> > apt install ./firefox-esr_52.9.0esr-1_amd64.deb
> 
> > Note that this syntax of "apt install" does more than "dpkg -i stuff",
> > dependency resolution in particular.
> 
> # apt install ./firefox-esr_52.9.0esr-1_amd64.deb
> ...
> The following packages have unmet dependencies:
>  firefox-esr : Depends: libc6 (>= 2.27) but 2.24-11+deb9u3 is to be installed

That's buster's firefox. You won't be able to install this package
without turning your installation to testing.

I suggest you to try a more recent date.

Reco



Re: discover and install specific package version

2018-11-17 Thread Felix Miata
Reco composed on 2018-11-17 13:45 (UTC+0300):

> On Sat, Nov 17, 2018 at 05:36:25AM -0500, Felix Miata wrote:

>> I knew 52.9 was released upstream in June, so I kept trying June archive 
>> dates
>> and stopped when I found one containing 52.9. Upstream release bz2 that I
>> previously wgeted turned out to be dated 25 June.

> The problem is - version 52.6.0 haven't made it into the "main" that date.
> They uploaded it into the "updates/main". Yes, these are different.
> Hence the suggestion to use a later date.

> I believe I have a way to simplify things here:

> cd /var/cache/apt/archives/

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

> apt install ./firefox-esr_52.9.0esr-1_amd64.deb

> Note that this syntax of "apt install" does more than "dpkg -i stuff",
> dependency resolution in particular.

# apt install ./firefox-esr_52.9.0esr-1_amd64.deb
...
The following packages have unmet dependencies:
 firefox-esr : Depends: libc6 (>= 2.27) but 2.24-11+deb9u3 is to be installed
   Depends: libevent-2.1-6 (>= 2.1.8-stable) but it is not 
installable
   Depends: libfontconfig1 (>= 2.12.6) but 2.11.0-6.7+b1 is to be 
installed
   Depends: libhunspell-1.6-0 but it is not installable
   Depends: libnss3 (>= 2:3.28) but 2:3.26.2-1.1+deb9u1 is to be 
installed
   Depends: libvpx5 (>= 1.6.0) but it is not installable
   Depends: zlib1g (>= 1:1.2.11.dfsg) but 1:1.2.8.dfsg-5 is to be 
installed
E: Unable to correct problems, you have held broken packages.

Note I was able to apt install, and still have, 52.6, and still want 52.9.
-- 
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/



Re: discover and install specific package version

2018-11-17 Thread Reco
Hi.

On Sat, Nov 17, 2018 at 05:36:25AM -0500, Felix Miata wrote:
>  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
> 
> > That snapshot of a main archive has firefox-esr version 52.6.0esr-1~deb9u1.
> > Have you tried another date?
> 
> I knew 52.9 was released upstream in June, so I kept trying June archive dates
> and stopped when I found one containing 52.9. Upstream release bz2 that I
> previously wgeted turned out to be dated 25 June.

The problem is - version 52.6.0 haven't made it into the "main" that date.
They uploaded it into the "updates/main". Yes, these are different.
Hence the suggestion to use a later date.

I believe I have a way to simplify things here:

cd /var/cache/apt/archives/

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

apt install ./firefox-esr_52.9.0esr-1_amd64.deb


Note that this syntax of "apt install" does more than "dpkg -i stuff",
dependency resolution in particular.

Reco



Re: discover and install specific package version

2018-11-17 Thread Felix Miata
Reco composed on 2018-11-17 11:14 (UTC+0300):

> On Sat, Nov 17, 2018 at 02:35:57AM -0500, Felix Miata wrote:

>> 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 

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

> You requested a greppable output. That's how they do things here ☺ 

Grepable was not necessary, simply used to cut 45.9, 52.8, 60.3 and l10n from 
the output.

>> aptitude search -F '%p %V' --disable-columns firefox-esr | grep 52. returns 
>> only one item:
>>  firefox-esr-dev 52.9.0esr-1~deb9u1
>> ???

> As I wrote earlier, "the appropriate version of firefox-esr must be
> found in some repository that's listed in /etc/apt/sources.list". It's
> the same for me.

https://snapshot.debian.org/archive/debian/20180630T203831Z/pool/main/f/firefox-esr/
is part of sources.list. firefox-esr_52.9.0esr-1_arm64.deb is present there. ???

 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

> That snapshot of a main archive has firefox-esr version 52.6.0esr-1~deb9u1.
> Have you tried another date?

I knew 52.9 was released upstream in June, so I kept trying June archive dates
and stopped when I found one containing 52.9. Upstream release bz2 that I
previously wgeted turned out to be dated 25 June.
-- 
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/



Re: discover and install specific package version

2018-11-17 Thread Felix Miata
songbird composed on 2018-11-17 03:55 (UTC-0500):

> Felix Miata wrote:
> ...

>   was this version ever downloaded to begin with?

Not "to begin with".

>   if so it may still be in the cache...

>   check /var/cache/apt/archives

It's there because I put it there with wget, but that hasn't helped anything.
I tried using dpkg to install, but that fails due to a bunch of missing deps.
-- 
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/



Re: discover and install specific package version

2018-11-17 Thread songbird
Felix Miata wrote:
...

  was this version ever downloaded to begin with?

  if so it may still be in the cache...

  check /var/cache/apt/archives


  songbird



Re: discover and install specific package version

2018-11-17 Thread Reco
On Sat, Nov 17, 2018 at 02:35:57AM -0500, Felix Miata wrote:
> 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 
> 
> Surely there must be something simpler to be able to remember and type. :-p

You requested a greppable output. That's how they do things here ☺


> aptitude search -F '%p %V' --disable-columns firefox-esr | grep 52. returns 
> only one item:
>   firefox-esr-dev 52.9.0esr-1~deb9u1
> ???

As I wrote earlier, "the appropriate version of firefox-esr must be
found in some repository that's listed in /etc/apt/sources.list". It's
the same for me.


> >> 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

That snapshot of a main archive has firefox-esr version 52.6.0esr-1~deb9u1.
Have you tried another date?

Reco



Re: discover and install specific package version

2018-11-16 Thread john doe
On 11/17/2018 8:35 AM, Felix Miata wrote:
> 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 
> 
> Surely there must be something simpler to be able to remember and type. :-p
> 

Using Bash you could use functions or aliases:

search_pkg() { aptitude search -F '%p %V' --disable-columns ${1}; }

$ search_pkg 

alias spkg="aptitude search -F '%p %V' --disable-columns"

$ spkg 

-- 
John Doe



Re: discover and install specific package version

2018-11-16 Thread Felix Miata
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 

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/



Re: discover and install specific package version

2018-11-16 Thread Reco
Hi.

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 


> 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].

Reco

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



discover and install specific package version

2018-11-16 Thread Felix Miata
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))

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).
-- 
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/