Re: Grub bug on Debian 11

2023-03-16 Thread David Wright
On Tue 14 Mar 2023 at 23:16:29 (+0100), Mario Marietto wrote:
> No problem. But without offence,what you are suggesting to me is not to
> make something to understand what's the real problem and why it's
> happening,but you are suggesting to change something in my configuration to
> skip the generation of the error. Do you confirm that you are following
> this approach ?

That's certainly what I would do. There are four workarounds listed at
https://bugs.launchpad.net/oem-priority/+bug/1842320/comments/125
three of which seem simple: MODULES=dep, COMPRESS=,
and GRUB_GFXMODE. Have you tried any of these? Do they fix things?

> I would like to be guided to fix the problem that I have
> because this is how I can learn something. I can't learn if I reinstall the
> OS using a different debian version,is this correct ?

Well, you don't say what it is you want to learn. If it's about
Grub, the fix is already in, AIUI, and can be read about at:

https://git.savannah.gnu.org/cgit/grub.git/commit/?id=012fe7f0550899a2f1cf2fcf48f29ecf4820f880

Applying the patch to the source and recompiling for your version of
the OS would seem to be a complete waste of effort, unless you've
exhausted the three workarounds.

> > On Tue, Mar 14, 2023 at 09:23:32PM +0100, Mario Marietto wrote:
> > >
> > > debian-live-11.5.0-amd64-xfce.iso. Is there a way to upgrade this to the
> > > version that you have suggested ? I prefer to learn how to upgrade it
> > than
> > > to make a fresh installation. I would like to learn how to add
> > "separately"
> > > what's missing on the 11.5 and that,instead,it is on the version that you
> > > suggested,the firmware,if I have understood it correctly.

I have no idea whether there's any intention to fix Grub in bullseye
at this late stage. As for upgrading your installed system, I assume
that you can upgrade it to 11.6 in the usual manner. If any firmware
has changed between 11.5 and 11.6, it'll be upgraded in just the same
way. (For the packages I've looked into, upgrades usually just add
more blobs, rather than changing any that are already present.)

Cheers,
David.



Re: Debian 11 upgrade to Debian 12

2023-03-16 Thread David Wright
On Fri 03 Mar 2023 at 10:57:43 (-0500), Timothy M Butterworth wrote:
> On Thu, Mar 2, 2023 at 10:57 PM songbird  wrote:
> > Timothy M Butterworth wrote:
> > >
> > > I just updated my media center PC from Debian Bullseye to Debian Bookworm.
> > > The upgrade went alright. I initially had to download almost 2GB of 1640
> > > packages. Around 600 failed to upgrade and I had to manually install them
> > > in small chunks to fix the dependencies. Other than that the upgrade went
> > > relatively smoothly and I am liking the new color scheme and wallpapers.
> > >
> > > Anyone else have any good or bad experiences upgrading to bookworm.
> >
> >   considering it's not released yet and has 331 RC bugs still to
> > be dealt with (or ignored) that's a bit of a jumping the start
> > line signal.
> >
> >   helping to find bugs is good though too.  :)
> 
> I have been running Bullseye on my notebook for almost a year with very few
> problems. My sound hardware and my WiFi does not work on debian 11. My
> notebook is my primary work machine and it has been working well. I look at
> testing as a rolling release.  My media center Mini PC is all Intel and
> everything on it just works. I wanted to try out KDE Big Screen which is
> not available in Debian 11 so I had to upgrade to Debian 12. Big Screen
> works ok on Wayland. I think I am missing some application packages though.
> The Sound and WiFi buttons just launch a blue screen that never actually
> loads. The shutdown button works fine. All in all I like it. I started
> removing unneeded software to make it more streamlined. All I really need
> is Dolphin, VLC and Elisa. Watch videos and listen to music.

I just tried upgrading 11→12 on a laptop of mine. The only "snag",
which was no surprise, was being left with a grub.cfg that only boots
the one, upgraded system. That was quickly rectified by grub-mkconfig
after uncommenting GRUB_DISABLE_OS_PROBER=false in /etc/default/grub.
(Thanks for putting that commented line into the file.)

Under bullseye, there were 2015 packages, including libreoffice and
texlive. I run fvwm (now called fvwm2, apparently) with no DE/DM.
It was "pure" Debian except that xtoolwait (from squeeze) was and
still is installed.

Running buster, I copied my bullseye root filesystem to a spare
partition, and adjusted the LABELs in the new copy's fstab.
I booted it up and edited the sources list to bookworm, including
adding the new non-free-firmware.

I ran apt-get update, apt-get upgrade, apt-get --purge autoremove,
apt-get dist-upgrade and apt-get --purge autoremove again, answering
no to keep my configuration files, yes to ignore any bug reports, and
yes to restarting services (including any that might have disconnected
a remote session). It was running on wifi, but I was at the console.

Statistics for the four steps: 627 upgraded and 972 not upgraded;
75 to remove and 968 not upgraded; 967 upgraded, 245 newly installed
and 13 to remove; and 79 to remove. Every thing completed smoothly,
with no dependency problems at all.

I haven't used it in anger as I don't want to disturb my dotfiles etc,
but I checked that sound played perfectly with timidity. Obviously
I've got a number of changes to read up on, with some new packages
to look over.

Cheers,
David.



Re: Problem installing LocalWP

2023-03-16 Thread Kushal Kumaran
On Thu, Mar 16 2023 at 04:28:15 PM, "Stephen P. Molnar" 
 wrote:
> I am running uptodate Bullseye and have been running the-Debian version of 
> LocalWP
>
> I was uninstalling an update to v-6.7.0 when the installer threw an error(s) 
> wile installing my domain:
> Screenshot
>
> I have no idea how to fix this and would greatly appreciate help.
>

My crystal ball says you need the libcap2-bin package installed.

-- 
regards,
kushal



Re: Re: Vuelvo a Debian!

2023-03-16 Thread Aristobulo Pinzon
> 2. El panel no me gusta nada, se me oculta, me gusta tener los
> favoritos a mano. ¿Hay algún otro panel que pueda instalar?
Click derecho en el panel,
Preferencias de panel,
ocultar automáticamente panel:  nunca.
Y no se te vuelve a ocultar.



-- 
La Razón en su sentido absoluto no es algo que esté en el cielo
esperando a ser descubierto, sino que está mezclada con la sinrazón,
con lo irrelevante y lo cotidiano.



Re: auto restarting in crontab

2023-03-16 Thread Greg Wooledge
On Fri, Mar 17, 2023 at 08:04:24AM +0800, p...@ymail.ne.jp wrote:
> Sometimes I was using the older ruby version (1.x), but sometimes I am using
> the latest ruby (3.x). For example, different streaming libraries for ruby
> require different versions.
> 
> For instance, I developed a ruby client for Kafka streaming, and deployed it
> in crontab, and this script must use ruby 3.x version.
> 
> 0 * * * * ruby kafka-consumer.rb

How is cron going to know which ruby to use?  Cron uses a very minimalist
PATH.  From crontab(5):

   Several environment variables are set up automatically by  the  cron(8)
   daemon.  SHELL is set to /bin/sh, and LOGNAME and HOME are set from the
   /etc/passwd  line  of  the   crontab's   owner.PATH   is   set   to
   "/usr/bin:/bin".   HOME,  SHELL, and PATH may be overridden by settings
   in the crontab; LOGNAME is the user that the job is running  from,  and
   may not be changed.

Cron is going to look for /usr/bin/ruby or /bin/ruby and that's it,
unless there's more to this crontab that you haven't shown us.

If you need your crontab to use a specific version of ruby, on a system
with multiple versions installed, you need to use the full path to one
of them, or set the PATH variable.



Re: auto restarting in crontab

2023-03-16 Thread p...@ymail.ne.jp




debian-u...@howorth.org.uk wrote:

But it sounds like what...@ymail.ne.jp  is doing isn't best practice
either, although I don't fully understand what they mean by "I often
change default ruby in interactive shell". If they mean 'global' then I
suspect they should be using 'local' instead. Or just possibly 'shell'.


I installed ruby only in my personal account, not the global.
Sometimes I was using the older ruby version (1.x), but sometimes I am 
using the latest ruby (3.x). For example, different streaming libraries 
for ruby require different versions.


For instance, I developed a ruby client for Kafka streaming, and 
deployed it in crontab, and this script must use ruby 3.x version.


0 * * * * ruby kafka-consumer.rb

But one day I changed the default version in my personal path to ruby 
1.x via rbenv, the crontab above should not work. This is a risk, is it?


regards
Yong



Re: auto restarting in crontab

2023-03-16 Thread Jeffrey Walton
On Thu, Mar 16, 2023 at 7:03 PM Dan Ritter  wrote:
>
> debian-u...@howorth.org.uk wrote:
> > Dan Ritter  wrote:
> > > p...@ymail.ne.jp wrote:
> > > > For dev stuff, for example, I have many versions of ruby installed
> > > > in the system by rbenv.
> > > >
> > > > Since I often change default ruby in interactive shell, this may
> > > > break the ruby for sysadmin job in crontab. What’s the solution for
> > > > this?
> > >
> > > Everywhere it matters, set an explicit PATH at the beginning.
> > >
> > > There is no other solution.
> >
> > Err, I know nothing about the subject but that doesn't seem to
> > correspond with what it says in the readme at
> > https://github.com/rbenv/rbenv
>
> rbenv is a fancy way of setting the PATH. It changes out setting
> the PATH directly for requiring you to set up a .ruby-version
> file for every project. If you commit to it, it might be better
> for you. If you don't, it's harder to debug what's going wrong.
>
> In general, development environments might want multiple Ruby
> versions but production should only have one. If the production
> version isn't the one that Debian is currently shipping, the
> Debian-shipped version shouldn't be installed at all.

Likely this. Debian removed update-alternatives for Ruby; see [1]. And
from [1] under "Installing Ruby versions not packaged in Debian":

While ruby-build is a great tool to build Ruby versions
that are not available via APT, you should still use the
Debian-packaged versions of Ruby whenever possible since
they are tested and supported by the Debian community.

[1] https://wiki.debian.org/Ruby

Jeff



Re: auto restarting in crontab

2023-03-16 Thread Dan Ritter
debian-u...@howorth.org.uk wrote: 
> Dan Ritter  wrote:
> > p...@ymail.ne.jp wrote: 
> > > For dev stuff, for example, I have many versions of ruby installed
> > > in the system by rbenv.
> > > 
> > > Since I often change default ruby in interactive shell, this may
> > > break the ruby for sysadmin job in crontab. What’s the solution for
> > > this?
> > 
> > Everywhere it matters, set an explicit PATH at the beginning.
> > 
> > There is no other solution.
> 
> Err, I know nothing about the subject but that doesn't seem to
> correspond with what it says in the readme at
> https://github.com/rbenv/rbenv

rbenv is a fancy way of setting the PATH. It changes out setting
the PATH directly for requiring you to set up a .ruby-version
file for every project. If you commit to it, it might be better
for you. If you don't, it's harder to debug what's going wrong.

In general, development environments might want multiple Ruby
versions but production should only have one. If the production
version isn't the one that Debian is currently shipping, the
Debian-shipped version shouldn't be installed at all.

-dsr-



Re: auto restarting in crontab

2023-03-16 Thread debian-user
Dan Ritter  wrote:
> p...@ymail.ne.jp wrote: 
> > For dev stuff, for example, I have many versions of ruby installed
> > in the system by rbenv.
> > 
> > Since I often change default ruby in interactive shell, this may
> > break the ruby for sysadmin job in crontab. What’s the solution for
> > this?
> 
> Everywhere it matters, set an explicit PATH at the beginning.
> 
> There is no other solution.

Err, I know nothing about the subject but that doesn't seem to
correspond with what it says in the readme at
https://github.com/rbenv/rbenv

But it sounds like what p...@ymail.ne.jp is doing isn't best practice
either, although I don't fully understand what they mean by "I often
change default ruby in interactive shell". If they mean 'global' then I
suspect they should be using 'local' instead. Or just possibly 'shell'.

> -dsr-



Re: Problem installing LocalWP

2023-03-16 Thread Jeremy Hendricks
I can only recommend contacting LocalWP for assistance. It is their product
and not supported by Debian.

On Thu, Mar 16, 2023 at 4:29 PM Stephen P. Molnar 
wrote:

> I am running uptodate Bullseye and have been running the-Debian version of
> LocalWP
>
> I was uninstalling an update to v-6.7.0 when the installer threw an
> error(s) wile installing my domain:[image: Screenshot]
>
> I have no idea how to fix this and would greatly appreciate help.
>
> Thanks in advance
>
>
> --
> Stephen P. Molnar, Ph.D.https://insilicochemistry.net
> (614)312-7528 (c)
> Skype:  smolnar1
>
>
>


Problem installing LocalWP

2023-03-16 Thread Stephen P. Molnar
I am running uptodate Bullseye and have been running the-Debian version 
of LocalWP


I was uninstalling an update to v-6.7.0 when the installer threw an 
error(s) wile installing my domain:Screenshot


I have no idea how to fix this and would greatly appreciate help.

Thanks in advance

--
Stephen P. Molnar, Ph.D.
https://insilicochemistry.net
(614)312-7528 (c)
Skype:  smolnar1



Re: Grub bug on Debian 11

2023-03-16 Thread davidson

On Tue, 14 Mar 2023 Mario Marietto wrote:

No problem. But without offence,what you are suggesting to me is not to
make something to understand what's the real problem and why it's
happening,


I believe that the locution above --"make something to understand"--
paraphrases "diagnose".


but you are suggesting to change something in my configuration to
skip the generation of the error.


Problems are learning opportunities. And so --as you have noticed--
the path to knowledge often diverges from the path of
problem-avoidance.

And if people assume you seek the latter path (problem-avoidance),
when you instead pursue knowledge you will appear to be "looking for
trouble".


Do you confirm that you are following this approach ? I would like
to be guided to fix the problem that I have because this is how I
can learn something. I can't learn if I reinstall the OS using a
different debian version,is this correct ?


Mario, something tells me that nothing will prevent you from learning
whatever you like.

--
Ce qui est important est rarement urgent
et ce qui est urgent est rarement important
-- Dwight David Eisenhower



Re: Grub bug on Debian 11

2023-03-16 Thread davidson

On Tue, 14 Mar 2023 Mario Marietto wrote in reply to Andrew Cater:

--> *Which* Debian .iso did you install with ?

debian-live-11.5.0-amd64-xfce.iso.

Is there a way to upgrade this to the version that you have
suggested ? I prefer to learn how to upgrade it than to make a
fresh installation. I would like to learn how to add "separately"
what's missing on the 11.5 and that,instead,it is on the version
that you suggested,the firmware,if I have understood it correctly.


Below I describe what I personally would do, if I had the goals I
understand you to have. I claim no expertise.

I believe there are two possible problems you are experiencing.

One possible problem, as Andrew mentions elsewhere in this thread, is
that the installer on the live iso (which you have used) is not the
same as the better-tested installer used on the standard, non-live
debian install media.

And so if your primary goal here is this:

  learning how to install debian from standard install media on your
  machine,

rather than the special case of this:

  debugging the installer used by the live iso in particular

then I suggest using a non-live installer image.

In the general case, the current images of that sort for various
architectures can be found here

  https://cdimage.debian.org/cdimage/release/current/

In your particular case, for your educational project --to install
11.5 and manually supply non-free firmware from separate source on
your amd64 machine-- I would instead get the the 11.5 dvd image you
can find here

  https://cdimage.debian.org/cdimage/archive/11.5.0/amd64/iso-dvd/

and the non-free firmware files from here

  
https://cdimage.debian.org/cdimage/unofficial/non-free/firmware/bullseye/11.5.0/

Good luck with your project.

--
Ce qui est important est rarement urgent
et ce qui est urgent est rarement important
-- Dwight David Eisenhower



Re: apparently bookworm tasksel is deprecated or broken

2023-03-16 Thread Jude DaShiell
Right, I made the mistake of keying in numbers.



Jude  "There are four boxes to be used in
defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)

.

On Thu, 16 Mar 2023, Andrew M.A. Cater wrote:

> On Thu, Mar 16, 2023 at 10:47:22AM -0400, Jude DaShiell wrote:
> > root@taf:~# tasksel
> > Software selection
> > --
> >
> > You can choose to install one or more of the following predefined
> > collections of software.
> >
> >   1. Debian desktop environment  3. ... Xfce 5. ... KDE Plasma
> > 7. ... MATE  9. ... LXQt 11. SSH server
> >   2. ... GNOME   4. ... GNOME Flashback  6. ... Cinnamon
> > 8. ... LXDE  10. web server  12. laptop
> >
> > (Enter the items or ranges you want to select, separated by spaces.)
> >
> > Choose software to install: 1 9
> >
> >
> > Installing packages
> > ---
> >
> > ..100%
> >
> >
> >
>
> Tasksel works for a sighted user - can you help the list with how
> your list was generated?
>
> Sighted users see [ ] type boxes - toggling space bar checks/unchecks
> the box by putting a * in it - I think that's in a busybox style screen
>
> All best, as ever
>
> Andy Cater
> >
>
> > Jude 
> > "There are four boxes to be used in defense of liberty:
> >  soap, ballot, jury, and ammo. Please use in that order."
> > -Ed Howdershelt (Author, 1940)
> >
> > .
> >
>
>



Re: auto restarting in crontab

2023-03-16 Thread Jude DaShiell
I tried installing task-lxqt-desktop using apt and that didn't go well at
all.  Since I use a screen reader I ended up installing bullseye mate with
the installation disc then upgrading to bookworm.  That worked.  So far as
I can tell, a11y work was not done on lxqt to bring up orca if speakup got
used during an install.  I was curious as to differences between mate and
lxqt which is why I tried the install.


Jude 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)

.

On Thu, 16 Mar 2023, Dan Ritter wrote:

> p...@ymail.ne.jp wrote:
> > For dev stuff, for example, I have many versions of ruby installed in the 
> > system by rbenv.
> >
> > Since I often change default ruby in interactive shell, this may break the 
> > ruby for sysadmin job in crontab. What?s the solution for this?
>
>
> Everywhere it matters, set an explicit PATH at the beginning.
>
> There is no other solution.
>
> -dsr-
>
>



Re: apparently bookworm tasksel is deprecated or broken

2023-03-16 Thread Greg Wooledge
On Thu, Mar 16, 2023 at 05:29:11PM +, Andrew M.A. Cater wrote:
> Tasksel works for a sighted user - can you help the list with how
> your list was generated?
> 
> Sighted users see [ ] type boxes - toggling space bar checks/unchecks
> the box by putting a * in it - I think that's in a busybox style screen

The version of tasksel in bullseye is using whiptail.

unicorn:~$ ps -ft pts/3
UID  PIDPPID  C STIME TTY  TIME CMD
greg1011 998  0 Jan24 pts/300:00:00 bash
greg 41620991011  3 13:44 pts/300:00:00 /usr/bin/perl /usr/bin/tasks
greg 4162202 4162099  0 13:44 pts/300:00:00 /usr/bin/perl -w /usr/share/
greg 4162210 4162202  0 13:44 pts/300:00:00 /bin/sh /usr/lib/tasksel/tas
greg 4162212 4162202  0 13:44 pts/300:00:00 whiptail --backtitle Package

I would guess the bookworm also does, but haven't confirmed that.

As you say, the interface is meant to be used interactively, with the
user moving the cursor up and down with Arrow keys, and toggling
selection boxes with Space Bar.  I have no idea how a vision-impaired
user would handle this, but I'm intrigued to learn.



Re: auto restarting in crontab

2023-03-16 Thread Dan Ritter
p...@ymail.ne.jp wrote: 
> For dev stuff, for example, I have many versions of ruby installed in the 
> system by rbenv.
> 
> Since I often change default ruby in interactive shell, this may break the 
> ruby for sysadmin job in crontab. What’s the solution for this?


Everywhere it matters, set an explicit PATH at the beginning.

There is no other solution.

-dsr-



Re: apparently bookworm tasksel is deprecated or broken

2023-03-16 Thread Andrew M.A. Cater
On Thu, Mar 16, 2023 at 10:47:22AM -0400, Jude DaShiell wrote:
> root@taf:~# tasksel
> Software selection
> --
> 
> You can choose to install one or more of the following predefined
> collections of software.
> 
>   1. Debian desktop environment  3. ... Xfce 5. ... KDE Plasma
> 7. ... MATE  9. ... LXQt 11. SSH server
>   2. ... GNOME   4. ... GNOME Flashback  6. ... Cinnamon
> 8. ... LXDE  10. web server  12. laptop
> 
> (Enter the items or ranges you want to select, separated by spaces.)
> 
> Choose software to install: 1 9
> 
> 
> Installing packages
> ---
> 
> ..100%
> 
> 
> 

Tasksel works for a sighted user - can you help the list with how
your list was generated?

Sighted users see [ ] type boxes - toggling space bar checks/unchecks
the box by putting a * in it - I think that's in a busybox style screen

All best, as ever

Andy Cater
>
 
> Jude 
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author, 1940)
> 
> .
> 



Re: Re: auto restarting in crontab

2023-03-16 Thread pyh
For dev stuff, for example, I have many versions of ruby installed in the 
system by rbenv.

Since I often change default ruby in interactive shell, this may break the ruby 
for sysadmin job in crontab. What’s the solution for this?



Re: Niet alle packages upgraden

2023-03-16 Thread Cecil Westerhof
Cecil Westerhof  writes:

> Normaal gesproken is het voor mij geen probleem om bij een
> apt upgrade
>
> alles te doen, maar Firefox gooit al een poos roet in het eten.
> Vroeger kreeg je een melding (met needrestart) dat Firefox eigenlijk
> opnieuw moest worden opgestart, maar je kon gewoon de lopende oude
> versie blijven gebruiken en Firefox restarten waaneer je dat zelf
> uitkwam.
> Dat is al een poos niet meer zo. Je krijgt geen melding meer, echter
> op het moment dat je dan terug gaat naar Firefox krijg je een melding
> dat je Firefox opnieuw moet opstarten en dat moet je ook echt, want
> Firefox werkt niet meer.
> Is er een manier om alle upgrades behalve Firefox uit te voeren? En
> dan later wanneer het geen roet in het eten gooit Firefox alsnog te
> upgraden?

Ik had beter moeten kijken. :'-(
Het kan gewoon met:
apt-mark hold firefox-esr

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof



Niet alle packages upgraden

2023-03-16 Thread Cecil Westerhof
Normaal gesproken is het voor mij geen probleem om bij een
apt upgrade

alles te doen, maar Firefox gooit al een poos roet in het eten.
Vroeger kreeg je een melding (met needrestart) dat Firefox eigenlijk
opnieuw moest worden opgestart, maar je kon gewoon de lopende oude
versie blijven gebruiken en Firefox restarten waaneer je dat zelf
uitkwam.
Dat is al een poos niet meer zo. Je krijgt geen melding meer, echter
op het moment dat je dan terug gaat naar Firefox krijg je een melding
dat je Firefox opnieuw moet opstarten en dat moet je ook echt, want
Firefox werkt niet meer.
Is er een manier om alle upgrades behalve Firefox uit te voeren? En
dan later wanneer het geen roet in het eten gooit Firefox alsnog te
upgraden?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof



apparently bookworm tasksel is deprecated or broken

2023-03-16 Thread Jude DaShiell
root@taf:~# tasksel
Software selection
--

You can choose to install one or more of the following predefined
collections of software.

  1. Debian desktop environment  3. ... Xfce 5. ... KDE Plasma
7. ... MATE  9. ... LXQt 11. SSH server
  2. ... GNOME   4. ... GNOME Flashback  6. ... Cinnamon
8. ... LXDE  10. web server  12. laptop

(Enter the items or ranges you want to select, separated by spaces.)

Choose software to install: 1 9


Installing packages
---

..100%




Jude 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)

.



Festival Latino-americano de Instalação de Software Livre em BH - 15 de abril

2023-03-16 Thread Paulo Henrique de Lima Santana

Olá,

Estão abertas as inscrições para o FLISoL 2023 – Festival 
Latino-americano de Instalação de Software Livre [1], que acontecerá no 
dia 15 de abril (sábado) das 9h às 14h, de forma presencial e gratuita, 
nas salas salas 2077 e 2013 do prédio do ICEx (Instituto de Ciências 
Exatas) [2], Campus Pampulha da UFMG.


[1] http://bh.flisol.org.br
[2] https://www.icex.ufmg.br

O FLISoL é um evento totalmente gratuito que acontece desde 2005. Ele 
tem como objetivo promover o uso de Software Livre e a integração de 
comunidades de usuários em todos os países da América Latina. Todo ano 
são realizados, simultaneamente, eventos em cidades diferentes em que 
serão feitas instalações de maneira gratuita e totalmente legal de 
Software Livre nos computadores das pessoas interessadas.


O evento, conhecido como install fest, consiste em um grande encontro de 
pessoas com conhecimento em Software Livre e outras que tem interesse em 
conhecer mais sobre o assunto. Os(As) visitantes poderão levar seus 
computadores/notebooks para que os(as) voluntários(as) ajudem a instalar 
gratuitamente Software Livre. Em paralelo, são promovidas palestras e 
oficinas sobre Software Livre.


Entre os softwares que são instalados, estão distribuições de GNU/Linux 
como Debian, Ubuntu, Mint, Fedora, Arch, assim como programas livres, 
inclusive para Microsoft Windows e MacOS, como LibreOffice, Gimp, 
Inkscape, Firefox, Blender e jogos.


Em Belo Horizonte, a organização para o FLISoL 2023 está sendo realizada 
pelas Comunidades Debian-MG [3] e Debian Brasil [4], pelo Departamento 
de Ciência da Computação (DCC) [5] da UFMG, pelo DACompSI, e por pessoas 
da comunidade de Software Livre de Belo Horizonte e região.


[3] https://debian-minas-gerais.gitlab.io/site
[4] https://debianbrasil.org.br
[5] https://dcc.ufmg.br

Até o dia 1 de abril a organização do FLISoL em Belo Horizonte estará 
recebendo propostas de palestras. Se você gostaria de contribuir com o 
evento falando sobre um tema relacionado a Software Livre, Código 
Aberto, Linux, linguagens de programação, etc, não deixe de enviar a sua 
proposta.


Para mais informações sobre como se inscrever e/ou enviar uma proposta 
de palestras acesse:

http://bh.flisol.org.br

Abraços,

--
Paulo Henrique de Lima Santana (phls)
Belo Horizonte - Brasil
Debian Developer
Site: http://phls.com.br
GPG ID: 0443C450


OpenPGP_signature
Description: OpenPGP digital signature


Re: (deb-cat) Utilitzar un modem GSM

2023-03-16 Thread Narcis Garcia

El 6/2/23 a les 21:27, Adrià ha escrit:

Am 06/02/2023 um 14:08 schrieb Narcis Garcia:

 > He arribat fins al punt que realitza la connexió de xarxa (indica
 > cobertura, autoassigna IP pròpia, porta d'enllaç i DNS), però
 > aconsegueixo fer CAP comunicació via TCP, ICMP o DNS.
 > El «ping» es queda esperant sense resultat per a qualsevol adreça
 > no-local que li demani (incloent a porta d'enllaç).
 >
 > Algú sap com esbrinar on és ara el problema?

Jo miraria amb un analitzador de tràfic tipus Wireshark què està 
passant. Això per esbrinar tècnicament què passa.


A nivell pràctic, però, preguntaria a l'operadora si permeten usar la 
línia com a mòdem, perquè si es pot implementar qualsevol mesura que 
discrimini l'ús que es fa d'un servei, ho faran si veuen que pot 
reportar-los qualsevol benefici. I de vegades és millor sortir de dubtes 
que trencar-se les banyes amb un problema (tot i que ho puguem trobar 
entretingut, divertit i satisfactori quan el solucionem).




Gràcies Adrià; tenia aquest fil en espera de comprovar en el possible el 
tema de l'operador telefònic. No n'he tret l'aigua del tot clara, ja que 
a la central (per telèfon) em deien que les targetes SIM que utilitzo no 
són per a modem sinó per a terminals amb sistema operatiu xungo 
(Android, iOS) i em derivaven a una botiga de la cadena.
I a la botiga em diuen que l'operador no diferencia entre targetes SIM 
per aquest tema. I a la botiga em van demostrar que la meva targeta SIM 
funciona perfectament amb un router meu que jo portava.


A la botiga no vaig posar a prova un llapis-modem USB ni el modem 
integrat lt4112 perquè ja sé que ens embolicaríem amb què utilitzo 
programari estrany, i què estic carregant el controlador a mà.
Ara també he provat amb Ubuntu 22.04 (Live) i Ubuntu 22.10 (Live) amb el 
mateix resultat, negatiu.
Finalment, i per a rematar les comprovacions, he instal·lat MS-Windows 
10. Doncs resulta que funciona perfectament: Detecta el dispositiu 
intern (HP lt4112 Gobi 4G) i amb dir-li que connecti a la xarxa tan sols 
demana el PIN i ja està. Es navega perfectament amb EDGE/2G i LTE/4G.


No tinc ni idea de què fer amb Wireshark per a comprovar no sé el què.
A GNU/Linux el dispositiu es configura (IP, porta, DNS), però no 
aconsegueixo arribar a cap servei extern, ni tan sols respon ping cap a 
la porta d'enllaç ni els servidors DNS, ni aquests resolen adreces.
Com a molt la pròpia IP pública respon a ping, però qualsevol IP 
d'Internet ja no.


--

Narcis Garcia

__
I'm using this dedicated address because personal addresses aren't 
masked enough at this mail public archive. Public archive administrator 
should fix this against automated addresses collectors.




Re: auto restarting in crontab

2023-03-16 Thread Nicolas George
Greg Wooledge (12023-03-16):
>   So they installed
> parallel toolsets (commands including ps, echo, and so on) in two
> different directories.

Four: there is also /usr/xpg4/bin and /usr/xpg6/bin.

Regards,

-- 
  Nicolas George



Re: auto restarting in crontab

2023-03-16 Thread Greg Wooledge
On Thu, Mar 16, 2023 at 01:57:26PM +0100, Christoph Brinkhaus wrote:
> I think you are right. The only remaining argument for specifying the
> complete path I have read about is as below.
> There might be the situation with different binaries but similar
> names. For example /usr/bin/nc is different to /bin/nc.
> But such a system should be a nightmare and I doubt if you can find
> such an installation in the wild.

This reminds me of Solaris.  As a successor to the BSD-ish SunOS, Solaris
(which is a System V-ish operating system) wanted to retain some
compatibility with its company's former product.  So they installed
parallel toolsets (commands including ps, echo, and so on) in two
different directories.  The SysV-ish command set, which is the preferred
one going forward, is in /usr/bin.  The BSD-ish command set, the legacy
one, is in /usr/ucb.

Users who want a BSD-ish experience (or scripts relying on that toolset)
are encouraged to make sure /usr/ucb appears before /usr/bin in their
PATH variables.  Users who want the new SysV-ish experience should do
the opposite, or not include /usr/ucb at all.



Debian access, nautisme et meteo ?

2023-03-16 Thread ptilou
Slt,

Bon j’ai vue que quelqu’un du groupe rapel les regles …

Je suis a l’equipement de mon bateau, et en reflechisssant faute de reponse sur 
le dongle usb, et une baise significative de la qualite des interventions …

Je me demande pourquoi ne pas rendre les consultations meteo, par vhf, 
accessible au sourd et mal entendant dans le but que eux aussi puissent 
profiter de ce sport !

Je lis dans un journal Suisse que gpt4, de l’entreprise OpenAI, arrive a faire 
des recettes a base de photos d’ingredient, passer l’examun d’avocat au usa, 
avec des resultats parmis les meillieurs 10 % des promos ….

Donc pourquoi ne pas conjuguer une recherche de l’heure et frequence de la 
meteo maritime et sa mise par ecrit, alors je ne me rappel, l’algo, mais je 
suis sur que celui qui a rappeler les regles le connait (c’est invente en 1976 
par Bigblue), et donc partant pour un paquet de plus ?

Merci

— 
Ptilou



Re: auto restarting in crontab

2023-03-16 Thread Christoph Brinkhaus
Am Thu, Mar 16, 2023 at 07:27:22AM -0400 schrieb Greg Wooledge:
> On Thu, Mar 16, 2023 at 12:24:10PM +0100, Christoph Brinkhaus wrote:
> > The environments of login shells and crontab can be different. This
> > includes the path where to seek executables. Therefore it is good
> > practice not to write just the name of the executable as nc but the
> > name with the path as /usr/bin/nc. Here I took nc as an example.
> 
> It's better to set the PATH variable to whatever you need it to be.
> Then you don't have to hard-code the execution path of every single
> command in the script.  (Which means your script breaks when you move
> it to a system where nc is in /bin instead of /usr/bin, and so on.)
> 
I think you are right. The only remaining argument for specifying the
complete path I have read about is as below.
There might be the situation with different binaries but similar
names. For example /usr/bin/nc is different to /bin/nc.
But such a system should be a nightmare and I doubt if you can find
such an installation in the wild.

I have a few scripts which should run at Linux and FreeBSD. In the
past I have used uname to distinguish the platforms. This works but it
is bulky and ugly. Things will be fine if I concat the PATH required
for both systems and follow your advise.

Thank you and kind regards,
Christoph
-- 
Ist die Katze gesund
schmeckt sie dem Hund.



Re: auto restarting in crontab

2023-03-16 Thread Greg Wooledge
On Thu, Mar 16, 2023 at 12:24:10PM +0100, Christoph Brinkhaus wrote:
> The environments of login shells and crontab can be different. This
> includes the path where to seek executables. Therefore it is good
> practice not to write just the name of the executable as nc but the
> name with the path as /usr/bin/nc. Here I took nc as an example.

It's better to set the PATH variable to whatever you need it to be.
Then you don't have to hard-code the execution path of every single
command in the script.  (Which means your script breaks when you move
it to a system where nc is in /bin instead of /usr/bin, and so on.)



Re: auto restarting in crontab

2023-03-16 Thread Christoph Brinkhaus
Am Thu, Mar 16, 2023 at 08:55:54AM +0800 schrieb cor...@free.fr:
> Greetings,
> 
> My script for monitoring Node.js app as follows. I put it in crontab for
> auto-check and restart if failure.
> 
> #!/bin/bash
> 
> # scan the port
> nc -z 127.0.0.1 3000
> 
> if [ $? -eq 0 ];then
>   exit
> else
>   killall node
>   sleep 1
>   nohup serve -s  /home/myUsername/workspace/xxx-frontend/build &
> fi
> 
> 
> I can run the script by manual, but in crontab it won't work. that means,
> when node.js dies, it will not get restarted by this script automatically.
> 
The environments of login shells and crontab can be different. This
includes the path where to seek executables. Therefore it is good
practice not to write just the name of the executable as nc but the
name with the path as /usr/bin/nc. Here I took nc as an example.

Kind regards,
Christoph
-- 
Ist die Katze gesund
schmeckt sie dem Hund.



Re: auto restarting in crontab

2023-03-16 Thread Nicolas George
Greg Wooledge (12023-03-16):
> That assumes you want to detach the process from its session in the
> first place.  It's NOT what you should do when running a managed
> service, though.
> 
> With a managed service, you don't want ANY of the old legacy "I want
> to run a daemon from an interactive shell and have it automatically
> separate itself from the interactive session" rubbish.

Indeed. But in the rare cases you want that rubbish, DO NOT USE nuhup.

Regards,

-- 
  Nicolas George



Re: auto restarting in crontab

2023-03-16 Thread Greg Wooledge
On Thu, Mar 16, 2023 at 08:53:55AM +0100, Nicolas George wrote:
> cor...@free.fr (12023-03-16):
> >   nohup serve -s  /home/myUsername/workspace/xxx-frontend/build &
> 
> What Greg said. Plus:
> 
> Never use nohup. nohup should never have been invented, it is based on a
> complete lack of understanding of how sessions and control terminal
> work.
> 
> Instead:
> 
> - use setsid to detach the process from the session;
> 
> - explicitly redirect the input and outputs where you want them.

That assumes you want to detach the process from its session in the
first place.  It's NOT what you should do when running a managed
service, though.

With a managed service, you don't want ANY of the old legacy "I want
to run a daemon from an interactive shell and have it automatically
separate itself from the interactive session" rubbish.  You DON'T
want the daemon to fork a background child and abandon it.  You DON'T
want the daemon's output to be discarded, or automatically redirected
to some file.

The service manager needs the daemon to behave sensibly, at least in
systemd's "simple" case.  A single process, with output going to stdout
and/or stderr.  The manager will take care of grabbing the output and
logging it.



Re: Something tweaked my Firefox appearance

2023-03-16 Thread Brad Rogers
On Thu, 16 Mar 2023 02:49:28 -0400
"hobie of RMN"  wrote:

Hello hobie,

>I guess I should be looking for a place to adjust settings of the window
>manager..?

That tends to adjust settings globally.  If other windows haven't
changed in appearance, then everything else /might/ end up with fonts
smaller than you would like.

To affect Ff only, you may wish to investigate using userChrome.css;
This file will be in a directory called chrome, somewhere under the
~/.mozilla directory.  There should be an example CSS file there you
can use as a template.

-- 
 Regards  _   "Valid sig separator is {dash}{dash}{space}"
 / )  "The blindingly obvious is never immediately apparent"
/ _)rad   "Is it only me that has a working delete key?"
You can't go in if you don't look right
Outlaw - Chron Gen


pgp4QQfsKDvwu.pgp
Description: OpenPGP digital signature


Re: Something tweaked my Firefox appearance

2023-03-16 Thread Dan Ritter
hobie of RMN wrote: 
> Current stable Debian; Firefox 91.13.0esr; xfce4; xfwm4.
> 
> Two days ago I restarted my GUI when I saw the disk swap file was growing
> too large.  On logging back in I found Firefox's appearance was different
> and harder to work with.  Menu bar and Bookmarks toolbar have larger fonts
> than before, and Firefox's URL window now accommodates less of the text of
> the URL.
> 
> I guess I should be looking for a place to adjust settings of the window
> manager..?  Is that a file on disk or is there a menu choice for this?


Try right clicking on your desktop, then selecting Settings,
then Appearance, and changing the default font and size.

-dsr-



Re: auto restarting in crontab

2023-03-16 Thread Nicolas George
cor...@free.fr (12023-03-16):
>   nohup serve -s  /home/myUsername/workspace/xxx-frontend/build &

What Greg said. Plus:

Never use nohup. nohup should never have been invented, it is based on a
complete lack of understanding of how sessions and control terminal
work.

Instead:

- use setsid to detach the process from the session;

- explicitly redirect the input and outputs where you want them.

Regards,

-- 
  Nicolas George



Re: No /

2023-03-16 Thread tomas
On Wed, Mar 15, 2023 at 01:15:00PM -0400, Michael Stone wrote:
> On Wed, Mar 15, 2023 at 05:05:49PM +0100, Michael Lee wrote:
> > Is there a way to fix this, or is a re-installation the only remedy?
> 
> For all the things people like about btrfs, IME it's not as good at recovery
> from adverse events [...]

A last ditch (if something isn't in the backups) would be to try
PhotoRec on the file system image. Backups are preferrable, of
course.

Cheers
-- 
t


signature.asc
Description: PGP signature


Something tweaked my Firefox appearance

2023-03-16 Thread hobie of RMN
Current stable Debian; Firefox 91.13.0esr; xfce4; xfwm4.

Two days ago I restarted my GUI when I saw the disk swap file was growing
too large.  On logging back in I found Firefox's appearance was different
and harder to work with.  Menu bar and Bookmarks toolbar have larger fonts
than before, and Firefox's URL window now accommodates less of the text of
the URL.

I guess I should be looking for a place to adjust settings of the window
manager..?  Is that a file on disk or is there a menu choice for this?

--hobie



Re: auto restarting in crontab

2023-03-16 Thread coreyh

updated: Thanks for all your helps, especially @Greg and @Yong

Now this systemd service has been enabled and just works.
I put a file on /etc/systemd/system/xxx.service whose content as,

[Unit]
Description=xxx Front
After=network.target

[Service]
Type=simple
Restart=always
RestartSec=5
User=corey
Group=corey
ExecStart=serve -s /home/corey/workspace/xxx-frontend/build

[Install]
WantedBy=multi-user.target


And run "systemctl enable xxx.service" then "systemctl start 
xxx.service", and it works perfectly.


regards,
Corey



Re: home server for email box

2023-03-16 Thread Diane & Tim

<<< No Message Collected >>>