grub-install Cannot find a GRUB drive for /dev/sdXY

2021-09-14 Thread Musbur

Hello,

I somehow managed to screw up my /boot partition. Now I'm trying to 
re-install it by booting from a Debian installer stick. After network 
configuration, I do this:


1) Mount the root partition at /
2) # for s in dev sys proc; do mount --bind /$s /mnt/$s; done
3) # mount --bind /etc/resolv.conf /mnt/etc/resolv.conf
4) # chroot /mnt
5) mount /dev/sda2 /boot

Now I'm in my "full" Debian system. Next:
# grub-install /dev/sda2
# apt install [linux kernel]
# update-grub
Error: Cannot find GRUB drive for /dev/sda2

I tried both the grub-pc as well as the grub-efi versions. I don't 
really know what the difference is and how it works, but with EFI I get 
a similar error (something like EFI directory not found)


BTW /dev/sda is an external SSD connected via USB3. I've been using this 
setup for years to boot my employer's company Windows laptop as my 
private Linux machine (not touching the internal SSD at all). It stopped 
working from one day to the next, no idea why.


I've searched the Internet up and down for the error message, but I 
couldn't find anything useful.




Drivers tarjeta de red

2021-09-14 Thread miguel cardozo
Buen dia,

instale linux debian 11 version full pero no funcionan los drivers de red,
me pueden colaborar por favor que puedo hacer o a quien me debo dirigir,
mi nombre es miguel cardozo y soy nuevo con el manejo del SO.

Gracias.


Re: Package priority puzzlement

2021-09-14 Thread The Wanderer
On 2021-09-14 at 18:56, craig duncan wrote:

> I just installed Bullseye after -- as a long-time Debian user -- having 
> had my hard drive corrupted by USB devices.
> I used to run testing, so i thought i would get there, but first i 
> wanted to install the apps i wanted, get things working, and then 
> migrate to testing.
> During the install, i also enabled security-updates.  In fact, i added 
> both sid and testing to my sources.list (after booting into new install).
> 
> I'm seeing some strange behavior which i cannot figure out when i go to 
> upgrade or add packages... best demonstrated by the particular cases i 
> am puzzling over.

>> # aptitude why libidn12
>> i   gimp   Depends libgs9 (>= 8.61.dfsg.1)
>> p A libgs9 Depends libidn12 (>= 1.13)
> 
>> # apt-cache policy libgs9
>> libgs9:
>>   Installed: 9.53.3~dfsg-7+deb11u1
>>   Candidate: 9.53.3~dfsg-8
>>   Version table:
>>  9.53.3~dfsg-8 500
>> 500 http://deb.debian.org/debian sid/main amd64 Packages
>>  *** 9.53.3~dfsg-7+deb11u1 500
>> 500 http://security.debian.org/debian-security 
>> bullseye-security/main amd64 Packages
>> 100 /var/lib/dpkg/status
>>  9.53.3~dfsg-7+b1 500
>> 500 http://deb.debian.org/debian testing/main amd64 Packages
>>  9.53.3~dfsg-7 990
>> 990 http://deb.debian.org/debian bullseye/main amd64 Packages

> So, libidn11 is currently installed as a dependency of libgs9 from the 
> security source.  But it wants to install libidn12, because it's going 
> to install libgs9 from sid!

Notice that the currently-installed version of libgs9 is from
bullseye-security/main, which has a priority of 500.

sid also has a priority of 500, and the libgs9 package available in sid
has a higher version.

Since the priority of the higher-version package is not lower than that
of the currently-installed package, apt decides it's OK to upgrade.

This strikes me as perfectly fine. If you don't want it to happen, just
adjust the relative priorities of those two repositories.

> The other package it wanted to "upgrade" shows a similar issue:
> 
>> # why libbotan-2-18
>> ___
>> aptitude why...

This invocation and output isn't a pattern I'm familiar with; is it a
tool I just don't happen to have installed, or is it a local script or
similar that you have in place?

>> i   lxdeSuggests libreoffice
>> p   libreoffice Suggests firefox-esr | thunderbird | firefox
>> p   thunderbird Depends  libbotan-2-18 (>= 2.18.1+dfsg)
> 
>> # why libbotan-2-17
>> ___
>> aptitude why...
>> iB  thunderbird Depends libbotan-2-17 (>= 2.17.3+dfsg)
> 
> Why is this broken?  I installed thunderbird from testing, it was 
> broken, reinstalled what had been originally installed, from security... 
> all broken.

I'm not sure I see what's broken about the above; what I see there looks
just fine.

> It *works* perfectly fine.
> 
>> # apt-cache policy thunderbird
>> thunderbird:
>>   Installed: 1:78.14.0-1~deb11u1
>>   Candidate: 1:78.14.0-1
>>   Version table:
>>  1:78.14.0-1 500
>> 500 http://deb.debian.org/debian sid/main amd64 Packages
>>  *** 1:78.14.0-1~deb11u1 500
>> 500 http://security.debian.org/debian-security 
>> bullseye-security/main amd64 Packages
>> 100 /var/lib/dpkg/status
>>  1:78.13.0-1 500
>> 500 http://deb.debian.org/debian testing/main amd64 Packages
>>  1:78.12.0-1 990
>> 990 http://deb.debian.org/debian bullseye/main amd64 Packages

Again, you'll notice that the installed package version is from
bullseye-security/main and has priority 500, which is the same priority
as the newer-version package available from sid.

>> # apt-cache policy libbotan-2-17
>> libbotan-2-17:
>>   Installed: 2.17.3+dfsg-2
>>   Candidate: 2.17.3+dfsg-2
>>   Version table:
>>  2.17.3+dfsg-3 500
>> 500 http://deb.debian.org/debian testing/main amd64 Packages
>> 500 http://deb.debian.org/debian sid/main amd64 Packages
>>  *** 2.17.3+dfsg-2 990
>> 990 http://deb.debian.org/debian bullseye/main amd64 Packages
>> 100 /var/lib/dpkg/status
> 
>> # apt-cache policy libbotan-2-18
>> libbotan-2-18:
>>   Installed: (none)
>>   Candidate: 2.18.1+dfsg-3
>>   Version table:
>>  2.18.1+dfsg-3 500
>> 500 http://deb.debian.org/debian testing/main amd64 Packages
>> 500 http://deb.debian.org/debian sid/main amd64 Packages

In order to satisfy the dependencies of the newer same-priority package
(thunderbird), apt is willing to install another package of that same
priority (libbotan-2-18) at the expense of a higher-priority package
(libbotan-2-17) which is no longer needed by the newer thunderbird
version.

(Honestly, I wouldn't be surprised if the priorities didn't have
anything to do with it by the time we get down to this package, and the
satisfying of dependencies for the other packages which are already
going to be upgraded were the only factor.)

> Again, it's trying to install 

Re: LTS versions - confusion

2021-09-14 Thread The Wanderer
On 2021-09-14 at 16:33, Tanstaafl wrote:

> On 9/13/2021 11:02 AM, Brian wrote
> 
>> On Mon 13 Sep 2021 at 10:18:54 -0400, Tanstaafl wrote:
>> 
>>> Hello,
>>> 
>>> So, I'm considering Debian for a new homebrew MX gateway I want
>>> to set up, but it depends...
>>> 
>>> I'm a former Gentoo user, and really appreciated the rolling
>>> release aspect, since it meant no huge jumps between LTS releases
>>> with other distros.
>> 
>> About the closest in Debian to this concept is the unstable 
>> distribution (sid).
> 
> Hmmm... ok, so, I could run sid 'forever', as long as I keep it
> updated regularly?

In theory you could, but in practice it would break well before that.

I used to track sid on my primary computer; the system developed warts
and instabilities under my feet, became partly broken and if not
irreparable then at least more trouble to repair than the benefit would
have been worth, and drove me to build a replacement computer to migrate
away from the broken setup.

The guiding principle of running a system that tracks sid is "if it
breaks, you get to keep all the pieces".

It is NEVER advisable to track sid on a computer you're not willing to
blow away and reinstall on demand if necessary. (As distinct from
installing specific selected packages from sid on a case-by-case basis -
but be careful even about that, as the dependencies of those packages
might pull in enough other things to lead to a hybrid Debian system and
potentially break things.)

I would advise against tracking sid on any computer other than one
you're running specifically to contribute to the process of testing the
contents of sid before they migrate into testing.

> Anyone do this for important (maybe not 'mission critical') servers?

I certainly hope not. (And am mildly horrified that someone who posts as
much good advice here as I believe I've seen from Brian has said that he
does.)

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


Package priority puzzlement

2021-09-14 Thread craig duncan
I just installed Bullseye after -- as a long-time Debian user -- having 
had my hard drive corrupted by USB devices.
I used to run testing, so i thought i would get there, but first i 
wanted to install the apps i wanted, get things working, and then 
migrate to testing.
During the install, i also enabled security-updates.  In fact, i added 
both sid and testing to my sources.list (after booting into new install).


I'm seeing some strange behavior which i cannot figure out when i go to 
upgrade or add packages... best demonstrated by the particular cases i 
am puzzling over.

First:


cat /etc/apt/apt.conf
APT::Default-Release "stable";
And there are 9 pre-installed scripts in /etc/apt/apt.conf.d that i 
don't believe are relevant to any of this.


So, when i do: "aptitude safe-upgrade":


The following NEW packages will be installed:
  libbotan-2-18{a} libidn12{a}
The following packages will be REMOVED:
  libbotan-2-17{u}
The following packages will be upgraded:
  libgs9 libgs9-common libperl5.32 libssh-gcrypt-4 openssl perl perl-base
  perl-modules-5.32 thunderbird
9 packages upgraded, 2 newly installed, 1 to remove and 1 not upgraded.
Need to get 13.0 MB/57.1 MB of archives. After unpacking 252 kB will 
be used.

Do you want to continue? [Y/n/?]




# aptitude why libidn12
i   gimp   Depends libgs9 (>= 8.61.dfsg.1)
p A libgs9 Depends libidn12 (>= 1.13)




# apt-cache policy libgs9
libgs9:
  Installed: 9.53.3~dfsg-7+deb11u1
  Candidate: 9.53.3~dfsg-8
  Version table:
 9.53.3~dfsg-8 500
    500 http://deb.debian.org/debian sid/main amd64 Packages
 *** 9.53.3~dfsg-7+deb11u1 500
    500 http://security.debian.org/debian-security 
bullseye-security/main amd64 Packages

    100 /var/lib/dpkg/status
 9.53.3~dfsg-7+b1 500
    500 http://deb.debian.org/debian testing/main amd64 Packages
 9.53.3~dfsg-7 990
    990 http://deb.debian.org/debian bullseye/main amd64 Packages



# apt-cache policy gimp
gimp:
  Installed: 2.10.22-4
  Candidate: 2.10.22-4
  Version table:
 2.10.26-1 500
    500 http://deb.debian.org/debian sid/main amd64 Packages
 *** 2.10.22-4 990
    990 http://deb.debian.org/debian bullseye/main amd64 Packages
    500 http://deb.debian.org/debian testing/main amd64 Packages
    100 /var/lib/dpkg/status



# apt-cache show libgs9|egrep 'Version|libidn'
Version: 9.53.3~dfsg-8
Depends: libgs9-common (= 9.53.3~dfsg-8), poppler-data, libc6 (>= 
2.29), libcups2 (>= 2.3~b6), libfontconfig1 (>= 2.12.6), libfreetype6 
(>= 2.10.1), *libidn12* (>= 1.13), libijs-0.35 (>= 0.35), libjbig2dec0 
(>= 0.16+20190905), libjpeg62-turbo (>= 1.3.1), liblcms2-2 (>= 2.6), 
libopenjp2-7 (>= 2.0.0), libpaper1, libpng16-16 (>= 1.6.2-1), libtiff5 
(>= 4.0.3), zlib1g (>= 1:1.2.0)

Version: 9.53.3~dfsg-7+deb11u1
Depends: libgs9-common (= 9.53.3~dfsg-7+deb11u1), poppler-data, libc6 
(>= 2.29), libcups2 (>= 2.3~b6), libfontconfig1 (>= 2.12.6), 
libfreetype6 (>= 2.10.1), *libidn11* (>= 1.13), libijs-0.35 (>= 0.35), 
libjbig2dec0 (>= 0.16+20190905), libjpeg62-turbo (>= 1.3.1), 
liblcms2-2 (>= 2.6), libopenjp2-7 (>= 2.0.0), libpaper1, libpng16-16 
(>= 1.6.2-1), libtiff5 (>= 4.0.3), zlib1g (>= 1:1.2.0)

Version: 9.53.3~dfsg-7+b1
Depends: libgs9-common (= 9.53.3~dfsg-7), poppler-data, libc6 (>= 
2.29), libcups2 (>= 2.3~b6), libfontconfig1 (>= 2.12.6), libfreetype6 
(>= 2.10.1), *libidn12* (>= 1.13), libijs-0.35 (>= 0.35), libjbig2dec0 
(>= 0.16+20190905), libjpeg62-turbo (>= 1.3.1), liblcms2-2 (>= 2.6), 
libopenjp2-7 (>= 2.0.0), libpaper1, libpng16-16 (>= 1.6.2-1), libtiff5 
(>= 4.0.3), zlib1g (>= 1:1.2.0)

Version: 9.53.3~dfsg-7
Depends: libgs9-common (= 9.53.3~dfsg-7), poppler-data, libc6 (>= 
2.29), libcups2 (>= 2.3~b6), libfontconfig1 (>= 2.12.6), libfreetype6 
(>= 2.10.1), *libidn11* (>= 1.13), libijs-0.35 (>= 0.35), libjbig2dec0 
(>= 0.16+20190905), libjpeg62-turbo (>= 1.3.1), liblcms2-2 (>= 2.6), 
libopenjp2-7 (>= 2.0.0), libpaper1, libpng16-16 (>= 1.6.2-1), libtiff5 
(>= 4.0.3), zlib1g (>= 1:1.2.0)



dpkg -l 'libidn1*'|grep '^i'
ii  libidn11:amd64 1.33-3   amd64    GNU Libidn library, 
implementation of IETF IDN specifications



So, libidn11 is currently installed as a dependency of libgs9 from the 
security source.  But it wants to install libidn12, because it's going 
to install libgs9 from sid!


The other package it wanted to "upgrade" shows a similar issue:


# why libbotan-2-18
___
aptitude why...
i   lxde    Suggests libreoffice
p   libreoffice Suggests firefox-esr | thunderbird | firefox
p   thunderbird Depends  libbotan-2-18 (>= 2.18.1+dfsg)



# why libbotan-2-17
___
aptitude why...
iB  thunderbird Depends libbotan-2-17 (>= 2.17.3+dfsg)


Why is this broken?  I installed thunderbird from testing, it was 
broken, reinstalled what had been originally installed, from security... 
all broken.

It *works* perfectly fine.


# apt-cache policy thunderbird
thunderbird:
  Installed: 1:78.14.0-1~deb11u1
  

Re: copy directory tree, mapping to new owners

2021-09-14 Thread Richard Hector

On 14/09/21 6:50 pm, to...@tuxteam.de wrote:

On Tue, Sep 14, 2021 at 12:17:05PM +1200, Richard Hector wrote:

On 13/09/21 7:04 pm, to...@tuxteam.de wrote:
>On Mon, Sep 13, 2021 at 11:45:02AM +1200, Richard Hector wrote:
>>On 12/09/21 6:52 pm, john doe wrote:
>
>[...]
>
>>>If you are doing this in a script, I would use a temporary directory.
>>>That way, in case of failure the destination directory is not rongly
>>>modified.
>>>
>>>EG:
>>>
>>>$ rsync  
>>>
>>>Make  the way you want it to be.
>>>
>>>$ rsync  
>>
>>That is true, but firstly it would require more available space [...]
>
>This isn't necessary, as you could replace the second `rsync' by a `mv'
>(provided your temp tree is on the same storage volume as your target
>dir, that is).

I was assuming the suggestion was to rsync the source to the temp
while the destination still exists, before rsyncing or mv'ing over
the top of it. Total of 3 copies (temporarily) rather than 2.


Then, it's different. But in your scenario you would probably want
to take down whatever "service" relies on the destination dir while
the copy is in progress.


This is all academic, since rsync with --usermap and --groupmap does 
what I want, in place.


But john doe's proposal had the rationale of "That way, in case of 
failure the destination directory is not rongly modified."


That implies the destination is staying put. Well, I guess deleting it 
entirely avoids "wrongly modifying" it too :-)



In any case, if you haven't the space, you haven't it. Sysadmin's
life ain't always nice :)


It's available if I want it; everything is on LVM. It's easy to grow. 
It's also all on a VPS, so expanding the total is a matter of tweaking 
the settings in a control panel. But it's harder to shrink (especially 
since I use xfs), so I prefer not to grow it if it's not necessary.


Cheers :-)
Richard



Re: LTS versions - confusion

2021-09-14 Thread Brian
On Tue 14 Sep 2021 at 16:33:55 -0400, Tanstaafl wrote:

> On 9/13/2021 11:02 AM, Brian wrote
> > On Mon 13 Sep 2021 at 10:18:54 -0400, Tanstaafl wrote:
> >
> >> Hello,
> >>
> >> So, I'm considering Debian for a new homebrew MX gateway I want to set
> >> up, but it depends...
> >>
> >> I'm a former Gentoo user, and really appreciated the rolling release
> >> aspect, since it meant no huge jumps between LTS releases with other
> >> distros.
> > About the closest in Debian to this concept is the unstable
> > distribution (sid).
> 
> Hmmm... ok, so, I could run sid 'forever', as long as I keep it updated
> regularly?

Why not? Update when you want to. How does this differ from Gentoo's
rolling release aspect? Go for testing if you want to be a little
conservative?
 
> Anyone do this for important (maybe not 'mission critical') servers?

I do.

-- 

Brian.



Re: LTS versions - confusion

2021-09-14 Thread deloptes
Greg Wooledge wrote:

>> Anyone do this for important (maybe not 'mission critical') servers?
> 
> I'm sure someone does, but it's not *wise*.

yes indeed. server + sid is contradicting somehow unless you do development
of server software

-- 
FCD6 3719 0FFB F1BF 38EA 4727 5348 5F1F DCFE BCB0



Re: LTS versions - confusion

2021-09-14 Thread Greg Wooledge
On Tue, Sep 14, 2021 at 04:33:55PM -0400, Tanstaafl wrote:
> Hmmm... ok, so, I could run sid 'forever', as long as I keep it updated
> regularly?
> 
> Anyone do this for important (maybe not 'mission critical') servers?

I'm sure someone does, but it's not *wise*.



Re: LTS versions - confusion

2021-09-14 Thread Tanstaafl
On 9/13/2021 11:02 AM, Brian wrote
> On Mon 13 Sep 2021 at 10:18:54 -0400, Tanstaafl wrote:
>
>> Hello,
>>
>> So, I'm considering Debian for a new homebrew MX gateway I want to set
>> up, but it depends...
>>
>> I'm a former Gentoo user, and really appreciated the rolling release
>> aspect, since it meant no huge jumps between LTS releases with other
>> distros.
> About the closest in Debian to this concept is the unstable
> distribution (sid).

Hmmm... ok, so, I could run sid 'forever', as long as I keep it updated
regularly?

Anyone do this for important (maybe not 'mission critical') servers?


Re: [DEBIAN-BR] halt vs shutdown

2021-09-14 Thread Leandro Guimarães Faria Corcete DUTRA
Le mardi 14 septembre 2021 à 00:45 -0300, Gilberto F da Silva a écrit :
> Estou surpreso commuma coisa. Achava que essas coisas de linha de
> comando eram iguais em todas as distribuções.

Na verdade em geral é, mas o Slackware em particular segue o SysV mais
de perto, enquanto as outras são mais GNU e Posix.


-- 
Leandro Guimarães Faria Corcete DUTRA 



Re: privacitat / seguretat

2021-09-14 Thread Narcis Garcia
El problema de recomanar Mozilla Firefox, és, en el context d'aquesta
llista, que la configuració predeterminada que porta el paquet no
segueix el principi de «seguretat per defecte».
Deixa una mica que desitjar el predefinit de «convidar» a registrar-se
amb la central de Mozilla i d'enviar totes les cerques i allò que
tecleges a la barra d'adreces a l'empresa Google.

Narcís.


El 14/9/21 a les 10:02, Joan ha escrit:
> Per cert, aprofito per fer una mica de proselitisme (alguns ja n'esteu
> al cas): estic treballant en una pàgina que responent unes preguntes et
> proposa millores en el teu perfil de privacitat/seguretat digital...
> Algú podria pensar que Debian és el punt d'arribada, però encara es pot
> anar més enllà :-p
> 
> https://privacitat.calbasi.net/
> 
> Pd.: qualsevol dia poso un "wanted", algú que passi totes les pantalles
> i el sistema no li pugui oferir cap suggeriment de millora perquè ja ho
> fa tot "la mar de bé" :-) De fet, si algu ho acredita estic disposat a
> donar-li 200 G1 :-D 
> 

-- 


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



Re: Debian 11 estable en poques hores

2021-09-14 Thread Joan Montané
Missatge de Ernest Adrogué  del dia dg., 12 de set.
2021 a les 15:38:
>
>
> En segon lloc, no vull semblar negatiu, però jo segueixo pensant que la
> preposició sobra en els llistats de directori.
>
> I, desafortunadament, ls no és l'únic programa afectat.
>
> systemd mostra les dates d'aquesta manera
>
> d’ag. 22 11:56:16 doriath offlineimap[1492]: Syncing Trash: IMAP -> MappedIMAP
> d’ag. 22 11:56:17 doriath offlineimap[1492]: *** Finished account 'Posteo.…:03
> Hint: Some lines were ellipsized, use -l to show in full.
>
> El dmesg igual:
>
> [dg. d’ag. 22 10:37:23 2021] usb 1-8: device descriptor read/64, error -71
> [dg. d’ag. 22 10:37:23 2021] usb 1-8: device descriptor read/64, error -71
> [dg. d’ag. 22 10:37:23 2021] usb usb1-port8: attempt power cycle
>
> En definitiva, han passat 4 anys des de que es va "modernitzar" el local
> ca_ES, i després de 4 anys jo penso que ja podem afirmar que la
> experiència de l'usuari amb el local nou és pitjor que amb el local
> anterior.
>
> Crec que la comunitat d'usuaris de GNU/Linux catalano-parlants ens hem
> de plantejar si volem mantenir el local "modernitzat" que no funciona, o
> si preferim tornar al local anterior.  Evidentment hi ha arguments a
> favor i en contra de les dues alternatives.  Personalment, m'inclino per
> la segona.  En fi, jo crec que hi hauria d'haver un debat i una votació
> sobre aquest tema.
>
> Què en penseu vosaltres?
>

Discrepo en alguns punts.

Després de 4 anys, l'experiència de l'usuari és millor a l'escriptori.
I sí, en terminal algunes coses no rutllen.

Què no rutlla?
1. «ls -l» no rutlla perquè van canviar de versió sense passar pel
Translation Project: van arreglar un problema que afectava moltes
llengües (format dia/mes) que fa aparèixer el 2n problema (que només
ens afecta a nosaltres, l'«enquadrament» dels mesos), tot i les
precaucions perquè això no passès. Quan tinguin la traducció
actualitzada els mesos quedaran "enquadrats" en fer «ls -l».
2. dmesg no rutlla perquè té la cadena de format de data
«human-readable» hardcoded ([1] i [2]). *Suposo* que passa el mateix
que systemd.
3. Segur que hi ha alguna altra utilitat que genera les dates en format americà.

Què vull dir amb això?
Debian és molt més que el terminal.
Canviar les abreviatures dels mesos a «ls» afecta a tot el sistema.
L'opció triada és una solució de compromís que no és ideal, però és
millor (quan s'apliqui) que la situació dels darrers 4 anys.
Ara com ara, dmesg i systemd mostraran un format de data incorrecte
siguin quines siguin les abreviatures dels mesos, perquè no permeten
definir el format de data (com sí que ho permet «ls»). Això és una
manca d'internacionalització. Treballem per a millorar-ho.

Els meus 5 cèntims.

Joan Montané



[1] https://github.com/karelzak/util-linux/blob/master/sys-utils/dmesg.c#L852
[2] https://github.com/karelzak/util-linux/blob/master/sys-utils/dmesg.c#L859
>
> Salutacions.
>



Re: support for xfce in bullseye minimal netinst iso

2021-09-14 Thread Brian
On Tue 14 Sep 2021 at 16:50:15 +0300, Andrei POPESCU wrote:

> On Ma, 14 sep 21, 12:27:34, Joe wrote:
> > 
> > I will soon be installing unstable starting from a console-only
> > bullseye, upgrading at that point and only then loading what I want,
> > including GUI and Xfce.
> 
> The mini.iso can be used to install unstable directly.

I have used this technique many times over ethernet. It deserves to be
more widely known.

-- 
Brian.



Re: was: support for xfce in bullseye minimal netinst iso

2021-09-14 Thread Gene Heskett
On Tuesday 14 September 2021 13:11:08 Andrew M.A. Cater wrote:

> On Tue, Sep 14, 2021 at 11:49:02AM -0400, Gene Heskett wrote:
> > On Tuesday 14 September 2021 10:08:34 Brian wrote:
> > > On Tue 14 Sep 2021 at 09:27:25 +, Sriram wrote:
> > > > [...] Can you suggest some links for downloading the bullseye
> > > > along with xfce which comes to less than 1 GB or preferably
> > > > somewhere around 500-800 MB, or suggest ways to install the xfce
> > > > offline  , there is no deb file for such GUI's.
> > >
> > > An xfce installation will pull in about 600 M of packages no
> > > matter what you choose to do. Does this give some perspective?
> > >
> > > What I would consider is:
> > >
> > > 1. Skip installation of a desktop in d-i and finish the remainder
> > > of the process.
> > >
> > > 2. Reboot, log in and create /etc/apt/apt.conf.d/01keep-debs.
> > >
> > > 3. Edit this file to have
> > >
> > >  Binary::apt::APT::Keep-Downloaded-Packages "true";
> > >
> > >Packages should remain in /var/cache/apt/archives/ for you to
> > > reuse. No futher downloading of xfce packages is now needed. You
> > > have your own personal "ISO" at no extra cost to disk space or
> > > bandwidth.
> > >
> > > 4. And finally do
> > >
> > >  apt install task-xfce-desktop
> >
> > This is interesting and I will likely do it when I install the
> > debian-11.1-net-install I just burnt.
> >
> > But, I have installed 4, 1 terabyte samsung SSD's on a separate
> > non-raid controller card which I intend to use as a software raid-6
> > or 10 after moving the current boot disk with stretch on it to be
> > /dev/sdd, or even leaving it disconnected until 11.1 is installed.
> > It has precious data on its platters.
> >
> > Those samsungs have not been configured for anything yet. They are
> > seen ok but individually in dmesg. Looked at by gparted, but nothing
> > written.
> >
> > So, can the installer handle the configuration of those into a
> > bootable format all by itself?
> >
> > If not, what do I install and do to ready them before moving
> > /dea/sda out of harms way and booting the 11.1 net-install iso? I
> > can if needed, install a 60 or bigger Gig SSD as the /boot partition
> > on the motherboard controller as /dev/sda if the software raid can't
> > be booted from.
>
> As ever, it depends. Are you booting using UEFI?
>
> If so, then you'll need to allow the partitioner to configure an ESP
> EFI system partition] which will allow the machine to store files for
> booting. The rest can be set up using guided partitioning and mdadm.
> If you're using Legacy/DOS booting - all bets are off.
>
> I'd be tempted to completely disconnect your stretch drive to do this
> and then reconnect it just to copy dot files and ssh configs.
> Essentially, stretch is gone and the likelihood of being able to use
> configs directly is low - so keep it safe out of the way until you
> want to copy precious data off it, at which point mount it under /mnt
> or /media temporarily.
>
> If you have a spare 60G SSD, then you might want to use that as boot
> and root filesystem anyway and let the partitioner create the RAID
> system from four absolutely identically sized disks.
>
> One thing to watch out for in guided partitioning is that swap space
> in a dedicated partition is now only 1GB by default. If you've got a
> decent amount of memory, you may never hit swap anyway.
I have 32G of dram, and 14G of swap now, but with a 17 day uptime, its 
under 2 megs in swap. I have huge buffers set in OpenSCAD.

> I won't 
> trespass on your patience further but will be happy to help if needed.

Good to know Andy IF I can get networking to survive the reboot. But my 
networking is host file based and usually goes away at reboot until 
properly configured again. So I kep a printed copy of all that stuff. 

There is not a functioning dhcp server here. Usually, proper routing is 
impossible until avahi and friends are lined up and have bloodied the 
wall behind them. Otherwise avahi insists on an non-functional 
169.xx,xx,xx address for route and gateway.

> All best, as ever,
>
> Andy Cater

Thanks Andy.

> > So how do I best proceed?
> >
> > 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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: ubuntu mint vs debian: personalització de xfce per a nouvinguts a debian11

2021-09-14 Thread Julio Amorós
Missatge de pedeb  del dia dt., 14 de set. 2021 a les 10:16:

> Arrel de l'email de pingui m'animo a explicaros això
>
> L'altre dia parlàvem de quin és el millor entorn pels usuaris nouvinguts
> a gnu/linux
>
> de seguida sortia ubuntu, linux mint; hi ha motius:
>
> - inclouen drivers privatius tals com el wifi del portàtil que poden ser
> crítics a vegades
> - l'aspecte per defecte està preparat per a nous usuaris amb
> familiaritat amb windows
>
> total, que li he estat donant voltes a què podia fer
>
> aquesta és una imatge amb els nonfree
>
> https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/11.0.0+nonfree/multi-arch/iso-cd/firmware-11.0.0-amd64-i386-netinst.iso
>
> i aquí un script que transforma el xfce més tipus "linux mint";
> (l'enllaç inclou screenshot de l'abans i el després)
>
>
> https://gitlab.com/guifi-exo/wiki/-/tree/master/howto/desktop#xfce_to_windows-to-adapt-a-new-installed-debian-11-with-xfce-desktop-to-newcomers-that-are-familiar-to-windows-environment
>
> benvinguts siguin els comentaris
>

Molt interessant Pedeb. A veure si ens veiem ;D
Nota mental: posar un enllaç del nostre repositori al vostre






-- 
__


   -

   El 2003 el català era la llengua habitual del 46 % dels catalans. Al
   2018 només del 36 %. Si els castellanoparlants no actuem, desapareixerà.
   -

   El 3 de novembre representa el moment de l'any en el que les dones
   deixen de cobrar en comparació amb els homes. Hem d’ajudar a les dones a
   eliminar aquesta data.
   -

   L’administració pública cada any es gasta milions d’euros en llicències
   de programari privatiu. Utilitzant programari lliure estalviem costos i
   incentivem l’economia local.

*La neutralitat davant les desigualtats acaba accentuant-les.*


Re: mdadm RAID and the Bullseye installer

2021-09-14 Thread Gene Heskett
On Tuesday 14 September 2021 12:55:41 Dan Ritter wrote:

> Gene Heskett wrote:
> > This is interesting and I will likely do it when I install the
> > debian-11.1-net-install I just burnt.
> >
> > But, I have installed 4, 1 terabyte samsung SSD's on a separate
> > non-raid controller card which I intend to use as a software raid-6
> > or 10 after moving the current boot disk with stretch on it to be
> > /dev/sdd, or even leaving it disconnected until 11.1 is installed.
> > It has precious data on its platters.
> >
> > Those samsungs have not been configured for anything yet. They are
> > seen ok but individually in dmesg. Looked at by gparted, but nothing
> > written.
> >
> > So, can the installer handle the configuration of those into a
> > bootable format all by itself?
>
> Yes. The installer can assemble them into an mdadm-style RAID 10
> and GRUB can boot from that.
>
> -dsr-

Thank you Dan.

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



Re: Migració de Fedora a Debian al departament d'Informàtica de l'Escola del Treball

2021-09-14 Thread Julio Amorós
Missatge de Llibertat  del dia dt., 14 de set. 2021 a les
12:41:

> Hola,
>
> etckeeper ... li he donat un cop d'ull i sembla interessant, sabeu si es
> por sincronitzar amb un servidor git remot, de la mateixa forma que fa
> els commits automàtics, que també fagi push automàtics?
>

Si no vaig errat, nosaltres el teníem connectat a un host de gandi.net. I
de manera automàgica es feia un push amb etckeeper. Però els que druides
que ho feien han desaparegut. Contactarem a ells :)

Salutacions



>
> Gràcies
>
> Ricard D.
>
>
> On 14/9/21 9:55, Joan wrote:
> > Està tot inventat! Mola això de l'etckeeper!  Merci Lluís!
> >
>
>

-- 
__


   -

   El 2003 el català era la llengua habitual del 46 % dels catalans. Al
   2018 només del 36 %. Si els castellanoparlants no actuem, desapareixerà.
   -

   El 3 de novembre representa el moment de l'any en el que les dones
   deixen de cobrar en comparació amb els homes. Hem d’ajudar a les dones a
   eliminar aquesta data.
   -

   L’administració pública cada any es gasta milions d’euros en llicències
   de programari privatiu. Utilitzant programari lliure estalviem costos i
   incentivem l’economia local.

*La neutralitat davant les desigualtats acaba accentuant-les.*


Re: Migració de Fedora a Debian al departament d'Informàtica de l'Escola del Treball

2021-09-14 Thread Julio Amorós
Missatge de Joan  del dia dt., 14 de set. 2021 a les
9:57:

> Per cert, Julio, si a part de la llista de correu, a on em penso que hi
> ha molta gent i respostes molt àgils, vols enredar-te amb el chat per
> preguntes "immediates", que sàpigues que tenim canal de matrix:
>
> #debian-cat:matrix.org


Estic des de fa temps, gairebé sempre calladet, però amb una identitat
secreta, com Super López. :D



>
>
> (no recordo si està connectat amb el canal de IRC també)
>
> --
> Joan Cervan i Andreu
> http://personal.calbasi.net
>
> "El meu paper no és transformar el món ni l'home sinó, potser, el de
> ser útil, des del meu lloc, als pocs valors sense els quals un món no
> val la pena viure'l" A. Camus
>
> i pels que teniu fe:
> "Déu no és la Veritat, la Veritat és Déu"
> Gandhi
>
> "Donar exemple no és la principal manera de influir sobre els altres;
> es la única manera" Albert Einstein
>
> “Lluitarem contra el fort mentre siguem febles i contra nosaltres
> mateixos quan siguem forts” Lluís Maria Xirinacs
>
>
> El Mon, 13 Sep 2021 15:47:08 +0200
> Julio Amorós  va escriure:
>
> > Hola companys,
> > us volíem informar de la migració que s'ha fet al departament
> > d'Informàtica de l'Escola del Treball. Des de l'any 2000 que estem
> > fent servir Fedora (RedHat) gràcies a un gran company que ja està
> > jubilat i que ens va introduir al mon del programari lliure.
> >
> > No sé si coneixeu una mica les particularitats de les distribucions
> > Fedora, podríem dir que l'estabilitat no seria el seu punt fort, sent
> > generosos. Això ens motivava cada curs a no utilitzar la darrera
> > versió. Sí que és cert però, que hi havia d'altres avantatges.
> >
> > Al llarg d'aquests anys, hem tingut grans debianites al departament,
> > alguna desenvolupadora fins i tot, i més o menys sempre hi havia
> > quòrum en que Debian era una distribució superior, però la migració
> > d'un sistema a un altre fa molta por. El cas és que l'arribada de
> > professors joves i competents al nostre departament ha impulsat
> > aquest canvi. És curiós que al jovent ja no li agradi viure al límit
> > (Fedora és això i aprens molt :D )
> >
> > En fi, que a més d'informar-vos d'aquesta migració us volem avisar
> > que us començarem a fer moltes preguntes.
> >
> > Per cert, com cada any fem una guia d'instal·lació pels nostres
> > alumnes de cicles de grau superior, encara està verda, però qualsevol
> > consell / millora que ens vulgueu donar us estarem molt agraïts.
> >
> > https://gitlab.com/pingui/deb-at-inf
> >
> > Vagi bé.
> >
> > Julio
> >
> >
>
>
>
> --
> Joan Cervan i Andreu
> http://personal.calbasi.net
>
> "El meu paper no és transformar el món ni l'home sinó, potser, el de
> ser útil, des del meu lloc, als pocs valors sense els quals un món no
> val la pena viure'l" A. Camus
>
> i pels que teniu fe:
> "Déu no és la Veritat, la Veritat és Déu"
> Gandhi
>
> "Donar exemple no és la principal manera de influir sobre els altres;
> es la única manera" Albert Einstein
>
> “Lluitarem contra el fort mentre siguem febles i contra nosaltres
> mateixos quan siguem forts” Lluís Maria Xirinacs
>


-- 
__


   -

   El 2003 el català era la llengua habitual del 46 % dels catalans. Al
   2018 només del 36 %. Si els castellanoparlants no actuem, desapareixerà.
   -

   El 3 de novembre representa el moment de l'any en el que les dones
   deixen de cobrar en comparació amb els homes. Hem d’ajudar a les dones a
   eliminar aquesta data.
   -

   L’administració pública cada any es gasta milions d’euros en llicències
   de programari privatiu. Utilitzant programari lliure estalviem costos i
   incentivem l’economia local.

*La neutralitat davant les desigualtats acaba accentuant-les.*


Re: was: support for xfce in bullseye minimal netinst iso

2021-09-14 Thread Andrew M.A. Cater
On Tue, Sep 14, 2021 at 11:49:02AM -0400, Gene Heskett wrote:
> On Tuesday 14 September 2021 10:08:34 Brian wrote:
> 
> > On Tue 14 Sep 2021 at 09:27:25 +, Sriram wrote:
> > > [...] Can you suggest some links for downloading the bullseye along
> > > with xfce which comes to less than 1 GB or preferably somewhere
> > > around 500-800 MB, or suggest ways to install the xfce offline  ,
> > > there is no deb file for such GUI's.
> >
> > An xfce installation will pull in about 600 M of packages no matter
> > what you choose to do. Does this give some perspective?
> >
> > What I would consider is:
> >
> > 1. Skip installation of a desktop in d-i and finish the remainder of
> > the process.
> >
> > 2. Reboot, log in and create /etc/apt/apt.conf.d/01keep-debs.
> >
> > 3. Edit this file to have
> >
> >  Binary::apt::APT::Keep-Downloaded-Packages "true";
> >
> >Packages should remain in /var/cache/apt/archives/ for you to
> > reuse. No futher downloading of xfce packages is now needed. You have
> > your own personal "ISO" at no extra cost to disk space or bandwidth.
> >
> > 4. And finally do
> >
> >  apt install task-xfce-desktop
> 
> This is interesting and I will likely do it when I install the 
> debian-11.1-net-install I just burnt.
> 
> But, I have installed 4, 1 terabyte samsung SSD's on a separate non-raid 
> controller card which I intend to use as a software raid-6 or 10 after 
> moving the current boot disk with stretch on it to be /dev/sdd, or even 
> leaving it disconnected until 11.1 is installed. It has precious data on 
> its platters. 
> 
> Those samsungs have not been configured for anything yet. They are seen 
> ok but individually in dmesg. Looked at by gparted, but nothing written.
> 
> So, can the installer handle the configuration of those into a bootable 
> format all by itself?
> 
> If not, what do I install and do to ready them before moving /dea/sda out 
> of harms way and booting the 11.1 net-install iso? I can if needed, 
> install a 60 or bigger Gig SSD as the /boot partition on the motherboard 
> controller as /dev/sda if the software raid can't be booted from.
> 
As ever, it depends. Are you booting using UEFI?

If so, then you'll need to allow the partitioner to configure an ESP 
EFI system partition] which will allow the machine to store files for 
booting. The rest can be set up using guided partitioning and mdadm.
If you're using Legacy/DOS booting - all bets are off.

I'd be tempted to completely disconnect your stretch drive to do this
and then reconnect it just to copy dot files and ssh configs. Essentially,
stretch is gone and the likelihood of being able to use configs directly 
is low - so keep it safe out of the way until you want to copy precious
data off it, at which point mount it under /mnt or /media temporarily.

If you have a spare 60G SSD, then you might want to use that as boot and
root filesystem anyway and let the partitioner create the RAID system
from four absolutely identically sized disks.

One thing to watch out for in guided partitioning is that swap space in a
dedicated partition is now only 1GB by default. If you've got a decent amount 
of memory, you may never hit swap anyway. I won't trespass on your patience 
further but will be happy to help if needed.

All best, as ever,

Andy Cater


> So how do I best proceed?
> 
> 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)
> If we desire respect for the law, we must first make the law respectable.
>  - Louis D. Brandeis
> Genes Web page 
> 



Re: Migració de Fedora a Debian al departament d'Informàtica de l'Escola del Treball

2021-09-14 Thread Julio Amorós
Missatge de tictacbum  del dia dl., 13 de set. 2021 a
les 17:32:

> si, està bé així, no cal que corri el servei, crec que es crida des de
> l'apt i el cron
>

Cert, això m'han dit, que hi ha un cron que el crida, tal com deies.
Merci


>
> salut!!
>
> Missatge de julio  del dia dl., 13
> de set. 2021 a les 10:25:
>
>> Hola,
>>
>> merci per la info, teníem el etckeeper en marxa abans però ara mateix he
>> vist que està parat:
>>
>> [julio@madiba ~]$ systemctl status etckeeper.service
>> ● etckeeper.service - Autocommit of changes in /etc directory
>>Loaded: loaded (/usr/lib/systemd/system/etckeeper.service; static;
>> vendor preset: disabled)
>>Active: inactive (dead)
>>  Docs: man:etckeeper(8)
>>
>>
>> Parlaré amb els que entenen :D
>>
>>
>> Per cert, diguem-ne que migrem els ordinadors de profes i alumnes a
>> Debian, el nostre estimat server continua amb Centos :D, som uns romàntics.
>>
>> Vagi bé,
>>
>> Julio
>>
>>
>> On 9/13/21 5:18 PM, tictacbum wrote:
>>
>> Hola Julio, felicitats pel canvi i sort amb la migració!
>> no sé si coneixes etckeeper però crec que us pot ser força útil a
>> l'escola, manté un historial de canvis a /etc en un repositori git
>>
>> salut!!
>>
>> Missatge de Julio Amorós  del dia dl., 13
>> de set. 2021 a les 8:47:
>>
>>> Hola companys,
>>> us volíem informar de la migració que s'ha fet al departament
>>> d'Informàtica de l'Escola del Treball. Des de l'any 2000 que estem fent
>>> servir Fedora (RedHat) gràcies a un gran company que ja està jubilat i que
>>> ens va introduir al mon del programari lliure.
>>>
>>> No sé si coneixeu una mica les particularitats de les distribucions
>>> Fedora, podríem dir que l'estabilitat no seria el seu punt fort, sent
>>> generosos. Això ens motivava cada curs a no utilitzar la darrera versió. Sí
>>> que és cert però, que hi havia d'altres avantatges.
>>>
>>> Al llarg d'aquests anys, hem tingut grans debianites al departament,
>>> alguna desenvolupadora fins i tot, i més o menys sempre hi havia quòrum en
>>> que Debian era una distribució superior, però la migració d'un sistema a un
>>> altre fa molta por. El cas és que l'arribada de professors joves i
>>> competents al nostre departament ha impulsat aquest canvi. És curiós que al
>>> jovent ja no li agradi viure al límit (Fedora és això i aprens molt :D )
>>>
>>> En fi, que a més d'informar-vos d'aquesta migració us volem avisar que
>>> us començarem a fer moltes preguntes.
>>>
>>> Per cert, com cada any fem una guia d'instal·lació pels nostres alumnes
>>> de cicles de grau superior, encara està verda, però qualsevol consell /
>>> millora que ens vulgueu donar us estarem molt agraïts.
>>>
>>> https://gitlab.com/pingui/deb-at-inf
>>>
>>> Vagi bé.
>>>
>>> Julio
>>>
>>>
>>> --
>>> __
>>>
>>>-
>>>
>>>El 2003 el català era la llengua habitual del 46 % dels catalans. Al
>>>2018 només del 36 %. Si els castellanoparlants no actuem, desapareixerà.
>>>-
>>>
>>>El 3 de novembre representa el moment de l'any en el que les dones
>>>deixen de cobrar en comparació amb els homes. Hem d’ajudar a les dones a
>>>eliminar aquesta data.
>>>-
>>>
>>>L’administració pública cada any es gasta milions d’euros en
>>>llicències de programari privatiu. Utilitzant programari lliure estalviem
>>>costos i incentivem l’economia local.
>>>
>>> *La neutralitat davant les desigualtats acaba accentuant-les.*
>>>
>>

-- 
__


   -

   El 2003 el català era la llengua habitual del 46 % dels catalans. Al
   2018 només del 36 %. Si els castellanoparlants no actuem, desapareixerà.
   -

   El 3 de novembre representa el moment de l'any en el que les dones
   deixen de cobrar en comparació amb els homes. Hem d’ajudar a les dones a
   eliminar aquesta data.
   -

   L’administració pública cada any es gasta milions d’euros en llicències
   de programari privatiu. Utilitzant programari lliure estalviem costos i
   incentivem l’economia local.

*La neutralitat davant les desigualtats acaba accentuant-les.*


Re: Migració de Fedora a Debian al departament d'Informàtica de l'Escola del Treball

2021-09-14 Thread Julio Amorós
Missatge de Llibertat  del dia dt., 14 de set. 2021 a les
16:27:

> Hola,
>
> Sembla ser que lo de la guía perque les empreses puguin migrar és un
> factor comú  :-) és algo que tenía en ment.
> Fa molts anys ho vaig probar en empresa en la que vaig treballar i de la
> que era responsable informàtic, però desprès de fer els estudis
> pertinents i demostrar als diferents responsables de departament la
> burrada de calers que s'estalviarien en llicències i no tenir que
> actualitzar Hardware sovint, doncs l'empresa va optar per seguir fent
> servir Güindows perquè era el que feien servir els seus "amics" gerents
> d'altres empreses.
>
> Davant d'arguments com aquests i la ignorància general informàtica (cada
> vegada hi ha més informàtica a les vides de tothom però també més
> ignorància de com funciona) doncs no es va dur a terme el canvi, en
> aquella época les probes les vaig fer sobretot amb Ubuntu, parlo de fa
> més de 15 anys, avui en dia els instal·laría Debian sense dubtar.
>
> Un altre problema que em vaig trobar és la resistència general dels
> usuaris a treballar amb un sistema operatiu diferent, està clar que
> l'èsser humà és animal de costums i els canvis en general fan por,
> encara que siguin a molt millor.
>
> Si us puc donar un cop de mà en aquest projecte de documentació per la
> migració ...
>
> Salut a tots.
>
> Ricard D.
>

Molt interessant.
Doncs sí Ricard, tota ajuda és benvinguda i amb forma de documentació també.
Vagi bé,
Julio



>
>
>
> El 13/9/21 a les 17:19, Blackhold ha escrit:
> > Hola,
> > Jo recentment m'he fulmitat tots els windows de la meva empresa (n'he
> > deixat un virtualitzat i amb accés a través d'apache guacamole), la
> > idea és també acabar fent una guia de com fer perquè petites empreses
> > es puguin anar passant a GNU/Linux (en aquest cas debian). Bona idea
> > la forma de documentar que teniu. Per la part de configuració jo vaig
> > preparar un script que s'ha d'executar just fer la instal·lació.
> >
> > Felicitats pel canvi de pedorra a debian ;)
> >
> > - Blackhold
> > http://blackhold.nusepas.com
> > @blackhold_
> > ~> cal lluitar contra el fort per deixar de ser febles, i contra
> > nosaltres mateixos quan siguem forts (Xirinacs)
> > <°((( ><
> >
> > Missatge de Julio Amorós  del dia dl.,
> > 13 de set. 2021 a les 15:47:
> >> Hola companys,
> >> us volíem informar de la migració que s'ha fet al departament
> >> d'Informàtica de l'Escola del Treball. Des de l'any 2000 que estem
> >> fent servir Fedora (RedHat) gràcies a un gran company que ja està
> >> jubilat i que ens va introduir al mon del programari lliure.
> >>
> >> No sé si coneixeu una mica les particularitats de les distribucions
> >> Fedora, podríem dir que l'estabilitat no seria el seu punt fort, sent
> >> generosos. Això ens motivava cada curs a no utilitzar la darrera
> >> versió. Sí que és cert però, que hi havia d'altres avantatges.
> >>
> >> Al llarg d'aquests anys, hem tingut grans debianites al departament,
> >> alguna desenvolupadora fins i tot, i més o menys sempre hi havia
> >> quòrum en que Debian era una distribució superior, però la migració
> >> d'un sistema a un altre fa molta por. El cas és que l'arribada de
> >> professors joves i competents al nostre departament ha impulsat
> >> aquest canvi. És curiós que al jovent ja no li agradi viure al límit
> >> (Fedora és això i aprens molt :D )
> >>
> >> En fi, que a més d'informar-vos d'aquesta migració us volem avisar
> >> que us començarem a fer moltes preguntes.
> >>
> >> Per cert, com cada any fem una guia d'instal·lació pels nostres
> >> alumnes de cicles de grau superior, encara està verda, però qualsevol
> >> consell / millora que ens vulgueu donar us estarem molt agraïts.
> >>
> >> https://gitlab.com/pingui/deb-at-inf
> >>
> >> Vagi bé.
> >>
> >> Julio
> >>
> >>
> >> --
> >> __
> >>
> >> El 2003 el català era la llengua habitual del 46 % dels catalans. Al
> >> 2018 només del 36 %. Si els castellanoparlants no actuem, desapareixerà.
> >>
> >> El 3 de novembre representa el moment de l'any en el que les dones
> >> deixen de cobrar en comparació amb els homes. Hem d’ajudar a les
> >> dones a eliminar aquesta data.
> >>
> >> L’administració pública cada any es gasta milions d’euros en
> >> llicències de programari privatiu. Utilitzant programari lliure
> >> estalviem costos i incentivem l’economia local.
> >>
> >> La neutralitat davant les desigualtats acaba accentuant-les.
>
>

-- 
__


   -

   El 2003 el català era la llengua habitual del 46 % dels catalans. Al
   2018 només del 36 %. Si els castellanoparlants no actuem, desapareixerà.
   -

   El 3 de novembre representa el moment de l'any en el que les dones
   deixen de cobrar en comparació amb els homes. Hem d’ajudar a les dones a
   eliminar aquesta data.
   -

   L’administració pública cada any es gasta milions d’euros en llicències
   de programari privatiu. 

mdadm RAID and the Bullseye installer

2021-09-14 Thread Dan Ritter
Gene Heskett wrote: 
> This is interesting and I will likely do it when I install the 
> debian-11.1-net-install I just burnt.
> 
> But, I have installed 4, 1 terabyte samsung SSD's on a separate non-raid 
> controller card which I intend to use as a software raid-6 or 10 after 
> moving the current boot disk with stretch on it to be /dev/sdd, or even 
> leaving it disconnected until 11.1 is installed. It has precious data on 
> its platters. 
> 
> Those samsungs have not been configured for anything yet. They are seen 
> ok but individually in dmesg. Looked at by gparted, but nothing written.
> 
> So, can the installer handle the configuration of those into a bootable 
> format all by itself?

Yes. The installer can assemble them into an mdadm-style RAID 10
and GRUB can boot from that.

-dsr-



Re: LTS versions - confusion

2021-09-14 Thread l0f4r0
Hi,

14 sept. 2021, 16:35 de amaca...@einval.com:

> Debian 11 - Bullseye - released on 14th July 2021 will have [at least] five 
> years
> support as stable/oldstable.
>
> Three years between releases
>
~ two years ;)
> plus a year after the next release plus usually
> two years LTS support after that.
>
Best regards,
l0f4r0



Re: was: support for xfce in bullseye minimal netinst iso

2021-09-14 Thread Gene Heskett
On Tuesday 14 September 2021 10:08:34 Brian wrote:

> On Tue 14 Sep 2021 at 09:27:25 +, Sriram wrote:
> > [...] Can you suggest some links for downloading the bullseye along
> > with xfce which comes to less than 1 GB or preferably somewhere
> > around 500-800 MB, or suggest ways to install the xfce offline  ,
> > there is no deb file for such GUI's.
>
> An xfce installation will pull in about 600 M of packages no matter
> what you choose to do. Does this give some perspective?
>
> What I would consider is:
>
> 1. Skip installation of a desktop in d-i and finish the remainder of
> the process.
>
> 2. Reboot, log in and create /etc/apt/apt.conf.d/01keep-debs.
>
> 3. Edit this file to have
>
>  Binary::apt::APT::Keep-Downloaded-Packages "true";
>
>Packages should remain in /var/cache/apt/archives/ for you to
> reuse. No futher downloading of xfce packages is now needed. You have
> your own personal "ISO" at no extra cost to disk space or bandwidth.
>
> 4. And finally do
>
>  apt install task-xfce-desktop

This is interesting and I will likely do it when I install the 
debian-11.1-net-install I just burnt.

But, I have installed 4, 1 terabyte samsung SSD's on a separate non-raid 
controller card which I intend to use as a software raid-6 or 10 after 
moving the current boot disk with stretch on it to be /dev/sdd, or even 
leaving it disconnected until 11.1 is installed. It has precious data on 
its platters. 

Those samsungs have not been configured for anything yet. They are seen 
ok but individually in dmesg. Looked at by gparted, but nothing written.

So, can the installer handle the configuration of those into a bootable 
format all by itself?

If not, what do I install and do to ready them before moving /dea/sda out 
of harms way and booting the 11.1 net-install iso? I can if needed, 
install a 60 or bigger Gig SSD as the /boot partition on the motherboard 
controller as /dev/sda if the software raid can't be booted from.

So how do I best proceed?

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



Re: LTS versions - confusion

2021-09-14 Thread Andrew M.A. Cater
On Tue, Sep 14, 2021 at 02:33:23AM +0300, Andrei POPESCU wrote:
> On Lu, 13 sep 21, 10:18:54, Tanstaafl wrote:
> > 
> > I'm a former Gentoo user, and really appreciated the rolling release
> > aspect, since it meant no huge jumps between LTS releases with other
> > distros.
> 

Debian 11 - Bullseye - released on 14th July 2021 will have [at least] five 
years
support as stable/oldstable.

Three years between releases plus a year after the next release plus usually
two years LTS support after that.

Hope this helps,

All the very best, as ever,

Andy Cater




Re: Avonturen met virt-manager en wine

2021-09-14 Thread Martijn van de Streek
Paul van der Vlis schreef op di 14-09-2021 om 15:53 [+0200]:
> Op 14-09-2021 om 15:50 schreef Paul van der Vlis:
> > Ik had altijd begrepen dat ze alleen groeiden, en nooit kleiner
> > werden. 
> > Dat je daarvoor een conversie moet doen die veel ruimte kost. Ik
> > zit hiermee bijvoorbeeld met mijn mailserver, daar wordt veel
> > gewist.
> 
> Dit staat er in mijn aantekeningen, om te verkleinen:
> qemu-img convert -p -O qcow2 kvm52.qcow2 kvm52-klein.qcow2
> 
> Maar dan heb je dus tijdelijk veel ruimte nodig.
> 
> Misschien dat trim het ook zelf kan...

Windows-VM's doen voor zover ik gevonden heb geen discard/trim op
schijven die via de "virtio" bus zijn aangesloten. In elk geval niet
automatisch.

Als je de disks via een (Virtio) SCSI controller op de VM aansluit
gebeurt dit wél. De .qcow2 files op de host worden na zo'n discard ook
kleiner.

(dit werkt ook als je "sparse volumes" in LVM gebruikt in plaats van
qcow-bestanden)

-Martijn



Re: support for xfce in bullseye minimal netinst iso

2021-09-14 Thread David Wright
On Tue 14 Sep 2021 at 09:27:25 (+), Sriram wrote:

> Sorry it was not a minimal buster iso with xfce but i got this file
> debian-10.4.0-amd64-xfce-CD-1.iso which is around 640 MB
> 
> I was able to install and get the system up and running last year , later i 
> updated to Bullseye but going for a kernel update lost my OS few days before
> I then downloded the minimal bullseye iso , but without xfce it is a big 
> problem, also having issues with broadcom wifi driver and there is no wired 
> connectivity.to my system.

Perhaps you should start a new thread, raising the problem with your wifi.
Have you downloaded any non-free firmware for it?

I'm not aware of their having been any CD ISOs with non-free firmware
on them, at least in recent years, but only netinst ISOs. The CD you
mention above certainly does not contain any, but only a tiny bit
of free firmware.

If you can solve your wifi woes, then downloading XFCE will be no problem.

Cheers,
David.



Fwd: Migració de Fedora a Debian al departament d'Informàtica de l'Escola del Treball

2021-09-14 Thread Llibertat

Hola,

Sembla ser que lo de la guía perque les empreses puguin migrar és un
factor comú  :-) és algo que tenía en ment.
Fa molts anys ho vaig probar en empresa en la que vaig treballar i de la
que era responsable informàtic, però desprès de fer els estudis
pertinents i demostrar als diferents responsables de departament la
burrada de calers que s'estalviarien en llicències i no tenir que
actualitzar Hardware sovint, doncs l'empresa va optar per seguir fent
servir Güindows perquè era el que feien servir els seus "amics" gerents
d'altres empreses.

Davant d'arguments com aquests i la ignorància general informàtica (cada
vegada hi ha més informàtica a les vides de tothom però també més
ignorància de com funciona) doncs no es va dur a terme el canvi, en
aquella época les probes les vaig fer sobretot amb Ubuntu, parlo de fa
més de 15 anys, avui en dia els instal·laría Debian sense dubtar.

Un altre problema que em vaig trobar és la resistència general dels
usuaris a treballar amb un sistema operatiu diferent, està clar que
l'èsser humà és animal de costums i els canvis en general fan por,
encara que siguin a molt millor.

Si us puc donar un cop de mà en aquest projecte de documentació per la
migració ...

Salut a tots.

Ricard D.



El 13/9/21 a les 17:19, Blackhold ha escrit:

Hola,
Jo recentment m'he fulmitat tots els windows de la meva empresa (n'he
deixat un virtualitzat i amb accés a través d'apache guacamole), la
idea és també acabar fent una guia de com fer perquè petites empreses
es puguin anar passant a GNU/Linux (en aquest cas debian). Bona idea
la forma de documentar que teniu. Per la part de configuració jo vaig
preparar un script que s'ha d'executar just fer la instal·lació.

Felicitats pel canvi de pedorra a debian ;)

- Blackhold
http://blackhold.nusepas.com
@blackhold_
~> cal lluitar contra el fort per deixar de ser febles, i contra
nosaltres mateixos quan siguem forts (Xirinacs)
<°((( ><

Missatge de Julio Amorós  del dia dl.,
13 de set. 2021 a les 15:47:

Hola companys,
us volíem informar de la migració que s'ha fet al departament
d'Informàtica de l'Escola del Treball. Des de l'any 2000 que estem
fent servir Fedora (RedHat) gràcies a un gran company que ja està
jubilat i que ens va introduir al mon del programari lliure.

No sé si coneixeu una mica les particularitats de les distribucions
Fedora, podríem dir que l'estabilitat no seria el seu punt fort, sent
generosos. Això ens motivava cada curs a no utilitzar la darrera
versió. Sí que és cert però, que hi havia d'altres avantatges.

Al llarg d'aquests anys, hem tingut grans debianites al departament,
alguna desenvolupadora fins i tot, i més o menys sempre hi havia
quòrum en que Debian era una distribució superior, però la migració
d'un sistema a un altre fa molta por. El cas és que l'arribada de
professors joves i competents al nostre departament ha impulsat
aquest canvi. És curiós que al jovent ja no li agradi viure al límit
(Fedora és això i aprens molt :D )

En fi, que a més d'informar-vos d'aquesta migració us volem avisar
que us començarem a fer moltes preguntes.

Per cert, com cada any fem una guia d'instal·lació pels nostres
alumnes de cicles de grau superior, encara està verda, però qualsevol
consell / millora que ens vulgueu donar us estarem molt agraïts.

https://gitlab.com/pingui/deb-at-inf

Vagi bé.

Julio


--
__

El 2003 el català era la llengua habitual del 46 % dels catalans. Al
2018 només del 36 %. Si els castellanoparlants no actuem, desapareixerà.

El 3 de novembre representa el moment de l'any en el que les dones
deixen de cobrar en comparació amb els homes. Hem d’ajudar a les
dones a eliminar aquesta data.

L’administració pública cada any es gasta milions d’euros en
llicències de programari privatiu. Utilitzant programari lliure
estalviem costos i incentivem l’economia local.

La neutralitat davant les desigualtats acaba accentuant-les.




Re: support for xfce in bullseye minimal netinst iso

2021-09-14 Thread Brian
On Tue 14 Sep 2021 at 09:27:25 +, Sriram wrote:

> [...] Can you suggest some links for downloading the bullseye along
> with xfce which comes to less than 1 GB or preferably somewhere around
> 500-800 MB, or suggest ways to install the xfce offline  , there is no
> deb file for such GUI's.

An xfce installation will pull in about 600 M of packages no matter what
you choose to do. Does this give some perspective?

What I would consider is:

1. Skip installation of a desktop in d-i and finish the remainder of the
   process.

2. Reboot, log in and create /etc/apt/apt.conf.d/01keep-debs.

3. Edit this file to have

 Binary::apt::APT::Keep-Downloaded-Packages "true";

   Packages should remain in /var/cache/apt/archives/ for you to reuse.
   No futher downloading of xfce packages is now needed. You have your
   own personal "ISO" at no extra cost to disk space or bandwidth.

4. And finally do

 apt install task-xfce-desktop

-- 
Brian.



Re: Avonturen met virt-manager en wine

2021-09-14 Thread Paul van der Vlis

Op 14-09-2021 om 15:50 schreef Paul van der Vlis:
Ik had altijd begrepen dat ze alleen groeiden, en nooit kleiner werden. 
Dat je daarvoor een conversie moet doen die veel ruimte kost. Ik zit 
hiermee bijvoorbeeld met mijn mailserver, daar wordt veel gewist.


Dit staat er in mijn aantekeningen, om te verkleinen:
qemu-img convert -p -O qcow2 kvm52.qcow2 kvm52-klein.qcow2

Maar dan heb je dus tijdelijk veel ruimte nodig.

Misschien dat trim het ook zelf kan...

Groet,
Paul

--
Paul van der Vlis Linux systeembeheer Groningen
https://www.vandervlis.nl/



Re: support for xfce in bullseye minimal netinst iso

2021-09-14 Thread Andrei POPESCU
On Ma, 14 sep 21, 12:27:34, Joe wrote:
> 
> I will soon be installing unstable starting from a console-only
> bullseye, upgrading at that point and only then loading what I want,
> including GUI and Xfce.

The mini.iso can be used to install unstable directly.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Avonturen met virt-manager en wine

2021-09-14 Thread Paul van der Vlis

Hallo Wouter en anderen,

Op 14-09-2021 om 13:55 schreef Wouter Verhelst:

Hoi Paul,



Persoonlijk werk ik liever met system VMs (en zelfs virsh geeft je een
warning als je user context VMs probeert aan te maken), maar de keuze is
er dus.


Op een server is dat inderdaad beter, maar ik was hier bezig in een 
desktop context. Windows applicaties draaien onder Linux.



Wat me nog negatief opviel was dat je alleen virtuele harddisks kon aanmaken
die de volledige grootte hebben.


Nee, dat is niet correct:

root@pc181009:/var/lib/libvirt/images# ls -lh debian.qcow2
-rw--- 1 root root 21G 25 aug 18:33 debian.qcow2
root@pc181009:/var/lib/libvirt/images# du -sh debian.qcow2
2,2Gdebian.qcow2


Wat raar zeg, blijkbaar geeft ls -lh dus niet altijd de juiste waarde??


Toch wel, maar wat het je toont is niet wat jij denkt dat het is ;-)

>

"ls -l" geeft je de apparent size; "ls -s" geeft je de hoeveelheid
blocks die in gebruik zijn. De twee zijn niet dezelfde waarde


Is hier misschien iets aan veranderd?


Nee hoor; sparse files bestaan al *heel* lang. Wikipedia legt redelijk
goed uit hoe ze functioneren:

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


Ik dacht dat ik op de server wel de gebruikte ruimte kreeg met "ls -lh", 
maar misschien moet ik dit beter controleren.



Het bestand is een "sparse file": dat lijkt in mijn geval 21G groot
te zijn, maar neemt in werkelijkheid slechts 2.2G in beslag. Als het
OS in de VM ook de relevante trim/discard SCSI en ATA calls
gebruikt, dan zal qemu dat opnieuw vrijgeven (mijn Windows VM doet
dat niet en gebruikt dus de volledige content van de virtuele hard
disk, maar mijn Linux VMs doen het allemaal wel goed).


Gut, bij mij doen de Linux VM's dat niet. Ik moet wellicht de host
upgraden.


Het kan ook gewoon config binnen de VM zijn hoor. Kijk na of je
trim/discard aan hebt staan op je mounted filesystems.

Alternatief heb ik misschien een foutje gemaakt en doet qemu helemaal
geen fallocate() om het bestand terug sparse te maken, maar worden
alleen sparse files aangemaakt bij het aanmaken van de VM. Deze VM is
nog niet zó geweldig veel gebruikt, dus het kan zijn dat dat de reden is
dat het bestand nog niet helemaal gealloceerd is...


Ik had altijd begrepen dat ze alleen groeiden, en nooit kleiner werden. 
Dat je daarvoor een conversie moet doen die veel ruimte kost. Ik zit 
hiermee bijvoorbeeld met mijn mailserver, daar wordt veel gewist.



Je kan verder ook andere storage backends configureren:

rechtermuisknop op "QEMU/KVM" -> Details -> Storage -> op "+" klikken
onderaan links -> Type openklappen. Bij mij zie ik:

dir: Bestandssysteem map
disk: Fysiek schijf apparaat
fs: Pre-geformatteerd blok apparaat
gluster: Gluster Filesystem
iscsi: iSCSI doel
logical: LVM volume group
mpath: Multi-pad apparaat opsommen
netfs: Netwerk geëxporteerde map
rbd: RADOS Block Device/Ceph
scsi: SCSI host adapter
sheepdog: Sheepdog Filesystem
zfs: ZFS Pool


Interessant, vooral die "dir" kende ik nog niet.


Eh, dat is de default, en is waarschijnlijk ook degene die je gebruikt ;-)

("dir" maakt gewoon .qcow2-bestanden aan in een directory ergens op het
bestandssysteem)


Ah. Ik dacht even dat je de gegevens ook gewoon direct in een directory 
kon zetten, zoals bij een chroot. Maar dus niet.


Groet,
Paul

--
Paul van der Vlis Linux systeembeheer Groningen
https://www.vandervlis.nl/



Re: copy directory tree, mapping to new owners

2021-09-14 Thread David Wright
On Tue 14 Sep 2021 at 08:50:34 (+0200), to...@tuxteam.de wrote:
> On Tue, Sep 14, 2021 at 12:17:05PM +1200, Richard Hector wrote:
> > On 13/09/21 7:04 pm, to...@tuxteam.de wrote:
> > >On Mon, Sep 13, 2021 at 11:45:02AM +1200, Richard Hector wrote:
> > >>On 12/09/21 6:52 pm, john doe wrote:
> > >
> > >[...]
> > >
> > >>>If you are doing this in a script, I would use a temporary directory.
> > >>>That way, in case of failure the destination directory is not rongly
> > >>>modified.
> > >>>
> > >>>EG:
> > >>>
> > >>>$ rsync  
> > >>>
> > >>>Make  the way you want it to be.
> > >>>
> > >>>$ rsync  
> > >>
> > >>That is true, but firstly it would require more available space [...]
> > >
> > >This isn't necessary, as you could replace the second `rsync' by a `mv'
> > >(provided your temp tree is on the same storage volume as your target
> > >dir, that is).
> > 
> > I was assuming the suggestion was to rsync the source to the temp
> > while the destination still exists, before rsyncing or mv'ing over
> > the top of it. Total of 3 copies (temporarily) rather than 2.
> 
> Then, it's different. But in your scenario you would probably want
> to take down whatever "service" relies on the destination dir while
> the copy is in progress.

As I read the first paragraph of the OP, the service relies on the
*source* files, and the destination is just the copy, being created
and/or updated for testing. I presume that is why the OP is not
too worried by failure.

> In any case, if you haven't the space, you haven't it. Sysadmin's
> life ain't always nice :)

Cheers,
David.



Re: pulseaudio

2021-09-14 Thread Georges


  Bonjour et merci à Hugues Larrive

 J'ai tout réinstallé bluez, bluez-obexd, libkfsbluezqt-data, blueman,
 pulseaudio, pulseaudio-module-bluetooth, paprefs.
 J'a purgé pipewire, libpipeware-0.3-modules, pipeware-bin,
 xdg-desktop-portal, xdg-desktop-portal-gtk
 J'ai relancé (powerof) mon portable et vous savez quoi ?

 Mon casque P15 fonctionne en Bluetooth et aussi avec un câble  audio
 Male/Male.

 Pourvu que sa dure ;-)

 Avec toute ma gratitude !!!

Le Mon, 13 Sep 2021 21:23:40 +0200,

G a écrit :

> 
> Le Mon, 13 Sep 2021 19:10:06 +,
> 
> HL a écrit :
> 
> > Bonsoir,
> > 
> > Le lundi 13 septembre 2021 à 20:45, Georges 
> > a écrit :
> > 
> > > 
> > 
> > > Pas possible car j'ai purgé pulseaudio et blueman en attendant
> > > 
> > 
> > > une solution.
> > > 
> > 
> > 
> > Ça me rappel la première bullseye que j'ai installé il y a quelques
> > mois, impossible d'avoir du son en bluetooth sous mate desktop
> > jusqu'à ce que je vire pipewire, notamment libpipewire-0.3* et
> > libspa-0.2*.
> > 
> > @+
> > Hugues
> 
>  J'ai déjà vu cette solution quelque part. Je l'ai essayé et pas
>  d'amélioration. Mais je la retenterai en réinstallant blueman et
>  pulseaudio . A plus  et  à demain ;-)
> 



Re: support for xfce in bullseye minimal netinst iso

2021-09-14 Thread Andrew M.A. Cater
On Tue, Sep 14, 2021 at 01:56:23PM +0200, Thomas Schmitt wrote:
> Hi,
> 
> Andrew M.A. Cater wrote:
> > If a DVD image is too big to download in and of itself, there are
> > tools like jigdo which will allow you to build the media images from
> > individual packages
> 
> Jigdo does not support the composition of new images.
> The .template file inflates to the size of the ISO image for which it
> was produced. This inflated file contains holes into which jigdo-lite
> inserts .deb packages which it downloads according to the .jigdo file.
> 

No, but it does allow you to get a DVD sized image over a number 
of days or a much longer period by connecting as/when you can or taking
the opportunity of a higher bandwidth connection somewhere as and 
when available.

I have good internet bandwidth here so not a problem - but the fact that
jigdo is restartable at any point is a plus if you're obliged to use it.

All best,

Andy C.


> -
> Another idea to get a smaller XFCE capable image:
> 
> One could use the "modifying" use case of xorriso to strip down a
> DVD sized image by removing packages which will surely not be needed.
> 
>   xorriso -indev debian-11.0.0-amd64-DVD-1.iso \
>   -outdev my_new_debian_11.iso \
>   -rm ...paths.in.the.ISO... -- \
>   -boot_image any replay
> 
> (Note that this time it is "replay" not "keep" with the -boot_image
> command. "keep" works only with multi-session, which always enlarges ISOs
> even if files get removed/hidden.)
> 
> Above method would avoid the need to download dozens of .deb files which
> are needed for XFCE. But it imposes the need to download a whole DVD sized
> image.
> 
> 
> Have a nice day :)
> 
> Thomas
> 



Re: support for xfce in bullseye minimal netinst iso

2021-09-14 Thread Thomas Schmitt
Hi,

Andrew M.A. Cater wrote:
> If a DVD image is too big to download in and of itself, there are
> tools like jigdo which will allow you to build the media images from
> individual packages

Jigdo does not support the composition of new images.
The .template file inflates to the size of the ISO image for which it
was produced. This inflated file contains holes into which jigdo-lite
inserts .deb packages which it downloads according to the .jigdo file.

-
Another idea to get a smaller XFCE capable image:

One could use the "modifying" use case of xorriso to strip down a
DVD sized image by removing packages which will surely not be needed.

  xorriso -indev debian-11.0.0-amd64-DVD-1.iso \
  -outdev my_new_debian_11.iso \
  -rm ...paths.in.the.ISO... -- \
  -boot_image any replay

(Note that this time it is "replay" not "keep" with the -boot_image
command. "keep" works only with multi-session, which always enlarges ISOs
even if files get removed/hidden.)

Above method would avoid the need to download dozens of .deb files which
are needed for XFCE. But it imposes the need to download a whole DVD sized
image.


Have a nice day :)

Thomas



Re: Avonturen met virt-manager en wine

2021-09-14 Thread Wouter Verhelst
Hoi Paul,

On Sat, Sep 11, 2021 at 10:38:01PM +0200, Paul van der Vlis wrote:
> Op 08-09-2021 om 17:44 schreef Wouter Verhelst:
[...]
> > Je weet dat dat niet toegestaan is volgens de licentie?
> 
> Nee, wist ik niet precies. Maar was te verwachten.

Tjah :)

[...]
> > > Wat me nog opviel was dat virt-manager root rechten nodig heeft. Maar je
> > > kunt er vrij simpel voor zorgen dat hij dat blijvend krijgt door ergens 
> > > een
> > > vinkje te zetten. De disks van je virtuele machines komen niet in je
> > > home-directory maar ergens in /var/lib/libvirt.
> > 
> > Je kan ook je gebruiker aan de juiste groep toevoegen:
> > 
> > sudo adduser wouter libvirt
> >
> > Nu heeft de gebruiker 'wouter' rechten om de VMs in de "system" libvirtd
> > te beheren.
> 
> Bij nader inzien had ik dat waarschijnlijk ook gedaan.
> 
> > Alternatief is het ook perfect mogelijk om een libvirtd in
> > gebruikerscontext te draaien, maar dan kan je alleen NAT netwerken
> > gebruiken (naast een aantal andere minimale beperkingen). Als je dat
> > wilt proberen, dan doe je
> > 
> > Bestand -> Verbinding toevoegen... -> QEMU/KVM gebruikerssessie
> > 
> > VMs in een gebruikerssessie draaien onder de UID van de gebruiker ipv de
> > "libvirt" UID, en virtuele hard disks worden dan in
> > $HOME/.local/share/libvirt/images geschreven.
> 
> Aha. Zal ik in mijn gedachten houden. Wellicht beter inderdaad.

Goh. In sommige situaties is dat handiger, ja, maar zeker niet altijd;
vooral als je geen systemd gebruikt is dat geen goed idee (want dan
worden je VMs niet correct afgesloten bij het afsluiten van het
systeem). Ook is een VM in user context niet direct beschikbaar van
buiten het virtuele netwerk (zelfs niet vanop de host), omwille van
NAT-only netwerken en zo.

Persoonlijk werk ik liever met system VMs (en zelfs virsh geeft je een
warning als je user context VMs probeert aan te maken), maar de keuze is
er dus.

[...]
> > > Wat me nog negatief opviel was dat je alleen virtuele harddisks kon 
> > > aanmaken
> > > die de volledige grootte hebben.
> > 
> > Nee, dat is niet correct:
> > 
> > root@pc181009:/var/lib/libvirt/images# ls -lh debian.qcow2
> > -rw--- 1 root root 21G 25 aug 18:33 debian.qcow2
> > root@pc181009:/var/lib/libvirt/images# du -sh debian.qcow2
> > 2,2Gdebian.qcow2
> 
> Wat raar zeg, blijkbaar geeft ls -lh dus niet altijd de juiste waarde??

Toch wel, maar wat het je toont is niet wat jij denkt dat het is ;-)

"ls -l" geeft je de apparent size; "ls -s" geeft je de hoeveelheid
blocks die in gebruik zijn. De twee zijn niet dezelfde waarde

> Is hier misschien iets aan veranderd?

Nee hoor; sparse files bestaan al *heel* lang. Wikipedia legt redelijk
goed uit hoe ze functioneren:

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

> > Het bestand is een "sparse file": dat lijkt in mijn geval 21G groot
> > te zijn, maar neemt in werkelijkheid slechts 2.2G in beslag. Als het
> > OS in de VM ook de relevante trim/discard SCSI en ATA calls
> > gebruikt, dan zal qemu dat opnieuw vrijgeven (mijn Windows VM doet
> > dat niet en gebruikt dus de volledige content van de virtuele hard
> > disk, maar mijn Linux VMs doen het allemaal wel goed).
> 
> Gut, bij mij doen de Linux VM's dat niet. Ik moet wellicht de host
> upgraden.

Het kan ook gewoon config binnen de VM zijn hoor. Kijk na of je
trim/discard aan hebt staan op je mounted filesystems.

Alternatief heb ik misschien een foutje gemaakt en doet qemu helemaal
geen fallocate() om het bestand terug sparse te maken, maar worden
alleen sparse files aangemaakt bij het aanmaken van de VM. Deze VM is
nog niet zó geweldig veel gebruikt, dus het kan zijn dat dat de reden is
dat het bestand nog niet helemaal gealloceerd is...

> > Je kan verder ook andere storage backends configureren:
> > 
> > rechtermuisknop op "QEMU/KVM" -> Details -> Storage -> op "+" klikken
> > onderaan links -> Type openklappen. Bij mij zie ik:
> > 
> > dir: Bestandssysteem map
> > disk: Fysiek schijf apparaat
> > fs: Pre-geformatteerd blok apparaat
> > gluster: Gluster Filesystem
> > iscsi: iSCSI doel
> > logical: LVM volume group
> > mpath: Multi-pad apparaat opsommen
> > netfs: Netwerk geëxporteerde map
> > rbd: RADOS Block Device/Ceph
> > scsi: SCSI host adapter
> > sheepdog: Sheepdog Filesystem
> > zfs: ZFS Pool
> 
> Interessant, vooral die "dir" kende ik nog niet.

Eh, dat is de default, en is waarschijnlijk ook degene die je gebruikt ;-)

("dir" maakt gewoon .qcow2-bestanden aan in een directory ergens op het
bestandssysteem)

Groeten,

-- 
 w@uter.{be,co.za}
wouter@{grep.be,fosdem.org,debian.org}



Re: support for xfce in bullseye minimal netinst iso

2021-09-14 Thread Andrew M.A. Cater
On Tue, Sep 14, 2021 at 05:50:53AM +, Sriram wrote:
> Hi Team
> Please include support for xfce in the minimal bullseye netinst iso file.
> The existing file dose not include xfce and it is a pain to use the xfce 
> without GUI
> 
> Earlier editions like buster included xfce in the minimal install file.
> 

Hi Sriram,

There's no specific support for any desktop in the netinst size file.
As mentioned in one of the other replies to this thread - it's too big
for a CD now and, given the usage of these and the effort of producing
and testing images the media release team have cut down on the number of
discrete images produced for Bullseye [Debian 11] and going forward.

You can grab a netinst and isntall any desktop you want. You can grab a DVD
size image and should be able to install xfce without any further network 
access. If a DVD image is too big to download in and of itself, there are
tools like jigdo which will allow you to build the media images from 
individual packages - but require some network access.

If your network aaccess is severely limited, you may need to think carefully
about how you use Debian - security updates come out regularly, for example.

All the very best, as ever,

Andy Cater

[Who is also part of the media team for release testing]



Re: support for xfce in bullseye minimal netinst iso

2021-09-14 Thread Joe
On Tue, 14 Sep 2021 05:50:53 + (UTC)
Sriram  wrote:

> Hi Team
> Please include support for xfce in the minimal bullseye netinst iso
> file. The existing file dose not include xfce and it is a pain to use
> the xfce without GUI
> 
> Earlier editions like buster included xfce in the minimal install
> file.
> 

I used an ordinary netinstall image, not described as 'minimal'. Xfce
was certainly listed among the desktop environments, and it installed
without problems on a very old laptop.

But all the netinstalls pull most of their software from the Net, as
the name implies. 'Support' for a desktop in a netinstall is no more
than an entry in a text list. Even without that, a console-only
installation can be made and Xfce and supporting graphics can be
installed normally, though not as conveniently.

I will soon be installing unstable starting from a console-only
bullseye, upgrading at that point and only then loading what I want,
including GUI and Xfce.

-- 
Joe



Re: Migració de Fedora a Debian al departament d'Informàtica de l'Escola del Treball

2021-09-14 Thread Llibertat

Hola,

etckeeper ... li he donat un cop d'ull i sembla interessant, sabeu si es
por sincronitzar amb un servidor git remot, de la mateixa forma que fa
els commits automàtics, que també fagi push automàtics?

Gràcies

Ricard D.


On 14/9/21 9:55, Joan wrote:

Està tot inventat! Mola això de l'etckeeper!  Merci Lluís!





Re: support for xfce in bullseye minimal netinst iso

2021-09-14 Thread Thomas Schmitt
Hi,

Sriram wrote:
> it was not a minimal buster iso with xfce but i got this file
> debian-10.4.0-amd64-xfce-CD-1.iso which is around 640 MB

The CD sized images seem to have been discontinued.
I would have expected to find some at least here:
  https://cdimage.debian.org/debian-cd/current/amd64/jigdo-cd/

The demise seems to have history.
A lonely xfce-CD-1 existed with Debian 10 and 9
  https://cdimage.debian.org/mirror/cdimage/archive/10.0.0/amd64/jigdo-cd/
  https://cdimage.debian.org/mirror/cdimage/archive/9.0.0/amd64/jigdo-cd/
A set of 84 CD sized images existed in Debian 8
  https://cdimage.debian.org/mirror/cdimage/archive/8.0.0/amd64/jigdo-cd/
(And i thought the ~ 50 floppies were an insane stack, back in the 1990s
when i witnessed my first Linux installation on a 80386.)


> Can you suggest some links for downloading the bullseye along with xfce
> which comes to less than 1 GB or preferably somewhere around 500-800 MB,

I guess the size requirements of modern XFCE killed the 650 MB image.
You could ask at debian-cd mailing list whether xfce-CD-1 could be revived
as 700 MiB or 800 MiB image for one of the two contemporary CD sizes.
(They really take 702 * 1024 * 1024 or 800 * 1024 * 1024 bytes.)
A more modern request would be for an image for a "1 GB" stick (let's say
950 MiB, to include all hardware cheaters).

  debian...@lists.debian.org
  https://lists.debian.org/debian-cd/


> or suggest ways to install the xfce offline  , there is no deb file for such
> GUI's

If you already have a working GNU/Linux system and are very adventurous,
then you could try to add the necessary .deb files to the netinst ISO
and learn the (hopefully few) shell commands to install them from the
booted netinst system.

Identifying the necessary .deb files will not be easy. But i think they
have to be listed in
  
https://cdimage.debian.org/debian-cd/current/amd64/list-dvd/debian-11.0.0-amd64-DVD-1.list.gz
Getting them is a matter of indvidual dowload from a Debian mirror. Like:
  http://ftp.at.debian.org/debian/pool/main/x/xfce4-taskmanager/
Putting them into the ISO is possible by xorriso multi-session, similar to
the proposal in
  https://lists.debian.org/debian-user/2021/08/msg01170.html
You would not suffer the hardships of kernel and ramdisk manipulation but
would have to take care to place each .deb into its proper ISO directory
under
  /pool/main/
It has to be the same as on the Debian mirror server from which you get
them. The final commands to install XFCE will then probably be the easiest
part.

I offer my support as far as adding a prepared tree of pool/main to the
existing netinst ISO is concerned.
Help with everything else would have to be given by others.


Have a nice day :)

Thomas



Re: support for xfce in bullseye minimal netinst iso

2021-09-14 Thread Sriram
 Hi Thomas
Thanks for your reply
Sorry it was not a minimal buster iso with xfce but i got this file
debian-10.4.0-amd64-xfce-CD-1.iso which is around 640 MB

I was able to install and get the system up and running last year , later i 
updated to Bullseye but going for a kernel update lost my OS few days before
I then downloded the minimal bullseye iso , but without xfce it is a big 
problem, also having issues with broadcom wifi driver and there is no wired 
connectivity.to my system.
I am not able to download the bullseye iso file which you mentioned since it is 
around 3.7 GB which is too large.
Can you suggest some links for downloading the bullseye along with xfce which 
comes to less than 1 GB or preferably somewhere around 500-800 MB, or suggest 
ways to install the xfce offline  , there is no deb file for such GUI's
On Tuesday, 14 September, 2021, 12:12:43 pm IST, Thomas Schmitt 
 wrote:  
 
 Hi,

Sriram wrote:
> Earlier editions like buster included xfce in the minimal install file.

Are sure that you did not use the DVD-1 images with these earlier Debian
versions ?

  
https://cdimage.debian.org/debian-cd/current/amd64/list-dvd/debian-11.0.0-amd64-DVD-1.list.gz
lists various XFCE related packages.
This list describes the ISO image at
  
https://cdimage.debian.org/debian-cd/current/amd64/iso-dvd/debian-11.0.0-amd64-DVD-1.iso


The netinst ISOs are too small to hold the packages of a desktop
environment. Looking into debian-10.6.0-amd64-netinst.iso ,
debian-9.3.0-amd64-netinst.iso, and debian-8.1.0-amd64-netinst.iso i do not
see any package files with "xfce" in the name.


Have a nice day :)

Thomas

  

ubuntu mint vs debian: personalització de xfce per a nouvinguts a debian11

2021-09-14 Thread pedeb

Arrel de l'email de pingui m'animo a explicaros això

L'altre dia parlàvem de quin és el millor entorn pels usuaris nouvinguts 
a gnu/linux


de seguida sortia ubuntu, linux mint; hi ha motius:

- inclouen drivers privatius tals com el wifi del portàtil que poden ser 
crítics a vegades
- l'aspecte per defecte està preparat per a nous usuaris amb 
familiaritat amb windows


total, que li he estat donant voltes a què podia fer

aquesta és una imatge amb els nonfree 
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/11.0.0+nonfree/multi-arch/iso-cd/firmware-11.0.0-amd64-i386-netinst.iso


i aquí un script que transforma el xfce més tipus "linux mint"; 
(l'enllaç inclou screenshot de l'abans i el després)


https://gitlab.com/guifi-exo/wiki/-/tree/master/howto/desktop#xfce_to_windows-to-adapt-a-new-installed-debian-11-with-xfce-desktop-to-newcomers-that-are-familiar-to-windows-environment

benvinguts siguin els comentaris



Re: privacitat / seguretat

2021-09-14 Thread Joan
Per cert, aprofito per fer una mica de proselitisme (alguns ja n'esteu
al cas): estic treballant en una pàgina que responent unes preguntes et
proposa millores en el teu perfil de privacitat/seguretat digital...
Algú podria pensar que Debian és el punt d'arribada, però encara es pot
anar més enllà :-p

https://privacitat.calbasi.net/

Pd.: qualsevol dia poso un "wanted", algú que passi totes les pantalles
i el sistema no li pugui oferir cap suggeriment de millora perquè ja ho
fa tot "la mar de bé" :-) De fet, si algu ho acredita estic disposat a
donar-li 200 G1 :-D 

-- 
Joan Cervan i Andreu
http://personal.calbasi.net

"El meu paper no és transformar el món ni l'home sinó, potser, el de
ser útil, des del meu lloc, als pocs valors sense els quals un món no
val la pena viure'l" A. Camus

i pels que teniu fe:
"Déu no és la Veritat, la Veritat és Déu"
Gandhi

"Donar exemple no és la principal manera de influir sobre els altres;
es la única manera" Albert Einstein

“Lluitarem contra el fort mentre siguem febles i contra nosaltres
mateixos quan siguem forts” Lluís Maria Xirinacs


El Mon, 13 Sep 2021 15:47:08 +0200
Julio Amorós  va escriure:

> Hola companys,
> us volíem informar de la migració que s'ha fet al departament
> d'Informàtica de l'Escola del Treball. Des de l'any 2000 que estem
> fent servir Fedora (RedHat) gràcies a un gran company que ja està
> jubilat i que ens va introduir al mon del programari lliure.
> 
> No sé si coneixeu una mica les particularitats de les distribucions
> Fedora, podríem dir que l'estabilitat no seria el seu punt fort, sent
> generosos. Això ens motivava cada curs a no utilitzar la darrera
> versió. Sí que és cert però, que hi havia d'altres avantatges.
> 
> Al llarg d'aquests anys, hem tingut grans debianites al departament,
> alguna desenvolupadora fins i tot, i més o menys sempre hi havia
> quòrum en que Debian era una distribució superior, però la migració
> d'un sistema a un altre fa molta por. El cas és que l'arribada de
> professors joves i competents al nostre departament ha impulsat
> aquest canvi. És curiós que al jovent ja no li agradi viure al límit
> (Fedora és això i aprens molt :D )
> 
> En fi, que a més d'informar-vos d'aquesta migració us volem avisar
> que us començarem a fer moltes preguntes.
> 
> Per cert, com cada any fem una guia d'instal·lació pels nostres
> alumnes de cicles de grau superior, encara està verda, però qualsevol
> consell / millora que ens vulgueu donar us estarem molt agraïts.
> 
> https://gitlab.com/pingui/deb-at-inf
> 
> Vagi bé.
> 
> Julio
> 
> 



-- 
Joan Cervan i Andreu
http://personal.calbasi.net

"El meu paper no és transformar el món ni l'home sinó, potser, el de
ser útil, des del meu lloc, als pocs valors sense els quals un món no
val la pena viure'l" A. Camus

i pels que teniu fe:
"Déu no és la Veritat, la Veritat és Déu"
Gandhi

"Donar exemple no és la principal manera de influir sobre els altres;
es la única manera" Albert Einstein

“Lluitarem contra el fort mentre siguem febles i contra nosaltres
mateixos quan siguem forts” Lluís Maria Xirinacs



Re: Migració de Fedora a Debian al departament d'Informàtica de l'Escola del Treball

2021-09-14 Thread Joan
Per cert, Julio, si a part de la llista de correu, a on em penso que hi
ha molta gent i respostes molt àgils, vols enredar-te amb el chat per
preguntes "immediates", que sàpigues que tenim canal de matrix:

#debian-cat:matrix.org

(no recordo si està connectat amb el canal de IRC també)

-- 
Joan Cervan i Andreu
http://personal.calbasi.net

"El meu paper no és transformar el món ni l'home sinó, potser, el de
ser útil, des del meu lloc, als pocs valors sense els quals un món no
val la pena viure'l" A. Camus

i pels que teniu fe:
"Déu no és la Veritat, la Veritat és Déu"
Gandhi

"Donar exemple no és la principal manera de influir sobre els altres;
es la única manera" Albert Einstein

“Lluitarem contra el fort mentre siguem febles i contra nosaltres
mateixos quan siguem forts” Lluís Maria Xirinacs


El Mon, 13 Sep 2021 15:47:08 +0200
Julio Amorós  va escriure:

> Hola companys,
> us volíem informar de la migració que s'ha fet al departament
> d'Informàtica de l'Escola del Treball. Des de l'any 2000 que estem
> fent servir Fedora (RedHat) gràcies a un gran company que ja està
> jubilat i que ens va introduir al mon del programari lliure.
> 
> No sé si coneixeu una mica les particularitats de les distribucions
> Fedora, podríem dir que l'estabilitat no seria el seu punt fort, sent
> generosos. Això ens motivava cada curs a no utilitzar la darrera
> versió. Sí que és cert però, que hi havia d'altres avantatges.
> 
> Al llarg d'aquests anys, hem tingut grans debianites al departament,
> alguna desenvolupadora fins i tot, i més o menys sempre hi havia
> quòrum en que Debian era una distribució superior, però la migració
> d'un sistema a un altre fa molta por. El cas és que l'arribada de
> professors joves i competents al nostre departament ha impulsat
> aquest canvi. És curiós que al jovent ja no li agradi viure al límit
> (Fedora és això i aprens molt :D )
> 
> En fi, que a més d'informar-vos d'aquesta migració us volem avisar
> que us començarem a fer moltes preguntes.
> 
> Per cert, com cada any fem una guia d'instal·lació pels nostres
> alumnes de cicles de grau superior, encara està verda, però qualsevol
> consell / millora que ens vulgueu donar us estarem molt agraïts.
> 
> https://gitlab.com/pingui/deb-at-inf
> 
> Vagi bé.
> 
> Julio
> 
> 



-- 
Joan Cervan i Andreu
http://personal.calbasi.net

"El meu paper no és transformar el món ni l'home sinó, potser, el de
ser útil, des del meu lloc, als pocs valors sense els quals un món no
val la pena viure'l" A. Camus

i pels que teniu fe:
"Déu no és la Veritat, la Veritat és Déu"
Gandhi

"Donar exemple no és la principal manera de influir sobre els altres;
es la única manera" Albert Einstein

“Lluitarem contra el fort mentre siguem febles i contra nosaltres
mateixos quan siguem forts” Lluís Maria Xirinacs



Re: Migració de Fedora a Debian al departament d'Informàtica de l'Escola del Treball

2021-09-14 Thread Joan
Està tot inventat! Mola això de l'etckeeper!  Merci Lluís!

-- 
Joan Cervan i Andreu
http://personal.calbasi.net

"El meu paper no és transformar el món ni l'home sinó, potser, el de
ser útil, des del meu lloc, als pocs valors sense els quals un món no
val la pena viure'l" A. Camus

i pels que teniu fe:
"Déu no és la Veritat, la Veritat és Déu"
Gandhi

"Donar exemple no és la principal manera de influir sobre els altres;
es la única manera" Albert Einstein

“Lluitarem contra el fort mentre siguem febles i contra nosaltres
mateixos quan siguem forts” Lluís Maria Xirinacs


El Mon, 13 Sep 2021 10:18:37 -0500
tictacbum  va escriure:

> Hola Julio, felicitats pel canvi i sort amb la migració!
> no sé si coneixes etckeeper però crec que us pot ser força útil a
> l'escola, manté un historial de canvis a /etc en un repositori git
> 
> salut!!
> 
> Missatge de Julio Amorós  del dia dl.,
> 13 de set. 2021 a les 8:47:
> 
> > Hola companys,
> > us volíem informar de la migració que s'ha fet al departament
> > d'Informàtica de l'Escola del Treball. Des de l'any 2000 que estem
> > fent servir Fedora (RedHat) gràcies a un gran company que ja està
> > jubilat i que ens va introduir al mon del programari lliure.
> >
> > No sé si coneixeu una mica les particularitats de les distribucions
> > Fedora, podríem dir que l'estabilitat no seria el seu punt fort,
> > sent generosos. Això ens motivava cada curs a no utilitzar la
> > darrera versió. Sí que és cert però, que hi havia d'altres
> > avantatges.
> >
> > Al llarg d'aquests anys, hem tingut grans debianites al departament,
> > alguna desenvolupadora fins i tot, i més o menys sempre hi havia
> > quòrum en que Debian era una distribució superior, però la migració
> > d'un sistema a un altre fa molta por. El cas és que l'arribada de
> > professors joves i competents al nostre departament ha impulsat
> > aquest canvi. És curiós que al jovent ja no li agradi viure al
> > límit (Fedora és això i aprens molt :D )
> >
> > En fi, que a més d'informar-vos d'aquesta migració us volem avisar
> > que us començarem a fer moltes preguntes.
> >
> > Per cert, com cada any fem una guia d'instal·lació pels nostres
> > alumnes de cicles de grau superior, encara està verda, però
> > qualsevol consell / millora que ens vulgueu donar us estarem molt
> > agraïts.
> >
> > https://gitlab.com/pingui/deb-at-inf
> >
> > Vagi bé.
> >
> > Julio
> >
> >
> > --
> > __
> >
> >
> >-
> >
> >El 2003 el català era la llengua habitual del 46 % dels
> > catalans. Al 2018 només del 36 %. Si els castellanoparlants no
> > actuem, desapareixerà. -
> >
> >El 3 de novembre representa el moment de l'any en el que les
> > dones deixen de cobrar en comparació amb els homes. Hem d’ajudar a
> > les dones a eliminar aquesta data.
> >-
> >
> >L’administració pública cada any es gasta milions d’euros en
> >llicències de programari privatiu. Utilitzant programari lliure
> > estalviem costos i incentivem l’economia local.
> >
> > *La neutralitat davant les desigualtats acaba accentuant-les.*
> >  



-- 
Joan Cervan i Andreu
http://personal.calbasi.net

"El meu paper no és transformar el món ni l'home sinó, potser, el de
ser útil, des del meu lloc, als pocs valors sense els quals un món no
val la pena viure'l" A. Camus

i pels que teniu fe:
"Déu no és la Veritat, la Veritat és Déu"
Gandhi

"Donar exemple no és la principal manera de influir sobre els altres;
es la única manera" Albert Einstein

“Lluitarem contra el fort mentre siguem febles i contra nosaltres
mateixos quan siguem forts” Lluís Maria Xirinacs



Re: [DEBIAN-BR] halt vs shutdown

2021-09-14 Thread Gilberto F da Silva
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Sep 13, 2021 at 05:52:15PM -0300, Leandro Guimarães Faria Corcete DUTRA 
wrote:
Le lundi 13 septembre 2021 à 17:20 -0300, Gilberto F da Silva a écrit :
> On Sep 10, 2021 12:34:30PM −3, Leandro Guimarães Faria Corcete DUTRA:
> 10 set 2021 9:40 −3, Gilberto F da Silva:
> > No Slackware o halt desliga a máquina.
> 
> man halt:
> 
> ‘Note that on many SysV systems halt used to be synonymous
> to poweroff, i.e. both commands would equally result in
> powering the machine off. systemd is more accurate here,
> and halt results in halting the machine only (leaving
> power on)

Isso fala que *era* o caso em alguns SysV, mas que não é o caso no
systemd, e nada fala sobre o Slackware.



>> ¿Que diz o man do Slackware?
>
> NOTES
>
> Under older sysvinit releases, reboot and halt should never be
> called directly. From release 2.74 on halt and reboot invoke
> shutdown(8) if the system is not in runlevel 0 or 6. This means
> that if halt or reboot cannot find out the current runlevel (for
> example, when /var/run/utmp hasn't been initialized correctly and
> /var/run/runlevel does not exist) shutdown will be called, which
> might not be what you want.  Use the -f flag if you want to do a
> hard halt or reboot.
> 
> The -h flag puts all hard disks in standby mode just before halt
> or power-off. Right now this is only implemented for IDE drives. A
> side effect of putting the drive in stand-by mode is that the
> write cache on the disk is flushed. This is important for IDE
> drives, since the kernel doesn't flush the write cache itself
> before power-off.

Ainda não está claro.  Se isso é parte do man halt do Slackware, diz
apenas que chama o shutdown em algumas circunstâncias, mas não diz
com que parâmetros exatamente.  De qualquer modo, é irrelevante aqui
nesta lista de Debian…

  Estou surpreso commuma coisa. Achava que essas coisas de linha de comando 
eram iguais em todas as distribuções.
  
- -- 

Stela dato:2.459.471,655  Loka tempo:2021-09-14 00:43:54 Mardo
- -==-
"Eu às vezes me pergunto como as igrejas evangélicas conseguem fazer 
lavagem cerebral em milhares de pessoas.  Os fiéis ficam 
completamente obcecados  e não percebem que estão deixando os 
pastores cada vez mais ricos às custas desse mensalinho do demônio.  
Eu não acredito absolutamente naquilo .  Fé a gente tem sem explicar. 
 O que eles fazem são promessas vazias, agem como políticos."
-- Hebe Camargo - Veja 1926
-BEGIN PGP SIGNATURE-
Comment: +-+
Comment: !   Gilberto F da Silva - ICQ 136.782.571 !
Comment: +-+

iF0EARECAB0WIQR6BybJIKBLy3+8xXcnG6Ba0yEbDgUCYUAa5wAKCRAnG6Ba0yEb
Dih9AKCVlfgtNcD+9wbMobImwNXXV7N4RgCgvJnamg2LJqt1sDnpYm1B5vIWa6s=
=TbLd
-END PGP SIGNATURE-



Re: support for xfce in bullseye minimal netinst iso

2021-09-14 Thread Andrei POPESCU
On Ma, 14 sep 21, 05:50:53, Sriram wrote:
> Hi Team
> Please include support for xfce in the minimal bullseye netinst iso file.
> The existing file dose not include xfce and it is a pain to use the xfce 
> without GUI
> 
> Earlier editions like buster included xfce in the minimal install file.
 
As already explained by Thomas, the netinst image itself doesn't contain 
any Desktop Environment (and probably never did).

If you selected XFCE Desktop Environment during install and the 
graphical environment doesn't work the first thing to try is the image 
including firmware, as this is required by many modern graphic devices:

https://cdimage.debian.org/images/unofficial/non-free/images-including-firmware/

Otherwise please describe in detail what is (or not) happening after the 
install is completed.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: copy directory tree, mapping to new owners

2021-09-14 Thread tomas
On Tue, Sep 14, 2021 at 12:17:05PM +1200, Richard Hector wrote:
> On 13/09/21 7:04 pm, to...@tuxteam.de wrote:
> >On Mon, Sep 13, 2021 at 11:45:02AM +1200, Richard Hector wrote:
> >>On 12/09/21 6:52 pm, john doe wrote:
> >
> >[...]
> >
> >>>If you are doing this in a script, I would use a temporary directory.
> >>>That way, in case of failure the destination directory is not rongly
> >>>modified.
> >>>
> >>>EG:
> >>>
> >>>$ rsync  
> >>>
> >>>Make  the way you want it to be.
> >>>
> >>>$ rsync  
> >>
> >>That is true, but firstly it would require more available space [...]
> >
> >This isn't necessary, as you could replace the second `rsync' by a `mv'
> >(provided your temp tree is on the same storage volume as your target
> >dir, that is).
> 
> I was assuming the suggestion was to rsync the source to the temp
> while the destination still exists, before rsyncing or mv'ing over
> the top of it. Total of 3 copies (temporarily) rather than 2.

Then, it's different. But in your scenario you would probably want
to take down whatever "service" relies on the destination dir while
the copy is in progress.

In any case, if you haven't the space, you haven't it. Sysadmin's
life ain't always nice :)

Cheers
 - t


signature.asc
Description: Digital signature


Re: support for xfce in bullseye minimal netinst iso

2021-09-14 Thread Thomas Schmitt
Hi,

Sriram wrote:
> Earlier editions like buster included xfce in the minimal install file.

Are sure that you did not use the DVD-1 images with these earlier Debian
versions ?

  
https://cdimage.debian.org/debian-cd/current/amd64/list-dvd/debian-11.0.0-amd64-DVD-1.list.gz
lists various XFCE related packages.
This list describes the ISO image at
  
https://cdimage.debian.org/debian-cd/current/amd64/iso-dvd/debian-11.0.0-amd64-DVD-1.iso


The netinst ISOs are too small to hold the packages of a desktop
environment. Looking into debian-10.6.0-amd64-netinst.iso ,
debian-9.3.0-amd64-netinst.iso, and debian-8.1.0-amd64-netinst.iso i do not
see any package files with "xfce" in the name.


Have a nice day :)

Thomas



Re: LTS versions - confusion

2021-09-14 Thread Andrei POPESCU
On Lu, 13 sep 21, 10:18:54, Tanstaafl wrote:
> 
> I'm a former Gentoo user, and really appreciated the rolling release
> aspect, since it meant no huge jumps between LTS releases with other
> distros.

You already received good answers for your questions, so I'll just add 
that one of Debian's strengths is the smooth in-place upgrade[1] from 
one stable release to the next.

It is quite well documented[2] and tested, and mostly just works. Just 
check the archives of this list for the past month (since bullseye was 
released). There were some issues, but most upgrades just went smooth.

The major benefit[3] of this approach is that in the approximately 2 
years between stable releases there is very little to do worry about 
other than applying security updates in due time (and even that can be 
easily automated).

Even if you do choose to use unstable instead, it's still recommended to 
keep a stable install ready, just in case.

[1] sometimes called a "dist-upgrade", for historical reasons

[2] https://www.debian.org/releases/bullseye/releasenotes or the very 
short summary https://wiki.debian.org/NewInBullseye

[3] or downside, because it can be quite boring :p

Hope this helps,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


[Solved] (Was: Re: help new install debian via WiFi)

2021-09-14 Thread 황병희
Eduardo M KALINOWSKI  writes:

> On 13/09/2021 09:45, 황병희 wrote:
>> Hellow! Eduardo^^^
>> Eduardo M KALINOWSKI  writes:
>> 
>>> Try the installer with non-free firmware, pretty much all Wi-Fi cards
>>> require non-free firmware:
>>> https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/
>> Wow you are my hero!
>> How can i input the file into *the usb stick*?
>> With no error, i did download firmware-11.0.0-amd64-netinst.iso.
>> (My file system is Chrome OS that have linux shell and commands)
>
> The same way you copied the other installed: just cp the file to the
> drive. Something like
>
> # cp firmware-11.0.0-amd64-netinst.iso /dev/sdX
>
> Substitute sdX for the device your USB drive gets assigned. Be sure to
> use the whole drive, not a partition.

Thank you very so much all guys!
Eduardo, Stanislav, Andrei, thanks thanks thanks!

Here are the last screenshots:
http://forum.ubuntu-kr.org/viewtopic.php?f=15=31119=130056=cbfeb3d3e0982466ae84f1b6bd42255a#p130056

Sincerely, Byung-Hee from South Korea



Re: LTS versions - confusion

2021-09-14 Thread Roberto C . Sánchez
On Mon, Sep 13, 2021 at 10:58:26AM -0400, Greg Wooledge wrote:
> 
> 6) After that year, the release goes into "long-term support" mode, and
>received security bug fix support from a different team.  The LTS
>team may choose to support only server packages, not desktop packages.
> 
A slight correction: the LTS team supports all the packages that were
part of the stable release, with a few specific exceptions.  For
example, if the Security Team declared a particular package unsupported
during the time the release was stable, the package remains unsupported
[*].  Occasionally, similar action is taken regarding a package that
can no longer be supported by the team.  For instance, this happend with
enigmail [0].

That said, any Debian system, whether running old-old-old-stable or
unstable, can make use of the debian-security-support package for
current information regarding the support status of any packages
installed on the system (or any particular package, whether or not
installed on the system).

Regards,

-Roberto


[*] This happened some time ago with MySQL because of Oracle's policy
around CPUs and their refusal to assist distro teams with backporting
security-specific fixes.

[0] https://lists.debian.org/debian-lts-announce/2019/02/msg2.html

-- 
Roberto C. Sánchez



Re: copy directory tree, mapping to new owners

2021-09-14 Thread Richard Hector

On 13/09/21 7:04 pm, to...@tuxteam.de wrote:

On Mon, Sep 13, 2021 at 11:45:02AM +1200, Richard Hector wrote:

On 12/09/21 6:52 pm, john doe wrote:


[...]


>If you are doing this in a script, I would use a temporary directory.
>That way, in case of failure the destination directory is not rongly
>modified.
>
>EG:
>
>$ rsync  
>
>Make  the way you want it to be.
>
>$ rsync  

That is true, but firstly it would require more available space [...]


This isn't necessary, as you could replace the second `rsync' by a `mv'
(provided your temp tree is on the same storage volume as your target
dir, that is).


I was assuming the suggestion was to rsync the source to the temp while 
the destination still exists, before rsyncing or mv'ing over the top of 
it. Total of 3 copies (temporarily) rather than 2.


Cheers,
Richard



Re: (pure text) Re: Trouble upgrading Debian (reply to David Wright)

2021-09-14 Thread tomas
On Mon, Sep 13, 2021 at 10:59:28PM +0200, Thomas Amm wrote:
> On Mon, 2021-09-06 at 16:46 -0300, Dedeco Balaco wrote:
> 
> > If it is trivial to me setting my mail manager to use the dark
> >  [...]
> > Regards
> > 
> 
> Conrats! You have just made it into everybody's kill file.

A somewhat friendlier answer would go a longer way. Shouting contests
are unnecessary and futile. Moreover, they degrade the mailing list's
quality for everyone.

Maybe the OP really didn't know what they were doing. In any case,
their MUA was doing the correct thing: sending a text part along
with the HTML part as MIME alternative (although we discovered a
bug in the process as well).

You may put whomever you like into your kill file, but wehether
anyone is going to do it is their private business.

Cheers
 - t


signature.asc
Description: Digital signature