Re: ajuda

2021-02-27 Thread Semih Ozlem
Dear Luis

If you want to try an alternative installation there are isos at
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/
I am not sure if the isos here will work in your case, and they are claimed
to be unofficial but it may be worth a try.
You would form a usb, if you choose the live version for amd64 type cpus at
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/10.8.0-live+nonfree/amd64/iso-hybrid/
or for i386 at
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/10.8.0-live+nonfree/i386/iso-hybrid/
and form a live usb you could check if your machine works with this iso,
and if it does you can install from there. But this means reinstalling, and
it should be possible to install extra packages afterwards an install as
well. There were some previous emails that appeared in this list describing
how to do that.

Are you able to reset your sudo password or has anything changed so that
you are able to install programs

Sincerely



Querido luis
Se você quiser tentar uma configuração alternativa, há iso iso em
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/.
Não tenho certeza se o iso aqui vai funcionar no seu caso. e afirma-se que
não é oficial, mas vale a pena tentar. Se você escolher a versão live para
amd64 digite cpus em https://cdimage.debian.org/cdimage/unofficial/non-free/,
você criará um usb.
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/10.8
para cd-including-firmware / 10.8.0-live + nonfree / amd64 / iso-hybrid /
ou i386. Você pode criar um usb 0-live + nonfree / i386 / iso-hybrid /
live, verifique se sua máquina funciona com esta iso e instale-a de lá se
funcionar. No entanto, isso significa reinstalação e deve ser possível
instalar pacotes extras após a instalação. Alguns e-mails anteriores
apareceram nesta lista descrevendo como fazer isso.
Você consegue redefinir sua senha de sudo ou algo mudou para poder instalar
programas?
Sinceramente

Alberto Sentieri <2...@tripolho.com>, 28 Şub 2021 Paz, 08:53 tarihinde şunu
yazdı:

> Luis,
>
> 1) Sobre placa NVidia. Eu também tenho uma placa NVidia. Infelizmente esta
> placa tem especificações não públicas, e os drivers open-source nunca
> funcionaram corretamente para mim. A solução que acabei adotando foi
> instalar os drivers da própria Nvidia. Mesmo assim, algumas vezes tenho
> problemas.
>
> 2) Quanto ao comando sudo, o seu usuário tem que ser um membro do grupo
> para poder utilizá-lo. O comando "sudo bash" e o comando "su -" são
> distintos. Para o comando sudo você tem que entrar com a senha do usuário
> corrente. Já para o comando "su -" você tem que entrar com a senha do root.
> Se voce quiser utilizar o comando sudo, você tem que tornar o seu uusário
> um membro do grupo sudoers.
>
> Você poderá descobrir se o seu usuário é membro do grupo sudo através do
> comando:
>
> cat /etc/group|grep sudo
>
> Se a resposta for algo do tipo
>
> sudo:x:27:
>
> Então seu usuário não faz parte do grupo. No entanto, para colocar o seu
> usuário no grupo você tem que ser membro do grupo ou estar logado como root.
>
> Obviamente este comandos tem que ser emitidos de um terminal (terminal
> application).
>
>
> Boa sorte,
>
> Alberto
> On 2/27/21 5:50 PM, Semih Ozlem wrote:
>
> To clarify the situation
>
> (i) You have installed Debian but not the graphics card yet and you are
> having issues with installations because it does not accept the password
> that you set up during the installation. You successfully changed either
> the root or the user or both passwords? And after the change the sudo
> command still did not accept the new password? I have no idea that would be
> the case. Maybe some of the more experienced members have an idea.
> For installation of NVIDIA https://wiki.debian.org/NvidiaGraphicsDrivers
> is a page you can look up ç
> (ii) No it is not normal. After you change the password the new one should
> work. Normally passwords are changed by the command "sudo passwd username"
> from command line which asks for new password and if a password for root
> user was set up it would ask for root user's password. If these methods for
> changing the password do not work (which I assumed to be the case in my
> earlier email) then basically you would have to reset the password in a
> configuration file somewhere that I forget and would have to look up. But
> maybe someone on the list knows the answer already and upon seeing the
> message would reply so do reply to everyone on the list.
> (iii) I believe root is the administrative user which can make changes to
> the system. But problems do occur I think in whatever system one works
> under, but it is my impression that generally people in this list are
> helpful in resolving the issues. I hope your experience remains good.
> When installing did you create a regular user with a username and password
> Does this password with the created username work
> Did you e

Re: ajuda

2021-02-27 Thread Alberto Sentieri

Luis,

1) Sobre placa NVidia. Eu também tenho uma placa NVidia. Infelizmente 
esta placa tem especificações não públicas, e os drivers open-source 
nunca funcionaram corretamente para mim. A solução que acabei adotando 
foi instalar os drivers da própria Nvidia. Mesmo assim, algumas vezes 
tenho problemas.


2) Quanto ao comando sudo, o seu usuário tem que ser um membro do grupo 
para poder utilizá-lo. O comando "sudo bash" e o comando "su -" são 
distintos. Para o comando sudo você tem que entrar com a senha do 
usuário corrente. Já para o comando "su -" você tem que entrar com a 
senha do root. Se voce quiser utilizar o comando sudo, você tem que 
tornar o seu uusário um membro do grupo sudoers.


Você poderá descobrir se o seu usuário é membro do grupo sudo através do 
comando:


cat /etc/group|grep sudo

Se a resposta for algo do tipo

sudo:x:27:

Então seu usuário não faz parte do grupo. No entanto, para colocar o seu 
usuário no grupo você tem que ser membro do grupo ou estar logado como root.


Obviamente este comandos tem que ser emitidos de um terminal (terminal 
application).



Boa sorte,

Alberto

On 2/27/21 5:50 PM, Semih Ozlem wrote:

To clarify the situation

(i) You have installed Debian but not the graphics card yet and you 
are having issues with installations because it does not accept the 
password that you set up during the installation. You successfully 
changed either the root or the user or both passwords? And after the 
change the sudo command still did not accept the new password? I have 
no idea that would be the case. Maybe some of the more experienced 
members have an idea.
For installation of NVIDIA 
https://wiki.debian.org/NvidiaGraphicsDrivers 
 is a page you can look 
up ç
(ii) No it is not normal. After you change the password the new one 
should work. Normally passwords are changed by the command "sudo 
passwd username" from command line which asks for new password and if 
a password for root user was set up it would ask for root user's 
password. If these methods for changing the password do not work 
(which I assumed to be the case in my earlier email) then basically 
you would have to reset the password in a configuration file somewhere 
that I forget and would have to look up. But maybe someone on the list 
knows the answer already and upon seeing the message would reply so do 
reply to everyone on the list.
(iii) I believe root is the administrative user which can make changes 
to the system. But problems do occur I think in whatever system one 
works under, but it is my impression that generally people in this 
list are helpful in resolving the issues. I hope your experience 
remains good.
When installing did you create a regular user with a username and 
password Does this password with the created username work

Did you ever set up your root password

Luis Inocêncio mailto:lumarin...@gmail.com>>, 
28 Şub 2021 Paz, 01:15 tarihinde şunu yazdı:


Boa Noite.
Antes de mais agradecer a vossa atenção. Deixo abaixo mais
detalhadamente os problemas que tenho, agora que parece que já
consegui instalar (isso após tentar se sucesso com outras Distros)
pela primeira vez o Debian:
1- Tendo uma placa grafica Nvidia (julgo que é por isso) nunca
consigo entrar diretamente pelo Grub, sem antes trocar na lina
relativa ao linux no Grub ‘quiet’ por ‘nomodeset’. A primeira
duvida é essa, como configurar definitivamente isso para não ter
que estar sempre a alterar no Grub? Ou será que quando conseguir
as drives (especificas) do Nvidia isso fica resolvido?
2- Ao tentar entrar como rooter (no terminal) utilizando sudo -s,
apesar de inserir corretamente a senha é me sempre informado que a
senha não é correta e nunca tenho acesso como rooter. Já alterei a
senha e o problema persiste :( ... Isso apesar de conseguir aceder
gestor de pacotes synaptic  utilizando no caso exatamente a mesma
senha que não é aceite no terminal. Isso é normal? Como resolver isso?
3- Enfim, preciso conseguir entrar como rooter senão não
conseguirei fazer nada como o Debian e será até já 100% frustrante
minha experiencia com o Linux :(
Agradeço antecipadamente a vossa atenção e ajuda

Good evening. First of all thank you for your attention. I leave
below in more detail the problems I have, now that it seems that I
already managed to install (this after trying to be successful
with other Distros) for the first time Debian: 1- Having an Nvidia
graphics card (I think that's why) I can never get directly
through Grub, without first switching to the linux related to Grub
'quiet' by 'nomodeset'. The first question is this, how to
definitively configure this to not have to be constantly changing
in Grub? Or will it be that when you get the (specific) Nvidia
drives this is resolved? 2- When trying to enter as a rooter (in
the terminal) using sudo -s, d

Re: ajuda

2021-02-27 Thread Semih Ozlem
To clarify the situation

(i) You have installed Debian but not the graphics card yet and you are
having issues with installations because it does not accept the password
that you set up during the installation. You successfully changed either
the root or the user or both passwords? And after the change the sudo
command still did not accept the new password? I have no idea that would be
the case. Maybe some of the more experienced members have an idea.
For installation of NVIDIA https://wiki.debian.org/NvidiaGraphicsDrivers is
a page you can look up ç
(ii) No it is not normal. After you change the password the new one should
work. Normally passwords are changed by the command "sudo passwd username"
from command line which asks for new password and if a password for root
user was set up it would ask for root user's password. If these methods for
changing the password do not work (which I assumed to be the case in my
earlier email) then basically you would have to reset the password in a
configuration file somewhere that I forget and would have to look up. But
maybe someone on the list knows the answer already and upon seeing the
message would reply so do reply to everyone on the list.
(iii) I believe root is the administrative user which can make changes to
the system. But problems do occur I think in whatever system one works
under, but it is my impression that generally people in this list are
helpful in resolving the issues. I hope your experience remains good.
When installing did you create a regular user with a username and password
Does this password with the created username work
Did you ever set up your root password

Luis Inocêncio , 28 Şub 2021 Paz, 01:15 tarihinde
şunu yazdı:

> Boa Noite.
> Antes de mais agradecer a vossa atenção. Deixo abaixo mais detalhadamente
> os problemas que tenho, agora que parece que já consegui instalar (isso
> após tentar se sucesso com outras Distros) pela primeira vez o Debian:
> 1- Tendo uma placa grafica Nvidia (julgo que é por isso) nunca consigo
> entrar diretamente pelo Grub, sem antes trocar na lina relativa ao linux no
> Grub ‘quiet’ por ‘nomodeset’. A primeira duvida é essa, como configurar
> definitivamente isso para não ter que estar sempre a alterar no Grub? Ou
> será que quando conseguir as drives (especificas) do Nvidia isso fica
> resolvido?
> 2- Ao tentar entrar como rooter (no terminal) utilizando sudo -s, apesar
> de inserir corretamente a senha é me sempre informado que a senha não é
> correta e nunca tenho acesso como rooter. Já alterei a senha e o problema
> persiste :( ... Isso apesar de conseguir aceder gestor de pacotes synaptic
>  utilizando no caso exatamente a mesma senha que não é aceite no terminal.
> Isso é normal? Como resolver isso?
> 3- Enfim, preciso conseguir entrar como rooter senão não conseguirei fazer
> nada como o Debian e será até já 100% frustrante minha experiencia com o
> Linux :(
> Agradeço antecipadamente a vossa atenção e ajuda
>
> Good evening. First of all thank you for your attention. I leave below in
> more detail the problems I have, now that it seems that I already managed
> to install (this after trying to be successful with other Distros) for the
> first time Debian: 1- Having an Nvidia graphics card (I think that's why) I
> can never get directly through Grub, without first switching to the linux
> related to Grub 'quiet' by 'nomodeset'. The first question is this, how to
> definitively configure this to not have to be constantly changing in Grub?
> Or will it be that when you get the (specific) Nvidia drives this is
> resolved? 2- When trying to enter as a rooter (in the terminal) using sudo
> -s, despite correctly entering the password, I am always informed that the
> password is not correct and I never have access as a rooter. I have already
> changed the password and the problem persists :( ... That despite being
> able to access synaptic package manager using in this case exactly the same
> password that is not accepted in the terminal. Is this normal? How to solve
> this? 3- Anyway, I need to be able to log in as a rooter otherwise I will
> not be able to do anything like Debian and it will be even 100% frustrating
> my experience with Linux :( Thank you in advance for your attention and help
>
> Em sáb., 27 de fev. de 2021 às 18:33, Semih Ozlem <
> semihozlemlinuxu...@gmail.com> escreveu:
>
>> I am not completely sure of what your problem is from translation, but if
>> it is only a password problem you can reset the password through probably
>> following directions at
>> http://www.debianadmin.com/how-to-reset-debian-root-password.html or
>> https://www.tecmint.com/reset-forgotten-root-password-in-debian/
>> The first page suggests editing grub file and then logging in root and
>> resetting the password.
>> If changing the password is not the real problem then
>> https://www.debian.org/support for more general information...
>>
>> It could sometimes be that pressing caps lock by mistake the password you
>

Fwd: ajuda

2021-02-27 Thread Luis Inocêncio
Boa Noite.
Antes de mais agradecer a vossa atenção. Deixo abaixo mais detalhadamente
os problemas que tenho, agora que parece que já consegui instalar (isso
após tentar se sucesso com outras Distros) pela primeira vez o Debian:
1- Tendo uma placa grafica Nvidia (julgo que é por isso) nunca consigo
entrar diretamente pelo Grub, sem antes trocar na lina relativa ao linux no
Grub ‘quiet’ por ‘nomodeset’. A primeira duvida é essa, como configurar
definitivamente isso para não ter que estar sempre a alterar no Grub? Ou
será que quando conseguir as drives (especificas) do Nvidia isso fica
resolvido?
2- Ao tentar entrar como rooter (no terminal) utilizando sudo -s, apesar de
inserir corretamente a senha é me sempre informado que a senha não é
correta e nunca tenho acesso como rooter. Já alterei a senha e o problema
persiste :( ... Isso apesar de conseguir aceder gestor de pacotes synaptic
 utilizando no caso exatamente a mesma senha que não é aceite no terminal.
Isso é normal? Como resolver isso?
3- Enfim, preciso conseguir entrar como rooter senão não conseguirei fazer
nada como o Debian e será até já 100% frustrante minha experiencia com o
Linux :(
Agradeço antecipadamente a vossa atenção e ajuda

Good evening. First of all thank you for your attention. I leave below in
more detail the problems I have, now that it seems that I already managed
to install (this after trying to be successful with other Distros) for the
first time Debian: 1- Having an Nvidia graphics card (I think that's why) I
can never get directly through Grub, without first switching to the linux
related to Grub 'quiet' by 'nomodeset'. The first question is this, how to
definitively configure this to not have to be constantly changing in Grub?
Or will it be that when you get the (specific) Nvidia drives this is
resolved? 2- When trying to enter as a rooter (in the terminal) using sudo
-s, despite correctly entering the password, I am always informed that the
password is not correct and I never have access as a rooter. I have already
changed the password and the problem persists :( ... That despite being
able to access synaptic package manager using in this case exactly the same
password that is not accepted in the terminal. Is this normal? How to solve
this? 3- Anyway, I need to be able to log in as a rooter otherwise I will
not be able to do anything like Debian and it will be even 100% frustrating
my experience with Linux :( Thank you in advance for your attention and help


-- Forwarded message -
De: Luis Inocêncio 
Date: sáb., 27 de fev. de 2021 às 17:05
Subject: ajuda
To: 


Boa Tarde
Desculpem, sou novo no Debian e tudo é novidade e não sei onde conseguirei
encontrar ajuda para o problema que tenho?? (ou o Debian tem?)
Tenho o Debian instalado no meu computador, e apesar de ainda só conseguir
entrar no ambiente do Debian depois de aceder via "comando" nomodeset no
Grub... :(
Tentando atualizar o Debian por forma a ir colocando-o
operacional/funcional logo na minha primeira tentativa a aceder ao root
(via terminal) esse acesso me é negado (não é aceite a password que
escolhi???)
Entretanto com a mesma password consigo aceder ao gestor de Pacotes
Synaptic - que no entanto não me ajudou (nada) porque através dele tambem
não foi aceite/instalado nenhum programa do meu interesse.
Podem me ajudar (ou indicar alguem ou um link) para que consiga fazer o
Debian ser minimamente util para mim (ter net, mail, office, musica, pdf)
Fico a aguardar um feedback vosso
Obrigada

-- 
Luis Inocêncio


-- 
Luis Inocêncio


Re: mariadb installation question

2021-02-27 Thread Nicholas Geovanis
On Sat, Feb 27, 2021, 3:09 PM Semih Ozlem 
wrote:

> Hi everyone
>
> I am getting the following error after installing mariadb. Any ideas why
> this would be the case
> It asks for a root password. I previously installed and uninstalled mysql
> and mariadb twice because of errors.
>
> user@debian:/media/user/Windows/usercreatedfolders/debianrepos/mysql$
> sudo mysql_secure_installation
>
> NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
>   SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!
>
> In order to log into MariaDB to secure it, we'll need the current
> password for the root user.  If you've just installed MariaDB, and
> you haven't set the root password yet, the password will be blank,
> so you should just press enter here.
>
> Enter current password for root (enter for none):
> Warning: World-writable config file
> '/media/user/Windows/usercreatedfolders/debianrepos/mysql/.my.cnf.1437' is
> ignored
> ERROR 1156 (08S01): Got packets out of order
> Enter current password for root (enter for none):
> Aborting!
>
> Cleaning up...
>

So it's talking about the root password in the system catalog of the
database. Not the root password for the system.

Also this important. It says that your mariadb config file is
world-writable. It might be changed by bad actors, so mariadb is ignoring
it at startup.

>


mariadb installation question

2021-02-27 Thread Semih Ozlem
Hi everyone

I am getting the following error after installing mariadb. Any ideas why
this would be the case
It asks for a root password. I previously installed and uninstalled mysql
and mariadb twice because of errors.

user@debian:/media/user/Windows/usercreatedfolders/debianrepos/mysql$ sudo
mysql_secure_installation

NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
  SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!

In order to log into MariaDB to secure it, we'll need the current
password for the root user.  If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.

Enter current password for root (enter for none):
Warning: World-writable config file
'/media/user/Windows/usercreatedfolders/debianrepos/mysql/.my.cnf.1437' is
ignored
ERROR 1156 (08S01): Got packets out of order
Enter current password for root (enter for none):
Aborting!

Cleaning up...


Re: ajuda

2021-02-27 Thread Semih Ozlem
I am not completely sure of what your problem is from translation, but if
it is only a password problem you can reset the password through probably
following directions at
http://www.debianadmin.com/how-to-reset-debian-root-password.html or
https://www.tecmint.com/reset-forgotten-root-password-in-debian/
The first page suggests editing grub file and then logging in root and
resetting the password.
If changing the password is not the real problem then
https://www.debian.org/support for more general information...

It could sometimes be that pressing caps lock by mistake the password you
entered results in wrong password entry. The fact that synaptic works with
the password probably means some problem like that could be the issue.
I am also facing a similar issue, when I boot the machine grub menu
sometimes appears and I have to execute the commands "set
prefix=(diskname,diskpartition)/boot/grub" "set
root=(diskname,diskpartition)" "insmod normal" "normal" almost every time I
boot. But not sure if that would work in your case since it may not be the
same problem.

For synaptic manager, needs to be run in administrator mode, for example
sudo synaptic
from command line
and it is only necessary to use synaptic if you would like a graphical user
interface.
sudo apt-get install packagename
installs programs. And you need enough disk space to install a package. If
you don't then installation won't complete.
apt-cache show packagename
will display details about the package you intend to install

I am also having issues with running Synaptic due to Wayland, and if you
are using debian 10 with wayland, synaptic may not be working
automatically, but it should be possible to resolve that problem (though I
am not sure how) And you probably don't have that problem.

---
Oi Luis,
Não estou completamente certo de qual é o seu problema de tradução, mas se
for apenas um problema de senha você pode redefinir a senha provavelmente
seguindo as instruções em
http://www.debianadmin.com/how-to-reset-debian-root -password.html ou
https://www.tecmint.com/reset-forgotten-root-password-in-debian/

A primeira página sugere a edição do arquivo grub e então o login como root
e redefinir a senha. Se mudar a senha não for o problema real,
https://www.debian.org/support
para mais informações gerais ...

Às vezes, pode ser que pressionar caps lock por engano a senha inserida
resulta na entrada de senha incorreta. O fato de o synaptic funcionar com a
senha provavelmente significa que algum problema como esse pode ser o
problema.

Também estou enfrentando um problema semelhante, quando inicializo a
máquina, o menu grub às vezes aparece e tenho que executar os comandos "set
prefix = (diskname, diskpartition) / boot / grub" "set root = (diskname,
diskpartition)" "insmod normal "" normal "quase toda vez que eu inicializo.
Mas não tenho certeza se isso funcionaria no seu caso, pois pode não ser o
mesmo problema.
Para o gerenciador sináptico, precisa ser executado no modo de
administrador, por exemplo sudo synaptic da linha de comando e é necessário
usar o sináptico apenas se desejar um gráfico user interface. "sudo apt-get
install packagename" instala programas. E você precisa de espaço em disco
suficiente para instalar um pacote. Se você não fizer isso, a instalação
não será concluída. "apt-cache show packagename" xibirá detalhes sobre o
pacote que você pretende instalar
Também estou tendo problemas com a execução do Synaptic devido ao Wayland,
e se você estiver usando o debian 10 com o wayland, o Synaptic pode não
estar funcionando automaticamente, mas deve ser possível resolver esse
problema (embora eu não saiba como)



Luis Inocêncio , 27 Şub 2021 Cmt, 20:21 tarihinde
şunu yazdı:

> Boa Tarde
> Desculpem, sou novo no Debian e tudo é novidade e não sei onde conseguirei
> encontrar ajuda para o problema que tenho?? (ou o Debian tem?)
> Tenho o Debian instalado no meu computador, e apesar de ainda só conseguir
> entrar no ambiente do Debian depois de aceder via "comando" nomodeset no
> Grub... :(
> Tentando atualizar o Debian por forma a ir colocando-o
> operacional/funcional logo na minha primeira tentativa a aceder ao root
> (via terminal) esse acesso me é negado (não é aceite a password que
> escolhi???)
> Entretanto com a mesma password consigo aceder ao gestor de Pacotes
> Synaptic - que no entanto não me ajudou (nada) porque através dele tambem
> não foi aceite/instalado nenhum programa do meu interesse.
> Podem me ajudar (ou indicar alguem ou um link) para que consiga fazer o
> Debian ser minimamente util para mim (ter net, mail, office, musica, pdf)
> Fico a aguardar um feedback vosso
> Obrigada
>
> --
> Luis Inocêncio
>


Re: Custom mariadb installation

2021-02-27 Thread Andy Smith
Hello,

On Fri, Feb 26, 2021 at 10:44:27AM -0800, Bill wrote:
> So I'd like to install mariadb on Debian 10 with the
> --basedir=/usr/local/mariadb and --datadir=/data/mariadb. I've tried to add
> these options to the "apt install mariadb-server" command line but I get
> error messages saying the options aren't recognized.

Those are options for the mariadb program itself. You can put them
in configuration files, overriding what is already set, e.g.:

$ sudo ack datadir /etc/mysql/
/etc/mysql/mariadb.conf.d/50-server.cnf
21:datadir = /var/lib/mysql

So I would suggest making your own custom config file in
/etc/mysql/mariadb.conf.d/ numbered after 50 and override it there:

[mysqld]
basedir = /usr/local/mariadb
datadir = /data/mariadb

Do bear in mind that the installation of mariadb will create some
databases in the default location first as part of its setup. You
may want to pre-create your config files (which the install won't
overwrite) so that it gets the correct settings at first startup and
during the initial configuration.

Also mariadb doesn't have an AppArmor profile at the moment but it
could grow one, so you'd have to watch out for that as it's very
likley to restrict the daemon to only being able to access
/var/lib/mysql.

Cheers,
Andy



Re: Mozilla VPN on Debian?

2021-02-27 Thread D&P Dimov
 

On Saturday, February 27, 2021, 5:43:25 AM EST, Anssi Saari  
wrote:  
 
 Brian  writes:

> On Fri 26 Feb 2021 at 18:04:28 +, D&P Dimov wrote:
>
>> Hello,
>> Mozilla VPN is supposed to work on Ubuntu, but I wonder if it will
>> work on Debian as well, considering that Ubintu is build on Debian.
>> Has anyone tried? (The Mozilla support was not helpful in answering my
>> question).
>
> Nothing to do with Debian. How about signing up for the service and
> giving us a review of it?

I don't think I will sign up for it but with a quick look, Wireguard
should be possible to configure even in NetworkManager. Although not
with NetworkManager 1.14 in Debian Buster. But there are wireguard
packages for Buster.

However, if whatever parameters wireguard happens to need can be pried
from Mozilla then there should be no need to bother with their client?
Which is at least open source and available from
https://github.com/mozilla-mobile/mozilla-vpn-client

And in fact, Mullvad, which is the actual VPN provider for Mozilla,
makes a Wireguard config available on their web page. At least if you
have an account with them. No idea if that works if you bought from
Mozilla and not Mullvad.
---
REPLY:Anssi,(Sorry yahoo won't format the reply inline with ">)My Debian stable 
does have network-manager 1.14. And I don't know that I'd be able to pry the 
the parameters needed.Also, you are right about Mullvad, and I see that if I 
get the service from Mullvad, instead of from Mozilla (for a slightly higher 
price), they do provide an installation file for Debian:wget 
--content-disposition https://mullvad.net/download/app/deb/latest
sudo apt-get -y install gdebi-core && sudo gdebi MullvadVPN-.X_amd64.deband 
it seems to be GPL licensed: 
https://github.com/mullvad/mullvadvpn-app/blob/master/LICENSE.md
I think this is the easiest way to for me to go.
And since you mentioned that you wouldn't sign up for it, do you have another 
VPN provider/service that you would recommend that works in Debian Buster 
(stable) with just free software?Thanks!Luben
  

ajuda

2021-02-27 Thread Luis Inocêncio
Boa Tarde
Desculpem, sou novo no Debian e tudo é novidade e não sei onde conseguirei
encontrar ajuda para o problema que tenho?? (ou o Debian tem?)
Tenho o Debian instalado no meu computador, e apesar de ainda só conseguir
entrar no ambiente do Debian depois de aceder via "comando" nomodeset no
Grub... :(
Tentando atualizar o Debian por forma a ir colocando-o
operacional/funcional logo na minha primeira tentativa a aceder ao root
(via terminal) esse acesso me é negado (não é aceite a password que
escolhi???)
Entretanto com a mesma password consigo aceder ao gestor de Pacotes
Synaptic - que no entanto não me ajudou (nada) porque através dele tambem
não foi aceite/instalado nenhum programa do meu interesse.
Podem me ajudar (ou indicar alguem ou um link) para que consiga fazer o
Debian ser minimamente util para mim (ter net, mail, office, musica, pdf)
Fico a aguardar um feedback vosso
Obrigada

-- 
Luis Inocêncio


Re: May be a beat to death subject getting rid of keyring prompt for auth

2021-02-27 Thread Tixy
On Sat, 2021-02-27 at 09:36 -0500, reader wrote:
> I want to run evolution without any prompting for login keyring auth.
> 
> I found piles of message on google about this, most are quite old. And
> quite of few tell of long complicated list of things to do.
> 
> Surely the is some basic and fairly simple may to remove that obstacle.
> 
> Can someone tell me how to arrange things so that I have no prompt for
> login keyring authentication when opening mail account in `evolution'.
> 
> I don't mean password for mail account but I get prompted for login
> keyring auth that I know nothting about.  When it comes up everything
> else freezes until I deal with that prompt by cancelling it.

You need to have no password set for your keyring, that's what I've
always done, but I'm sorry I can't remember how to do that. Seahorse is
the program that I've always installed to do keyring management,
perhaps that lets you change password to an empty one?

I recently installed Bullseye on a new PC and just now realise I didn't
have to do anything special for the keyring, Evolution just worked
without needing keyring password.

-- 
Tixy



May be a beat to death subject getting rid of keyring prompt for auth

2021-02-27 Thread reader


I want to run evolution without any prompting for login keyring auth.

I found piles of message on google about this, most are quite old. And
quite of few tell of long complicated list of things to do.

Surely the is some basic and fairly simple may to remove that obstacle.

Can someone tell me how to arrange things so that I have no prompt for
login keyring authentication when opening mail account in `evolution'.

I don't mean password for mail account but I get prompted for login
keyring auth that I know nothting about.  When it comes up everything
else freezes until I deal with that prompt by cancelling it.

Absolutely annoying at best and making it impossible to proceed.



Re: is it possible to add a secondary disk to an existing debian systems and install programs to the secondary disk

2021-02-27 Thread Joe
On Sat, 27 Feb 2021 15:19:39 +0300
Semih Ozlem  wrote:

> Should I then be suspicious of a possible attack on the system in
> case the system fails, if both debian and ubuntu are fairly stable?
> The usb flash drives themselves are still functional in the sense
> that I can view the files in them after plugging them in. I backed up
> the data on them. But when I try to boot from 64 gb usb flash disks
> (one with ubuntu 18 04 the other debian 10 point something installed
> on them) the boot process does not complete and the login screen does
> not appear. The two recovery modes (I guess those are the snapshots
> no?) do not finish booting either.
> 

There are parts of the system that aren't files, that you're not
checking. Grub writes a bootloader to the MBR of a normal drive, but a
USB stick may not have a partition structure, in which case the
bootloader will be written to the start of the drive. If this gets
damaged, you can use a low-level disc utility to copy it out and check
it, but the easier way is to boot from a rescue USB stick, then try to
chroot into the faulty OS and update grub from there, which will
rewrite the bootloader.

The recovery mode is grub itself plus a number of utilities and
drivers. From here, you can generally find drives and partitions, mount
partitions and edit files if you can see what's wrong. It sounds like
the early booting part of grub is itself damaged in your case.

And no, LVM snapshots are nothing to do with boot or recovery
processes, they are a means of freezing the files of an installed
operating system so that a proper backup can be made while still
allowing the system to run. Changes to files are stored in a buffer
area, and read from there, then when the backup is finished the
snapshot can be closed and the file changes will be merged back to the
real file locations. The system will obviously run more slowly while
the snapshot is open, but that may be far better than shutting it down
for an offline backup.

If you try to make an online backup without using this method, some
files will change during the backup, meaning that the set of files that
are written to the backup may not be consistent enough to run properly
as a complete system. Certainly database daemons must be stopped, as
well as anything else outside the core OS that makes persistent changes
to files (e.g. a mail server). Most changing files are temporary, so it
is often possible to get away with an online backup without a snapshot,
particularly if you only ever need to restore single files or
directories. Cloning a full working OS is generally best done offline,
unless you have LVM plus space for the buffer.

-- 
Joe



Re: is it possible to add a secondary disk to an existing debian systems and install programs to the secondary disk

2021-02-27 Thread Andrew M.A. Cater
On Sat, Feb 27, 2021 at 03:22:08PM +0300, Semih Ozlem wrote:
> One potential extra information that could be relevant is that I did use
> the flash drives in a university network, and using shared wifi in a hostel
> and before in a public library.
> 

That's probably irrelevant: flash drives can and do fail with the occasional 
missing write under heavy load. Are these USB3?

Essentially, installing a Linux system to them is more intense than just 
copying files, even large files. There's an amount of indexing, finding files
and so on that isn't there in copying say, a DVD sized image across.

There's a subtle difference between a cheap 16G USB stick and one of the large
high capacity USB sticks from a major manufacturer that might cost ten times
as much. Also, USB connected devices are different: I'd feel happier, for 
example, installing Debian to an SSD in a good caddy connected via a short
USB3 cable I trust :)

> Semih Ozlem , 27 Şub 2021 Cmt, 15:19
> tarihinde şunu yazdı:
> 
> > Should I then be suspicious of a possible attack on the system in case the
> > system fails, if both debian and ubuntu are fairly stable? The usb flash
> > drives themselves are still functional in the sense that I can view the
> > files in them after plugging them in. I backed up the data on them. But
> > when I try to boot from 64 gb usb flash disks (one with ubuntu 18 04 the
> > other debian 10 point something installed on them) the boot process does
> > not complete and the login screen does not appear. The two recovery modes
> > (I guess those are the snapshots no?) do not finish booting either.
> >

18.04 is now old: try 20.04 :) Similarly, use the latest Debian image you
can find on cdimage.debian.org or mirrors. The latest is 10.8 - 10.9 will be
along eventually.

> > Joe , 27 Şub 2021 Cmt, 12:02 tarihinde şunu yazdı:
> >
> >> On Sat, 27 Feb 2021 11:30:08 +0300
> >> Semih Ozlem  wrote:
> >>
> >> > Sorry I can not read emails very often. No I am not new to linux I
> >> > have been using it for the past 6 or 7 years starting mostly with
> >> > ubuntu. I had CENTOS and Ubuntu and debian installed on some machines
> >> > before.  Most of them stopped functioning. Some of them in less than
> >> > six months.
> >>

What are you _doing_ to them? That's unusual in any event. Are you in an area
subject to power cuts? Were you using significantly old hardware / hardware
built from discarded PCs?

> >> OK, that simply should not happen. I don't know if either Centos or
> >> Ubuntu can do in-place version upgrades, but if not, they should
> >> certainly run from release to unsupported status. My current server
> >> installation is a new one, but previously it ran through several
> >> Debian stable version upgrades and many years, and a couple of changes
> >> of hardware. There is such a thing as software rot, and it certainly
> >> affects applications, but the OS of Debian stable should run pretty much
> >> forever.
> >> >
> >> > I am new to the debian users group, because I found out that a user
> >> > group existed much later. During this time I had a lot of issues with
> >> > computers. The new computer that I got, originally the store claimed
> >> > that the insurance on my machine would be invalidated if I installed
> >> > another operation system on the machine.
> >> >
> >> > The reason for hesitating to install debian right now is simply that
> >> > the machines may become unusable again, and the invested time and
> >> > machinepower to installing a machine may end up being wasted. The
> >> > other reason was the claim that insurance may become invalid which
> >> > later turned out not to be so, but only after asking the company that
> >> > sells the computer several times.
> >>
> >> No software carries any kind of warranty, not even the famous Windows,
> >> but the warranty should certainly cover the hardware if it isn't
> >> physically abused. Software warranty service is pretty much limited to
> >> reinstalling Windows with loss of all data and applications, which any
> >> user can do themselves.
> >>

In your position, if the machine does not carry all your vital data - I might
consider making the machine dual boot Debian and Windows.

Before I did that: I'd use Windows tools to list everything possible about
the system and write it down on a piece of paper - including whether it's 
booting from UEFI, what the video information is, disk size and so on.

I'd also boot the machine from a piece of Debian live media - check lsusb, 
lspci, any dmesg messages about missing firmware - again, write it down.

Use the tools from Microsoft to get hold of a copy of the latest Windows 
install media and use those tools to write it to a USB stick. Keep that 
somewhere in case you _ever_ need to reinstall Windows :) Then check back
into the list and I'll talk you through installation if you wish.

One thing that is important: always resize disks first with Windows tools
before installing any other OS.

> >> > The third reason is I si

Towards a Debian FAQ Index

2021-02-27 Thread Richard Owlett

There are many FAQs concerning Debian.
Trying to find a relevant one can be time consuming.
Search engines don't have convenient formatting.
I did
   https://html.duckduckgo.com/html?q=%2Bintitle%3Afaq
and experimented with dumping it to a file.

I managed it into a more convenient format as:

The Debian GNU/Linux FAQ
 www.debian.org/doc/manuals/debian-faq/index.en.html
PDF The Debian GNU/Linux FAQ
 www.debian.org/doc/manuals/debian-faq/debian-faq.en.pdf
FAQ - Debian Wiki
 wiki.debian.org/FAQ
Debian -- Debian security FAQ
 www.debian.org/security/faq
Debian Java FAQ.
 www.debian.org/doc/manuals/debian-java-faq/index.en.html
LTS/FAQ - Debian Wiki
 wiki.debian.org/LTS/FAQ
FAQ — Debian Manpages
 manpages.debian.org/faq.html
Java/Packaging/FAQ - Debian Wiki
 wiki.debian.org/Java/Packaging/FAQ
Debian Java FAQ. - Managing Java (for users and ...
 www.debian.org/doc/manuals/debian-java-faq/ch3.en.html
DebianEdu/FAQ - Debian Wiki
 wiki.debian.org/DebianEdu/FAQ
Chapter 12. Frequently asked Questions (FAQ)
 www.debian.org/doc/manuals/securing-debian-manual/ch12.en.html
Chapter 16. General information about the FAQ
 www.debian.org/doc/manuals/debian-faq/faqinfo.en.html
Reject FAQ for Debian's NEW-Queue
 ftp-master.debian.org/REJECT-FAQ.html
Debian Java FAQ. - Introduction
 www.debian.org/doc/manuals/debian-java-faq/ch1.en.html
Debian Java FAQ. - Java Development
 www.debian.org/doc/manuals/debian-java-faq/ch2.en.html 
Debian -- Debian Security Audit FAQ
 www.debian.org/security/audit/faq
Teams/Dpkg/FAQ - Debian Wiki
 wiki.debian.org/Teams/Dpkg/FAQ
XBase::FAQ(3pm) — libdbd-xbase-perl — Debian testing ...
 manpages.debian.org/testing/libdbd-xbase-perl/XBase::FAQ.3pm.en.htm
DebianEdu/FAQ/Installation - Debian Wiki
 wiki.debian.org/DebianEdu/FAQ/Installation
Teams/MySQL/FAQ - Debian Wiki
 wiki.debian.org/Teams/MySQL/FAQ
Debian Java FAQ. - Java Virtual Machines (JVM)
 www.debian.org/doc/manuals/debian-java-faq/ch4.en.html
Amazon/EC2/FAQ - Debian Wiki
 wiki.debian.org/Amazon/EC2/FAQ
Community Distribution Patent Policy FAQ - Debian
 www.debian.org/reports/patent-faq.en.html
Debian Documentation Project / debian-faq · GitLab
 salsa.debian.org/ddp-team/debian-faq
Debian_GNU/kFreeBSD_FAQ - Debian Wiki
 wiki.debian.org/Debian_GNU/kFreeBSD_FAQ
Debian Java FAQ. - Status of Java in Debian's older ...
 www.debian.org/doc/manuals/debian-java-faq/ch-debian-java-etch.html
Debian Java FAQ. - Java Plugins for Browsers
 www.debian.org/doc/manuals/debian-java-faq/ch-browser-java.en.html
Re: Debian Chinese FAQ
 lists.debian.org/debian-chinese-gb/2002/06/msg00028.html
 


Hope some find it useful.





Re: is it possible to add a secondary disk to an existing debian systems and install programs to the secondary disk

2021-02-27 Thread Semih Ozlem
One potential extra information that could be relevant is that I did use
the flash drives in a university network, and using shared wifi in a hostel
and before in a public library.

Semih Ozlem , 27 Şub 2021 Cmt, 15:19
tarihinde şunu yazdı:

> Should I then be suspicious of a possible attack on the system in case the
> system fails, if both debian and ubuntu are fairly stable? The usb flash
> drives themselves are still functional in the sense that I can view the
> files in them after plugging them in. I backed up the data on them. But
> when I try to boot from 64 gb usb flash disks (one with ubuntu 18 04 the
> other debian 10 point something installed on them) the boot process does
> not complete and the login screen does not appear. The two recovery modes
> (I guess those are the snapshots no?) do not finish booting either.
>
> Joe , 27 Şub 2021 Cmt, 12:02 tarihinde şunu yazdı:
>
>> On Sat, 27 Feb 2021 11:30:08 +0300
>> Semih Ozlem  wrote:
>>
>> > Sorry I can not read emails very often. No I am not new to linux I
>> > have been using it for the past 6 or 7 years starting mostly with
>> > ubuntu. I had CENTOS and Ubuntu and debian installed on some machines
>> > before.  Most of them stopped functioning. Some of them in less than
>> > six months.
>>
>> OK, that simply should not happen. I don't know if either Centos or
>> Ubuntu can do in-place version upgrades, but if not, they should
>> certainly run from release to unsupported status. My current server
>> installation is a new one, but previously it ran through several
>> Debian stable version upgrades and many years, and a couple of changes
>> of hardware. There is such a thing as software rot, and it certainly
>> affects applications, but the OS of Debian stable should run pretty much
>> forever.
>> >
>> > I am new to the debian users group, because I found out that a user
>> > group existed much later. During this time I had a lot of issues with
>> > computers. The new computer that I got, originally the store claimed
>> > that the insurance on my machine would be invalidated if I installed
>> > another operation system on the machine.
>> >
>> > The reason for hesitating to install debian right now is simply that
>> > the machines may become unusable again, and the invested time and
>> > machinepower to installing a machine may end up being wasted. The
>> > other reason was the claim that insurance may become invalid which
>> > later turned out not to be so, but only after asking the company that
>> > sells the computer several times.
>>
>> No software carries any kind of warranty, not even the famous Windows,
>> but the warranty should certainly cover the hardware if it isn't
>> physically abused. Software warranty service is pretty much limited to
>> reinstalling Windows with loss of all data and applications, which any
>> user can do themselves.
>>
>> > The third reason is I simply do not
>> > at the moment have the time to backup the existing hard drive before
>> > installing a new operating system on it, and also that should it
>> > become unusable or stop functioning (I had debian installed on a usb
>> > 64 gb of size that stopped booting)..
>>
>> Ah, USB sticks *do* stop working or lose bits without warning. Well, so
>> do spinning hard drives, but not usually in less than about five years,
>> often much longer.
>> >
>> > Yes I did figure out that it was lvm2 package that was needed, and
>> > lvs is actually one of the internal commands for lvm2 as well so it
>> > could be run from the console lvm2 prodives. I am looking into the
>> > option of using lvm.
>>
>> That's fairly painless to use, as Debian will set it up during the OS
>> installation. To be honest, I've had it installed for many years, and
>> only occasionally used it. Drives are now large enough that I don't
>> outgrow them in the lifetime of the hardware. In addition to adding
>> and removing drives, LVM does allow online backups, if you've left
>> enough unused space. Read about snapshots.
>>
>> --
>> Joe
>>
>>


Re: is it possible to add a secondary disk to an existing debian systems and install programs to the secondary disk

2021-02-27 Thread Semih Ozlem
Should I then be suspicious of a possible attack on the system in case the
system fails, if both debian and ubuntu are fairly stable? The usb flash
drives themselves are still functional in the sense that I can view the
files in them after plugging them in. I backed up the data on them. But
when I try to boot from 64 gb usb flash disks (one with ubuntu 18 04 the
other debian 10 point something installed on them) the boot process does
not complete and the login screen does not appear. The two recovery modes
(I guess those are the snapshots no?) do not finish booting either.

Joe , 27 Şub 2021 Cmt, 12:02 tarihinde şunu yazdı:

> On Sat, 27 Feb 2021 11:30:08 +0300
> Semih Ozlem  wrote:
>
> > Sorry I can not read emails very often. No I am not new to linux I
> > have been using it for the past 6 or 7 years starting mostly with
> > ubuntu. I had CENTOS and Ubuntu and debian installed on some machines
> > before.  Most of them stopped functioning. Some of them in less than
> > six months.
>
> OK, that simply should not happen. I don't know if either Centos or
> Ubuntu can do in-place version upgrades, but if not, they should
> certainly run from release to unsupported status. My current server
> installation is a new one, but previously it ran through several
> Debian stable version upgrades and many years, and a couple of changes
> of hardware. There is such a thing as software rot, and it certainly
> affects applications, but the OS of Debian stable should run pretty much
> forever.
> >
> > I am new to the debian users group, because I found out that a user
> > group existed much later. During this time I had a lot of issues with
> > computers. The new computer that I got, originally the store claimed
> > that the insurance on my machine would be invalidated if I installed
> > another operation system on the machine.
> >
> > The reason for hesitating to install debian right now is simply that
> > the machines may become unusable again, and the invested time and
> > machinepower to installing a machine may end up being wasted. The
> > other reason was the claim that insurance may become invalid which
> > later turned out not to be so, but only after asking the company that
> > sells the computer several times.
>
> No software carries any kind of warranty, not even the famous Windows,
> but the warranty should certainly cover the hardware if it isn't
> physically abused. Software warranty service is pretty much limited to
> reinstalling Windows with loss of all data and applications, which any
> user can do themselves.
>
> > The third reason is I simply do not
> > at the moment have the time to backup the existing hard drive before
> > installing a new operating system on it, and also that should it
> > become unusable or stop functioning (I had debian installed on a usb
> > 64 gb of size that stopped booting)..
>
> Ah, USB sticks *do* stop working or lose bits without warning. Well, so
> do spinning hard drives, but not usually in less than about five years,
> often much longer.
> >
> > Yes I did figure out that it was lvm2 package that was needed, and
> > lvs is actually one of the internal commands for lvm2 as well so it
> > could be run from the console lvm2 prodives. I am looking into the
> > option of using lvm.
>
> That's fairly painless to use, as Debian will set it up during the OS
> installation. To be honest, I've had it installed for many years, and
> only occasionally used it. Drives are now large enough that I don't
> outgrow them in the lifetime of the hardware. In addition to adding
> and removing drives, LVM does allow online backups, if you've left
> enough unused space. Read about snapshots.
>
> --
> Joe
>
>


Re: Mozilla VPN on Debian?

2021-02-27 Thread Anssi Saari
Brian  writes:

> On Fri 26 Feb 2021 at 18:04:28 +, D&P Dimov wrote:
>
>> Hello,
>> Mozilla VPN is supposed to work on Ubuntu, but I wonder if it will
>> work on Debian as well, considering that Ubintu is build on Debian.
>> Has anyone tried? (The Mozilla support was not helpful in answering my
>> question).
>
> Nothing to do with Debian. How about signing up for the service and
> giving us a review of it?

I don't think I will sign up for it but with a quick look, Wireguard
should be possible to configure even in NetworkManager. Although not
with NetworkManager 1.14 in Debian Buster. But there are wireguard
packages for Buster.

However, if whatever parameters wireguard happens to need can be pried
from Mozilla then there should be no need to bother with their client?
Which is at least open source and available from
https://github.com/mozilla-mobile/mozilla-vpn-client

And in fact, Mullvad, which is the actual VPN provider for Mozilla,
makes a Wireguard config available on their web page. At least if you
have an account with them. No idea if that works if you bought from
Mozilla and not Mullvad.




New Nvidia 340.108 patch for kernel 5.11

2021-02-27 Thread pigeonskiller
Hi developers,

just to inform you that a new Nvidia 340.108 patch for kernel 5.11 is available 
here:

https://github.com/warpme/minimyth2/tree/master/script/nvidia/nvidia-340.108/files

Thanks for supporting our old hardware and have a nice day.

About keeping a Debian installation happy [was: is it possible to add a secondary disk to an existing debian] systems and install programs to the secondary disk

2021-02-27 Thread tomas
On Sat, Feb 27, 2021 at 11:34:10AM +0300, Semih Ozlem wrote:
> Also even though I have been using linux for a while, that still does not
> mean that I would know everything about linux or that there would be no
> details that I miss...

Nobody does. The Linux kernel alone receives roughly 6000-8000 patches
*a month* [1] [2]. That amounts to a steady stream of one patch every
five minutes, if I didn't miscalculate.

A tad less than 2000 developers are contributing at any given time.

And a (GNU)/Linux distro is a bit more than that. No way to keep up
on each and every corner of that. Much less as a single person.

That said, I'm around that stuff since... something between 1993
and 1994. My main workstation (and a couple of other installations,
often at customer's) have been purely GNU/Linux things, most of
the time Debian.

I haven't experienced that kind of catastrophic failure since...
well, let's say 1996 or so. Most of the time, I've had fairly clean
upgrades, with few pains (and I /do/ customize my systems. I'm
sometimes picky. I don't like systemd, for example, thus I do
increase my risk by departing from the beaten path here and there).

What may be elements contributing towards keeping an installation
happy? This surely depends on many things. Here are a couple of
advices from an old jeezer:

 - community
   Find people "around" you (geographically is the best, but
   sometimes you don't have that luxury). A mailing list like
   this is an option. People you trust, and you learn to understand.

 - OS usage model
   think about how you are treating you OS: is it a pet, you
   know by name (upgrade frequently, install this-or-that
   utility from source, let it develop a "personality" over
   time, you're kind of sad when it dies) or is it "cattle"
   (you invest a lot into automating install and deployment,
   which happens nearly instantly. When the system coughs,
   you dump it and deploy a new one).

   Those are very different approaches, and have different
   properties.

   It pays off to think about what you want to do. I'm
   (pretty firmly) in the "pet" camp, although I see what the
   "cattle" model is good for. For a perspective from the "cattle"
   camp, see [3].

   I have the feeling that you dither between both positions
   (you deploy as "cattle", i.e. don't dare to install to
   disk) and expect "pet" behaviour (i.e. long-time stability).

Sorry for this philosophical interruption :-)

Cheers

[1] https://lwn.net/Articles/839772/
[2] https://lwn.net/Articles/845831/
[3] 
https://joachim8675309.medium.com/devops-concepts-pets-vs-cattle-2380b5aab313

 - t


signature.asc
Description: Digital signature


Re: is it possible to add a secondary disk to an existing debian systems and install programs to the secondary disk

2021-02-27 Thread Joe
On Sat, 27 Feb 2021 11:30:08 +0300
Semih Ozlem  wrote:

> Sorry I can not read emails very often. No I am not new to linux I
> have been using it for the past 6 or 7 years starting mostly with
> ubuntu. I had CENTOS and Ubuntu and debian installed on some machines
> before.  Most of them stopped functioning. Some of them in less than
> six months.

OK, that simply should not happen. I don't know if either Centos or
Ubuntu can do in-place version upgrades, but if not, they should
certainly run from release to unsupported status. My current server
installation is a new one, but previously it ran through several
Debian stable version upgrades and many years, and a couple of changes
of hardware. There is such a thing as software rot, and it certainly
affects applications, but the OS of Debian stable should run pretty much
forever.
> 
> I am new to the debian users group, because I found out that a user
> group existed much later. During this time I had a lot of issues with
> computers. The new computer that I got, originally the store claimed
> that the insurance on my machine would be invalidated if I installed
> another operation system on the machine.
> 
> The reason for hesitating to install debian right now is simply that
> the machines may become unusable again, and the invested time and
> machinepower to installing a machine may end up being wasted. The
> other reason was the claim that insurance may become invalid which
> later turned out not to be so, but only after asking the company that
> sells the computer several times.

No software carries any kind of warranty, not even the famous Windows,
but the warranty should certainly cover the hardware if it isn't
physically abused. Software warranty service is pretty much limited to
reinstalling Windows with loss of all data and applications, which any
user can do themselves.

> The third reason is I simply do not
> at the moment have the time to backup the existing hard drive before
> installing a new operating system on it, and also that should it
> become unusable or stop functioning (I had debian installed on a usb
> 64 gb of size that stopped booting)..

Ah, USB sticks *do* stop working or lose bits without warning. Well, so
do spinning hard drives, but not usually in less than about five years,
often much longer.
> 
> Yes I did figure out that it was lvm2 package that was needed, and
> lvs is actually one of the internal commands for lvm2 as well so it
> could be run from the console lvm2 prodives. I am looking into the
> option of using lvm.

That's fairly painless to use, as Debian will set it up during the OS
installation. To be honest, I've had it installed for many years, and
only occasionally used it. Drives are now large enough that I don't
outgrow them in the lifetime of the hardware. In addition to adding
and removing drives, LVM does allow online backups, if you've left
enough unused space. Read about snapshots.

-- 
Joe



Re: is it possible to add a secondary disk to an existing debian systems and install programs to the secondary disk

2021-02-27 Thread Semih Ozlem
Also even though I have been using linux for a while, that still does not
mean that I would know everything about linux or that there would be no
details that I miss...

Semih Ozlem , 27 Şub 2021 Cmt, 11:30
tarihinde şunu yazdı:

> Sorry I can not read emails very often. No I am not new to linux I have
> been using it for the past 6 or 7 years starting mostly with ubuntu. I had
> CENTOS and Ubuntu and debian installed on some machines before.  Most of
> them stopped functioning. Some of them in less than six months.
>
> I am new to the debian users group, because I found out that a user group
> existed much later. During this time I had a lot of issues with computers.
> The new computer that I got, originally the store claimed that the
> insurance on my machine would be invalidated if I installed another
> operation system on the machine.
>
> The reason for hesitating to install debian right now is simply that the
> machines may become unusable again, and the invested time and machinepower
> to installing a machine may end up being wasted. The other reason was the
> claim that insurance may become invalid which later turned out not to be
> so, but only after asking the company that sells the computer several
> times. The third reason is I simply do not at the moment have the time to
> backup the existing hard drive before installing a new operating system on
> it, and also that should it become unusable or stop functioning (I had
> debian installed on a usb 64 gb of size that stopped booting)..
>
> Yes I did figure out that it was lvm2 package that was needed, and lvs is
> actually one of the internal commands for lvm2 as well so it could be run
> from the console lvm2 prodives. I am looking into the option of using lvm.
>
>
>
> Greg Wooledge , 26 Şub 2021 Cum, 20:42 tarihinde şunu
> yazdı:
>
>> Charles Curley (charlescur...@charlescurley.com) wrote:
>> > I also made the mistake of figuring that getting lvs installed would
>> > help solve the problem. I later realized that getting lvs installed
>> > would be irrelevant: the fact that it is not installed tells us what
>> > we needed to know: M. Ozlem isn't running LVM, so the solution to the
>> > problem is not simply to expand the current volume group (VG) onto the
>> > new hard drive. There is no current VG to expand.
>> >
>> > So where do we go from here?
>>
>> Yes, all of that is true and useful.
>>
>> The real problem, though, is that the OP apparently *does not have* a
>> Debian installation at all.  They're just sticking a Live USB thingy
>> into a computer and running Debian from that.  Debian is not installed
>> on their computer, and they've stated that they have no intention of
>> installing it on their computer -- at least not on the current hard
>> drive which is dedicated to Microsoft Windows.
>>
>> Once we learned that, I pretty much stopped paying attention to anything
>> else they said.
>>
>> I'm guessing that their goal is to keep booting from their Live USB
>> thingy, but to use a second hard drive (which does not exist yet) as
>> some sort of auxiliary storage that will magically hold whatever they
>> want to install.
>>
>> I might suggest that a *better* goal would be to install Debian on the
>> new hard drive (once it exists), and stop booting the Live system.
>>
>>


Re: is it possible to add a secondary disk to an existing debian systems and install programs to the secondary disk

2021-02-27 Thread Semih Ozlem
Sorry I can not read emails very often. No I am not new to linux I have
been using it for the past 6 or 7 years starting mostly with ubuntu. I had
CENTOS and Ubuntu and debian installed on some machines before.  Most of
them stopped functioning. Some of them in less than six months.

I am new to the debian users group, because I found out that a user group
existed much later. During this time I had a lot of issues with computers.
The new computer that I got, originally the store claimed that the
insurance on my machine would be invalidated if I installed another
operation system on the machine.

The reason for hesitating to install debian right now is simply that the
machines may become unusable again, and the invested time and machinepower
to installing a machine may end up being wasted. The other reason was the
claim that insurance may become invalid which later turned out not to be
so, but only after asking the company that sells the computer several
times. The third reason is I simply do not at the moment have the time to
backup the existing hard drive before installing a new operating system on
it, and also that should it become unusable or stop functioning (I had
debian installed on a usb 64 gb of size that stopped booting)..

Yes I did figure out that it was lvm2 package that was needed, and lvs is
actually one of the internal commands for lvm2 as well so it could be run
from the console lvm2 prodives. I am looking into the option of using lvm.



Greg Wooledge , 26 Şub 2021 Cum, 20:42 tarihinde şunu
yazdı:

> Charles Curley (charlescur...@charlescurley.com) wrote:
> > I also made the mistake of figuring that getting lvs installed would
> > help solve the problem. I later realized that getting lvs installed
> > would be irrelevant: the fact that it is not installed tells us what
> > we needed to know: M. Ozlem isn't running LVM, so the solution to the
> > problem is not simply to expand the current volume group (VG) onto the
> > new hard drive. There is no current VG to expand.
> >
> > So where do we go from here?
>
> Yes, all of that is true and useful.
>
> The real problem, though, is that the OP apparently *does not have* a
> Debian installation at all.  They're just sticking a Live USB thingy
> into a computer and running Debian from that.  Debian is not installed
> on their computer, and they've stated that they have no intention of
> installing it on their computer -- at least not on the current hard
> drive which is dedicated to Microsoft Windows.
>
> Once we learned that, I pretty much stopped paying attention to anything
> else they said.
>
> I'm guessing that their goal is to keep booting from their Live USB
> thingy, but to use a second hard drive (which does not exist yet) as
> some sort of auxiliary storage that will magically hold whatever they
> want to install.
>
> I might suggest that a *better* goal would be to install Debian on the
> new hard drive (once it exists), and stop booting the Live system.
>
>


Re: Non-free firmware [was: Debian install Question]

2021-02-27 Thread tomas
On Fri, Feb 26, 2021 at 10:49:58PM +, Brian wrote:
> On Fri 26 Feb 2021 at 16:28:56 -0500, Dan Ritter wrote:
> 
> > to...@tuxteam.de wrote: 
> > > On Fri, Feb 26, 2021 at 06:41:40PM +, Brian wrote:
> > > 
> > > [...]
> > > 
> > > > A 64-bit netinstall is prominent on the Debian main page. The
> > > > problem with that image is that it is unlikely to suit many users
> > > > with wireless-only connectivity. No obvious escape route is
> > > > advertised. Yes, I know - if a site search is conducted, a better
> > > > (non-free) image will be located. Jumping through hoops comes to
> > > > mind!
> > > 
> > > No easy solution to that, sigh.
> > 
> > Sure there is -- add a link directly underneath it saying "if
> > you require wireless connectivity during the installation, you
> > may need to use this [link: alternate installer]."
> 
> "if you require wireless connectivity during the installation, we
> have a much better installer for you. [link: alternate installer]."
> 
> (Don't ask ask why the inferior installer is prominent :).)
   ^

That surely is a typo. You meant "Do ask why ..."-

Cheers
 - t


signature.asc
Description: Digital signature


Re: is it possible to add a secondary disk to an existing debian systems and install programs to the secondary disk

2021-02-27 Thread martin f krafft

Regarding the following, written by "Semih Ozlem" on 2021-02-26 at 08:54 Uhr 
+0300:

lvs is in which package?


If it's not installed on your system (the package being `lvm2`), 
then my suggested fix won't work for you anyway, since your system 
isn't set up to use Logical Volume Management.


--
 .''`.   martin f. krafft  @martinkrafft
: :'  :  proud Debian developer
`. `'`   http://people.debian.org/~madduck
  `-  Debian - when you have better things to do than fixing systems
 
"cs class at 8:30am. ugly. if you can wake up early enough to get

 good grades here, you need to develop hacker habits..."
 -- jeff bailey on #debian-devel


digital_signature_gpg.asc
Description: Digital GPG signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)