Re: simulating apt-get on gentoo

Jonathan Callen <[email protected]> Thu, 5 May 2016 21:18:29 -0400
Newsgroups gmane.linux.gentoo.amd64
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--6sLlKVSUMniJqt2T3dBmTCFVRogGrHrvp
Content-Type: multipart/mixed; boundary="7W6usE6popNBLATUTRUD42BEbk6ct1i9a"
From: Jonathan Callen <[email protected]>
To: [email protected]
Message-ID: <[email protected]>
Subject: Re: simulating apt-get on gentoo
References: <CAC4mkfuz5VnBzsCWWbwyGSp99XZ+BxU1TOO8YJcUnQd_NUTyJw@mail.gmail.com>
 <CAK2H+efRFLX=QNpvzDfjUOF5VxCMxHd95fmnZWNQvCejL_0ULA@mail.gmail.com>
 <[email protected]>
 <CAC4mkfspt3T-wHpng1m8Zh=f2N3+Zfwa9ya2WCE7Y8dJdhHfnA@mail.gmail.com>
In-Reply-To: <CAC4mkfspt3T-wHpng1m8Zh=f2N3+Zfwa9ya2WCE7Y8dJdhHfnA@mail.gmail.com>

--7W6usE6popNBLATUTRUD42BEbk6ct1i9a
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 05/02/2016 07:00 PM, Daiajo Tibdixious wrote:
> Sorry to come back to this.
> I have a working ebuild, in the sense that I can install/remove using
> emerge, however the NXT client crashes a few second after starting
> with no error message.
> I don't expect you to help with the crash.
>=20
> The links you gave for Packages & the .deb file are still working but
> the Release one is not.
> I've tried
> wget http://content.runescape.com/a=3D946/downloads/ubuntu/trusty/Relea=
se
> wget https://content.runescape.com/a=3D946/downloads/ubuntu/trusty/Rele=
ase
> wget https://content.runescape.com/downloads/ubuntu/trusty/non-free/Rel=
ease
> All give 404 not found.
>=20
> I'm after a way to tell if they have bumped the version number,
> because its not on their download page.
>=20


As the instructions they gave changed, the method to get the initial
"Release" file also changed.  The new file is at:

<https://content.runescape.com/downloads/ubuntu/dists/trusty/Release>

This then points to a Packages file at:

<https://content.runescape.com/downloads/ubuntu/dists/trusty/non-free/bin=
ary-amd64/Packages>

This in turn points to the new location of the (hopefully) same .deb
archive, at:

<https://content.runescape.com/downloads/ubuntu/pool/non-free/r/runescape=
-launcher/runescape-launcher_2.2.2_amd64.deb>

To construct these URLs, I took the line given for the configuration of
apt, which is:

    deb https://content.runescape.com/downloads/ubuntu/ trusty non-free

Starting with the URL given
(<https://content.runescape.com/downloads/ubuntu/>), add
<dists/{dist}/Release> (in this case <dists/trusty/Release>) to get the
Release file.  The Release file points to Packages files located in
subdirectories of the directory containing Release; the appropriate file
would be under <{component}/binary-{arch}> (so <non-free/binary-amd64>).
 Each Packages file then lists the metadata for each version of each
package that is currently available as part of that dist/component/arch,
all of which reside under <pool/{component}> under the main URL.  The
actual directory structure is always
<pool/{component}/{first-letter-of-src-pkg}/{src-pkg}/{binary-pkg}_{versi=
on}_{arch}.deb>,
unless {src-pkg} begins with the letters "lib", in which case it uses a
subdirectory named after the first four characters in {src-pkg} instead.

For a more complete view of how the repository is structured, you may
want to browse http://ftp.debian.org/debian/ or
http://archive.ubuntu.org/ubuntu/, which are the roots of Debian and
Ubuntu's repositories, respectively.  Note that in some cases, the
Packages files are only available compressed (as Packages.gz or
Packages.bz2).

--=20
Jonathan Callen


--7W6usE6popNBLATUTRUD42BEbk6ct1i9a--

--6sLlKVSUMniJqt2T3dBmTCFVRogGrHrvp
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJXK/DnAAoJEEIQbvYRB3mg7DoP/Rijf8qXZWouWyXf8H4MLgdV
PRC6J0HOHkKHBpmvNQtyVl9j5T9lqjdKwLeSlx1Lx72dlAU2gZiliJL5+3+xTtZg
ySG9kitN2T9V3zyAuNAA6NHOHkM0ocp0TDnBdR53Q63mGXgyMdEaEMGiLD+S5sza
sdc9bV2iEG14lQrRAIP7yUR0vJokC7oOws9Pk8NAmnANxG/Eao86SnH/yljlsvbt
qhD9wh2QHDd70b7OgcVFl614ElOcmu1AsZfBxmGWKDXX3Za2Rmkl6OVe3iWslvOY
zibJ71Ruh8B8GkoFmRdkmnuF/HspE7GpU+0rGz2AJCLRWP+uRc6gSVcTbm+CFIG2
Do2yHSy/lBpXUjq72GE33qDDE87ggW1uX4gvD4UIBMsL/D4Rt2Rd8CbVwMsJG2X+
MigELvzQ/XHPNNnlAU3hiX3BpFpgNN7nfm8/RkFSFz8QCdCOIuZAQUfhPg3vU829
Ga6fjYTOvOckQEWkftmEfblHZPbiVp69B7nJmXmdEf2i42AW8gUrhY09tPE7i3sJ
41GB2Q7mDUSXpBxH9SHvc2K6dctuzTzFerAueCsQUvF7Jvk7H7553UFOXH/DTBYV
IQOdjAs7IIMv+gZDrdMq0mueUYRSG1AYL178s6YD+klsGO83ooBY+prOvIau+eVl
qqBZrTiYUAjG9lH3yIaf
=R5y8
-----END PGP SIGNATURE-----

--6sLlKVSUMniJqt2T3dBmTCFVRogGrHrvp--