Re: [DNG] Script to migrate buster desktop to beowulf v1.6

2021-04-15 Thread tito via Dng
On Thu, 15 Apr 2021 20:06:02 +0200
Antoine via Dng  wrote:

> On Wednesday, 14 April at 16:13, tito via Dng wrote:
> >
> >Hi,
> >thanks for your time and effort. My question was rather practical,
> >so let me rephrase it: is there a robust way to detect from a script
> >if buster non-free and contrib repos are enabled in
> >/etc/apt/sources.lists so that I can add the same repos for
> >beowulf to sources.list?
> 
> Are you looking for something like this?
> 
> cat /etc/apt/sources.list /etc/apt/sources.list.d/* | grep -E 
> '^[^#].*buster.*contrib.*$' > /dev/null 2> /dev/null && contrib=1 ||
> unset contrib
> 
> cat /etc/apt/sources.list /etc/apt/sources.list.d/* | grep -E 
> '^[^#].*buster.*non-free.*$' > /dev/null 2> /dev/null && nonfree=1 ||
> unset nonfree
> 
> These two lines set the "contrib" and "nonfree" shell variables to 1
> if contrib or non-free are present and uncommented anywhere in the
> sources list, or unset them if not.
> 
> >Ciao,
> >Tito
> >
> 
> - AnimaInvicta
> 

Hi,
Thanks!
We decided to ask the user.

Ciao,
Tito
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Script to migrate buster desktop to beowulf v1.6

2021-04-15 Thread Antoine via Dng

On Wednesday, 14 April at 16:13, tito via Dng wrote:


Hi,
thanks for your time and effort. My question was rather practical,
so let me rephrase it: is there a robust way to detect from a script
if buster non-free and contrib repos are enabled in
/etc/apt/sources.lists so that I can add the same repos for
beowulf to sources.list?


Are you looking for something like this?

cat /etc/apt/sources.list /etc/apt/sources.list.d/* | grep -E 
'^[^#].*buster.*contrib.*$' > /dev/null 2> /dev/null && contrib=1 || unset 
contrib


cat /etc/apt/sources.list /etc/apt/sources.list.d/* | grep -E 
'^[^#].*buster.*non-free.*$' > /dev/null 2> /dev/null && nonfree=1 || unset 
nonfree


These two lines set the "contrib" and "nonfree" shell variables to 1 if 
contrib or non-free are present and uncommented anywhere in the sources list, 
or unset them if not.



Ciao,
Tito



- AnimaInvicta

--
To ask is allowed. To answer is a courtesy.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Script to migrate buster desktop to beowulf v1.6

2021-04-15 Thread Didier Kryn
Le 15/04/2021 à 16:01, Hendrik Boom a écrit :
>> Yes, but the end result of enforcing free software purism is a lot of
>> those so exposed give up and install Windows. I don't blame them. A few
>> times I've found it *really* hard to install when the installer just
>> says "you might need nonfree drivers, but them on a thumb drive."
>>
>> Which drivers? How do I mount the thumb drive within the installation?
>> In what thumb drive directory do I put them?

    I met that problem a decade ago and more when installing Debian on
Dell servers, and I even think the non-free driver was for an ethernet
card, therefore critical for the installation proper. I had to download
the driver to an USB stick before running the installation.

--     Didier




___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Script to migrate buster desktop to beowulf v1.6

2021-04-15 Thread Hendrik Boom
On Wed, Apr 14, 2021 at 10:16:08PM -0400, Steve Litt wrote:
> aitor said on Wed, 14 Apr 2021 22:28:59 +0200
> 
> >Hi Steve,
> >
> >On 14/4/21 15:02, Steve Litt wrote:
> >> I think free software purist snobs drive more people back to
> >> Windows than cleanse people of their non-free ways.  
> >The adversary of the fsf isn't Windows, but the propietary software in 
> >general wherever it may come from.
> >In this context, whether a propietary piece of software is used in one 
> >or other environment doesn't make it less propietary.
> 
> Hi Aitor,
> 
> Yes, but the end result of enforcing free software purism is a lot of
> those so exposed give up and install Windows. I don't blame them. A few
> times I've found it *really* hard to install when the installer just
> says "you might need nonfree drivers, but them on a thumb drive."
> 
> Which drivers? How do I mount the thumb drive within the installation?
> In what thumb drive directory do I put them?

Exactly.  I've encountered this once in a while; fortunately the Linux 
installation worked without those drivers, although some less 
critical pieces of hardware didn't.

> 
> SteveT
> 
> Steve Litt 
> Spring 2021 featured book: Troubleshooting Techniques of the Successful
> Technologist http://www.troubleshooters.com/techniques
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Script to migrate buster desktop to beowulf v1.6

2021-04-14 Thread Steve Litt
aitor said on Wed, 14 Apr 2021 22:28:59 +0200

>Hi Steve,
>
>On 14/4/21 15:02, Steve Litt wrote:
>> I think free software purist snobs drive more people back to
>> Windows than cleanse people of their non-free ways.  
>The adversary of the fsf isn't Windows, but the propietary software in 
>general wherever it may come from.
>In this context, whether a propietary piece of software is used in one 
>or other environment doesn't make it less propietary.

Hi Aitor,

Yes, but the end result of enforcing free software purism is a lot of
those so exposed give up and install Windows. I don't blame them. A few
times I've found it *really* hard to install when the installer just
says "you might need nonfree drivers, but them on a thumb drive."

Which drivers? How do I mount the thumb drive within the installation?
In what thumb drive directory do I put them?

SteveT

Steve Litt 
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Script to migrate buster desktop to beowulf v1.6

2021-04-14 Thread Steve Litt
al3xu5 said on Wed, 14 Apr 2021 19:53:59 +0200

>Tue, 13 Apr 2021 22:03:02 +0200 - tito :
>
>
>Wed, 14 Apr 2021 09:02:54 -0400 - Steve Litt
>:



>[ Extra OT comment START
>
>> Stating it the inverse way, I HATE these installs that bomb because
>> there's no FSF-satisfying drivers, firmware or software to handle my
>> new laptop's weird hardware. And those distros that do that, their
>> mailing lists always say "well just put in a thumb drive with the
>> drivers/firmware!" How the KFDWOJMFOW do I know which drivers and
>> firmware? I think free software purist snobs drive more people back
>> to Windows than cleanse people of their non-free ways.  
>
>
>I agree in principle, although I believe the question is more complex.
>
>Premise 1: 



>
>Premise 2: For me it does not detect to talk about Windows vs Linux or
>distro_a vs Distro_B: it is not about "selling" something, nor to
>"vote" to establish what is better or worse.

The more market share Linux has, the more hardware vendors will be
pressured to release API info to Linux devs, or at least write a
quality proprietary driver/blob/firmware. Brother does it. Radeon does
it. They don't do it to be nice guys, they do it to sell more product,
because Linux has a market share.

See this article I wrote these two articles after encountering extreme
hardware/Linux clashes, and various purists blowing off all those with
uncooperative hardware, including Linus Torvalds, who was considering
getting rid of my one route to wifi in 2006, ndiswrapper:

http://www.troubleshooters.com/lpm/200612/200612.htm#_You_Bet_Im_Mad

http://www.troubleshooters.com/lpm/200612/200612.htm#_lifeAfterWindows


>Premise 3: The "pure" distros (those who do not provide "non-free"
>software) should bring users to increase their awareness: even if this
>is an important and shareable goal, the result will hardly be achieved
>in this way... 

I'll go a step farther. Such distros should, on the first screen of all
their install methods, warn the user that *their* distro has no
non-free drivers/blobs/firmware and might not work for the user's
hardware, but this is not true of many other distros. Let the user it's
not GNU/Linux causing this, it's the particular distro.

SteveT

Steve Litt 
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Script to migrate buster desktop to beowulf v1.6

2021-04-14 Thread Steve Litt
fsmithred via Dng said on Wed, 14 Apr 2021 09:57:38 -0400

>On 4/14/21 9:50 AM, Hendrik Boom wrote:
>> On Wed, Apr 14, 2021 at 09:02:54AM -0400, Steve Litt wrote:  
>>> tito via Dng said on Tue, 13 Apr 2021 22:03:02 +0200
>>>
>>>  
 2) should non-free and contrib repos be added to sources.list
or should that be left to the user  
>>>
>>> I'm not sure whether my answer is responsive to your question or
>>> not, but here goes...
>>>
>>> I believe enough non-free and contrib stuff should be available at
>>> install time (or boot time on a live CD/flash) that the user doesn't
>>> need to put in additional media to get boot, network, video and
>>> sound working. And I believe any non-free and contrib stuff should,
>>> by default, be installed at install time, but before installation
>>> the user should be given the option of opting out of this
>>> non-free/contrib stuff, so if he/she only uses free software,
>>> he/she can maintain that principle in the installation.
>>>
>>> Stating it the inverse way, I HATE these installs that bomb because
>>> there's no FSF-satisfying drivers, firmware or software to handle
>>> my new laptop's weird hardware. And those distros that do that,
>>> their mailing lists always say "well just put in a thumb drive with
>>> the drivers/firmware!" How the KFDWOJMFOW do I know which drivers
>>> and firmware? I think free software purist snobs drive more people
>>> back to Windows than cleanse people of their non-free ways.  
>> 
>> Yes, the nonfree software which is necessary to getting hardware to
>> work should be installed unless the user explicitly says not to do
>> it. He may be committed to freedom, but may have been bamboozled by
>> the hardware vendor or has been given a free (but not libre) piece
>> of hardware by a doting aunt for his birthday.
>> 
>> That said, he should have to opt in to receiving other nonfree
>> software. That should be a separate choice.  He may well want to be
>> as independent of nonfree software as practical.
>> 
>> And let me remind you, there is precious little completely libre 
>> computer hardware around.  Until there is, even the most extreme 
>> libre/freedom advocate will have nonfree stuff somewhere in the
>> stack.
>> 
>> Yes, I'm hoping for the longterm success of the libre-soc project.
>> 
>> -- hendrik
>> ___  
>
>It's currently opt-out. You must select Expert install to avoid
>non-free and to choose your sources. Something about how the installer
>works makes it easier to do it this way rather than the reverse. And
>it's also easier for the non-experts to get their hardware working
>this way.
>
>fsmithred

I strongly urge that it be kept that way. Folks forced into Free
Software Purity often quit in disgust. If the FOSS world is lucky, they
go to Ubuntu or Mint, or if unlucky, maybe all the way back to Windows.
And then they badmouth Linux because it "wouldn't work on their
computer."

SteveT

Steve Litt 
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Script to migrate buster desktop to beowulf v1.6

2021-04-14 Thread wirelessduck--- via Dng
I’m not sure if this is a good way to do it but when Ubuntu is upgraded to a 
new version the release upgrade tool disables all third-party apt sources and 
PPA sources by commenting them out in the sources.list/sources.list.d files and 
notifying the user this has been done. The user then has to enable them again 
manually after upgrade.

I guess this makes it easy to filter out non-official apt sources and only 
upgrade the official ones? I don’t know how it handles the situation of when 
the user has a custom package mirror enabled instead of deb.debian.org or 
similar ubuntu archive URL.

Also, don’t forget that debian has a separate URL for debian-security archive 
while Devuan includes security packages archive in the regular deb.devuan.org 
URL.

> On 15 Apr 2021, at 04:44, tito via Dng  wrote:
> 
> On Wed, 14 Apr 2021 16:01:02 +
> g4sra via Dng  wrote:
> 
>>> 
>> 
>>> This might be a good one to ask the users.
>>> 
>> 
>>> fsmithred
>>> 
>> 
>> 
>> Agreed.
>> 
>> But if you did want to do it programmatically without parsing every
>> sources.{d/*,conf}... Ask apt what it is cacheing...
>> 
>> if [ -n "$(apt-cache policy | grep 'buster/non-free')" ]; then
>>  echo "yes include non-free repo";
>> else 
>> 
>>  echo "no don't!";
>> fi
> 
> This will give false positives:
> 
> apt-cache policy | grep 'buster/non-free'
>  97 http://www.deb-multimedia.org buster/non-free amd64 Packages
> 
> So I think  I will ask the user.
> 
> Ciao,
> Tito
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Script to migrate buster desktop to beowulf v1.6

2021-04-14 Thread aitor

Hi Steve,

On 14/4/21 15:02, Steve Litt wrote:

I think free software purist snobs drive more people back to
Windows than cleanse people of their non-free ways.
The adversary of the fsf isn't Windows, but the propietary software in 
general wherever it may come from.
In this context, whether a propietary piece of software is used in one 
or other environment doesn't make it less propietary.


Cheers,

Aitor.


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Script to migrate buster desktop to beowulf v1.6

2021-04-14 Thread tito via Dng
On Wed, 14 Apr 2021 19:53:59 +0200
al3xu5  wrote:

> Tue, 13 Apr 2021 22:03:02 +0200 - tito :
> 
> 
> 
> > Two serious question arise  now?
> > 
> > 1) should echo "ALWAYS_SET_PATH true" > /etc/default/su 
> > be added to the script to restore old su behaviour or
> >  should that be left to the user
> 
> I think it should be left to the user, using the buster
> "pre-migration" situation as the default choice

OK Keep "status quo".

Ciao,
Tito

>  
> Wed, 14 Apr 2021 09:02:54 -0400 - Steve Litt
> :
> 
> > tito via Dng said on Tue, 13 Apr 2021 22:03:02 +0200
> > 
> > 
> > >2) should non-free and contrib repos be added to sources.list
> > >or should that be left to the user  
> > 
> 
> > I believe enough non-free and contrib stuff should be available at
> > install time (or boot time on a live CD/flash) that the user doesn't
> > need to put in additional media to get boot, network, video and
> > sound working. And I believe any non-free and contrib stuff should,
> > by default, be installed at install time, but before installation
> > the user should be given the option of opting out of this
> > non-free/contrib stuff, so if he/she only uses free software,
> > he/she can maintain that principle in the installation.
> 
> I totally agree.
> 
> 
> 
> [ Extra OT comment START
> 
> > Stating it the inverse way, I HATE these installs that bomb because
> > there's no FSF-satisfying drivers, firmware or software to handle
> > my new laptop's weird hardware. And those distros that do that,
> > their mailing lists always say "well just put in a thumb drive with
> > the drivers/firmware!" How the KFDWOJMFOW do I know which drivers
> > and firmware? I think free software purist snobs drive more people
> > back to Windows than cleanse people of their non-free ways.
> 
> 
> I agree in principle, although I believe the question is more complex.
> 
> Premise 1: From a practical point of view, I do not think the claim to
> have 100% free software (in the sense of software with a copyleft or
> GPL-copyleft-compatible license) in order to have freedom, privacy,
> security, stability etc., makes much sense:  the hardware remains not
> free, the vanilla kernel has blobs, a loto of free software are
> actually used for the worst nephans... and certainly it is not a
> license (any) which could be able to guarantee people freedom or
> privacy or security...
> 
> Premise 2: For me it does not detect to talk about Windows vs Linux or
> distro_a vs Distro_B: it is not about "selling" something, nor to
> "vote" to establish what is better or worse.
> 
> Premise 3: The "pure" distros (those who do not provide "non-free"
> software) should bring users to increase their awareness: even if
> this is an important and shareable goal, the result will hardly be
> achieved in this way... As already observed, if people don't already
> have that awareness, the result will be that most of the users simply
> will change distro or install Windows (maybe pirated).
> 
> That being said, as far as the software licenses are important for
> software, people freedom and equality are linked to social and
> political aspects that are generally related only partly to digital
> technologies, and which are at a much broader and "high" level.
> 
> My computer is 100% free software (at least I think it is), but not
> for this I think I am free; and if all the devices of the world were
> 100% free software, I don't think this would be enough to give
> everyone freedom. 
> 
> (please, sorry for length and boredom)
> 
> Extra OT comment END ]
> 
> 
> 
> al3xu5
> 

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Script to migrate buster desktop to beowulf v1.6

2021-04-14 Thread tito via Dng
On Wed, 14 Apr 2021 16:01:02 +
g4sra via Dng  wrote:

> > 
> 
> > This might be a good one to ask the users.
> > 
> 
> > fsmithred
> > 
> 
> 
> Agreed.
> 
> But if you did want to do it programmatically without parsing every
> sources.{d/*,conf}... Ask apt what it is cacheing...
> 
> if [ -n "$(apt-cache policy | grep 'buster/non-free')" ]; then
>   echo "yes include non-free repo";
> else 
> 
>   echo "no don't!";
> fi

This will give false positives:

apt-cache policy | grep 'buster/non-free'
  97 http://www.deb-multimedia.org buster/non-free amd64 Packages

So I think  I will ask the user.

Ciao,
Tito
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Script to migrate buster desktop to beowulf v1.6

2021-04-14 Thread al3xu5
Tue, 13 Apr 2021 22:03:02 +0200 - tito :



> Two serious question arise  now?
> 
> 1) should echo "ALWAYS_SET_PATH true" > /etc/default/su 
> be added to the script to restore old su behaviour or
>  should that be left to the user

I think it should be left to the user, using the buster "pre-migration"
situation as the default choice

 
Wed, 14 Apr 2021 09:02:54 -0400 - Steve Litt :

> tito via Dng said on Tue, 13 Apr 2021 22:03:02 +0200
> 
> 
> >2) should non-free and contrib repos be added to sources.list
> >or should that be left to the user  
> 

> I believe enough non-free and contrib stuff should be available at
> install time (or boot time on a live CD/flash) that the user doesn't
> need to put in additional media to get boot, network, video and sound
> working. And I believe any non-free and contrib stuff should, by
> default, be installed at install time, but before installation the user
> should be given the option of opting out of this non-free/contrib
> stuff, so if he/she only uses free software, he/she can maintain that
> principle in the installation.

I totally agree.



[ Extra OT comment START

> Stating it the inverse way, I HATE these installs that bomb because
> there's no FSF-satisfying drivers, firmware or software to handle my new
> laptop's weird hardware. And those distros that do that, their mailing
> lists always say "well just put in a thumb drive with the
> drivers/firmware!" How the KFDWOJMFOW do I know which drivers and
> firmware? I think free software purist snobs drive more people back to
> Windows than cleanse people of their non-free ways.


I agree in principle, although I believe the question is more complex.

Premise 1: From a practical point of view, I do not think the claim to
have 100% free software (in the sense of software with a copyleft or
GPL-copyleft-compatible license) in order to have freedom, privacy,
security, stability etc., makes much sense:  the hardware remains not
free, the vanilla kernel has blobs, a loto of free software are actually
used for the worst nephans... and certainly it is not a license (any)
which could be able to guarantee people freedom or privacy or security...

Premise 2: For me it does not detect to talk about Windows vs Linux or
distro_a vs Distro_B: it is not about "selling" something, nor to "vote"
to establish what is better or worse.

Premise 3: The "pure" distros (those who do not provide "non-free"
software) should bring users to increase their awareness: even if this is
an important and shareable goal, the result will hardly be achieved in
this way... As already observed, if people don't already have that
awareness, the result will be that most of the users simply will change
distro or install Windows (maybe pirated).

That being said, as far as the software licenses are important for
software, people freedom and equality are linked to social and political
aspects that are generally related only partly to digital technologies,
and which are at a much broader and "high" level.

My computer is 100% free software (at least I think it is), but not for
this I think I am free; and if all the devices of the world were 100% free
software, I don't think this would be enough to give everyone freedom. 

(please, sorry for length and boredom)

Extra OT comment END ]



al3xu5

-- 
Say NO to copyright, patents, trademarks and industrial design
restrictions!


Public GPG/PGP key: 8FC2 3121 2803 86E9 F7D8  B624 DA50 835B 2624 A36B


pgpiHzRFLER1t.pgp
Description: Firma digitale OpenPGP
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Script to migrate buster desktop to beowulf v1.6

2021-04-14 Thread g4sra via Dng
> 

> This might be a good one to ask the users.
> 

> fsmithred
> 


Agreed.

But if you did want to do it programmatically without parsing every 
sources.{d/*,conf}...
Ask apt what it is cacheing...

if [ -n "$(apt-cache policy | grep 'buster/non-free')" ]; then
  echo "yes include non-free repo";
else 

  echo "no don't!";
fi


publickey - g4sra@protonmail.com - 0x42E94623.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Script to migrate buster desktop to beowulf v1.6

2021-04-14 Thread fsmithred via Dng
On 4/14/21 10:15 AM, tito wrote:
> On Wed, 14 Apr 2021 09:57:38 -0400
> fsmithred via Dng  wrote:
> 
>>
>> It's currently opt-out. You must select Expert install to avoid
>> non-free and to choose your sources. Something about how the
>> installer works makes it easier to do it this way rather than the
>> reverse. And it's also easier for the non-experts to get their
>> hardware working this way.
>>
>> fsmithred
> 
> So I will add them by default. 
> 
> Ciao,
> Tito
> 

I can't think of a good way to do it, either. I just substitute buster
with beowulf, but that only works because I know what's in my
sources.list. That could break all kinds of third-party repos.

Adding non-free where it's not wanted will anger some people. Removing it
where it's wanted might break some systems.

This might be a good one to ask the users.

fsmithred
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Script to migrate buster desktop to beowulf v1.6

2021-04-14 Thread tito via Dng
On Wed, 14 Apr 2021 09:57:38 -0400
fsmithred via Dng  wrote:

> On 4/14/21 9:50 AM, Hendrik Boom wrote:
> > On Wed, Apr 14, 2021 at 09:02:54AM -0400, Steve Litt wrote:
> >> tito via Dng said on Tue, 13 Apr 2021 22:03:02 +0200
> >>
> >>
> >>> 2) should non-free and contrib repos be added to sources.list
> >>>or should that be left to the user
> >>
> >> I'm not sure whether my answer is responsive to your question or
> >> not, but here goes...
> >>
> >> I believe enough non-free and contrib stuff should be available at
> >> install time (or boot time on a live CD/flash) that the user
> >> doesn't need to put in additional media to get boot, network,
> >> video and sound working. And I believe any non-free and contrib
> >> stuff should, by default, be installed at install time, but before
> >> installation the user should be given the option of opting out of
> >> this non-free/contrib stuff, so if he/she only uses free software,
> >> he/she can maintain that principle in the installation.
> >>
> >> Stating it the inverse way, I HATE these installs that bomb because
> >> there's no FSF-satisfying drivers, firmware or software to handle
> >> my new laptop's weird hardware. And those distros that do that,
> >> their mailing lists always say "well just put in a thumb drive
> >> with the drivers/firmware!" How the KFDWOJMFOW do I know which
> >> drivers and firmware? I think free software purist snobs drive
> >> more people back to Windows than cleanse people of their non-free
> >> ways.
> > 
> > Yes, the nonfree software which is necessary to getting hardware to
> > work should be installed unless the user explicitly says not to do
> > it. He may be committed to freedom, but may have been bamboozled by
> > the hardware vendor or has been given a free (but not libre) piece
> > of hardware by a doting aunt for his birthday.
> > 
> > That said, he should have to opt in to receiving other nonfree
> > software. That should be a separate choice.  He may well want to be
> > as independent of nonfree software as practical.
> > 
> > And let me remind you, there is precious little completely libre 
> > computer hardware around.  Until there is, even the most extreme 
> > libre/freedom advocate will have nonfree stuff somewhere in the
> > stack.
> > 
> > Yes, I'm hoping for the longterm success of the libre-soc project.
> > 
> > -- hendrik
> > ___
> 
> It's currently opt-out. You must select Expert install to avoid
> non-free and to choose your sources. Something about how the
> installer works makes it easier to do it this way rather than the
> reverse. And it's also easier for the non-experts to get their
> hardware working this way.
> 
> fsmithred

So I will add them by default. 

Ciao,
Tito

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Script to migrate buster desktop to beowulf v1.6

2021-04-14 Thread tito via Dng
On Wed, 14 Apr 2021 09:50:17 -0400
Hendrik Boom  wrote:

> On Wed, Apr 14, 2021 at 09:02:54AM -0400, Steve Litt wrote:
> > tito via Dng said on Tue, 13 Apr 2021 22:03:02 +0200
> > 
> > 
> > >2) should non-free and contrib repos be added to sources.list
> > >or should that be left to the user
> > 
> > I'm not sure whether my answer is responsive to your question or
> > not, but here goes...
> > 
> > I believe enough non-free and contrib stuff should be available at
> > install time (or boot time on a live CD/flash) that the user doesn't
> > need to put in additional media to get boot, network, video and
> > sound working. And I believe any non-free and contrib stuff should,
> > by default, be installed at install time, but before installation
> > the user should be given the option of opting out of this
> > non-free/contrib stuff, so if he/she only uses free software,
> > he/she can maintain that principle in the installation.
> > 
> > Stating it the inverse way, I HATE these installs that bomb because
> > there's no FSF-satisfying drivers, firmware or software to handle
> > my new laptop's weird hardware. And those distros that do that,
> > their mailing lists always say "well just put in a thumb drive with
> > the drivers/firmware!" How the KFDWOJMFOW do I know which drivers
> > and firmware? I think free software purist snobs drive more people
> > back to Windows than cleanse people of their non-free ways.
> 
> Yes, the nonfree software which is necessary to getting hardware to
> work should be installed unless the user explicitly says not to do it.
> He may be committed to freedom, but may have been bamboozled by the 
> hardware vendor or has been given a free (but not libre) piece of
> hardware by a doting aunt for his birthday.
> 
> That said, he should have to opt in to receiving other nonfree
> software. That should be a separate choice.  He may well want to be
> as independent of nonfree software as practical.
> 
> And let me remind you, there is precious little completely libre 
> computer hardware around.  Until there is, even the most extreme 
> libre/freedom advocate will have nonfree stuff somewhere in the stack.
> 
> Yes, I'm hoping for the longterm success of the libre-soc project.
> 
> -- hendrik

Hi,
thanks for your time and effort. My question was rather practical,
so let me rephrase it: is there a robust way to detect from a script
if buster non-free and contrib repos are enabled in 
/etc/apt/sources.lists so that I can add the same repos for
beowulf to sources.list?
I could not find something that looks reliable so far.

Ciao,
Tito

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Script to migrate buster desktop to beowulf v1.6

2021-04-14 Thread fsmithred via Dng
On 4/14/21 9:50 AM, Hendrik Boom wrote:
> On Wed, Apr 14, 2021 at 09:02:54AM -0400, Steve Litt wrote:
>> tito via Dng said on Tue, 13 Apr 2021 22:03:02 +0200
>>
>>
>>> 2) should non-free and contrib repos be added to sources.list
>>>or should that be left to the user
>>
>> I'm not sure whether my answer is responsive to your question or not,
>> but here goes...
>>
>> I believe enough non-free and contrib stuff should be available at
>> install time (or boot time on a live CD/flash) that the user doesn't
>> need to put in additional media to get boot, network, video and sound
>> working. And I believe any non-free and contrib stuff should, by
>> default, be installed at install time, but before installation the user
>> should be given the option of opting out of this non-free/contrib
>> stuff, so if he/she only uses free software, he/she can maintain that
>> principle in the installation.
>>
>> Stating it the inverse way, I HATE these installs that bomb because
>> there's no FSF-satisfying drivers, firmware or software to handle my new
>> laptop's weird hardware. And those distros that do that, their mailing
>> lists always say "well just put in a thumb drive with the
>> drivers/firmware!" How the KFDWOJMFOW do I know which drivers and
>> firmware? I think free software purist snobs drive more people back to
>> Windows than cleanse people of their non-free ways.
> 
> Yes, the nonfree software which is necessary to getting hardware to work
> should be installed unless the user explicitly says not to do it.
> He may be committed to freedom, but may have been bamboozled by the 
> hardware vendor or has been given a free (but not libre) piece of hardware 
> by a doting aunt for his birthday.
> 
> That said, he should have to opt in to receiving other nonfree software.
> That should be a separate choice.  He may well want to be as independent of 
> nonfree software as practical.
> 
> And let me remind you, there is precious little completely libre 
> computer hardware around.  Until there is, even the most extreme 
> libre/freedom advocate will have nonfree stuff somewhere in the stack.
> 
> Yes, I'm hoping for the longterm success of the libre-soc project.
> 
> -- hendrik
> ___

It's currently opt-out. You must select Expert install to avoid non-free
and to choose your sources. Something about how the installer works makes
it easier to do it this way rather than the reverse. And it's also easier
for the non-experts to get their hardware working this way.

fsmithred


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Script to migrate buster desktop to beowulf v1.6

2021-04-14 Thread Hendrik Boom
On Wed, Apr 14, 2021 at 09:02:54AM -0400, Steve Litt wrote:
> tito via Dng said on Tue, 13 Apr 2021 22:03:02 +0200
> 
> 
> >2) should non-free and contrib repos be added to sources.list
> >or should that be left to the user
> 
> I'm not sure whether my answer is responsive to your question or not,
> but here goes...
> 
> I believe enough non-free and contrib stuff should be available at
> install time (or boot time on a live CD/flash) that the user doesn't
> need to put in additional media to get boot, network, video and sound
> working. And I believe any non-free and contrib stuff should, by
> default, be installed at install time, but before installation the user
> should be given the option of opting out of this non-free/contrib
> stuff, so if he/she only uses free software, he/she can maintain that
> principle in the installation.
> 
> Stating it the inverse way, I HATE these installs that bomb because
> there's no FSF-satisfying drivers, firmware or software to handle my new
> laptop's weird hardware. And those distros that do that, their mailing
> lists always say "well just put in a thumb drive with the
> drivers/firmware!" How the KFDWOJMFOW do I know which drivers and
> firmware? I think free software purist snobs drive more people back to
> Windows than cleanse people of their non-free ways.

Yes, the nonfree software which is necessary to getting hardware to work
should be installed unless the user explicitly says not to do it.
He may be committed to freedom, but may have been bamboozled by the 
hardware vendor or has been given a free (but not libre) piece of hardware 
by a doting aunt for his birthday.

That said, he should have to opt in to receiving other nonfree software.
That should be a separate choice.  He may well want to be as independent of 
nonfree software as practical.

And let me remind you, there is precious little completely libre 
computer hardware around.  Until there is, even the most extreme 
libre/freedom advocate will have nonfree stuff somewhere in the stack.

Yes, I'm hoping for the longterm success of the libre-soc project.

-- hendrik
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Script to migrate buster desktop to beowulf v1.6

2021-04-14 Thread Steve Litt
tito via Dng said on Tue, 13 Apr 2021 22:03:02 +0200


>2) should non-free and contrib repos be added to sources.list
>or should that be left to the user

I'm not sure whether my answer is responsive to your question or not,
but here goes...

I believe enough non-free and contrib stuff should be available at
install time (or boot time on a live CD/flash) that the user doesn't
need to put in additional media to get boot, network, video and sound
working. And I believe any non-free and contrib stuff should, by
default, be installed at install time, but before installation the user
should be given the option of opting out of this non-free/contrib
stuff, so if he/she only uses free software, he/she can maintain that
principle in the installation.

Stating it the inverse way, I HATE these installs that bomb because
there's no FSF-satisfying drivers, firmware or software to handle my new
laptop's weird hardware. And those distros that do that, their mailing
lists always say "well just put in a thumb drive with the
drivers/firmware!" How the KFDWOJMFOW do I know which drivers and
firmware? I think free software purist snobs drive more people back to
Windows than cleanse people of their non-free ways.

SteveT

Steve Litt 
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Script to migrate buster desktop to beowulf v1.6

2021-04-13 Thread tito via Dng
> > 
> > >V 1.4
> > >
> > >now with  supported DE's:
> > >
> > >1) GNOME
> > >2) LXDE
> > >3) LXQT 
> 
> V 1.5
> 
> now with  supported DE's:
> 
> 1) GNOME
> 2) LXDE
> 3) LXQT
> 4) XFCE
> 
> and minor fixes and improvements.
> 
> Ciao,
> Tito
>  

v 1.6

now with  supported DE's:
 
1) GNOME
2) LXDE
3) LXQT
4) XFCE
5) KDE

and minor fixes and improvements.

Two serious question arise  now?

1) should echo "ALWAYS_SET_PATH true" > /etc/default/su 
be added to the script to restore old su behaviour or
 should that be left to the user
2) should non-free and contrib repos be added to sources.list
or should that be left to the user

List members' opinion about that would be appreciated.

Ciao,
Tito
 


migration.sh
Description: application/shellscript
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng