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

Re: package versions on the mirrors



David Wright composed on 2020-02-05 20:36 (UTC-0600):

> On Wed 05 Feb 2020 at 20:30:17 (-0500), Felix Miata wrote:

>> How does one discover package versions on the mirrors? I know linux-image-* is
>> there. How does one search for the versions of it hosted there? apt-show-versions
>> linux-image-amd64 shows only one, and not which repo it comes from. Where does
>> 4.19+105+deb10u1 kernel come from?
>> https://wiki.debian.org/PackageManagement/Searching has no example. Which man page
>> covers this?
 
> I browse to the Debian Packages page and pick a package (almost any),
> search, and follow the links down as far as the Mirrors page (links to
> the actual files). I copy the address and paste it into the address
> bar, but without the filename at the end. Then I just browse the
> directories in the pool.

I'm looking for something that doesn't involve web browsers, something I
can use when X doesn't work, or always.

I used that page to find one package I want:
<https://packages.debian.org/search?keywords=firmware-amd-graphics&searchon=names&section=all&suite=buster-backports>

What I haven't found is anything to explain how to translate it into any
apt* command.

Worse, I haven't found anything that makes it clear to me whether a Buster
user needs to configure

	deb http://ftp.debian.org/debian buster-backports main
or
	deb http://ftp.debian.org/debian bullseye-backports main

in sources.list.

> If, however, you start with a package that happens to have a security
> update, you might get stuck in the security website, where you can't
> see all the general packages but only the security updates.
 
> Don't know if that's what you meant.

What I'm looking for is the closest approximation of openSUSE. Assuming
appropriate repo is configured, I get everything I want there this way:

	# zypper se -s amdg | egrep -iv 'debug|32bit|src|i586'
...
S  | Name                           | Type       | Version             | Arch   | Repository
---+--------------------------------+------------+---------------------+--------+-----------
i  | libdrm_amdgpu1                 | package    | 2.4.100-lp151.264.1 | x86_64 | X11XOrg
v  | libdrm_amdgpu1                 | package    | 2.4.97-lp151.2.3.1  | x86_64 | Update
v  | libdrm_amdgpu1                 | package    | 2.4.97-lp151.1.1    | x86_64 | OSS
i  | xf86-video-amdgpu              | package    | 19.1.0-lp151.64.2   | x86_64 | X11XOrg
v  | xf86-video-amdgpu              | package    | 18.1.0-lp151.1.3    | x86_64 | OSS

To replace the standard package with the newer one in the configured
optional repo, this is the way that comes to mind:

	# zypper in xf86-video-amdgpu-19.1.0

Surely Debian has something roughly or even closely similar. I'm just
short of Google-fu discovering it.
-- 
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/


Reply to: