Re: Follow recent stable Python versions

2023-06-22 Thread Anssi Saari
Dan Ritter  writes:

> You will want to let the Debian python packages alone, and
> install new pythons from source in /opt/python-VER or such. Then
> use venvs to make sure that you are always getting the python
> you really want.

There's a tool called pyenv which handles downloads, compilations and
venvs neatly.



Re: When to sudo apt clean?

2023-06-22 Thread Stanislav Vlasov
2023-06-23 4:44 GMT+05:00, Default User :

> Other than that, is there any good reason not to do sudo apt clean?

Only if you have many machines which share /var/cache/apt (via nfs for example)

You may use `apt-get autoclean` for cleanup non-donwloadable .deb's,
if you want store packages for offline reinstall

-- 
Stanislav



Re: When to sudo apt clean?

2023-06-22 Thread Dan Ritter
Default User wrote: 
> The biggest chunk of var used seems to be /var/cache/apt/archives, at
> about 1.7Gb. 
> 
> I am considering just running sudo apt clean (or sudo apt-get clean) to
> just clear out the packages cache completely, in order to free up space
> in /var.
> 
> I realize that any packages that need to be re-installed would take
> more time to do so, since they would have to come from online
> respositories.  
> 
> Other than that, is there any good reason not to do sudo apt clean?


Nope. It's just there to prevent having to re-download something
that you uninstall and reinstall.

-dsr-



Re: Raspberry Pi Debian after upgrade Bullseye => Bookworm -- problem Setting up ca-certificates-java

2023-06-22 Thread Rick Thomas
That seems to have worked (I think)...

On Thu, Jun 22, 2023, at 7:34 AM, Andrew M.A. Cater wrote:
 snip 
> It might be worth looking at precisely what is not installed / removed
> dpkg -C will give you what needs configuring if anything, I think.
>
> I had a similar experience with upgrading Debian WSL - in the end, I 
> found that temporarily removing default-jre-?? helped.
>
> That allowed me to upgrade the system and then to reinstall the JRE.
>
> I think the versions of the Java runtime environment have changed very
> significantly, hence the problem.

What I did was run "dpkg -C" to get a list of problematical packages, which I 
then purged.
aptitude -PVv  purge default-jre openjdk-17-jre:arm64 
openjdk-17-jre-headless
I saved the list of all packages being removed (including several not in the 
original list but removed for dependency reasons).

The purge ran without incident.  I was then able to do "apt-get upgrade" which 
ran to completion without complaint.

I then re-installed all the packages that had previously been removed.  This 
ran without incident, as did "apt-get upgrade" following.

I believe the only thing I've lost at this point is knowledge of which of the 
re-installed packages were originally "auto-installed" due to depends or 
recommends .

I hope this report helps the next person with this kind of problem.  I know I 
learned a lot!

Thanks very much to Andy, Jeff and Sven for all their help!
Rick





Re: Raspberry Pi Debian after upgrade Bullseye => Bookworm -- problem Setting up ca-certificates-java

2023-06-22 Thread Jeffrey Walton
On Thu, Jun 22, 2023 at 10:45 PM Rick Thomas  wrote:
>
> That seems to have worked (I think)...
>
> On Thu, Jun 22, 2023, at 7:34 AM, Andrew M.A. Cater wrote:
>  snip 
> > It might be worth looking at precisely what is not installed / removed
> > dpkg -C will give you what needs configuring if anything, I think.
> >
> > I had a similar experience with upgrading Debian WSL - in the end, I
> > found that temporarily removing default-jre-?? helped.
> >
> > That allowed me to upgrade the system and then to reinstall the JRE.
> >
> > I think the versions of the Java runtime environment have changed very
> > significantly, hence the problem.
>
> What I did was run "dpkg -C" to get a list of problematical packages, which I 
> then purged.
> aptitude -PVv  purge default-jre openjdk-17-jre:arm64 
> openjdk-17-jre-headless
> I saved the list of all packages being removed (including several not in the 
> original list but removed for dependency reasons).
>
> The purge ran without incident.  I was then able to do "apt-get upgrade" 
> which ran to completion without complaint.
>
> I then re-installed all the packages that had previously been removed.  This 
> ran without incident, as did "apt-get upgrade" following.
>
> I believe the only thing I've lost at this point is knowledge of which of the 
> re-installed packages were originally "auto-installed" due to depends or 
> recommends .
>
> I hope this report helps the next person with this kind of problem.  I know I 
> learned a lot!
>
> Thanks very much to Andy, Jeff and Sven for all their help!

Aptitude is a nice command. Its solver can often find upgrade paths
when Apt and Apt-get cannot.

I usually run aptitude like below. It can update Debian, Mint and
Ubuntu systems.

DEBIAN_FRONTEND=noninteractive
aptitude update && aptitude upgrade -y && \
aptitude safe-upgrade -y && aptitude full-upgrade -y

I've never had a problem with it. (Knock on wood).

Jeff



Re: Debian Trixie

2023-06-22 Thread Rafael de Almeida
Caros, boa noite!
Hoje dia 22/06 fiz o download netinstall do debian testing e ainda está a
versão 12 como pode?


Em ter., 13 de jun. de 2023 às 01:42, Leandro Cunha <
leandrocunha...@gmail.com> escreveu:

> Hello,
>
> Recebi mais de 100 updates hoje no testing. Agora eles removeram o
> bloqueio.
>
> Leandro
>


-- 
*Rafael de Almeida Matias*
Especialista em Segurança da Informação
Tecnólogo em Redes de Computadores
Técnico em Informática
Currículo Lattes: https://goo.gl/RqclG4


Re: Follow recent stable Python versions

2023-06-22 Thread Celejar
On Thu, 22 Jun 2023 19:34:54 -0400
Greg Wooledge  wrote:

> On Fri, Jun 23, 2023 at 01:06:05AM +0200, Yoann LE BARS wrote:
> > As far as I know, Python is not part of backports. Is there any way 
> > other
> > than pinning to install the last stable version of Python on a stable
> > version of Debian?
> 
> Drop the idea that you have only one version of python3 installed, and
> that this version comes from Debian repositories.
> 
> Keep the python3 that's provided by Debian, for Debian's use.  It's
> part of package management and so on, and you really can't mess with
> it without breaking something.
> 
> Install *additional* versions of python3 as you need them, for your own
> development work.
> 
> I'll let the Python experts describe how to do this, if you don't already
> know how.  Last I heard, you're supposed to set up one python venv
> (virtual environment) for each version, but that information might be
> outdated.

You are, of course, entirely correct, but here's the obligatory xkcd:

https://xkcd.com/1987/

-- 
Celejar



Re: Bookworm: Why don't I get the latest version of firefox-esr?

2023-06-22 Thread Christian Gelinek

On 23/6/23 09:45, Greg Wooledge wrote:

Do an "apt-cache policy firefox-esr" to see more details.

Make sure you've got a bookworm-security source in your sources.list.

unicorn:~$ apt-cache policy firefox-esr
firefox-esr:
   Installed: 102.12.0esr-1~deb12u1
   Candidate: 102.12.0esr-1~deb12u1
   Version table:
  *** 102.12.0esr-1~deb12u1 500
 500 http://deb.debian.org/debian-security bookworm-security/main amd64 
Packages
 100 /var/lib/dpkg/status
  102.11.0esr-1 500
 500 http://ftp.us.debian.org/debian bookworm/main amd64 Packages



Thanks for that, indeed it's not there:

$ apt-cache policy firefox-esr
firefox-esr:
  Installed: 102.11.0esr-1
  Candidate: 102.11.0esr-1
  Version table:
 *** 102.11.0esr-1 500
500 http://ftp.au.debian.org/debian bookworm/main amd64 Packages
100 /var/lib/dpkg/status

$ cat /etc/apt/sources.list
# deb cdrom:[Debian GNU/Linux bookworm-DI-alpha2 _Bookworm_ - Official 
Alpha amd64 DVD Binary-1 with firmware 20230218-23:57]/ bookworm main 
non-free-firmware


deb http://ftp.au.debian.org/debian/ bookworm main non-free-firmware 
contrib non-free
deb-src http://ftp.au.debian.org/debian/ bookworm main non-free-firmware 
contrib non-free


...could this be an artefact from me having installed Bookworm while it 
was still in Testing?


$ echo 'deb http://deb.debian.org/debian-security/ bookworm-security 
main' |sudo tee -a /etc/apt/sources.list


$ sudo apt update
Hit:1 http://ftp.au.debian.org/debian bookworm InRelease
Get:2 http://deb.debian.org/debian-security bookworm-security InRelease 
[48.0 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security/main amd64 
Packages [30.4 kB]
Get:4 http://deb.debian.org/debian-security bookworm-security/main i386 
Packages [29.8 kB]
Get:5 http://deb.debian.org/debian-security bookworm-security/main 
Translation-en [15.0 kB]

Fetched 123 kB in 0s (307 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
16 packages can be upgraded. Run 'apt list --upgradable' to see them.

$ apt list --upgradable
Listing... Done
firefox-esr/stable-security 102.12.0esr-1~deb12u1 amd64 [upgradable 
from: 102.11.0esr-1]
gir1.2-javascriptcoregtk-4.0/stable-security 2.40.2-1~deb12u1 amd64 
[upgradable from: 2.40.1-1]
gir1.2-javascriptcoregtk-4.1/stable-security 2.40.2-1~deb12u1 amd64 
[upgradable from: 2.40.1-1]
gir1.2-webkit2-4.0/stable-security 2.40.2-1~deb12u1 amd64 [upgradable 
from: 2.40.1-1]
gir1.2-webkit2-4.1/stable-security 2.40.2-1~deb12u1 amd64 [upgradable 
from: 2.40.1-1]

libgpod-common/stable 0.8.3-17+b1 amd64 [upgradable from: 0.8.3-17]
libjavascriptcoregtk-4.0-18/stable-security 2.40.2-1~deb12u1 amd64 
[upgradable from: 2.40.1-1]
libjavascriptcoregtk-4.1-0/stable-security 2.40.2-1~deb12u1 amd64 
[upgradable from: 2.40.1-1]
libjavascriptcoregtk-6.0-1/stable-security 2.40.2-1~deb12u1 amd64 
[upgradable from: 2.40.1-1]
libwebkit2gtk-4.0-37/stable-security 2.40.2-1~deb12u1 amd64 [upgradable 
from: 2.40.1-1]
libwebkit2gtk-4.1-0/stable-security 2.40.2-1~deb12u1 amd64 [upgradable 
from: 2.40.1-1]
libwebkitgtk-6.0-4/stable-security 2.40.2-1~deb12u1 amd64 [upgradable 
from: 2.40.1-1]
libx11-6/stable-security 2:1.8.4-2+deb12u1 amd64 [upgradable from: 
2:1.8.4-2]
libx11-data/stable-security,stable-security 2:1.8.4-2+deb12u1 all 
[upgradable from: 2:1.8.4-2]
libx11-xcb1/stable-security 2:1.8.4-2+deb12u1 amd64 [upgradable from: 
2:1.8.4-2]
thunderbird/stable-security 1:102.12.0-1~deb12u1 amd64 [upgradable from: 
1:102.11.0-1]


Seems to be working, thank you very much!



Re: Bookworm: Why don't I get the latest version of firefox-esr?

2023-06-22 Thread Greg Wooledge
On Fri, Jun 23, 2023 at 09:42:54AM +0930, Christian Gelinek wrote:
> I just checked my Firefox version and noticed that I don't seem to have the
> latest one available:
> 
> $ apt show firefox-esr 2>/dev/null |grep Version
> Version: 102.11.0esr-1

Do an "apt-cache policy firefox-esr" to see more details.

Make sure you've got a bookworm-security source in your sources.list.

unicorn:~$ apt-cache policy firefox-esr
firefox-esr:
  Installed: 102.12.0esr-1~deb12u1
  Candidate: 102.12.0esr-1~deb12u1
  Version table:
 *** 102.12.0esr-1~deb12u1 500
500 http://deb.debian.org/debian-security bookworm-security/main amd64 
Packages
100 /var/lib/dpkg/status
 102.11.0esr-1 500
500 http://ftp.us.debian.org/debian bookworm/main amd64 Packages



Bookworm: Why don't I get the latest version of firefox-esr?

2023-06-22 Thread Christian Gelinek

Greetings!

I just checked my Firefox version and noticed that I don't seem to have 
the latest one available:


$ apt show firefox-esr 2>/dev/null |grep Version
Version: 102.11.0esr-1
$ curl https://packages.debian.org/bookworm/web/firefox-esr 2>/dev/null 
|grep 'Package'

Package: firefox-esr (102.12.0esr-1~deb12u1)
$ sudo apt update
Hit:1 http://ftp.au.debian.org/debian bookworm InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
$ apt list --upgradable -a
Listing... Done
libgpod-common/stable 0.8.3-17+b1 amd64 [upgradable from: 0.8.3-17]
libgpod-common/now 0.8.3-17 amd64 [installed,upgradable to: 0.8.3-17+b1]

Can anyone enlighten me what is going on? Why doesn't apt see that 
there's a newer version available?


Thanks for your time,
Christian



Re: Follow recent stable Python versions

2023-06-22 Thread Manphiz


Yoann LE BARS  writes:

> Hello, everybody out there!
>
>   For the upcoming two years, I will have to follow the new versions of
>   Python. Not the preview release, but the up-to-date stable release –
>   well, I can wait for a couple of weeks after the release of the last
>   stable version.
>
>   As far as I know, Python is not part of backports. Is there any way
>   other than pinning to install the last stable version of Python on a
>   stable version of Debian?
>
>   Best regards.

You should follow Greg and Dan's suggestions to leave system installed
Python alone as it's used for the system and any unintended breaking
change will cause unexpected system failure.

To have a newer Python versions I would suggest using Docker.  Docker
hub has official Python images[1] which have testing and stable versions
available and using them won't mess up your system thanks to Docker's
properly contained environments.

[1] https://hub.docker.com/_/python
-- 
Manphiz



Re: Follow recent stable Python versions

2023-06-22 Thread Dan Ritter
Yoann LE BARS wrote: 
> 
> Hello, everybody out there!
> 
>   For the upcoming two years, I will have to follow the new versions of
> Python. Not the preview release, but the up-to-date stable release – well, I
> can wait for a couple of weeks after the release of the last stable version.
> 
>   As far as I know, Python is not part of backports. Is there any way 
> other
> than pinning to install the last stable version of Python on a stable
> version of Debian?

You will want to let the Debian python packages alone, and
install new pythons from source in /opt/python-VER or such. Then
use venvs to make sure that you are always getting the python
you really want.

Python source releases are here:

https://www.python.org/downloads/source/

Once you get one compiled, the process will be pretty similar
for any other.

-dsr-



When to sudo apt clean?

2023-06-22 Thread Default User
Hi!

I have a separate /var partition, size 10Gb (actually, 9.1Gb per sudo
df -h).

It is now about 41% full; 3.5Gb used, 5.1Gb free, per sudo df -h.

The biggest chunk of var used seems to be /var/cache/apt/archives, at
about 1.7Gb. 

I am considering just running sudo apt clean (or sudo apt-get clean) to
just clear out the packages cache completely, in order to free up space
in /var.

I realize that any packages that need to be re-installed would take
more time to do so, since they would have to come from online
respositories.  

Other than that, is there any good reason not to do sudo apt clean?




OT: Forwarding and top posting (was: Re: OT: Pedantic, yet wrong)

2023-06-22 Thread Manphiz


David Christensen  writes:

> On 6/22/23 03:28, Ottavio Caruso wrote:
>> Am 21/06/2023 um 15:46 schrieb to...@tuxteam.de:
>
>>> ... top posting ...
>
>> ... When the message is forwarded ("Weitergeleitet", ... you have no
>> other choice than to top post because the forwarded message is not
>> indented. It would make no sense to bottom post because there would
>> be no way to tell the comment apart from the post. ...
>
>
> I use Thunderbird.  When I want to start a new thread based upon an existing
> thread and keep prior content, I click "Reply", copy the content to the
> clipboard, create a new message, paste, and choose Edit -> Rewrap.  This
> produces a new thread with proper indentation of prior content.  Perhaps your
> mail client has a similar capability.
>
>
> HTH,
>
> David

Honest question regarding forwarding and top posting: while I totally
get that bottom posting style works naturally in a conversation thread,
for a forwarded email the situation is slightly different: it may not be
obvious why the recipient is getting a mail starting with a (potentially
long) quoted message.  IMHO in such case top posting with an explanation
on why the sender is forwarding the mail kind of makes sense.

Regarding forwarding in MUA, old school MUAs (like gnus, mu4e) provides
a quote automatically and put the cursor below; however in Thunderbird
it doesn't quote the forwarded message but provide a separate line, and
even if I set posting style to be below original message, it will post
the cursor above the forwarded message anyway, which makes me feel that
this may be a sensible way to handle forwarded message after all.

Personally I don't have a strong preference either way, but would like
to hear more opinions on this.

-- 
Manphiz



Re: Follow recent stable Python versions

2023-06-22 Thread Greg Wooledge
On Fri, Jun 23, 2023 at 01:06:05AM +0200, Yoann LE BARS wrote:
>   As far as I know, Python is not part of backports. Is there any way 
> other
> than pinning to install the last stable version of Python on a stable
> version of Debian?

Drop the idea that you have only one version of python3 installed, and
that this version comes from Debian repositories.

Keep the python3 that's provided by Debian, for Debian's use.  It's
part of package management and so on, and you really can't mess with
it without breaking something.

Install *additional* versions of python3 as you need them, for your own
development work.

I'll let the Python experts describe how to do this, if you don't already
know how.  Last I heard, you're supposed to set up one python venv
(virtual environment) for each version, but that information might be
outdated.

This same principle applies to most programming languages.  If Debian
ships a compiler/interpreter for your language, then leave that version
alone.  Don't try to "upgrade" it.  If you need another version (older
or newer or just one with experimental patches), install that version
separately, in parallel with the Debian version.



Follow recent stable Python versions

2023-06-22 Thread Yoann LE BARS



Hello, everybody out there!

	For the upcoming two years, I will have to follow the new versions of 
Python. Not the preview release, but the up-to-date stable release – 
well, I can wait for a couple of weeks after the release of the last 
stable version.


	As far as I know, Python is not part of backports. Is there any way 
other than pinning to install the last stable version of Python on a 
stable version of Debian?


Best regards.

--
Yoann LE BARS
https://le-bars.net/yoann/



Re: OT: Pedantic, yet wrong

2023-06-22 Thread David Christensen

On 6/22/23 03:28, Ottavio Caruso wrote:

Am 21/06/2023 um 15:46 schrieb to...@tuxteam.de:



... top posting ...



... When the message is forwarded ("Weitergeleitet", ... you have no
other choice than to top post because the forwarded message is not
indented. It would make no sense to bottom post because there would
be no way to tell the comment apart from the post. ...



I use Thunderbird.  When I want to start a new thread based upon an 
existing thread and keep prior content, I click "Reply", copy the 
content to the clipboard, create a new message, paste, and choose Edit 
-> Rewrap.  This produces a new thread with proper indentation of prior 
content.  Perhaps your mail client has a similar capability.



HTH,

David



consultation européenne en rapport avec les projets logiciels (financement européen futur de logiciels libres)

2023-06-22 Thread Basile Starynkevitch

Bonsoir,


Le développement de logiciels libres dans Debian en Europe requiert un 
appui aussi politique (au sens grec du mot: la vie de la cité)



Ceux qui comme moi souhaitent que l'union européenne favorise des 
logiciels libres (par exemple http://refpersys.org/ et tant d'autres 
dont la majorité tournent sous Debian) peuvent donc être concerné par ce 
qui suit


La Commission Européenne organise le 29 juin 2023 un atelier en ligne 
sur Horizon Europe à destination des parties prenantes dans le but de 
recueillir leur point de vue concernant la mise en œuvre et les 
nouveautés d'Horizon Europe ainsi que l'équilibre entre les TRL faibles 
et élevés dans l'ensemble du programme-cadre.


Cet atelier fait suite à la plus grande consultation publique sur le 
passé, le présent et l'avenir des programmes-cadres de R qui s'est 
achevée en février dernier.


Lors de sessions en petits groupes, les participants seront invités à 
prendre la parole et à partager leurs expériences individuelles avec 
Horizon Europe jusqu'à présent. La Commission tiendra compte des 
commentaires publiés dans toutes les langues de l'UE.


Les *inscriptions sont ouvertes jusqu'à demain 23/06/23* : 
https://ec.europa.eu/eusurvey/runner/HorizonEuropeEvent.


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


[testing] crash firefox 114.0-1

2023-06-22 Thread Gaëtan Perrier
Bonjour,

Depuis ce soir suite aux mises à jours de testing du jour, firefox crash au
démarrage même en --safe-mode.

~$ firefox --safe-mode 
ExceptionHandler::GenerateDump cloned child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...
16491
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
Exiting due to channel error.
Exiting due to channel error.
~$ Failed to open curl lib from binary, use libcurl.so instead
~$ 

Est-ce de même pour vous ?

Gaêtan


signature.asc
Description: This is a digitally signed message part


Re: RAID5 (Mdadm) non fonctionnel sous Debian 11

2023-06-22 Thread Romain P.

Le 17/06/2023 à 10:30, didier gaumet a écrit :

Bonjour,

avertissement préalable: je n'ai jamais pratiqué le RAID et on peut 
raisonnablement dire que je n'y connais quasiment rien


Soit je n'ai rien compris au RAID (c'est assez vraisemblable) soit tu 
confonds différents types de RAID (ça m'a l'air possible aussi).


L'impression (sans creuser) que j'ai est que tu disposes d'une carte qui 
n'est pas (matériellement) une vraie carte RAID mais propose des 
fonctions RAID au niveau de l'UEFI?


Si c'est le cas ça semblerait être pouvoir être géré sous linux de deux 
manières:

- en pur logiciel (via mdadm) à condition de désactiver dans ton
UEFI les fonctions RAID de ta carte
- en FakeRAID (pseudo-matériel)(via dmraid) à condition d'activer dans 
ton UEFI les fonctions RAID de ta carte


le wiki d'Archlinux est assez bien documenté sur le RAID, je pense que 
la majorité du contenu de cette page est transposable sans grosse 
différence:

https://wiki.archlinux.org/title/RAID

Encore une fois, ne pas prendre ce que je dis pour argent comptant et se 
faire sa propre opinion argumentée: j'y connais rien :-)


Bonjour Didier

J'ai installé dmraid.

Comme on peut le voir sur les 3 1res captures d'écran, dmraid ne 
fonctionne pas correctement, alors qu'avec mdadm sous Debian 10 ça 
fonctionnait (4e fichier).


https://www.cjoint.com/c/MFsofEoXCLY

https://www.cjoint.com/c/MFwqz3qPW0Y

https://www.cjoint.com/c/MFsor0t8NyY

https://www.cjoint.com/c/MFsos5eXuDY


Merci

Romain



Re: Certificado Digital no Debian

2023-06-22 Thread Paulo Almeida
Bom dia,
eu usei por bastante tempo o certificado digital emitido pelo serpro.
já trabalhei lá. tem um aplicativo específico para assinador e plugin
do firefox.
quando atuei como desenvolvedor lá, usávamos ubuntu e debian. eu fui
até o 22 LTS e o debian 11 sem problemas.

On Thu, Jun 22, 2023 at 2:58 PM Leandro Ramos  wrote:
>
> Boa tarde, pessoal. Sei que o título do e-mail é genérico demais, mas me
> lembro de ter visto bastante gente que atua na área do Direito falando
> sobre certificados digitais no Debian, e gostaria de saber se alguém da
> lista já obteve sucesso nisso. É que tenho colegas de trabalho que atuam
> na área do Direito e precisam de ajuda, só que eu não entendo direito de
> certificado digital, nem mesmo para saber de que tipo de certificado o
> colega precisa.
>
> Se tiver alguém da área na lista e puder falar comigo, agradeço.
>
> Abraços.
>



Certificado Digital no Debian

2023-06-22 Thread Leandro Ramos
Boa tarde, pessoal. Sei que o título do e-mail é genérico demais, mas me 
lembro de ter visto bastante gente que atua na área do Direito falando 
sobre certificados digitais no Debian, e gostaria de saber se alguém da 
lista já obteve sucesso nisso. É que tenho colegas de trabalho que atuam 
na área do Direito e precisam de ajuda, só que eu não entendo direito de 
certificado digital, nem mesmo para saber de que tipo de certificado o 
colega precisa.


Se tiver alguém da área na lista e puder falar comigo, agradeço.

Abraços.



Re: W: Possible missing firmware /lib/firmware/brand/yada*

2023-06-22 Thread bw
>> Can anyone
>> point to an existing meta-bug report on the subject of stopping the litter?
>> Searching seems to find only reports pointing to particular GPUs,

I don't know about meta-bug, but try 989539? 981087? you can complain there, 
but without a patch I don't see it helping.
https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=initramfs-tools-core;dist=unstable

The way I see it, it's not a bug.  Initramfs-tools is not responsible for 
deciding what firmware a specific device or machine needs.  It is only 
reporting that a module to be included lists a firmware file as loadable, and 
that firmware wasn't able to be included when building the initramfs.  It might 
be a decent idea to have a config option to turn the warning on and off.  Since 
I'm not annoyed by it, I'm not really interested in doing the work.

I think your real question is, "How can I make someone else do this with as 
little effort as possible on my part?"

good luck,
bw



Re: Busco ISO de Debian 11 SOLO consola [AGRADECIMIENTO]

2023-06-22 Thread Ratman
SFTW

El mié, 21 jun 2023 a las 12:06, Fernando Fauche G. ()
escribió:

> Buenos dias
>
> Muchas gracias por todas las respuestas (muy didácticas, por cierto).
> Hace tiempo que no convivo con Debian y el retomarlo después de años me
> está costando un poco, más aún que estoy virtualizándolo.
>
> Quiero hacer un server exclusivo para base de datos y servicios web.
>
> Reitero mi agradecimiento a todos y cada uno de ustedes.
>
> Gran grupo!!!
>
>
> atentamente,
>
>
> *Fernando Fauché Gonzalez*
>*Consultor en Tecnologías de la Información*
> *Seguridad Electrónica*
>
> * Comunicador / Redes Sociales*
>Celular: 916 473 483 (WhatsApp)
>Correo: fau...@gmail.com
>
>
>


Re: Raspberry Pi Debian after upgrade Bullseye => Bookworm -- problem Setting up ca-certificates-java

2023-06-22 Thread Sven Joachim
On 2023-06-22 03:12 -0700, Rick Thomas wrote:

> On Thu, Jun 22, 2023, at 12:04 AM, Jeffrey Walton wrote:
>> On Thu, Jun 22, 2023 at 2:49 AM Rick Thomas  wrote:
>  snip 
>>> In this case, the package is already installed.
>>> Unfortunately when I try to reinstall it, I get:
>>>
>>> rbthomas@pi:~$ sudo -i  apt-get install --reinstall ca-certificates-java
>>> Reading package lists... Done
>>> Building dependency tree... Done
>>> Reading state information... Done
>>> 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not 
>>> upgraded.
>>> 4 not fully installed or removed.
>>> After this operation, 0 B of additional disk space will be used.
>>> E: Internal Error, No file name for ca-certificates-java:arm64
>>> rbthomas@pi:~$
>>>
>>> Any idea that that even means?
>>
>> I would probably try this next:
>> sudo apt-get -f install && sudo dpkg -a --configure
>> If that doesn't help, then I am out of ideas.
>
> Sadly, that didn't work.
> Do you (or anyone else on the list) have any idea what this message means?
> "E: Internal Error, No file name for ca-certificates-java:arm64"

It is the apt way of saying "this package cannot be reinstalled, because
it is not fully installed in the first place" (since it failed to
configure).

See https://bugs.debian.org/670920 and its siblings.

> In particular, what directory might contain the file
> ca-certificates-java:arm64.

None, because that is a package name and not a file.

> And what does "no filename for..." mean in this context?

You probably have to ask the apt developers.  I would like to know that
as well.

Cheers,
   Sven



Re: RAID5 (Mdadm) non fonctionnel sous Debian 11

2023-06-22 Thread Romain P.

Le 17/06/2023 à 17:40, didier gaumet a écrit :

1) NoSpam a simplement fait une faute de frappe et ne s'est pas relu 
donc il faut lire lspci et non pas lpci (lspci pour ls pci, soit listage 
des périphériques PCI


2) ce n'est pas
sudo lscpi|grep
qu'il faut écrire. C'est bien la commande entière qu'il (NoSpam) t'a 
donnée:

sudo lspci|grep RAID
qui signifie: en tant que root (sudo), parmi les périphériques PCI 
(lspci), cherche le mot RAID en respectant la casse.


En fait cette commande va te donner un truc du style:
02:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
tu prends la référence du début (ici: 02:00.0) et tu fais une recherche 
du module noyau utilisé en remplaçant la référence par la tienne (par 
exemple 01:23.4:

lspci -vvv -s 01:23.4 | grep -i module
le résultat est:
 Kernel modules: iwlwifi

là je t'ai mis l'exemple de ma carte wifi (je n'ai pas de matériel RAID)


Bonjour

Voici ce que retournent les commandes :

sudo lspci|grep RAID
[sudo] Mot de passe de romain :
00:17.0 RAID bus controller: Intel Corporation SATA Controller [RAID 
mode] (rev 10)


lspci -vvv -s 00:17.0 | grep -i module
Kernel modules: ahci

Merci

Romain



Bookworm upgrade on AWS

2023-06-22 Thread Christian
Hi there,

I just upgraded my AWS Instance to bookworm. It went sort of seamless,
however the current kernel headers give an error.

DKMS make.log for amzn-drivers-ena-linux-1.1.3 for kernel 6.1.0-9-
cloud-amd64 (x86_64)
Do 22. Jun 15:43:22 CEST 2023
make: Verzeichnis „/var/lib/dkms/amzn-drivers-ena-
linux/1.1.3/build/kernel/linux/ena“ wird betreten
make -C /lib/modules/6.1.0-9-cloud-amd64/build M=/var/lib/dkms/amzn-
drivers-ena-linux/1.1.3/build/kernel/linux/ena modules
make[1]: Verzeichnis „/usr/src/linux-headers-6.1.0-9-cloud-amd64“ wird
betreten
CC [M] /var/lib/dkms/amzn-drivers-ena-
linux/1.1.3/build/kernel/linux/ena/ena_netdev.o
In file included from /var/lib/dkms/amzn-drivers-ena-
linux/1.1.3/build/kernel/linux/ena/ena_netdev.h:44,
from /var/lib/dkms/amzn-drivers-ena-
linux/1.1.3/build/kernel/linux/ena/ena_netdev.c:53:
/var/lib/dkms/amzn-drivers-ena-
linux/1.1.3/build/kernel/linux/ena/kcompat.h:42: warning:
"KERNEL_VERSION" redefined
42 | #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
|
In file included from /var/lib/dkms/amzn-drivers-ena-
linux/1.1.3/build/kernel/linux/ena/ena_netdev.c:46:
./include/generated/uapi/linux/version.h:2: note: this is the location
of the previous definition
2 | #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + ((c) >
255 ? 255 : (c)))
|
/var/lib/dkms/amzn-drivers-ena-
linux/1.1.3/build/kernel/linux/ena/ena_netdev.h: In function
‘ena_bp_unlock_napi’:
/var/lib/dkms/amzn-drivers-ena-
linux/1.1.3/build/kernel/linux/ena/ena_netdev.h:387:28: error: ‘struct
napi_struct’ has no member named ‘gro_list’; did you mean ‘rx_list>
387 | if (rx_ring->napi->gro_list)
| ^~~~
| rx_list
compilation terminated due to -Wfatal-errors.
make[2]: *** [/usr/src/linux-headers-6.1.0-9-
common/scripts/Makefile.build:255: /var/lib/dkms/amzn-drivers-ena-
linux/1.1.3/build/kernel/linux/ena/ena_netdev.o] Fehler 1
make[1]: *** [/usr/src/linux-headers-6.1.0-9-common/Makefile:2037:
/var/lib/dkms/amzn-drivers-ena-linux/1.1.3/build/kernel/linux/ena]
Fehler 2
make[1]: Verzeichnis „/usr/src/linux-headers-6.1.0-9-cloud-amd64“ wird
verlassen
make: *** [Makefile:19: all] Fehler 2
make: Verzeichnis „/var/lib/dkms/amzn-drivers-ena-
linux/1.1.3/build/kernel/linux/ena“ wird verlassen

Any clue on what this could be?
System is running normal so far without any issues popping up.

Kind regards
  Christian


Re: Raspberry Pi Debian after upgrade Bullseye => Bookworm -- problem Setting up ca-certificates-java

2023-06-22 Thread Andrew M.A. Cater
On Thu, Jun 22, 2023 at 03:12:16AM -0700, Rick Thomas wrote:
> Thanks, Jeff!
> 
> On Thu, Jun 22, 2023, at 12:04 AM, Jeffrey Walton wrote:
> > On Thu, Jun 22, 2023 at 2:49 AM Rick Thomas  wrote:
>  snip 
> >> In this case, the package is already installed.
> >> Unfortunately when I try to reinstall it, I get:
> >>
> >> rbthomas@pi:~$ sudo -i  apt-get install --reinstall ca-certificates-java
> >> Reading package lists... Done
> >> Building dependency tree... Done
> >> Reading state information... Done
> >> 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not 
> >> upgraded.
> >> 4 not fully installed or removed.

It might be worth looking at precisely what is not installed / removed
dpkg -C will give you what needs configuring if anything, I think.

I had a similar experience with upgrading Debian WSL - in the end, I found that 
temporarily removing default-jre-?? helped.

That allowed me to upgrade the system and then to reinstall the JRE.

I think the versions of the Java runtime environment have changed very
significantly, hence the problem.

Just my 0,02

All the very best, as ever,

Andy

> >> Any idea that that even means?
> 
> Thanks!
> Rick
> 



Re: Angry, yet wrong too (was: OT: Pedantic, yet wrong)

2023-06-22 Thread Reco
On Thu, Jun 22, 2023 at 01:09:28PM +, Ottavio Caruso wrote:
> Am 22/06/2023 um 10:46 schrieb Reco:
> > On Thu, Jun 22, 2023 at 10:28:42AM +, Ottavio Caruso wrote:
> > 
> > > > don't appreciate top posting around here)
> > > 
> > > You've managed to be pedantic and patronising yet wrong. When the
> > > message is forwarded ("Weitergeleitet", you should know this, since
> > > you use a *.de domain), you have no other choice than to top post
> > > because the forwarded message is not indented.
> > 
> > Before the message is forwarded, you actually have a choice whenever to
> > use dumb "inline forward style" (which you did) or proper
> > rfc822-compliant attachment (which your MUA should support).
> > In the latter case you're free to express yourself using top-posting,
> > bottom-posting or interleaved posting (which is preferred here) or even
> > cat-pictures posting.
> > 
> > Of course, proper forwarding requires using a real MUA. You could
> > consider start using one.
> 
> Thunderbird is a real MUA.

Consider using it properly then, because currently you're not.
Read a user guide or something.


> > PS Using real OS cannot not hurt you too, you know.
> 
> You have never heard of user agent spoofing have you?

I did. So did Spamassasin.
But most importantly - you just had to prove that you're using real OS,
*and* you did just because I've asked you nicely.

See - my approach works, yours - not so much :)

Reco



Re: Debian 12: errors when using Python3 venv?

2023-06-22 Thread Roland Müller

Hello

On 15.6.2023 7.03, Kushal Kumaran wrote:

On Wed, Jun 14 2023 at 03:55:44 PM, Nicholas Papadonis 
 wrote:

Hi,

I just cleanly installed Debian 11 and am trying to create a virtual
environment for Python.

I get the following error, does anyone know how to resolve this?  Am I
missing some packages that need to be installed?

1843 [deb12:~]$ python3 -m venv pt
Traceback (most recent call last):
   File "", line 189, in _run_module_as_main
   File "", line 148, in _get_module_details
   File "", line 112, in _get_module_details
   File "/usr/lib/python3.11/venv/__init__.py", line 7, in 
 import logging
   File "/usr/lib/python3.11/logging/__init__.py", line 43, in 
 import threading
   File "/home/vboxuser/threading.py", line 3, in 
 sem = threading.Semaphore()
   ^^^
AttributeError: partially initialized module 'threading' has no attribute
'Semaphore' (most likely due to a circular import)

Your /home/vboxuser/threading.py is hiding the threading module from the
python standard library.


Python is loading the first file with .py extension as module when it is 
requested by an import in the called script. Even an empty file is 
loaded as module.


The feature or bad thing is that the current directory is in the python 
path.



$ touch threading.py
$ python -m venv my_venv
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 187, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/usr/lib/python3.10/runpy.py", line 146, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/usr/lib/python3.10/runpy.py", line 110, in _get_module_details
    __import__(pkg_name)
  File "/usr/lib/python3.10/venv/__init__.py", line 7, in 
    import logging
  File "/usr/lib/python3.10/logging/__init__.py", line 217, in 
    _lock = threading.RLock()
AttributeError: module 'threading' has no attribute 'RLock'
Error in sys.excepthook:

BR,

Roland



Re: I can confirm that Fortigate firewalls are definitely based on Linux

2023-06-22 Thread tomas
On Thu, Jun 22, 2023 at 09:33:57PM +0800, Turritopsis Dohrnii Teo En Ming wrote:
> On Thu, 22 Jun 2023 at 21:22,  wrote:
> >
> > On Thu, Jun 22, 2023 at 09:17:17PM +0800, Turritopsis Dohrnii Teo En Ming 
> > wrote:
> > > Subject: I can confirm that Fortigate firewalls are definitely based on 
> > > Linux
> > >
> > > Good day from Singapore,
> >
> > [...]
> >
> > > Do you guys know which Linux distro Fortigate firewalls are based on?
> > > I would like to know. This will be very interesting.
> >
> > If I were you, I'd ask Fortigate: if they are using GPL licensed components
> > (the Linux kernel would be one), they have to give you a copy of their
> > modified sources.
> >
> > Cheers
> > --
> > t
> 
> I think Fortinet wouldn't say.

I think you might want to practice your search-engine-fu :) It seems
that someone (Harald Welte) has been already there [1].

So if they still don't say, they are clearly repeat offenders. Do ask
them, don't be lazy, and if they don't comply, tell gpl-violations.org.

Cheers

[1] https://en.wikipedia.org/wiki/Gpl-violations.org#Fortinet
-- 
t


signature.asc
Description: PGP signature


Re: I can confirm that Fortigate firewalls are definitely based on Linux

2023-06-22 Thread Nils
On Donnerstag, 22. Juni 2023 15:33:57 CEST Turritopsis Dohrnii Teo En Ming 
wrote:
> I think Fortinet wouldn't say.


They are required to ;-)


signature.asc
Description: This is a digitally signed message part.


Re: I can confirm that Fortigate firewalls are definitely based on Linux

2023-06-22 Thread Turritopsis Dohrnii Teo En Ming
On Thu, 22 Jun 2023 at 21:22,  wrote:
>
> On Thu, Jun 22, 2023 at 09:17:17PM +0800, Turritopsis Dohrnii Teo En Ming 
> wrote:
> > Subject: I can confirm that Fortigate firewalls are definitely based on 
> > Linux
> >
> > Good day from Singapore,
>
> [...]
>
> > Do you guys know which Linux distro Fortigate firewalls are based on?
> > I would like to know. This will be very interesting.
>
> If I were you, I'd ask Fortigate: if they are using GPL licensed components
> (the Linux kernel would be one), they have to give you a copy of their
> modified sources.
>
> Cheers
> --
> t

I think Fortinet wouldn't say.

Regards,

Mr. Turritopsis Dohrnii Teo En Ming
Targeted Individual in Singapore



Re: I can confirm that Fortigate firewalls are definitely based on Linux

2023-06-22 Thread tomas
On Thu, Jun 22, 2023 at 09:17:17PM +0800, Turritopsis Dohrnii Teo En Ming wrote:
> Subject: I can confirm that Fortigate firewalls are definitely based on Linux
> 
> Good day from Singapore,

[...]

> Do you guys know which Linux distro Fortigate firewalls are based on?
> I would like to know. This will be very interesting.

If I were you, I'd ask Fortigate: if they are using GPL licensed components
(the Linux kernel would be one), they have to give you a copy of their
modified sources.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Cannot autolaunch D-Bus without X11 $DISPLAY

2023-06-22 Thread tomas
On Thu, Jun 22, 2023 at 02:11:03PM +0100, Sharon Kimble wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
> 
> 
> Hi.
> 
> With every back up, being whether its a restic backup hourly to another hard 
> drive on this machine, or an rsync backup to my synology server, this error 
> message continues to happen/occur. This has only started to occur since I've
>   upgraded to Debian 12.

I have no idea what the restic backup is or does, but how is your
rsync backup invoked?

What is happening is that whatever in there wants to talk to your
session D-Bus and can't find it without knowing the display.

So we'll have to dig deeper into what those processes are doing.

Cheers
-- 
t


signature.asc
Description: PGP signature


I can confirm that Fortigate firewalls are definitely based on Linux

2023-06-22 Thread Turritopsis Dohrnii Teo En Ming
Subject: I can confirm that Fortigate firewalls are definitely based on Linux

Good day from Singapore,

These few days, I have discovered that the output of the Fortigate
firewall CLI command "diag hardware sysinfo cpu" is exactly the same
as the output of the command "cat /proc/cpuinfo" in Linux operating
systems. Hence I can confirm that the underlying operating system of
Fortigate firewalls is definitely Linux. But I do not know which Linux
distro Fortigate firewalls are based on.

Fortigate 90E firewall has 2-Core Intel(R) Atom(TM) CPU  C2338  @
1.74GHz processor.

Fortigate 101F firewall has 8-core ARMv8 Processor rev 4 (v8l) 1400
MHz processor.

Fortigate 200F firewall has 8-core Intel(R) Xeon(R) CPU D-1627 @
2.90GHz processor.

I will try to find out what processors my own personal Fortigate 60D
and Fortigate 60E firewalls have later on.

I have configured and deployed 22 Fortigate firewalls for 20
companies/organizations in Singapore so far (as of 22 June 2023
Thursday). On 15 June 2020, I joined my present company (Systems
Integrator/Managed Services) as an IT support engineer. I have been
working at my present company for slightly more than 3 years already.
My 3rd anniversary falls on 15 June 2023.

The following are useful commands for troubleshooting high CPU usage
on Fortigate firewalls (provided by Fortinet technical support).

get system status
get system performance status --run 5 times
diag hardware sysinfo cpu
diag sys top
diag debug crashlog read
execute tac report

Do you guys know which Linux distro Fortigate firewalls are based on?
I would like to know. This will be very interesting.

Regards,

Mr. Turritopsis Dohrnii Teo En Ming
Targeted Individual in Singapore
Blogs:
https://tdtemcerts.blogspot.com
https://tdtemcerts.wordpress.com
GIMP also stands for Government-Induced Medical Problems.



Re: Angry, yet wrong too (was: OT: Pedantic, yet wrong)

2023-06-22 Thread Greg Wooledge
On Thu, Jun 22, 2023 at 01:09:28PM +, Ottavio Caruso wrote:
> You have never heard of user agent spoofing have you?

Sounds like yet another reason to discontinue communications with
someone who has already raised many other red flags.



Cannot autolaunch D-Bus without X11 $DISPLAY

2023-06-22 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512


Hi.

With every back up, being whether its a restic backup hourly to another hard 
drive on this machine, or an rsync backup to my synology server, this error 
message continues to happen/occur. This has only started to occur since I've
  upgraded to Debian 12.

I've looked online for a solution but without seeing anything that is 
potentially useful, so how do I get rid of it please?  

And I've changed my usual greeter from gdm to sddm in an effort to get things 
working nicely, but it doesn't seem to have had any effect on the problem.

So can anyone help please?

Thanks
  Sharon.  
- -- 
Debian 12, fluxbox 1.3.7, emacs 30.0.50, org 9.5.5 
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmSUSGcdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1t+sRAAgF5N71Rc+WY6PCP9
l8YmhtC4Ja0VSQbIyndgdEJpdODgJaYg2N3t7LRL41lIjOnIKoCtBGK2rGO4vF25
SVKge5I65/D32fB1g0nmr24eAmvyqqgp18an583DGQtBplr/enUAK5JGl+EpN7LJ
jA6+syJ4sFCHjRtK25rfsXfLOgu8k2ACcnmReU+9fI96XCH4hfbgmx+s8xQpIRxX
/WyzwmAUs5mduHCKGSl8275nb0PRrvhy/yP9/fVQiKYHgLrPE4ndXIuZAktZvPEq
/i3d3Z0HM/himRIqUePVNh3uwmV2r6pcuIVEkGJq/sLQCs49rGYR6g0QHuCHVRnW
6AgNs+eMj3rJkGOhDz+jLnBRq4I0YEt2aXUyYWCJ6x11BzM2dMALalqWZfTRL9n2
VCfeIXKtvA3/l27ssFvucUd9oK+BOZAzTycCfjKIoALnkRiksxhDRothGFg6c3OM
SngLfKMLqv6A7XyBqpnJdmkUvl4ABmRdWXt86oo11V27y6Nc43Kshxk0+OoyuAab
7igNaguF1XljDC84NbEkzwJCFN4Qpfa13twGTfKAFZRru4BUkLj2K3flTieFs2to
ITg8a8fJYpcKjF3oTz87TqdKMLQDAVxWehZSNJEe7DJnmQSBdYBq9OuRuRmmpK7Y
wOdUevzvvPsaKdvN0RTQi1iw+wo=
=cdEz
-END PGP SIGNATURE-



Re: OT: Pedantic, yet wrong

2023-06-22 Thread Nicolas George
Ottavio Caruso (12023-06-22):
> You've managed to be pedantic and patronising yet wrong.

You expect help with that attitude?

Not from me at least. Goodbye.

-- 
  Nicolas George



Re: Angry, yet wrong too (was: OT: Pedantic, yet wrong)

2023-06-22 Thread Reco
On Thu, Jun 22, 2023 at 10:28:42AM +, Ottavio Caruso wrote:

> > don't appreciate top posting around here)
> 
> You've managed to be pedantic and patronising yet wrong. When the
> message is forwarded ("Weitergeleitet", you should know this, since
> you use a *.de domain), you have no other choice than to top post
> because the forwarded message is not indented.

Before the message is forwarded, you actually have a choice whenever to
use dumb "inline forward style" (which you did) or proper
rfc822-compliant attachment (which your MUA should support).
In the latter case you're free to express yourself using top-posting,
bottom-posting or interleaved posting (which is preferred here) or even
cat-pictures posting.

Of course, proper forwarding requires using a real MUA. You could
consider start using one.

PS Using real OS cannot not hurt you too, you know.

Reco



Re: actualizar desde debian 8 a debian 11

2023-06-22 Thread JavierDebian




El 21/6/23 a las 12:49, victor melendez escribió:

El lun, 19 jun 2023 a las 15:21, JavierDebian 
(mailto:javier.debian.bb...@gmail.com>>) 
escribió:




El 19/6/23 a las 11:41, victor melendez escribió:
 > Buen dia manada, soy antiguo usuario y administrador de sistemas
basados
 > en debian, estoy acostumbrado a actualizar mis sistemas de dos
manera;
 >
 > A.) formatear e instalar desde un DvD o Pendrive, lo que llamamos
 > instalación limpia.
 >
 > B.) desde la terminal con la secuencia de comandos;
 > # apt update
 > # apt upgrade
 > # full-upgrade
 > Una vez actualizado el sistema procedo a editar el archivo
source.list
 > donde se cambia el nombre clave de la distro actual por LA
SIGUIENTE,
 > por ejemplo cambio jessie por stretch, después se ejecuta la
secuencia
 > de comandos;
 > # apt update
 > # apt upgrade
 > # full-upgrade
 >   Y con esto se actualiza desde Debian 8 a Debian 9.
 >
 > Me gustaría preguntar sí no sería una locura intentar el segundo
 > procedimiento, con la salvedad de que en vez de actualizar el
sistema a
 > una versión inmediata superior (desde Debian  8 a Debian 9) pretendo
 > cambiar mis repositorios desde Debian 8 a Debian 11, ¿que lesparese?

Buenas tardes.

Es una locura, como dices según tus palabras.
Ese salto amerita un instalación desde cero.
Hubo MUCHOS cambios de streetch a buster (9 a 10), sobre todo en lo que
hace a systemd.

https://www.debian.org/releases/buster/amd64/release-notes/ch-whats-new.en.html#newdistro
 


Aunque... qué es la vida sin locuras que generen adrenalina
Es más, para aumentar el sabor del riego, no hagas copias de seguridad
de tus datos...

Lo que no quiere decir que no se pueda hacer. La teórica
"compatibilidad
hacia atrás" debería permitirlo.

Sólo te recomendaría dos cosas:
1 - Sources list sólo a
deb https://debian.unnoba.edu.ar/debian/
 bullseye main contrib non-free
y más adelante agregaría el resto.

2 - Los comandos que usaría serían
# apt update
# apt upgrade
# reboot
# dist-upgrade

JAP


> Gracias por sus consejos, hoy en la tarde procederé a respaldar datos,
> esta noche intentaré el salto mortal.
>
>
>   JavierDebian
>
>   Respaldaré los datos de la partición Home, y la adrenalina la proveerá
> el hecho de que no se creará imagen del sistema, será todo o nada, ya
> les contaré los resultados, nuevamente gracias manada disfrute sus
> respuestas.
>
>

(Corrijo top-posting)

apt-mark showmanual > paq.txt

Con eso, listas lo instalado manualmente y se guarda en el archivo 
paq.txt, no las dependencias automáticas.


De esa forma, podés saber qué paquetes tenés en el sistema actual.

JAP



Re: Raspberry Pi Debian after upgrade Bullseye => Bookworm -- problem Setting up ca-certificates-java

2023-06-22 Thread Rick Thomas
Thanks, Jeff!

On Thu, Jun 22, 2023, at 12:04 AM, Jeffrey Walton wrote:
> On Thu, Jun 22, 2023 at 2:49 AM Rick Thomas  wrote:
 snip 
>> In this case, the package is already installed.
>> Unfortunately when I try to reinstall it, I get:
>>
>> rbthomas@pi:~$ sudo -i  apt-get install --reinstall ca-certificates-java
>> Reading package lists... Done
>> Building dependency tree... Done
>> Reading state information... Done
>> 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
>> 4 not fully installed or removed.
>> After this operation, 0 B of additional disk space will be used.
>> E: Internal Error, No file name for ca-certificates-java:arm64
>> rbthomas@pi:~$
>>
>> Any idea that that even means?
>
> I would probably try this next:
> sudo apt-get -f install && sudo dpkg -a --configure
> If that doesn't help, then I am out of ideas.

Sadly, that didn't work.
Do you (or anyone else on the list) have any idea what this message means?
"E: Internal Error, No file name for ca-certificates-java:arm64"

In particular, what directory might contain the file 
ca-certificates-java:arm64. And what does "no filename for..." mean in this 
context?

Thanks!
Rick



Re: Qemu Numeric Lock problem

2023-06-22 Thread Pierre Tomon
Alain Williams wrote:
>So: it seems that the state of the Num Lock key is not picked up by
>qemu.

In the virtualized environment I use:
setxkbmap -option numpad:mac



Re: package managers problem

2023-06-22 Thread gene heskett

On 6/21/23 18:45, David Wright wrote:

On Wed 21 Jun 2023 at 16:14:07 (-0400), gene heskett wrote some words.
In reply:

Eh? Can I remind you that the Escape key is not a shift key;
you just have to press the Escape key and /then/ the Zero key.

Cheers,
David.

.
Here, the esc key must be held while entering the 0, else it just show's 
a 0 in the command line box and doesn't exit.  This may be tied to 
whichever terminal is used for the default that mc opens in and the 
numpad 0 is the only one that works here. So it is still a two handed 
operation since they are about 16 inches apart on my keyboard. In my 
case the terminal is konsole.  But it is handier than grabbing a mouse, 
finding the button and clicking on it.  Thank you.


Cheers, Gene Heskett.
--
"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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: package managers problem

2023-06-22 Thread gene heskett

On 6/21/23 18:45, David Wright wrote:

On Wed 21 Jun 2023 at 16:14:07 (-0400), gene heskett wrote some words.
In reply:

Eh? Can I remind you that the Escape key is not a shift key;
you just have to press the Escape key and /then/ the Zero key.

Cheers,
David.


That could have been the sequence, thanks.

Cheers, Gene Heskett.
--
"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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



RE: Debian 12 - Migrer de 10 vers 12 ?

2023-06-22 Thread Frédéric BOITEUX
> A chaque mise à jour, j'écume les tutos pour savoir si la procédure n'aurait 
> pas changé ou s'il faut prévoir des choses parfois publiées.

S'il y a une doc à lire, c'est celle des Notes de publication de chaque 
nouvelle version Debian, qui détaille comment effectuer la migration vers cette 
nouvelle version. Pour Debian 12 Bookworm, elle se situe ici : 
https://www.debian.org/releases/stable/amd64/release-notes/index.fr.html

Cdlt,
Fred.



Re: Raspberry Pi Debian after upgrade Bullseye => Bookworm -- problem Setting up ca-certificates-java

2023-06-22 Thread Rick Thomas



On Wed, Jun 21, 2023, at 9:21 PM, Jeffrey Walton wrote:
> On Thu, Jun 22, 2023 at 12:15 AM Rick Thomas  wrote:
>>
>> I have a Raspberry Pi that is running Debian (*not* Raspbian) that I just 
>> upgraded from Bullseye => Bookworm.
>>
>> Following the upgrade whenever I try to install the latest upgrades, I get 
>> errors (see attached transcript).
>>
>> Can anybody see what I've done wrong?  Or what I can do to fix it?
>>
>> I'm not a java user myself, though I suspect there are java programs are 
>> used by programs that I use at the command-line level.   Would it be 
>> possible to simply "purge" the affected packages?
>>
>> Thanks for any help you can give me to get this machine back in operation!
>
> The first command I would run is:
>
>apt-get install ca-certificates-java
>
> If the package is already installed (I can't tell; it looks like
> install may have failed), then:
>
>apt-get install --reinstall ca-certificates-java
>
> If apt-get fails, then I would move on to dpkg.
>
> Jeff

Thanks, Jeff!
In this case, the package is already installed.
Unfortunately when I try to reinstall it, I get:

rbthomas@pi:~$ sudo -i  apt-get install --reinstall ca-certificates-java
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for ca-certificates-java:arm64
rbthomas@pi:~$ 

Any idea that that even means?

Thanks!
Rick



Re: Raspberry Pi Debian after upgrade Bullseye => Bookworm -- problem Setting up ca-certificates-java

2023-06-22 Thread Jeffrey Walton
On Thu, Jun 22, 2023 at 2:49 AM Rick Thomas  wrote:
>
> On Wed, Jun 21, 2023, at 9:21 PM, Jeffrey Walton wrote:
> > On Thu, Jun 22, 2023 at 12:15 AM Rick Thomas  wrote:
> >>
> >> I have a Raspberry Pi that is running Debian (*not* Raspbian) that I just 
> >> upgraded from Bullseye => Bookworm.
> >>
> >> Following the upgrade whenever I try to install the latest upgrades, I get 
> >> errors (see attached transcript).
> >>
> >> Can anybody see what I've done wrong?  Or what I can do to fix it?
> >>
> >> I'm not a java user myself, though I suspect there are java programs are 
> >> used by programs that I use at the command-line level.   Would it be 
> >> possible to simply "purge" the affected packages?
> >>
> >> Thanks for any help you can give me to get this machine back in operation!
> >
> > The first command I would run is:
> >
> >apt-get install ca-certificates-java
> >
> > If the package is already installed (I can't tell; it looks like
> > install may have failed), then:
> >
> >apt-get install --reinstall ca-certificates-java
> >
> > If apt-get fails, then I would move on to dpkg.
>
> Thanks, Jeff!
> In this case, the package is already installed.
> Unfortunately when I try to reinstall it, I get:
>
> rbthomas@pi:~$ sudo -i  apt-get install --reinstall ca-certificates-java
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
> 4 not fully installed or removed.
> After this operation, 0 B of additional disk space will be used.
> E: Internal Error, No file name for ca-certificates-java:arm64
> rbthomas@pi:~$
>
> Any idea that that even means?

I would probably try this next:

sudo apt-get -f install && sudo dpkg -a --configure

If that doesn't help, then I am out of ideas.

Jeff



Re: OFF TOPIC - openvpn en Debian 12 error

2023-06-22 Thread Camaleón
El 2023-06-21 a las 16:23 -0300, Marcelo Eduardo Giordano escribió:

> Amigos:
> 
> Usaba debian 11 con una VPN sin ningún problema. Realizo una instalación
> limpia de Debian 12 y ahora me sale esto
> 
> 2023-06-21 09:56:28 WARNING: Compression for receiving enabled. Compression
> has been used in the past to break encryption. Sent packets are not
> compressed unless "allow-compression yes" is also set.
> 2023-06-21 09:56:28 Note: --cipher is not set. OpenVPN versions before 2.5
> defaulted to BF-CBC as fallback when cipher negotiation failed in this case.
> If you need this fallback please add '--data-ciphers-fallback BF-CBC' to
> your config
> uration and/or add BF-CBC to --data-ciphers.
> 2023-06-21 09:56:28 OpenVPN 2.6.3 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO]
> [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] [DCO]
> 2023-06-21 09:56:28 library versions: OpenSSL 3.0.9 30 May 2023, LZO 2.10
> 2023-06-21 09:56:28 DCO version: N/A
> 2023-06-21 09:56:28 WARNING: No server certificate verification method has
> been enabled.  See http://openvpn.net/howto.html#mitm for more info.
> Enter Private Key Password: 
> 2023-06-21 09:56:33 WARNING: this configuration may cache passwords in
> memory -- use the auth-nocache option to prevent this
> 2023-06-21 09:56:33 TCP/UDP: Preserving recently used remote address:
> [AF_INET]xx
> 2023-06-21 09:56:33 UDPv4 link local: (not bound)
> 2023-06-21 09:56:33 UDPv4 link remote: [AF_INET] xx

Estos no parecen mensajes de error sino de notificación.

Parece que ha habido algunos cambios desde la versión 2.5, y te avisa 
por si quieres revisar la configuración actual.

> 2023-06-21 09:56:33 VERIFY ERROR: depth=0, error=CA signature digest
> algorithm too weak: C=AR, ST=MZ, L=Mendoza, O=DIC, CN=server,
> emailAddress=, serial=465

Quito la dirección IP y la dirección de correo electrónico por 
privacidad y seguridad. Gente, cuidado con lo que enviáis a la lista.

> 2023-06-21 09:56:33 OpenSSL: error:0A86:SSL routines::certificate verify
> failed
> 2023-06-21 09:56:33 TLS_ERROR: BIO read tls_read_plaintext error
> 2023-06-21 09:56:33 TLS Error: TLS object -> incoming plaintext read error
> 2023-06-21 09:56:33 TLS Error: TLS handshake failed
> 2023-06-21 09:56:33 SIGUSR1[soft,tls-error] received, process restarting
> ^C2023-06-21 09:56:34 SIGINT[hard,init_instance] received, process exiting
> 
> Alguna idea?

Estos mensajes con el certificado sí parecen de error.

A ver... Google tiene varios enlaces que hablan de este problema que 
te aparece en la nueva versión de OpenVPN.

Este creo que te podrá servir:

[SOLVED] OpenVPN - How to allow too weak certificate?
https://bbs.archlinux.org/viewtopic.php?id=281136

Saludos,

-- 
Camaleón 



Re: Restaurer complètement l'environnement "graphique" du bureau après un redémarrage

2023-06-22 Thread Michel Verdier
Le 21 juin 2023 roger tarani a écrit :

> A propos d'emacs, peux-tu donner un pointeur vers des ressources récentes pour
> configurer emacs de manière à retrouver un environnement qui offre les mêmes
> services que vscode (explorateur de fichiers, etc. etc. etc.). Après m'être
> mis à emacs, j'ai écumé des tonnes de ressources sur le net pour récupérer
> quelques recettes mais je suis tombé souvent sur des instructions
> contradictoires et des modules qui se marchaient dessus.

emacs à la base c'est un environnement complètement différent des
environnements graphiques type vscode basés sur menus et souris. Il ne
faut donc pas essayer de retrouver la même chose sinon tu seras déçu.
Il faut partir de chaque tâche que tu fais et trouver la manière la plus
efficace de la faire. Et là emacs surclasse tous les autres
environnements grâce aux hook que tu peux développer à ton goût. Les
seuls sites que je consulte c'est :
https://www.emacswiki.org/emacs/PlanDuSite
https://www.gnu.org/software/emacs/manual/

Voilà mes paquets debian installés :

ii  bbdb3 3.2.2b-1 
all  Reboot of the BBDB Insidious Big Brother Database for Emacs
ii  dh-elpa-helper2.0.16   
all  helper package for emacs lisp extensions
ii  elpa-notmuch  0.37-1   
all  thread-based email index, search and tagging (emacs interface)
ii  emacs 1:28.2+1-15  
all  GNU Emacs editor (metapackage)
ii  emacs-bin-common  1:28.2+1-15  
amd64GNU Emacs editor's shared, architecture dependent files
ii  emacs-common  1:28.2+1-15  
all  GNU Emacs editor's shared, architecture independent infrastructure
ii  emacs-el  1:28.2+1-15  
all  GNU Emacs LISP (.el) files
ii  emacs-lucid   1:28.2+1-15  
amd64GNU Emacs editor (with Lucid GUI support)
ii  emacsen-common3.0.5
all  Common facilities for all emacsen

Ensuite je charge des paquets emacs elpa et melpa mais pas pour la
programmation :

(setq package-archives
   '(("gnu" . "https://elpa.gnu.org/packages/;)
 ("melpa-stable" . "https://stable.melpa.org/packages/;)))

Et là il faut regarder mode par mode ce que tu veux faire. En se plaçant
sur une variable ou une fonction et en faisant respectivement ctrl-h v ou
ctrl-h f on peut naviguer dans la doc intégrée pour voir les ajustements
possibles. Et ctrl-h k pour voir l'action d'une touche (ou combinaison
de). Et il y a bien sûr le menu Options/Customize emacs très précieux
pour régler les choses. Voici mes modifications pour LaTeX et python :

(add-hook 'LaTeX-mode-hook
  '(lambda ()
 (local-set-key [f5] 'TeX-command-run-all)))

(add-hook 'python-mode-hook
  (lambda ()
(add-to-list 'write-file-functions 'delete-trailing-whitespace)
;;(setq indent-tabs-mode t) ;;  casse pylint
(setq tab-width 4)
(setq python-indent-offset 4)
(whitespace-mode)
(setq whitespace-style '(face tabs tab-mark trailing))
(custom-set-faces '(whitespace-tab ((t (:foreground "#636363")
(setq whitespace-display-mappings '((tab-mark 9 [124 9] [92 9])))
))

Pour les (nombreux) autres langages je n'ai rien fait de particulier. Et
à côté de ça j'utilise intensivement gnus pour les mails/news et orgmode
pour le reste :) Mais là pour ces 2 modes on sortirait largement du
sujet...