[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cli_ how to find_ firefox versions available in all suites



On 10/21/23, జిందం వాఐి <jindam.vani@disroot.org> wrote:
> On 2023-10-21 18:00, Dan Ritter wrote:
>> జిందం వాఐి wrote:
>>> * i want to check package versions
>>> available in various suites [ stable, testing,
>>> experimental, etc.. ] using cli
>>> * for example_ firefox
>>
>>
>> apt can look for versions available in the repositories that you
>> have retrieved (by specifying the repos in /etc/apt/sources.list or
>> /etc/apt/sources.list.d/* ).
>
> * this is my sources.list
> deb http://deb.debian.org/debian bookworm main contrib non-free
> non-free-firmware
> deb http://deb.debian.org/debian bookworm-updates main contrib non-free
> non-free-firmware
> deb http://security.debian.org/debian-security bookworm-security main
> contrib non-free non-free-firmware
> deb http://deb.debian.org/debian bookworm-backports main contrib
> non-free non-free-firmware
> deb http://deb.debian.org/debian/ testing main
> deb http://deb.debian.org/debian/ unstable main
> deb http://deb.debian.org/debian/ experimental main
> deb http://deb.debian.org/debian-debug bookworm-debug main
> deb http://deb.debian.org/debian-debug testing-debug main
> deb http://deb.debian.org/debian-debug/ unstable-debug main


>From a terminal command line:

$ apt-cache policy firefox

That should help, but it will only provide query results that are
relative to your sources.list lines above. To show suites not
represented in sources.list, the already recommended packages webpage
covers those.

And, actually, that "policy" command tells me there's nothing
specifically by that name in my own setup. The following helps to show
if there are any packages that include "firefox" as part of their
name:

$ apt-cache search --names-only firefox

In my case, that query brought up firefox-esr (which I just flat out
couldn't remember, lol).


>> To search for versions available in repositories that you have
>> *not* enabled, you need to do a network search of
>> packages.debian.org.
>>
>> For example:
>>
>> https://packages.debian.org/search?keywords=firefox


Cindy :)
-- 
Talking Rock, Pickens County, Georgia, USA
* runs with birdseed *


Reply to: