Re: [DNG] Download a package, maybe a few, for a different architecture and a different release.

2021-08-18 Thread Hendrik Boom
On Thu, Aug 19, 2021 at 01:25:01AM +0200, Antony Stone wrote:
> On Thursday 19 August 2021 at 01:01:09, Hendrik Boom wrote:
> 
> > I need to download a package to install on a machine that is currently
> > air-gapped.
> 
> Do you not even trust the connectivity to give it a proxy server?

At the moment it doesn't have any connectivity.  I'm trying to acquire 
the  packages I need to make wifi work, after which it will no longer be 
air-gapped. 

> 
> > I have to download an i386 package for chimaera on an AMD64 beowulf
> > machine.
...
... 
> > How do I go about doing the download?
> 
> I don't think you're asking "how do I fetch packages using wget so I can then 
> install them using dpkg".

Actually, that is exactly what I was asking.  It is so easy to get lost 
in a maze of directories, all alike.

I have now managed to get those packages, so things should work out. 

-- hendrik

>  I'm assuming you're asking "how can I work out 
> which dependent packages I should get at the same time, to make this whole 
> process as painless as possible", so my suggestion is that you start from 
> https://packages.debian.org/bullseye/packagename and look at everything 
> labelled with "dep".
> 
> Check on your chimaera machine whether these are installed, and then you know 
> (at the first level) whether you need to install some of those first.

That was helpful.  It tured out to depend ofono (though I have no need 
for what ofono does, it was a dependency, so I better have it.

-- hendrik

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Download a package, maybe a few, for a different architecture and a different release.

2021-08-18 Thread Hendrik Boom
On Thu, Aug 19, 2021 at 09:31:53AM +1000, Ralph Ronnquist via Dng wrote:
> On Wed, 18 Aug 2021 19:01:09 -0400
> Hendrik Boom  wrote:
> 
> > I need to download a package to install on a machine that is
> > currently air-gapped.
> > 
> > I have to download an i386 package for chimaera on an AMD64 beowulf
> > machine.
> > 
> > I'll be transferring that package by sneakernet, and then installing
> > it using dpkg..
> > If it turns out to have dependencies, I'l have to repeat the process
> > for those dependencies.
> > 
> > How do I go about doing the download?
> 
> One "easy access" approach is to use https://pkginfo.devuan.org to
> locate the package (deb) concerned, and then download it/them via the
> link(s) provided on the package content page(s). That also provides
> links for dependencies.


That was easy, once I noticed something.  Downloading on my beowulf 
amd64 machine, that website found me beowulf and64 packages. 

But it was not difficult to edit the download link to get what I wanted.

Thank you.


> 
> If you want to script it, you might use the XML access variation, e.g.

Probably not -- the packages I needed to install on my temporarily 
air-gapped machine were the ones that make wifi work.

I'll be uing wifi from now on.

> like these for a bash:i386 index of packages, and the content page for
> the version 5.0-4
> https://pkginfo.devuan.org/cgi-bin/policy-query.xml?c=package=bash%3Ai386
> https://pkginfo.devuan.org/cgi-bin/package-query.xml?c=package=bash:i386=5.0-4
> 
> The XML response is friendlier for scripting. The access URLs are
> pretty much the same as for HTML but different.
> 
> Ralph.
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Download a package, maybe a few, for a different architecture and a different release.

2021-08-18 Thread Ralph Ronnquist via Dng
On Wed, 18 Aug 2021 19:01:09 -0400
Hendrik Boom  wrote:

> I need to download a package to install on a machine that is
> currently air-gapped.
> 
> I have to download an i386 package for chimaera on an AMD64 beowulf
> machine.
> 
> I'll be transferring that package by sneakernet, and then installing
> it using dpkg..
> If it turns out to have dependencies, I'l have to repeat the process
> for those dependencies.
> 
> How do I go about doing the download?

One "easy access" approach is to use https://pkginfo.devuan.org to
locate the package (deb) concerned, and then download it/them via the
link(s) provided on the package content page(s). That also provides
links for dependencies.

If you want to script it, you might use the XML access variation, e.g.
like these for a bash:i386 index of packages, and the content page for
the version 5.0-4
https://pkginfo.devuan.org/cgi-bin/policy-query.xml?c=package=bash%3Ai386
https://pkginfo.devuan.org/cgi-bin/package-query.xml?c=package=bash:i386=5.0-4

The XML response is friendlier for scripting. The access URLs are
pretty much the same as for HTML but different.

Ralph.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Download a package, maybe a few, for a different architecture and a different release.

2021-08-18 Thread Antony Stone
On Thursday 19 August 2021 at 01:01:09, Hendrik Boom wrote:

> I need to download a package to install on a machine that is currently
> air-gapped.

Do you not even trust the connectivity to give it a proxy server?

> I have to download an i386 package for chimaera on an AMD64 beowulf
> machine.

On the face of it, that's easy... but you know that :)

> I'll be transferring that package by sneakernet, and then installing it
> using dpkg..
> If it turns out to have dependencies, I'l have to repeat the process for
> those dependencies.

No chance of setting up a local apt-cacher, and allowing the chimaera machine 
to use that?  Safer / more restricted than a general proxy, and if you have 
the requirement now, I bet you'll have it again in the future... :)

> How do I go about doing the download?

I don't think you're asking "how do I fetch packages using wget so I can then 
install them using dpkg".  I'm assuming you're asking "how can I work out 
which dependent packages I should get at the same time, to make this whole 
process as painless as possible", so my suggestion is that you start from 
https://packages.debian.org/bullseye/packagename and look at everything 
labelled with "dep".

Check on your chimaera machine whether these are installed, and then you know 
(at the first level) whether you need to install some of those first.

The second level would be tricker and more tedious - finding out which packages 
your depended-upon packages depend on, but that's the beauty of apt(itude) 
compared to dpkg :)

Since dpkg won't install something if it depends on something else which isn't 
already installed, you'll need to do things in sequence - install the 
depended-upon packages first, then whatever depends on them, but with any luck, 
this won't go more than 1 or 2 levels deep.

If it does get more complicated than that, I really would suggest using 
https://packages.debian.org/search?keywords=apt-cacher (either the original, 
or the -ng version) to "bridge your air gap" but only for package downloads.

Regards,


Antony.

-- 
2 days of trial and error can easily save you 5 minutes spent reading the 
manual.

   Please reply to the list;
 please *don't* CC me.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Download a package, maybe a few, for a different architecture and a different release.

2021-08-18 Thread Hendrik Boom
I need to download a package to install on a machine that is currently 
air-gapped.

I have to download an i386 package for chimaera on an AMD64 beowulf machine.

I'll be transferring that package by sneakernet, and then installing it 
using dpkg..
If it turns out to have dependencies, I'l have to repeat the process for 
those dependencies.

How do I go about doing the download?

-- hendrik

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Gnome and KDE: Was: a how to question (project(s) related)

2021-08-18 Thread Didier Kryn
Le 18/08/2021 à 12:22, al3xu5 a écrit :
> Tue, 17 Aug 2021 17:46:01 -0400 - Steve Litt :
>
>> Antony Stone said on Tue, 17 Aug 2021 21:38:05 +0200
>>
>>  
>>> "I think both KDE and Gnome suck - I'm quite unbiased in that, because
>>> I use a Mac."
>>> - Jason Isitt  
>> I think both KDE and Gnome suck - I'm quite unbiased in that, because I
>> use OpenBox on Linux.
>
> I think both KDE and Gnome, and also all the Mac stuff, suck -- I'm
> quite unbiased in that, because I use OpenBox (+LXDE) on Linux.
>
    I've used Gnome and KDE many years ago, before they started to suck.
I had recently the opportunity to use Mac and Windows and they both
suck. Here is an example:

    I have a USB memory key on which are several directories with
photos, personal videos (from my Gopro Hero-2) plus some movies. Amongst
the directories, there is one named DCIM because I have used it in the
camera. Fatal error!

    When I plug the USB key on my laptop, I can open it with hopman and
look at any of the contents with thunar or xfce4-ternimal.

    When I plug it on a TV receiver, I can navigate the directory
structure, by first choosing if I want to see photos or videos.

    When I plug it on a Mac, it looks for a (photo or video) application
to open it, doesn't find one and never tries to just show it in a file
manager.

    When I plugged it into the Windows machine of a friend 1 month ago,
we tried half an hour to open it in the file manager (or however they
call that on Windows), without success. We gave up. After that I
discovered that Windows had created a lot of junk files on the USB key.

    I consider Mac sucks as much as Windows; I dislike Mac's desktop,
maybe by lack of habit, and I hate the way they prevent the user to make
simple things. For example it is impossible to open an SVG file by
clicking on it. You must first launch the web browser! Mac was once (in
1981) the inventor of the idea of associating a file type to an
application. Very well, but with any Linux file manager you can open a
file not only with a default application but with any one of your
choice. And there is a default application out of the box for SVG files.

    When I see the life of a friend of me with her Macs, I just see her
as a prisonner. She keeps an old desktop Mac, because she has on it an
old version of Photoshop which is enough for her. She does nothing else
with this machine. She has a newer one with which she does other things.
She never uses them to browse the web or send mails but relies for that
on her Android smartphone which continuously harasses her with
commercial "allerts". I do all that (except the "allerts") with my
single laptop running Devuan and Xfce4.

    I dunno when a Mac becomes old (meaning not maintained by Apple). 3,
4 years? After that any hardware or software becomes incompatible. It
may be fine to have a Mac when it is renewed by your employer every 3
years. Nice because it is beautiful and shining, and, most of all,
expensive. But, even when it is new, it *sucks*.

--     Didier


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Gnome and KDE: Was: a how to question (project(s) related)

2021-08-18 Thread al3xu5
Tue, 17 Aug 2021 17:46:01 -0400 - Steve Litt :

> Antony Stone said on Tue, 17 Aug 2021 21:38:05 +0200
> 
>  
> >"I think both KDE and Gnome suck - I'm quite unbiased in that, because
> >I use a Mac."
> > - Jason Isitt  
> 
> I think both KDE and Gnome suck - I'm quite unbiased in that, because I
> use OpenBox on Linux.


I think both KDE and Gnome, and also all the Mac stuff, suck -- I'm
quite unbiased in that, because I use OpenBox (+LXDE) on Linux.


Regards
al3xu5

Disclaimer -- It's just a bit of irony... No offense... ;-)



-- 
Say NO to copyright, patents, trademarks and industrial design
restrictions!


Public GPG/PGP key: 8FC2 3121 2803 86E9 F7D8  B624 DA50 835B 2624 A36B


pgpD60xXTGwsv.pgp
Description: Firma digitale OpenPGP
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng