Re: GRUB -- Debian overrides? Or maybe I just don't understand it well...

2023-12-18 Thread Felix Miata
Mark Fletcher composed on 2023-12-18 20:36 (UTC):

> Can anyone explain why, and how I can fix this in a way that will
> still work the next time the bookworm kernel gets an update?

I can't answer why Grub scripts to what the do, because I don't really use them,
and don't need to understand much about them. Grub config files in /boot/grub/ 
are
akin to scripts, but they are really simple, mainly just command scripts. The
usual one is grub.cfg, the one os-prober feeds from other Linux installations. A
less common one is custom.cfg. To use it requires the admin build it. When it
exists, grub-mkconfig incorporates its use by/in grub.cfg. It actually gets 
called
by default from /etc/grub.d/41_custom, which adds the stanzas from it to the 
Grub
boot menu - after those that it has generated itself. I copy it to
/etc/grub.d/07_custom, and empty 41_custom. That causes my custom stanzas to
appear first in Grub's boot menu. /etc/grub.d/40_custom acts, and a copy of it 
as
06_custom would act, in similar fashion, except that the admin's custom stanzas
are put into it by the admin instead of into a custom.cfg file.

Thus, you, as admin, construct working stanzas however you like, with or without
UUIDS, with or without device names, with or without volume LABELS, however you
like boot to go, and they don't get changed, except by the admin - you. This is
easy, because you as admin can use the kernel (and initrd) symlinks Debian puts 
in
/, or anywhere you'd like symlinks to them to go, for distros that don't
automatically create them for you. There's no need for maintenance when new
kernels are installed in the case of Debian and other distros that automatically
generate new symlinks. For those that don't, creating them is trivial.


is a thread that goes through my UEFI system setups.
-- 
Evolution as taught in public schools is, like religion,
based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata



Re: GRUB -- Debian overrides? Or maybe I just don't understand it well...

2023-12-18 Thread Richmond
It's not ideal, but what I did when I had two disks and two operating
systems was I installed two grubs, one for each OS, one on each MBR. I
then used the BIOS menu to choose which disk to boot. This means each OS
updates its own grub instance.



GRUB -- Debian overrides? Or maybe I just don't understand it well...

2023-12-18 Thread Mark Fletcher
Hello

I need help with a problem configuring grub. My main OS on the system
concerned is bookworm (was probably originally installed as bullseye,
might even have been earlier, and then has been upgraded over the
years, now at bookworm). That system is the system that has installed
grub and grub's configuration gets updated whenever a kernel update
happens in the Debian stable ecosystem.

I have now set up an LFS (Linux from Scratch) installation on the same
box, on a brand new SSD installed into the machine for the purpose. So
I want to be able to dual-boot. I have been able to get a grub.cfg
including the LFS system but the root of the LFS system is being
specified by device name and that is a problem.

There are also a couple of existing, older SSDs in the machine, one of
which contains an older installation of Debian which I don't use any
more but haven't quite brought myself to delete (although will
eventually), and one is mounted as /opt in my main system.

Because I want to dual-boot with the LFS system I turned on the
os-prober in /etc/default/grub. Running update-grub then duly finds
the LFS system and sets up configuration in grub for it (it also finds
the old Debian system, which I'd prefer to keep out of grub but that's
not a big deal for now).

Both old and current Debian installations use LVM and initrd. The LFS
instance uses neither.

I just don't seem to be able to persuade update-grub to put
root=UUID= or root=PARTUUID= into the linux command line
for the LFS system. Because update-grub is going to be run every time
there is a kernel update in Debian, I need it to work and just
overriding it by hand isn't a solution.

Instead it is using root=/dev/sdX2. The problem is over the last few
boots I have seen the SSD containing the LFS system come up as
/dev/sda, /dev/sdb and on this boot now, /dev/sdc.

According to the grub-mkconfig documentation[1], if I make sure
GRUB_DISABLE_LINUX_UUID and GRUB_DISABLE_LINUX_PARTUUID are both set
to false, in the absence of an initrd it should use "root=PARTUUID=<>"
in the linux command line, but when I run update-grub that is not
happening, and the device identifier is being used instead.

Can anyone explain why, and how I can fix this in a way that will
still work the next time the bookworm kernel gets an update?

Thanks

Mark

[1] 
https://www.gnu.org/software/grub/manual/grub/html_node/Root-Identifcation-Heuristics.html#Root-Identifcation-Heuristics



Re: difference in seconds between two formatted dates ...

2023-12-18 Thread Greg Wooledge
On Mon, Dec 18, 2023 at 12:35:29PM -0600, David Wright wrote:
> OK, I tried running it (attached). What should it show?

That the OP is confused about many things.

> # date --help

No shebang.  But the script uses bash syntax.  When executed FROM BASH,
the script will "work" because bash will intercept the Exec format error
from the kernel and try again under a child bash shell.

When executing the "script" from any other parent, it will simply fail.
Either the kernel's Exec format error will be treated as a final, fatal
error, or it'll be retried under a child sh shell, which won't be able
to process the bashisms.

> if [[ $s00 -eq $ISeks00 ]]; then

This line is bash syntax, not sh.  Here's one of the places it'll fail
if not invoked from bash.

Also, this command is treating the contents of the s00 and ISeks00
variables as strings containing numbers, converting both to integers,
and doing an integer comparison on them.  That's fine since they both
came from date +%s, in theory, but it's not a habit one should generally
embrace when comparing command outputs.

Usually one would want a string comparison, which would be done with =
instead of -eq.

> dttm02ISeks="${dt02:0:4}-${dt02:4:2}-${dt02:6:2}T${dt02:8:2}:${dt02:10:2}:${dt02:12:2}+00:00"

More bash syntax.  Those string slicing expansions like ${dt02:0:4} are
not valid in sh.

It *looks* like this command is trying to take a date/time string in
one format, and convert it to a different format, and then append a
+00:00 time zone offset even though that's not the correct offset for
the author's time zone (as far as I know).

If the conversion is correct (apart from the tz offset), but the epoch
time that results is not correct, then it's very likely the +00:00
that's causing the failure.

I'm in America/New_York, and if I were to try something like this:

read -r s dt < <(date '+%s %Y-%m-%dT%H:%M:%S+00:00')
echo "$s"
date +%s -d"$dt"

I would expect the two numbers printed to be *different* from each other.
A date/time string generated in my time zone but with a forced +00:00
tz offset is simply incorrect, as it would be in most time zones in
the world.

Leaving off the +00:00 would allow it to work *most* of the time, with
the exceptions being the times during a daylight saving transition.

Skipping the date/time string and only using the +%s part would allow
it to work *all* of the time, possibly except for leap seconds (I'm
not up to speed on those).



Re: Copier un système (Debian) sur un disque plus grand.

2023-12-18 Thread Th.A.C
Il me semble qu'il y a une option dans clonezilla pour étendre 
automatiquement les partitions à la copie.


Gparted est très bien, mais il ne sait pas travailler avec du lvm.

Sinon, il faudrait nous donner au moins ton partitionnement pour se 
faire une meilleur idée.

Il y a des dizaines de possibilités d'agrandissement...

Thierry



Re: Perte de configuration RAID

2023-12-18 Thread Th.A.C

Bonjour,

je fais des bricoles sur des serveurs Dell, mais rien d'extraordinaire.

De mémoire, on ne recrée pas un raid, mais on l'importe (un truc dans le 
genre "... foreign ...").
En général, quand on démarre le serveur avec des disques inconnus, s'il 
voit un raid compatible, il propose de l'activer.


Quand on le recrée, il écrit des choses sur la grappe. S'il a écrasé les 
infos par les nouvelles du 3eme groupe que tu as créé, je ne sais pas ce 
que ca va donner (à mon avis les infos des précédentes configurations 
sont perdues)..


A tester:
https://www.reddit.com/r/sysadmin/comments/6ebol2/raid_configuration_and_virtual_drive_missing_from/



Autres piste de réflexion:

- tes 2 premiers raids étaient sur les mêmes disques ou sur des groupes 
de disques différents?
Si c'est sur les mêmes disques, as-tu bien remis les bonnes valeurs 
(taille, strip, dans le même ordre(raid 0 puis raid 5), ...).
Si tu es sur de n'avoir que recréé les raids sans initialisation, il 
faut retrouver les bonnes valeurs de config.
Et si tu es sur de toi, essaye 'testdisk'. Il propose de sauvegarder les 
données avant de faire des modifications.


- essaye de lire les disques en 'brut' avec un hexdump pour voir si les 
données sont toujours la.



Bon courage
Thierry



Re: difference in seconds between two formatted dates ...

2023-12-18 Thread David Wright
On Mon 18 Dec 2023 at 06:02:48 (+), Albretch Mueller wrote:
> On 12/18/23, David Wright  wrote:
> > Another problem in what you posted is that you sometimes run date
> > in your local timezone (generally for the "now" times), but you
> > append +00:00 as the timezone for those --date strings that you
> > construct from several substrings. You need to use UT throughout.
> 
>  What difference would that make when all I need is a time difference?
> The way I understand such time format issues is that it needs to just
> be the same in the two dates.
> 
> >> ANyway, my hack around it wasn't effortful at
> >> all.
> >
> > I don't know whether you're referring to something already posted,
> > or some new script written in the wake of what you've read here.
> 
>  That silly hack which lousy bash script I posted within its test case

OK, I tried running it (attached). What should it show?

Cheers,
David.
# date --help
set -x
date --version 2>&1 | head -n 1

s00=$(date +%s)
dt00=$(date +%Y%m%d%H%M%S)

dttm00ISeks="${dt00:0:4}-${dt00:4:2}-${dt00:6:2}T${dt00:8:2}:${dt00:10:2}:${dt00:12:2}+00:00"
ISeks00=$(date -d"${dttm00ISeks}" +%s)

if [[ $s00 -eq $ISeks00 ]]; then
echo "// __ \$ISeks00: |$ISeks00|, \$dttm00ISeks: |${dttm00ISeks}| 
conversion OK!"
else
echo "// __ \$s00: |$s00|, \$dt00: |${dt00}|"
echo "// __ \$ISeks00: |$ISeks00|, \$dttm00ISeks: |${dttm00ISeks}| 
conversion NOT OK!"
fi

# 63 weeks 5 days 11 hours 0 minutes et 43 seconds later
s02=$(( s00 + 63*7*24*60*60 + 5*24*60*60 + 11*60*60 + 0*60 + 43))

dt02=$(date --date @${s02} +%Y%m%d%H%M%S)
echo "// __ \$s02: |$s02|, \$dt02: |${dt02}|"

dttm02ISeks="${dt02:0:4}-${dt02:4:2}-${dt02:6:2}T${dt02:8:2}:${dt02:10:2}:${dt02:12:2}+00:00"
ISeks02=$(date -d"${dttm02ISeks}" +%s)

if [[ $s02 -eq $ISeks02 ]]; then
echo "// __ \$ISeks02: |$ISeks02|, \$dttm02ISeks: |${dttm02ISeks}| 
conversion OK!"
_diffs=$(( s02 - s00 ))
_diffISeks=$(( ISeks02 - ISeks00 ))
if [[ $_diffs -eq $_diffISeks ]]; then
echo "// __ differences also OK!"
else
echo "// __  differences NOT OK! \$_diffs: |$_diffs|, \$_diffISeks: 
|${_diffISeks}|"
fi
else
echo "// __ \$s02: |$s02|, \$dt02: |${dt02}|"
echo "// __ \$ISeks02: |$ISeks02|, \$dttm02ISeks: |${dttm02ISeks}| 
conversion NOT OK!"
fi

set +x
date (GNU coreutils) 8.32
// __ $s00: |1702924186|, $dt00: |20231218122946|
// __ $ISeks00: |1702902586|, $dttm00ISeks: |2023-12-18T12:29:46+00:00| 
conversion NOT OK!
// __ $s02: |1741498229|, $dt02: |20250308233029|
// __ $s02: |1741498229|, $dt02: |20250308233029|
// __ $ISeks02: |1741476629|, $dttm02ISeks: |2025-03-08T23:30:29+00:00| 
conversion NOT OK!
+ date --version
+ head -n 1
++ date +%s
+ s00=1702924186
++ date +%Y%m%d%H%M%S
+ dt00=20231218122946
+ dttm00ISeks=2023-12-18T12:29:46+00:00
++ date -d2023-12-18T12:29:46+00:00 +%s
+ ISeks00=1702902586
+ [[ 1702924186 -eq 1702902586 ]]
+ echo '// __ $s00: |1702924186|, $dt00: |20231218122946|'
+ echo '// __ $ISeks00: |1702902586|, $dttm00ISeks: |2023-12-18T12:29:46+00:00| 
conversion NOT OK!'
+ s02=1741498229
++ date --date @1741498229 +%Y%m%d%H%M%S
+ dt02=20250308233029
+ echo '// __ $s02: |1741498229|, $dt02: |20250308233029|'
+ dttm02ISeks=2025-03-08T23:30:29+00:00
++ date -d2025-03-08T23:30:29+00:00 +%s
+ ISeks02=1741476629
+ [[ 1741498229 -eq 1741476629 ]]
+ echo '// __ $s02: |1741498229|, $dt02: |20250308233029|'
+ echo '// __ $ISeks02: |1741476629|, $dttm02ISeks: |2025-03-08T23:30:29+00:00| 
conversion NOT OK!'
+ set +x


Re: Extraction de CD audio

2023-12-18 Thread Jean Bernon



> J'utilise abondamment sound juicer. Le problème est qu'il cherche les
> infos sur musicbrainz. S'il ne les trouve pas il renvoit le message
> qu'il
> n'arrive aps à lire le cd.

En effet, il commence par chercher les métadonnées sur MusicBrainz, mais s'il 
ne les trouve pas, il le dit et il lit bien les pistes en leur donnant des 
titres anonymes titre01, titre02 etc. et on peut les extraire (du moins ça se 
passe ainsi pour moi - Sound Juicer 3.38).

> Dans tous les cas j'utilise ensuite picard pour rajouter les infos
> musicbrainz.

Ensuite je récupère les métadonnées avec puddletag 

> L'autre problème de sound juicer est qu'il n'y a pas de réglage de la
> qualité de l'encodage. Du coup je l'ai recompilé pour obtenir une
> meilleure qualité. Si ça t'intéresse je te donne la marche à suivre.

Dans les préférences de Sound Juicer, on peut choisir le format de sortie et 
utiliser par exemple FLAC ou OGG qui assure une qualité correcte (FLAC est une 
compression sans aucune perte).



Re: Extraction de CD audio

2023-12-18 Thread l0f4r0
Hello,

J'ai numérisé toute ma CDthèque il y a 1an sous Bullseye via le programme ` 
abcde` (très pratique car autonome via un fichier de conf : tu rentres le CD, 
lances l'exécutable, vérifies les noms de pistes récupérées voire l'image 
d'illustration, puis l'outil gère toute la suite, piste par piste, avec 
d'éventuelles multiples transcodages au passage).

Mais, vu les retours des autres, pas certain de toute façon que la cause racine 
soit à chercher côté logiciel dans ton cas...

l0f4r0



{SOLVED] Re: Searching of files in plasma5?

2023-12-18 Thread Hans
Am Montag, 18. Dezember 2023, 17:05:27 CET schrieb Hans:
I am answering myself.

Deleted the whole database an recreated it. Now it is working again.

Looks like solved.

Sorry for the noise.

Have a nice day!

Hans

> Dear list,
> 
> I discovered, that the search function in Dolphin is not working. When
> searching for example for --> *.jpg  <-- , it is not finding any files,
> whilst kfind is finding more than 800 files.
> 
> Baloo search in settings is enabled and a baloo database is existent.
> 
> Anything else I missed and have to pay attention for?
> 
> Thanks for any feedback.
> 
> Best regards
> 
> Hans






Searching of files in plasma5?

2023-12-18 Thread Hans
Dear list,

I discovered, that the search function in Dolphin is not working. When 
searching for example for --> *.jpg  <-- , it is not finding any files, whilst 
kfind is finding more than 800 files.

Baloo search in settings is enabled and a baloo database is existent.

Anything else I missed and have to pay attention for?

Thanks for any feedback.

Best regards

Hans





Re : Extraction de CD audio

2023-12-18 Thread nicolas . patrois
On 18/12/2023 10:58:37, Olivier wrote:

> J'ai essayé avec Sound Juicer.
> Avec lui, sur une demie douzaine d'essais, j'observe qu'il n'arrive à
> lire ou extraire le contenu des CD que dans environ 50% des cas.

J’utilise XCFA qui permet de convertir en même temps dans un grand nombre de 
formats.

> 1. Par expérience, quelle est la cause la plus probable d'un échec ?
> Le lecteur de CD/DVD ? Le logiciel utilisé ? Les mesures de protection
> du CD ?

En plus de la liste fournie par Didier, j’ajoute :
- le CD muni de protections à la con, comme le SACD.

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? 
Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...



Re: Why is /var/lib/apt/lists not in /var/cache?

2023-12-18 Thread tomas
On Mon, Dec 18, 2023 at 09:05:22AM -0500, Stefan Monnier wrote:
> > I would imagine that it's due to the FHS (Filesystem Hierarchy Standard)
> > which defines what the various directories on a "typical Linux system" are
> > for. "man hier", for example, tells me that:
> >
> > * /var/cache - Data cached for programs.
> >
> > * /var/lib - Variable state information for programs.
> 
> These leave open the question of what "data cached for the program" mean
> and what "Variable state" means.
> 
> Another way to look at it is in terms of what it implies.
> For me, `/var/lib` data is data that is important to keep, e.g. data you
> definitely don't want to delete/lose without a very good reason, whereas
> `/var/cache` is data that's handy to have but not indispensable because
> we can reconstruct it (or something close enough) from other sources,
> which means that it doesn't have to be included in backups and it can
> be deleted if it strikes your fancy (typically when you're in urgent need
> of a tiny bit more disk space).

[...]

Most probably you are right, especially since TLDP only says you can
delete /var/cache's content safely across reboots [1]. The apt lists
will be regenerated after doing an apt-get update, so...

OTOH it'd be only a true-real-honestly-promised cache if every apt
command did an apt-get update whenever it found that file missing.

Cheers

[1] https://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/var.html
-- 
t


signature.asc
Description: PGP signature


Re: Why is /var/lib/apt/lists not in /var/cache?

2023-12-18 Thread Stefan Monnier
> I would imagine that it's due to the FHS (Filesystem Hierarchy Standard)
> which defines what the various directories on a "typical Linux system" are
> for. "man hier", for example, tells me that:
>
> * /var/cache - Data cached for programs.
>
> * /var/lib - Variable state information for programs.

These leave open the question of what "data cached for the program" mean
and what "Variable state" means.

Another way to look at it is in terms of what it implies.
For me, `/var/lib` data is data that is important to keep, e.g. data you
definitely don't want to delete/lose without a very good reason, whereas
`/var/cache` is data that's handy to have but not indispensable because
we can reconstruct it (or something close enough) from other sources,
which means that it doesn't have to be included in backups and it can
be deleted if it strikes your fancy (typically when you're in urgent need
of a tiny bit more disk space).

> system, so apt's state is more like the state of the repositories.

But both the "files that contain the list of .deb files" and "the .deb
files" are part of the state of the repositories :-)

Or, stated in another way, this way to look at the problem degenerates
into philosophical questions.  So I think the question "does it have
to be included in the backup" is a better guide.


Stefan



date can't parse its own output was: difference in seconds between two formatted dates ...)

2023-12-18 Thread tomas
On Mon, Dec 18, 2023 at 08:17:21AM -0500, Greg Wooledge wrote:
> On Mon, Dec 18, 2023 at 02:07:14PM +0100, to...@tuxteam.de wrote:
> > I'm still amazed the OP hasn't understood that "date" can output
> > custom formats -- and that it's not always possible to parse back
> > a date in some custom format into a meaningful timestamp.
> 
> unicorn:~$ date +"On this the %dth day of the %mth month of the year %Y 
> (Common Era), at %M minutes past the %Hth hour"
> On this the 18th day of the 12th month of the year 2023 (Common Era), at 15 
> minutes past the 08th hour
> unicorn:~$ date -d "$(date +"On this the %dth day of the %mth month of the 
> year %Y (Common Era), at %M minutes past the %Hth hour")"
> date: invalid date ‘On this the 18th day of the 12th month of the year 2023 
> (Common Era), at 15 minutes past the 08th hour’

How 'bout

  date -d $(date +"1582-10-08T12:31:19")

...then you'd have to have a stern talk with old Gregor ;-D

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: difference in seconds between two formatted dates ...

2023-12-18 Thread Greg Wooledge
On Mon, Dec 18, 2023 at 02:07:14PM +0100, to...@tuxteam.de wrote:
> I'm still amazed the OP hasn't understood that "date" can output
> custom formats -- and that it's not always possible to parse back
> a date in some custom format into a meaningful timestamp.

unicorn:~$ date +"On this the %dth day of the %mth month of the year %Y (Common 
Era), at %M minutes past the %Hth hour"
On this the 18th day of the 12th month of the year 2023 (Common Era), at 15 
minutes past the 08th hour
unicorn:~$ date -d "$(date +"On this the %dth day of the %mth month of the year 
%Y (Common Era), at %M minutes past the %Hth hour")"
date: invalid date ‘On this the 18th day of the 12th month of the year 2023 
(Common Era), at 15 minutes past the 08th hour’

WHAT DO YOU MEAN INVALID DATE, YOU JUST PRODUCED IT!!

Yeah, I know, it's ridiculous... but this seems to be the level of
discourse required to get through to Albretch.



Winbind, wrong user mappings...

2023-12-18 Thread nimrod
Hi,

apparently all of a sudden a member server running Debian Buster with
Winbind in an Active Directory environment started to map the domain
users in a weird way.

Many users and group seem to have two or more names, but the same id.
But this is a problem when users try to access, because it seems they
are recognized with their right name, but the server seems instead to
expect a different wrong name.

I tried to delete /var/cache/samba/netsamlogon_cache.tdb and restart
winbind, with no improvements.

What the hell could have happened?

Best regards.


Re: difference in seconds between two formatted dates ...

2023-12-18 Thread tomas
On Mon, Dec 18, 2023 at 07:16:25AM -0500, Greg Wooledge wrote:

[...]

> If you wreck this by putting the wrong timezone offset on your
> human-readable times [...]

If you lie about your time zone you might come in too late for
your train :-)

> In addition to that, a case has already been shown where your chosen
> format, with or without a fixed timezone offset, is ambiguous -- it
> could refer to two different times.  This is an issue everywhere
> daylight saving time is used.  It's rare, but it's real.

I'm still amazed the OP hasn't understood that "date" can output
custom formats -- and that it's not always possible to parse back
a date in some custom format into a meaningful timestamp.

For an extreme case, just try

  date +"This is not a date"

(with a tip o' the hat to René Magritte). For a less extreme example

  date +"%H:%M:%S"

(I use that every minute in my digital clock display).

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: difference in seconds between two formatted dates ...

2023-12-18 Thread Greg Wooledge
On Mon, Dec 18, 2023 at 06:02:48AM +, Albretch Mueller wrote:
> On 12/18/23, David Wright  wrote:
> > Another problem in what you posted is that you sometimes run date
> > in your local timezone (generally for the "now" times), but you
> > append +00:00 as the timezone for those --date strings that you
> > construct from several substrings. You need to use UT throughout.
> 
>  What difference would that make when all I need is a time difference?
> The way I understand such time format issues is that it needs to just
> be the same in the two dates.

The only advantage of storing timestamps in a human-readable format
would be that you, the human, can read them and know what they mean.

If you wreck this by putting the wrong timezone offset on your
human-readable times, then they're no longer human-readable.  So there
is literally NO point in doing all this stupidly difficult formatting and
parsing work, when you could just use seconds-since-epoch format instead.

In addition to that, a case has already been shown where your chosen
format, with or without a fixed timezone offset, is ambiguous -- it
could refer to two different times.  This is an issue everywhere
daylight saving time is used.  It's rare, but it's real.



Re: Extraction de CD audio

2023-12-18 Thread Christophe Maquaire
Le lundi 18 décembre 2023 à 10:58 +0100, Olivier a écrit :
> Bonjour,
> 
Bonjour,
> J'ai un PC sous Bullseye/Gnome (je compte bientôt le remplacer par un
> autre sous Bookworm) avec un lecteur externe de CD/DVD connecté par
> USB.
> 
> J'ai décidé il y quelques jours de numériser ma collection de CD
> audio, chose que je n'avais pas essayé depuis plusieurs années.
> 
> J'ai essayé avec Sound Juicer.

> Avec lui, sur une demie douzaine d'essais, j'observe qu'il n'arrive à
> lire ou extraire le contenu des CD que dans environ 50% des cas.
> 
> 1. Par expérience, quelle est la cause la plus probable d'un échec ?
> Le lecteur de CD/DVD ? Le logiciel utilisé ? Les mesures de
> protection
> du CD ?
> 
> 2. Existe-t-il un logiciel disponible (CLI ou GUI) sur Bullseye (ou
> Bookworm) qui change sensiblement ce taux de lecture ?
> 
J'utilise ripperX dans ce cas depuis plusieurs années; qui lui même
emploie cdparanoia.
Il faut juste veiller à lui donner une adresse de base de données de cd
valide, c'est plus pratique... la dernière en date:
http://gnudb.gnudb.org/~cddb/cddb.cgi


> Slts
> 
Christophe



Re: Extraction de CD audio

2023-12-18 Thread Bureau LxVx

Bonjour à tous,

J'utilise free:ac qui fait très bien le boulot :-D
https://www.lesnumeriques.com/telecharger/fre-ac-free-audio-converter-bonkenc-53292

Belle journée

Sylvie

Le 18/12/2023 à 12:48, Michel Verdier a écrit :

Le 18 décembre 2023 Olivier a écrit :


J'ai essayé avec Sound Juicer.
Avec lui, sur une demie douzaine d'essais, j'observe qu'il n'arrive à
lire ou extraire le contenu des CD que dans environ 50% des cas.

1. Par expérience, quelle est la cause la plus probable d'un échec ?
Le lecteur de CD/DVD ? Le logiciel utilisé ? Les mesures de protection
du CD ?

J'utilise abondamment sound juicer. Le problème est qu'il cherche les
infos sur musicbrainz. S'il ne les trouve pas il renvoit le message qu'il
n'arrive aps à lire le cd.


2. Existe-t-il un logiciel disponible (CLI ou GUI) sur Bullseye (ou
Bookworm) qui change sensiblement ce taux de lecture ?

Je fais tout avec sound juicer et pour ceux qu'il refuse j'utilise
asunder.

Dans tous les cas j'utilise ensuite picard pour rajouter les infos
musicbrainz.

L'autre problème de sound juicer est qu'il n'y a pas de réglage de la
qualité de l'encodage. Du coup je l'ai recompilé pour obtenir une
meilleure qualité. Si ça t'intéresse je te donne la marche à suivre.



Re: Extraction de CD audio

2023-12-18 Thread Michel Verdier
Le 18 décembre 2023 Olivier a écrit :

> J'ai essayé avec Sound Juicer.
> Avec lui, sur une demie douzaine d'essais, j'observe qu'il n'arrive à
> lire ou extraire le contenu des CD que dans environ 50% des cas.
>
> 1. Par expérience, quelle est la cause la plus probable d'un échec ?
> Le lecteur de CD/DVD ? Le logiciel utilisé ? Les mesures de protection
> du CD ?

J'utilise abondamment sound juicer. Le problème est qu'il cherche les
infos sur musicbrainz. S'il ne les trouve pas il renvoit le message qu'il
n'arrive aps à lire le cd.

> 2. Existe-t-il un logiciel disponible (CLI ou GUI) sur Bullseye (ou
> Bookworm) qui change sensiblement ce taux de lecture ?

Je fais tout avec sound juicer et pour ceux qu'il refuse j'utilise
asunder.

Dans tous les cas j'utilise ensuite picard pour rajouter les infos
musicbrainz.

L'autre problème de sound juicer est qu'il n'y a pas de réglage de la
qualité de l'encodage. Du coup je l'ai recompilé pour obtenir une
meilleure qualité. Si ça t'intéresse je te donne la marche à suivre.



Re: Extraction de CD audio

2023-12-18 Thread r...@numbaie.ca
Bonjour
Essaie avec asunder. Chez moi ça fait bien le boulot.
Roger

Le 18 décembre 2023 04 h 58 min 37 s HNE, Olivier  a écrit :
>Bonjour,
>
>J'ai un PC sous Bullseye/Gnome (je compte bientôt le remplacer par un
>autre sous Bookworm) avec un lecteur externe de CD/DVD connecté par
>USB.
>
>J'ai décidé il y quelques jours de numériser ma collection de CD
>audio, chose que je n'avais pas essayé depuis plusieurs années.
>
>J'ai essayé avec Sound Juicer.
>Avec lui, sur une demie douzaine d'essais, j'observe qu'il n'arrive à
>lire ou extraire le contenu des CD que dans environ 50% des cas.
>
>1. Par expérience, quelle est la cause la plus probable d'un échec ?
>Le lecteur de CD/DVD ? Le logiciel utilisé ? Les mesures de protection
>du CD ?
>
>2. Existe-t-il un logiciel disponible (CLI ou GUI) sur Bullseye (ou
>Bookworm) qui change sensiblement ce taux de lecture ?
>
>Slts
>

-- Envoyé depuis /e/OS Mail.

Re: Extraction de CD audio

2023-12-18 Thread didier gaumet

Le 18/12/2023 à 10:58, Olivier a écrit :
[...]

1. Par expérience, quelle est la cause la plus probable d'un échec ?
Le lecteur de CD/DVD ? Le logiciel utilisé ? Les mesures de protection
du CD ?

[...]

Bonjour,

dans le désordre, pour les causes matérielles:
- des CD sales ou rayés
- des CD gravés (et non pas des CD pressés) qui se dégradent suivant la 
qualité du support après quelques mois ou quelques années
- le lecteur CD qui vieillit mal et refuse de lire, partiellemet ou 
totalement
- de la condensation qui s'est formée sur la lentille du lecteur CD (un 
coup de sèche-cheveux dans le lecteur, trappe ouverte, sur la lentille 
peut peut-être aider)

- la lentille sale à l'intérieur du lecteur.
- le câble USB du lecteur CD défectueux (essayer avec un autre)

ça fait très longtemps que je n'ai plus extrait de CD audio et les 
ressources matérielles des PC actuels sont bien supérieures à celles 
d'avant, mais autrefois fallait aussi faire gaffe à la charge CPU à 
alléger (pas d'autres applis en même temps) pendant l'extraction.
ça dépend aussi de l'encodage de sortie (WAV consomme moins vu qu'il y a 
extraction mais pas codage ensuite).


Et sinon en GUI je me souviens avoir utilisé Asunder en remplacement de 
Sound-Juicer.
En CLI avec cdparanoia on peut paramétrer plus finement (Asunder utilise 
cdparanoia mais sans possibilité de paramétrer finement, je viens de 
regarder)




Re: Extraction de CD audio

2023-12-18 Thread Jean Bernon


J'utilise Sound Juicer depuis longtemps, aujourd'hui sous Bookworm, mais 
auparavant sous Bullseye, avec un lecteur de CD/DVD intégré à mon laptop. Je ne 
rencontre pas de difficulté. Quels CD ne peux-tu pas extraire ? 

> Bonjour,

> J'ai un PC sous Bullseye/Gnome (je compte bientôt le remplacer par un
> autre sous Bookworm) avec un lecteur externe de CD/DVD connecté par
> USB.

> J'ai décidé il y quelques jours de numériser ma collection de CD
> audio, chose que je n'avais pas essayé depuis plusieurs années.

> J'ai essayé avec Sound Juicer.
> Avec lui, sur une demie douzaine d'essais, j'observe qu'il n'arrive à
> lire ou extraire le contenu des CD que dans environ 50% des cas.

> 1. Par expérience, quelle est la cause la plus probable d'un échec ?
> Le lecteur de CD/DVD ? Le logiciel utilisé ? Les mesures de
> protection
> du CD ?

> 2. Existe-t-il un logiciel disponible (CLI ou GUI) sur Bullseye (ou
> Bookworm) qui change sensiblement ce taux de lecture ?

> Slts



Re: Perte de configuration RAID

2023-12-18 Thread didier gaumet

Le 18/12/2023 à 10:47, David BERCOT a écrit :

Bonjour Didier,

Je te remercie pour ton mail mais tu cibles ici l'utilisation d'une 
solution RAID logicielle avec Mdadm.

Me concernant, il s'agit de RAID matériel avec une carte spécifique.

Mais je vais quand même regarder au cas où il y aurait quelque chose à 
prendre...


Déjà que j'y connais rien, si en plus je lis mal ton pessage, t'es pas 
sortie de l'auberge. Désolé :-)


une autre recherche sur "Dell PERC H330 linux raid metadata recovery" 
renvoie quelques éléments, dont le manuel utilisateur Dell de la carte, 
l'info que des zones de l'UEFI sont dédiées à l'exploitation de la 
carte, qu'on peut installer un truc qui se'appelle PERC Cli sous Linux 
pour gérer la carte en ligne de commande, etc... (j'ai pas creusé):

https://duckduckgo.com/?t=ftsa=Dell+PERC+H330+linux+raid+metadata+recovery=web

Bonne chance :-)




Extraction de CD audio

2023-12-18 Thread Olivier
Bonjour,

J'ai un PC sous Bullseye/Gnome (je compte bientôt le remplacer par un
autre sous Bookworm) avec un lecteur externe de CD/DVD connecté par
USB.

J'ai décidé il y quelques jours de numériser ma collection de CD
audio, chose que je n'avais pas essayé depuis plusieurs années.

J'ai essayé avec Sound Juicer.
Avec lui, sur une demie douzaine d'essais, j'observe qu'il n'arrive à
lire ou extraire le contenu des CD que dans environ 50% des cas.

1. Par expérience, quelle est la cause la plus probable d'un échec ?
Le lecteur de CD/DVD ? Le logiciel utilisé ? Les mesures de protection
du CD ?

2. Existe-t-il un logiciel disponible (CLI ou GUI) sur Bullseye (ou
Bookworm) qui change sensiblement ce taux de lecture ?

Slts



RE: Perte de configuration RAID

2023-12-18 Thread David BERCOT

Bonjour Didier,

Je te remercie pour ton mail mais tu cibles ici l'utilisation d'une 
solution RAID logicielle avec Mdadm.

Me concernant, il s'agit de RAID matériel avec une carte spécifique.

Mais je vais quand même regarder au cas où il y aurait quelque chose à 
prendre...


Bien cordialement,

David.

 Message d'origine 
Objet : Perte de configuration RAID
Date : lundi 18 décembre 2023 à 10:29 UTC+1
De : didier gaumet 
Pour : debian-user-french@lists.debian.org

Le 18/12/2023 à 10:08, David BERCOT a écrit :
[...]
J'ai voulu créer un 3ème groupe RAID et, au moment d'appliquer la 
configuration, le système a supprimé mes 2 premiers groupes !!!
Je les ai re-créés mais, malheureusement, il ne retrouve pas ses 
petits (et ne boote même pas sur Debian).

Manifestement, les meta-données ne sont pas les bonnes...

[...]

Merci d'avance, même pour de simples pistes...


Bonjour,

Je n'y connais rien et je n'ai jamais pratiqué le RAID, donc je ne 
réponds que parce que tu es prêt à te satisfaire de simples pistes :-)


Une recherche (ici sur duckduckgo mais on peut chercher ailleurs) avec 
l'expression "linux raid metadata recovery" renvoie quelques pistes qui 
ont l'air (de loin, vu mon niveau sur la question, et je n'ai survolé 
que les cinq premières réponses) intéressantes:

https://duckduckgo.com/?q=linux+raid+metadata+recovery=ftsa=web





Re: Why is /var/lib/apt/lists not in /var/cache?

2023-12-18 Thread Darac Marjal


On 16/12/2023 15:59, Stefan Monnier wrote:

AFAICT, all of `/var/lib/apt/lists` is made of files fetched from
repositories, which APT will re-fetch if missing.
So, it sounds to me like it belongs in `/var/cache/apt/lists`, really.
What am I missing?  Or is it just a historical accident?


 Stefan "whose `/var/lib/apt/lists` is a symlink into /`var/cache`"


I would imagine that it's due to the FHS (Filesystem Hierarchy Standard) 
which defines what the various directories on a "typical Linux system" 
are for. "man hier", for example, tells me that:


* /var/cache - Data cached for programs.

* /var/lib - Variable state information for programs.

So, apt seems to be doing the right thing here. /var/cache is where the 
cached packages are stores, but /var/lib is where the state of the 
repositories is stored. Admittedly, the state of the repositories is 
cached information, but recall that apt is essentially just a network 
fetcher/cacher. dpkg would be the ultimate arbiter of the state of the 
system, so apt's state is more like the state of the repositories.




OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: Perte de configuration RAID

2023-12-18 Thread didier gaumet

Le 18/12/2023 à 10:08, David BERCOT a écrit :
[...]
J'ai voulu créer un 3ème groupe RAID et, au moment d'appliquer la 
configuration, le système a supprimé mes 2 premiers groupes !!!
Je les ai re-créés mais, malheureusement, il ne retrouve pas ses petits 
(et ne boote même pas sur Debian).

Manifestement, les meta-données ne sont pas les bonnes...

[...]

Merci d'avance, même pour de simples pistes...


Bonjour,

Je n'y connais rien et je n'ai jamais pratiqué le RAID, donc je ne 
réponds que parce que tu es prêt à te satisfaire de simples pistes :-)


Une recherche (ici sur duckduckgo mais on peut chercher ailleurs) avec 
l'expression "linux raid metadata recovery" renvoie quelques pistes qui 
ont l'air (de loin, vu mon niveau sur la question, et je n'ai survolé 
que les cinq premières réponses) intéressantes:

https://duckduckgo.com/?q=linux+raid+metadata+recovery=ftsa=web



Perte de configuration RAID

2023-12-18 Thread David BERCOT

Bonjour,

Le sujet n'est pas directement lié à Debian mais je tente ma chance en 
me disant qu'il y a sûrement des personnes sur cette liste qui ont 
l'expérience ad hoc.
Si vous pensez que c'est trop hors-sujet, n'hésitez pas à revenir vers 
moi en direct pour ne pas polluer la liste...


Donc, sur un serveur (Dell PowerEdge R540 avec carte PERC H330), j'avais 
la configuration suivante :

- groupe RAID0 : Debian
- groupe RAID5 : données
J'ai voulu créer un 3ème groupe RAID et, au moment d'appliquer la 
configuration, le système a supprimé mes 2 premiers groupes !!!
Je les ai re-créés mais, malheureusement, il ne retrouve pas ses petits 
(et ne boote même pas sur Debian).

Manifestement, les meta-données ne sont pas les bonnes...

A priori, les disques n'ont pas été touchés et j'espère donc que tout 
est toujours là, notamment sur le second groupe (sur le premier, je 
pourrai toujours ré-installer Debian).


Est-ce que vous avez déjà fait face à une situation de ce type et trouvé 
une solution pour vous en sortir ?


Merci d'avance, même pour de simples pistes...

David.

Re: Debian en HP Envy

2023-12-18 Thread José Luis Triviño Rodriguez



El 17/12/23 a las 21:35, martin ayos escribió:

  Saludos a todos. He heredado una HP Envy con I7 SSD y varios chiches
más, gracias a que al dueño se le quebró parte del monitor y ya no la
quiere. En fin, la consulta es la siguiente: estuve buscando en la web
qué tal va la compatibilidad con debian (es el SO que uso hace años y
no quisiera cambiarme) y encontré muy poco. Lo que leí es que con Arch
va bien. La probé con un live cd de Ubuntu y funciona. Alguien tiene
Debian instalado en alguna máquina similar? Me serviría mucho si
pueden orientarme. Muchas gracias.



Buenos días,

oYo tengo un portátil HP Envy 15 con i7. He probado varias 
distribuciones: Ubuntu, Debian, Mint y CentOs. Al final me decidí por 
Fedora. Mi preferencia era Debian. Que lo llevo usando años en todos mis 
ordenadores. Pero casi todas me daban más problemas que Fedora para 
hacer funcionar el modo tablet y gestionas bien el giro de pantalla.


Lo que no funciona son los altavoces internos. Hay un parche por ahí 
pero era para el kernel 6.2 y a partir del 6.4 o así dejó de funcionar. 
Fedora ahora va por el kernel 6.6.


Saludos,

--
José L. Triviño-Rodriguez
Dept. Languages and Computer Sciences
University of Málaga