Re: BTRFS and debian

2018-07-11 Thread Pascal Hambourg

Le 12/07/2018 à 05:01, David Christensen a écrit :

On 07/11/18 11:29, Pascal Hambourg wrote:

Le 10/07/2018 à 05:33, David Christensen a écrit :


  In the Debian Installer, I choose 'manual' for 'partitioning 
method', create a new partition table (MBR), and create three primary 
partitions:


1   ~1 GiB btrfs mounted at /boot
2   ~2 GiB LUKS (random key) with swap


How do you do that ?
AFAIK, you cannot set a random key with LUKS, only with plain dm-crypt.


Perhaps it is plain dm-crypt, not LUKS.  (I am not familiar with the 
internals of either, so my understanding is that of a parrot or blind man.)



In the Debian Installer for Stretch:

1.  For "Partitioning method", choose "Manual".

2.  Create partitions, including a partition for swap.

3.  Move the highlight to the swap partition and press Enter to invoke 
the "Partition settings" pop-up dialog, and configure as follows (note 
"Encryption key" => "Random key" setting):


     Partition settings:
     Use as  physical volume for encryption
     Encryption method   Device-mapper (dm-crypt)
     Encryption  aes
     Key size    256
     IV algorithm    xts-plain64
     Encryption key  Random key
     Erase data  yes


Yes, this uses plain dm-crypt, not LUKS. You can see it in the resulting 
/etc/crypttab (no "luks" option), and blkid/file/wipefs do not show any 
LUKS header on the partition.


Note that this setup is flawed when using a partition on an SCSI-like 
disk : the installer writes the device name /dev/sdX which is known to 
be not persistent (that's why UUIDs are used instead when possible). But 
a plain dm-crypt device has no header and UUID. It would be more 
reliable to use the PARTUUID= (synthetic on a DOS-partitioned disk) instead.




apt does not honor trusted=yes from sources.list

2018-07-11 Thread Pierre Couderc

It is know as https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872543

But the workaround proposed here does not work for me : I have no

 /var/lib/apt/lists/archive.cloudera.com_* file

Any idea...?

PC



Re: How to"apt update" from an USB key ?

2018-07-11 Thread Pierre Couderc




On 07/12/2018 05:05 AM, davidson wrote:

On Wed, 11 Jul 2018, Pierre Couderc wrote:


brackets.  For example, one sees

  deb [ someoption=somevalue ] uri stretch main

but never

  deb [someoption=somevalue] uri stretch main

So maybe the spaces following '[' and preceding ']' are important.


I had traces with and without spaces...
Sorry, my post was very confusing...



Re: How to"apt update" from an USB key ?

2018-07-11 Thread Pierre Couderc

On 07/11/2018 11:53 PM, Pierre Couderc wrote:

Now, I have to understand why it says me :

Malformed line 6 in source list /etc/apt/sources.list (URI parse)

when my line 6 is :

deb [trusted=yes] file:/media/cdrom/ stretch main


I think that I have found an answer in :

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872543

But the workaroud does not work for me.



Re: No full upgrade to Nvidia 390.67 from bpo

2018-07-11 Thread mlnl
Hi Matthew,

> The only way I was able to resolve this was to uninstall the nvidia> 
> drivers from the main repo, then reinstall via backport repo. Be 
> careful doing this though.
> 
> Remember to make sure you have the kernel headers for your specific 
> linux kernel installed as well, or else DKMS will fail, and you will 
> be left with a partially broken system.

Thank you for your answer & help. I did it your way and it worked :)

-- 
mlnl



Re: How to"apt update" from an USB key ?

2018-07-11 Thread davidson

On Wed, 11 Jul 2018, Pierre Couderc wrote:



On 07/11/2018 03:14 PM, Curt wrote:

On 2018-07-11, Pierre Couderc  wrote:
On an ultraslim (ACER swift 3) I have no CDROM no Ethernet, only an USB 
key.

I have installed stretch (without GUI) from the USB key, and now I want
to install connman, but I do not success to apt-cdrom on an USB.
I have googled but did not find a correct howto to do that...

Not clear what's on the stick; I assume it's DVD1 (or CD1). (I mean if
you're trying to use apt-cdrom with the stick and the machine has no
internet connection and you installed from the stick this is my
assumption.
Yes, your assumption is right. I have created the USB stick  with dd .iso 
->usb.

I thank very much John, Darac y Roberto, but it is not my problem.

   Others seem to have assumed other things. As I have a very
low assumption batting average lately I hesitate slightly to join the
fray.)

(copied from a post by UK Brian--I think there's only one over there)

  First adjust sources.list to only have

deb [ trusted=yes ] file:/media/DVD-1/ stretch main

("trusted" avoids warnings about unauthenticated packages--you trust
the iso on the stick, we assume.)

  Make the DVD-1 directory:

mkdir /media/DVD-1/

  and insert the USB stick. Obtain the device name from dmesg or lsblk.
  Then (for example)

mount /dev/sdg1 /media/DVD-1/

apt update; apt install connman




Merci  beucoup, Curt I had seen this kind of solution, but it did
not work as I had not discovered the "trusted" option.

Now, I have to understand why it says me :

Malformed line 6 in source list /etc/apt/sources.list (URI parse)

when my line 6 is :

deb [trusted=yes] file:/media/cdrom/ stretch main


On-topic:

I hesitate to speculate out loud about features I have never used and
am too lazy to test out myself, but since the OP is getting complaints
about malformed lines, I will remark that in every example shown in...

  $ man sources.list

... where option-values are passed within square brackets ([]), there
are spaces separating the option specification from its enclosing
brackets.  For example, one sees

  deb [ someoption=somevalue ] uri stretch main

but never

  deb [someoption=somevalue] uri stretch main

So maybe the spaces following '[' and preceding ']' are important.


Off-topic:

I found the following part of OP's message very confusing, until I
figured out the syntax of OP's novel quoting style:


And if I remove the , I get the message about file not signed...
[trusted=yes]


One puts the , on its own line below, like this!
quoted part

(I'm going to do quotes like this all the time now.)

Re: BTRFS and debian

2018-07-11 Thread David Christensen

On 07/11/18 11:29, Pascal Hambourg wrote:

Le 10/07/2018 à 05:33, David Christensen a écrit :


  In the Debian Installer, I choose 'manual' for 'partitioning 
method', create a new partition table (MBR), and create three primary 
partitions:


1   ~1 GiB btrfs mounted at /boot
2   ~2 GiB LUKS (random key) with swap


How do you do that ?
AFAIK, you cannot set a random key with LUKS, only with plain dm-crypt.


Perhaps it is plain dm-crypt, not LUKS.  (I am not familiar with the 
internals of either, so my understanding is that of a parrot or blind man.)



In the Debian Installer for Stretch:

1.  For "Partitioning method", choose "Manual".

2.  Create partitions, including a partition for swap.

3.  Move the highlight to the swap partition and press Enter to invoke 
the "Partition settings" pop-up dialog, and configure as follows (note 
"Encryption key" => "Random key" setting):


Partition settings:
Use as  physical volume for encryption
Encryption method   Device-mapper (dm-crypt)
Encryption  aes
Key size256
IV algorithmxts-plain64
Encryption key  Random key
Erase data  yes


David



Re: PAM-CGFS[xxx]: Failed to get list of controllers

2018-07-11 Thread Richard Hector
On 12/07/18 02:18, Curt wrote:
> On 2018-07-10, Richard Hector  wrote:
>>
>> Hi all,
>>
>> I'm getting messages like this in auth.log:
>>
>> PAM-CGFS[xxx]: Failed to get list of controllers
>>
> 
> Found this bug:
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=843450
> 
> Apparently after updating the libpam-cgfs packages (as linked in the
> thread) it goes away.
> 
> It is also revealed that 
> 
>  libpam-cgfs is needed to allow you to launch user-owned containers, as
>  it sets up all the cgroups for you.
> 
>  If you don't use user-containers, than you don't need it.
> 

Thanks Curt - don't know why my searches didn't find that. Stuff to play
with ...

Cheers,
Richard




signature.asc
Description: OpenPGP digital signature


Re: VPN suggestions?

2018-07-11 Thread Joe Pfeiffer
Doug  writes:

> On 07/10/2018 10:59 PM, Joe Pfeiffer wrote:
>> Dennis Wicks  writes:
>>
>>> Greetings;
>>>
>>> I want to set up a VPN for several computers in my house
>>> that are all on a local network.
>>>
>>> And suggestions, hints, warnings?
>> Your question as stated doesn't really explain why you want a VPN, and
>> what you're planning to do with it.  All you've mentioned is a private
>> network; if that's all you're doing, there's no reason to have a virtual
>> private network on top of it.
>>
>> FWIW, I've got a few machines at home that are networked, but get in
>> remotely from my laptop using a VPN.  It's hosted on one of my machines,
>> and I'm just using openvpn.
>>
>>
> You seem to downplay a free VPN. What about TOR Browser?
> Do you know anything about that? I would prefer not to have
> the browsed address know who I am. I think (but I'm not sure)
> that this is the function of TOR Browser.
> Thanx for any info--doug

I'm not downplaying a free VPN, I'm saying it's impossible to give
advice without knowing what he wants to use one for.  Another followup
by a different Joe gives several reasons someone might want a VPN; it'll
be done differently depending on what the goals are.



Re: sensible-editor et écriture inclusive

2018-07-11 Thread Bernard Schoenacker



- Mail original -
> De: "Bernard Schoenacker" 
> À: "Charles Plessy" 
> Cc: debian-user-french@lists.debian.org
> Envoyé: Jeudi 12 Juillet 2018 00:41:19
> Objet: Re: sensible-editor et écriture inclusive
> 
> 
> 
> - Mail original -
> > De: "Charles Plessy" 
> > À: debian-user-french@lists.debian.org
> > Envoyé: Jeudi 12 Juillet 2018 00:06:15
> > Objet: Re: sensible-editor et écriture inclusive
> > 
> > Le Wed, Jul 11, 2018 at 04:32:49PM +0200, Bernard Schoenacker a
> > écrit
> > :
> > > je recherche un moyen de pouvoir insérer un point milieu
> > > 
> > > or pour pour l’unicode le point milieu est U+00B7
> > > 
> > > comment faire avec :
> > > 
> > > -a) vim
> > > -b) emacs
> > > -c) autre
> > 
> > Bonjour Bernard, et à tous et à toutes,
> > 
> > https://fr.wikipedia.org/wiki/Point_m%C3%A9dian#Saisie_au_clavier
> > 
> > Amicalement,
> > 
> > --
> > Charles
> > 
> > 
> bonjour,
> 
> je suis de "très mauvais poil" parce que je n'y arrive
> pas, j'ai reconfiguré mon clavier en latin 9 sans
> touches mortes et je n'obtiens pas le résultat escompté
> 
> merci
> slt
> bernard
> 

bonjour,

j'ai recommencé en suivant les instructions de sébastien dinot
et avec emacs j'obtiens le bon résultat

reste à voir avec vim qui reste rétif à mes instructions

merci
slt
bernard



Re: firefox 61 et correction orthographique

2018-07-11 Thread Gaëtan Perrier
Le samedi 07 juillet 2018 à 21:37 +0200, Gaëtan Perrier a écrit :
> Bonjour,
> 
> Depuis le passage à la version 61 de firefox la correction orthographique
> pour
> le français ne fonctionne plus. Si je lance depuis un terminal j'ai ces
> erreurs:
> 
> error: file:///usr/lib/firefox/dictionaries/fr.aff: cannot open
> error: file:///usr/lib/firefox/dictionaries/fr.dic: cannot open
> error: file:///usr/lib/firefox/dictionaries/fr.aff: cannot open
> error: file:///usr/lib/firefox/dictionaries/fr_FR.aff: cannot open
> error: file:///usr/lib/firefox/dictionaries/fr_FR.dic: cannot open
> error: file:///usr/lib/firefox/dictionaries/fr_FR.aff: cannot open
> 
> Les fichiers sont pourtant bien présents.
> 
> Rencontrez-vous le même problème ?
> 
> Gaëtan


Problème corrigé avec la version 61.0-2

Gaëtan

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


Re: sensible-editor et écriture inclusive

2018-07-11 Thread Bernard Schoenacker



- Mail original -
> De: "Charles Plessy" 
> À: debian-user-french@lists.debian.org
> Envoyé: Jeudi 12 Juillet 2018 00:06:15
> Objet: Re: sensible-editor et écriture inclusive
> 
> Le Wed, Jul 11, 2018 at 04:32:49PM +0200, Bernard Schoenacker a écrit
> :
> > je recherche un moyen de pouvoir insérer un point milieu
> > 
> > or pour pour l’unicode le point milieu est U+00B7
> > 
> > comment faire avec :
> > 
> > -a) vim
> > -b) emacs
> > -c) autre
> 
> Bonjour Bernard, et à tous et à toutes,
> 
> https://fr.wikipedia.org/wiki/Point_m%C3%A9dian#Saisie_au_clavier
> 
> Amicalement,
> 
> --
> Charles
> 
> 
bonjour,

je suis de "très mauvais poil" parce que je n'y arrive
pas, j'ai reconfiguré mon clavier en latin 9 sans 
touches mortes et je n'obtiens pas le résultat escompté

merci
slt
bernard



Re: No sound/audio

2018-07-11 Thread Ric Moore

On 07/11/2018 03:31 AM, 70147pers...@telia.com wrote:


So is there anyone who can give hints about what I have missed so far?


I hate to suggest this on the Debian list, but I installed Ubuntu-Studio 
to a separate partition which gives you fully functional jack and a 
real-time kernel to do your studio work with. Pretty darn fast, found my 
midi in no time and was up and running without the usual beating your 
head on the keyboard in frustration.


I be stupid, ...so I like it simple. Ric

--
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
http://linuxcounter.net/user/44256.html



Re: sensible-editor et écriture inclusive

2018-07-11 Thread Charles Plessy
Le Wed, Jul 11, 2018 at 04:32:49PM +0200, Bernard Schoenacker a écrit :
> je recherche un moyen de pouvoir insérer un point milieu
> 
> or pour pour l’unicode le point milieu est U+00B7
> 
> comment faire avec :
> 
> -a) vim
> -b) emacs
> -c) autre

Bonjour Bernard, et à tous et à toutes,

https://fr.wikipedia.org/wiki/Point_m%C3%A9dian#Saisie_au_clavier

Amicalement,

-- 
Charles



Re: How to"apt update" from an USB key ?

2018-07-11 Thread Pierre Couderc



On 07/11/2018 03:14 PM, Curt wrote:

On 2018-07-11, Pierre Couderc  wrote:

On an ultraslim (ACER swift 3) I have no CDROM no Ethernet, only an USB key.
I have installed stretch (without GUI) from the USB key, and now I want
to install connman, but I do not success to apt-cdrom on an USB.
I have googled but did not find a correct howto to do that...

Not clear what's on the stick; I assume it's DVD1 (or CD1). (I mean if
you're trying to use apt-cdrom with the stick and the machine has no
internet connection and you installed from the stick this is my
assumption.
Yes, your assumption is right. I have created the USB stick  with dd 
.iso ->usb.

I thank very much John, Darac y Roberto, but it is not my problem.

   Others seem to have assumed other things. As I have a very
low assumption batting average lately I hesitate slightly to join the
fray.)

(copied from a post by UK Brian--I think there's only one over there)

  First adjust sources.list to only have

deb [ trusted=yes ] file:/media/DVD-1/ stretch main

("trusted" avoids warnings about unauthenticated packages--you trust
the iso on the stick, we assume.)

  Make the DVD-1 directory:

mkdir /media/DVD-1/

  and insert the USB stick. Obtain the device name from dmesg or lsblk.
  Then (for example)

mount /dev/sdg1 /media/DVD-1/

apt update; apt install connman

Merci  beucoup, Curt I had seen this kind of solution, but it did not 
work as I had not discovered the "trusted" option.

Now, I have to understand why it says me :

Malformed line 6 in source list /etc/apt/sources.list (URI parse)

when my line 6 is :

deb [trusted=yes] file:/media/cdrom/ stretch main

And if I remove the , I get the message about file not signed...
 [trusted=yes]







Re: VPN suggestions?

2018-07-11 Thread Joe
On Wed, 11 Jul 2018 16:09:47 -0400
Doug  wrote:

> On 07/10/2018 10:59 PM, Joe Pfeiffer wrote:
> > Dennis Wicks  writes:
> >  
> >> Greetings;
> >>
> >> I want to set up a VPN for several computers in my house
> >> that are all on a local network.
> >>
> >> And suggestions, hints, warnings?  
> > Your question as stated doesn't really explain why you want a VPN,
> > and what you're planning to do with it.  All you've mentioned is a
> > private network; if that's all you're doing, there's no reason to
> > have a virtual private network on top of it.
> >
> > FWIW, I've got a few machines at home that are networked, but get in
> > remotely from my laptop using a VPN.  It's hosted on one of my
> > machines, and I'm just using openvpn.
> >
> >  
> You seem to downplay a free VPN. What about TOR Browser?
> Do you know anything about that? I would prefer not to have
> the browsed address know who I am. I think (but I'm not sure)
> that this is the function of TOR Browser.
> Thanx for any info--doug
> 

We need the OP's application first. There are three very different main
reasons for using a VPN:

1. For using a computer on an insecure Internet connection, such as
free wifi in a restaurant. You make a VPN connection to a server
somewhere, which may be a machine at home, and route all Internet
traffic through this encrypted link and out onto the Net from the VPN
server.

2. For moving your apparent home public IP address to some other
location, either just for anonymity or to the other side of a
censorship or copyright firewall.

3. From outside a private network, to access resources within the
network securely.

Things become complicated if multiple machines in one network need to
connect to a second network, or an external VPN server. Some VPN
protocols only permit one connection between two public IP addresses
(or at least their implementation or local firewall conntrack code does)
and a site-to-site VPN may need to be implemented between the two
Internet routers. Site-to-site can be done between network hosts rather
than routers, but the routing gets messy then.

-- 
Joe



Re: Buster and apt wanting to remove tons of packages...

2018-07-11 Thread Joe
On Wed, 11 Jul 2018 11:18:48 -0500
Nicholas Geovanis  wrote:

> On Tue, Jul 10, 2018 at 3:01 PM Jochen Spieker 
> wrote:
> >
> > There should not be that many changes, but I generally would only
> > upgrade to a newer release when the current system is up-to-date
> > with regards to its current version.  
> 
> I'm trying to understand your recommendation. It seems you advise to
> bring the system to the most
> recent update in the current release, FOLLOWED BY the upgrade to the
> new release. Richtig? Correct?
> 

For a version upgrade, yes, this is Standard Operational Practice. The
main reasoning is that the upgrade has been tested in that way i.e.
from the final version of everything in the old distribution, and has
not been tested from earlier software versions.

Also, most of the upgrade instructions involve tidying up the old
system, unholding anything held, ideally removing anything which isn't
part of the old distribution, etc. Upgrading everything to the latest
version fits into this tidying theme.

Finally, if upgrading the old system revealed a bug and broke
something, it will be easier to fix within a familiar system, and a
good idea to do so before the version upgrade.

So, no, you don't have to, but yes, it is recommended.

-- 
Joe



Re: Réseau qui tombe

2018-07-11 Thread G2PC
Le 11/07/2018 à 19:32, roger.tar...@free.fr a écrit :
> Bonjour,
> J'ai installé Debian Jessie avec Xen il y a quelques mois. 
> Problème : le réseau n'est pas accessible. 
>
> Pour le relancer, je fais 
> $ sudo /etc/init.d/networking restart
>
> Je récupère alors mon réseau. 
> Mais il tombe moins d'une minute après. 
>
> C'est idem pour les deux configurations Debian ou Debian+Xen (que Grub me 
> propose au démarrage). 
>
> Je connais mal les rouages de Debian. 
> Que dois-je vérifier et configurer pour que le réseau monte et tienne ?
>
> Merci

Bonjour

Quelques notes :
https://www.visionduweb.eu/wiki/index.php?title=Wifi_perte_du_r%C3%A9seau_et_routage

Tu peux éventuellement nous partager le contenu de ton fichier
/etc/network/interfaces


Donner des précisions sur ton fichiers etc/hosts si tu l'a modifié, ça
peut jouer.

https://www.visionduweb.eu/wiki/index.php?title=GNU_Linux_etc_hosts_8_Aout_2017


Éventuellement installer wicd.



Re: Why is prename deprecated?

2018-07-11 Thread Greg Wooledge
On Wed, Jul 11, 2018 at 08:16:45PM +, Curt wrote:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870472
> 
> (I guess this addresses your concern.)

Ah, thanks.  I looked for bug reports in 'perl' but not in 'rename'.



Re: Why is prename deprecated?

2018-07-11 Thread Curt
On 2018-07-11, Greg Wooledge  wrote:
>
> What I DO NOT WANT is for the name 'prename' to go away.  Because then
> all the programs that call prename will fail.
>
> What I DO NOT WANT is for someone in Debian to tell me that I should be
> calling 'rename' instead, because this is dangerous.  There is a different
> program named 'rename' on Red Hat systems, and it has incompatible syntax
> and behavior.  Calling 'prename' in a shell script is safe, because if
> you run it on a Red Hat system, you get a nice friendly error message
> telling you that prename isn't found, instead of some random behavior.
>
> Calling 'rename' in a shell script is a recipe for disaster.  You can't
> know what will happen.
>
> I figured I'd better speak up now, before we have another mailx -> s-nail
> disaster at buster's release.  Names of things are important.  You can't
> just go changing them on a whim.
>

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870472

(I guess this addresses your concern.)




Re: sensible-editor et écriture inclusive

2018-07-11 Thread Sébastien Dinot
- Mail original -
> Au passage, la commande « Ctrl-x 8 Ctrl-h » affiche la liste des
> caractères insérables à partir de la commande « Ctrl-x 8 » et les
> séquences associées.

Et de manière plus générale :

Ctrl-x 8 Enter
 Enter

Donc, ici :

Ctrl-x 8 Enter
00B7 Enter

Sébastien


-- 
Sébastien Dinot, sebastien.di...@free.fr
http://sebastien.dinot.free.fr/
Ne goûtez pas au logiciel libre, vous ne pourriez plus vous en passer !



Re: VPN suggestions?

2018-07-11 Thread Doug



On 07/10/2018 10:59 PM, Joe Pfeiffer wrote:

Dennis Wicks  writes:


Greetings;

I want to set up a VPN for several computers in my house
that are all on a local network.

And suggestions, hints, warnings?

Your question as stated doesn't really explain why you want a VPN, and
what you're planning to do with it.  All you've mentioned is a private
network; if that's all you're doing, there's no reason to have a virtual
private network on top of it.

FWIW, I've got a few machines at home that are networked, but get in
remotely from my laptop using a VPN.  It's hosted on one of my machines,
and I'm just using openvpn.



You seem to downplay a free VPN. What about TOR Browser?
Do you know anything about that? I would prefer not to have
the browsed address know who I am. I think (but I'm not sure)
that this is the function of TOR Browser.
Thanx for any info--doug



Why is prename deprecated?

2018-07-11 Thread Greg Wooledge
wooledg:~$ prename
Deprecated program in use: rename as shipped with the Debian perl package will 
be removed after the release of stretch. Please install the separate 'rename' 
package which will provide the same command.
Usage: rename [-v] [-n] [-f] perlexpr [filenames]

Hmm, OK, let's do what the warning says, and install the rename package:

wooledg:~$ sudo apt-get install rename
[sudo] password for wooledg: 
Reading package lists... Done
Building dependency tree   
Reading state information... Done
rename is already the newest version (0.20-4).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

Hey, what gives?  You told me to install 'rename' and it's already
installed!

Now, I don't care if it's part of the 'perl' package or part of the
'rename' package, as long as it's still installed by default (and this
seems good -- Priority: standard), and still named 'prename'.

What I DO NOT WANT is for the name 'prename' to go away.  Because then
all the programs that call prename will fail.

What I DO NOT WANT is for someone in Debian to tell me that I should be
calling 'rename' instead, because this is dangerous.  There is a different
program named 'rename' on Red Hat systems, and it has incompatible syntax
and behavior.  Calling 'prename' in a shell script is safe, because if
you run it on a Red Hat system, you get a nice friendly error message
telling you that prename isn't found, instead of some random behavior.

Calling 'rename' in a shell script is a recipe for disaster.  You can't
know what will happen.

I figured I'd better speak up now, before we have another mailx -> s-nail
disaster at buster's release.  Names of things are important.  You can't
just go changing them on a whim.



Re: sensible-editor et écriture inclusive

2018-07-11 Thread Sébastien Dinot



- Mail original -
> je recherche un moyen de pouvoir insérer un point milieu
> or pour pour l’unicode le point milieu est U+00B7
> 
> comment faire avec :
> 
> -a) vim
> -b) emacs

Avec Emacs, c'est presque évident ;) : « Ctrl-x 8 * . »

Et  « Ctrl-x 8 * * » pour un « gros point médian »

Au passage, la commande « Ctrl-x 8 Ctrl-h » affiche la liste des caractères 
insérables à partir de la commande « Ctrl-x 8 » et les séquences associées.

Sébastien

-- 
Sébastien Dinot, sebastien.di...@free.fr
http://sebastien.dinot.free.fr/
Ne goûtez pas au logiciel libre, vous ne pourriez plus vous en passer !



Re: BTRFS and debian

2018-07-11 Thread Pascal Hambourg

Le 10/07/2018 à 05:33, David Christensen a écrit :


  In the Debian Installer, I choose 'manual' for 'partitioning method', 
create a new partition table (MBR), and create three primary partitions:


1   ~1 GiB btrfs mounted at /boot
2   ~2 GiB LUKS (random key) with swap


How do you do that ?
AFAIK, you cannot set a random key with LUKS, only with plain dm-crypt.


3  ~10 GiB LUKS (passphrase) with btrfs mounted at /




Re: Looking for ratings of all-in-one printers for Linux (Ubuntu in particular)

2018-07-11 Thread Brian
On Wed 11 Jul 2018 at 16:34:48 +, Curt wrote:

> On 2018-07-11, Brian  wrote:
> >
> > The interest being expressed is one in printing a PDF directly to a
> > printer, so CUPS isn't (or needn't be) be involved. No conversion to
> > or from PostScript (which is no longer being developed) is undertaken.
> > Any delays would lie in transporting the file to the printer and what
> > takes place on it.
> >
> 
> That exists, it seems (pdf interpreter in the firmware of the printer).
> 
> https://okiprinting-en-gb.custhelp.com/app/answers/detail/a_id/581/~/pdf-direct-printing
> 
> Some of the higher-end (at least) HPs apparently have a feature called HP 
> Direct PDF, which
> appears to be exactly what it says.

Different vendors use slightly terms to describe the existance of PDF
interpreters on their machines. They also implement it in slightly
different ways but I haven't quite worked out whether they all
ultimately use the Adobe PDF Print Engine (APPE) in some way.

Over the past ten years PDF interpreters have moved out of the high-end
market into the mass consumer market. The HP LaserJet Pro M402dn at less
than 200 Euro, for example.

The importance for Debian is that the day when there are no longer any
proprietary printer languages exclusive for a printer is upon us. Couple
that with IPP Everywhere printers and we are free. Fixating on printer
drivers (already deprecated in CUPS) will be a thing of the past.

-- 
Brian.



Réseau qui tombe

2018-07-11 Thread roger . tarani
Bonjour,
J'ai installé Debian Jessie avec Xen il y a quelques mois. 
Problème : le réseau n'est pas accessible. 

Pour le relancer, je fais 
$ sudo /etc/init.d/networking restart

Je récupère alors mon réseau. 
Mais il tombe moins d'une minute après. 

C'est idem pour les deux configurations Debian ou Debian+Xen (que Grub me 
propose au démarrage). 

Je connais mal les rouages de Debian. 
Que dois-je vérifier et configurer pour que le réseau monte et tienne ?

Merci



Re: More on locale

2018-07-11 Thread john doe

On 7/11/2018 6:38 PM, John wrote:

What is the output of "locale" and "locale -a" on this machine?

snout:~> locale
LANG=en_GB.UTF-8
LANGUAGE=en_GB:en
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=
snout:~> locale -a
C
C.UTF-8
en_GB
en_GB.iso88591
en_GB.iso885915
en_GB.utf8
POSIX
snout:~>

I had done the reconstruction of the locales with little effect



Did you use?:

$ dpkg reconfigure-locales

If no, what cmd did you use?
Also what is the content of?:

/etc/default/locale

--
John Doe



Re: listeye

2018-07-11 Thread Ali Velioğlu
Çok pardon ben başka bir liste ile karıştırmısim.dalginlik işte.
Çok pardon

11 Temmuz 2018 19:32:03 GMT+03:00, mehmet turk  yazdı:
>listeye nasil abone olabilirim


Re: listeye

2018-07-11 Thread Ali Velioğlu
Merhaba.
Burası aktif bir liste değil.

Forum yöneticileri e-posta listesini istememişlerdi.

Size nasıl yardımcı olabiliriz.


11 Temmuz 2018 19:32:03 GMT+03:00, mehmet turk  yazdı:
>listeye nasil abone olabilirim


listeye

2018-07-11 Thread mehmet turk

listeye nasil abone olabilirim



Re: Buster and apt wanting to remove tons of packages...

2018-07-11 Thread Greg Wooledge
On Wed, Jul 11, 2018 at 06:12:45PM +0200, sgarrulo wrote:
> Situation like "yeah, I'll upgrade my terminal because it's harmless", and 
> then
> it stops working because I did not upgrade also lib-foo-bar-baz which is used
> by my terminal.

That exact situation would be a bug, and should be reported.  That's
the sort of thing Debian wants to hear from testing/unstable users,
so they can fix the dependency bugs.



Re: How to"apt update" from an USB key ?

2018-07-11 Thread Curt
On 2018-07-11, Brian  wrote:
> On Wed 11 Jul 2018 at 13:14:22 +, Curt wrote:
>
>> On 2018-07-11, Pierre Couderc  wrote:
>> > On an ultraslim (ACER swift 3) I have no CDROM no Ethernet, only an USB 
>> > key.
>> > I have installed stretch (without GUI) from the USB key, and now I want 
>> > to install connman, but I do not success to apt-cdrom on an USB.
>> > I have googled but did not find a correct howto to do that...
>> 
>> Not clear what's on the stick; I assume it's DVD1 (or CD1). (I mean if
>> you're trying to use apt-cdrom with the stick and the machine has no
>> internet connection and you installed from the stick this is my
>> assumption.  Others seem to have assumed other things. As I have a very
>> low assumption batting average lately I hesitate slightly to join the
>> fray.)
>
> But you feel kindly disposed after Tuesday night's result. :)

I'm rooting for England tonight!




Re: No sound/audio

2018-07-11 Thread Kent West
On Wed, Jul 11, 2018 at 2:31 AM, <70147pers...@telia.com> wrote:

> Hi all,
>
> I get no sound. After reinstalling Stretch a couple of months ago, the
> computer is silent.


May be completely unrelated...

Since upgrading to the 4.16.16-2 kernel, anytime I reboot my PC I boot into
a soundless environment, with my sound system reporting my sound device as
the "Dummy Sound Device" (or something similar). I can "sudo kill
[timidity's PID]", and that's restores my sound.

As I understand it, Timidity is taking exclusive hold of some audio file
(/dev/sound ?) early in the boot process which prevents other apps (Pulse,
ALSA, etc) from using that file.

FWIW.

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: More on locale

2018-07-11 Thread John
>> What is the output of "locale" and "locale -a" on this machine?
snout:~> locale
LANG=en_GB.UTF-8
LANGUAGE=en_GB:en
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=
snout:~> locale -a
C
C.UTF-8
en_GB
en_GB.iso88591
en_GB.iso885915
en_GB.utf8
POSIX
snout:~> 

I had done the reconstruction of the locales with little effect

I apologise for my ignorance -- never had to concern myself with such
things before
==John ffitch



Re: Looking for ratings of all-in-one printers for Linux (Ubuntu in particular)

2018-07-11 Thread Curt
On 2018-07-11, Brian  wrote:
>
> The interest being expressed is one in printing a PDF directly to a
> printer, so CUPS isn't (or needn't be) be involved. No conversion to
> or from PostScript (which is no longer being developed) is undertaken.
> Any delays would lie in transporting the file to the printer and what
> takes place on it.
>

That exists, it seems (pdf interpreter in the firmware of the printer).

https://okiprinting-en-gb.custhelp.com/app/answers/detail/a_id/581/~/pdf-direct-printing

Some of the higher-end (at least) HPs apparently have a feature called HP 
Direct PDF, which
appears to be exactly what it says.

Maybe that isn't the question (if there's a question) and everybody knew that 
pdf 
printers existed but me.

To tell the truth (and why the hell not at this late date), I was fuzzy
up until recently (quite recently, like ten minutes ago) as to what a
postscript printer was precisely. Now I know. Seems obvious now. 



Re: Buster and apt wanting to remove tons of packages...

2018-07-11 Thread sgarrulo
On Tue, 2018-07-10 at 22:00 +0200, Jochen Spieker wrote:
> sgarrulo:
> > 
> > I had an installation of debian stable (stretch) which was fully upgraded 
> > something
> > like a couple of months ago. Then I passed it to testing (buster).
> 
> There should not be that many changes, but I generally would only
> upgrade to a newer release when the current system is up-to-date with
> regards to its current version.

Ops, I think I made myself not as clear as I thought, sorry... (english is not 
my mothertongue)
I meant that a couple of months ago, my machine was on stable, and fully up to 
date. Then one day,
two months ago, when my machine was fully up to date to stable, I made the 
switch to testing, because
Being passed many months since the release of stretch, I thought that the 
hurricane (that happens right
after the release of a new stable) in testing was passed. Oh boy how I was 
wrong... :P

> You can use aptitude's TUI to investigate these things. It should at
> least help explain why this happens. It is very possible (or likely),
> that testing is just in bad shape for this upgrade right now.

I never used aptitude, but I think I'll RTFM and try to understand the 
situation better

> Aptitude. I do not like how it behaves and how you control it, but for
> this kind of investigation it is without alternative. Instead of the TUI
> you can also use 'aptitude why' and 'aptitude why-not'.
> 

Thank you, I'll do it!



Re: Buster and apt wanting to remove tons of packages...

2018-07-11 Thread sgarrulo
On Tue, 2018-07-10 at 16:29 +0200, Hans wrote:
> Please also note, tzhat there is a difference, between using apt (apt-get) 
> and 
> aptitude.
> 
> The way, I prefewr, is using apt-get upgrade (which installs only newer 
> packages, and let the problematic ones uninstalled), then using apt-get full-
> upgrade.
> 
> When there are packages deinstalled, reinstall them afterwards.
> 
> I know, this is not the best way. 
> 
> As itr was mentioned before: Using aptitude (tzhe ncurses gui) can show you, 
> which packages are causing trouble. You can set them to hold (aptitude hold 
> packagename) and then analyse, what dependencies are causing the trouble.
> 
> One package after the other. Yes, it  is annoying, I agree.
> 
> Hope this helps still
> 
> Best regards
> 
> Hans

Thank you for your hint, I never used aptitude, so I think I have to RTFM about
it and see if it helps me in my situation :)



Re: Buster and apt wanting to remove tons of packages...

2018-07-11 Thread Nicholas Geovanis
On Tue, Jul 10, 2018 at 3:01 PM Jochen Spieker  wrote:
>
> There should not be that many changes, but I generally would only
> upgrade to a newer release when the current system is up-to-date with
> regards to its current version.

I'm trying to understand your recommendation. It seems you advise to
bring the system to the most
recent update in the current release, FOLLOWED BY the upgrade to the
new release. Richtig? Correct?



Re: Buster and apt wanting to remove tons of packages...

2018-07-11 Thread sgarrulo
On Tue, 2018-07-10 at 10:13 -0400, The Wanderer wrote:
> If I were experiencing a similar situation, what I'd do is try to
> simultaneously install both one of the packages that triggers the
> cascade and one or more of the packages which the cascade wants to
> remove, and keep adding packages to the install command until I get a
> dependency-resolution failure.
> 
> E.g., assuming that trying to upgrade 'vim' triggers the cascade and the
> cascade wants to remove calibre, evolution, and pidgin:
> 
> $ apt-get install vim calibre evolution pidgin
> 
> (In case it wasn't obvious: an 'install' operation on an
> already-installed package which has a newer available version triggers
> an install of that newer version, i.e., an upgrade.)
> 
> If you get a successful upgrade attempt which doesn't trigger the
> cascade, you can let it proceed, then try the mass upgrade again. If the
> mass upgrade still produces the cascade, you can repeat the
> some-small-subset-of-packages manual install process.
> 
> If on the other hand the manual install command *does* trigger the
> cascade, you should cancel it and add more package names to the install
> command.
> 
> Keep repeating those two until either the cascade disappears from the
> mass-upgrade attempt, or you get a "request cannot be fulfilled"
> dependency-resolution failure.
> 
> If the cascade disappears along the way, you're in good shape; just
> complete the mass upgrade. (Unfortunately, this doesn't really help
> figure out what caused the bug in the first place.)
> 
> If you get a dependency-resolution failure, the packages involved should
> give you a hint about which packages have dependency relationships which
> are leading to the cascade.

This seems like a long work, but it's a path I did not think about, maybe
I'll try this steps, thank you for the hint!

> The next step involves looking at those packages and their dependency
> relationships, and I can't describe the process very well without a
> real-world example to hand.

Yes, I know, but listing the hundreds and hundreds of packages involved
can be annoying for the mailing list... :)

> Once you've identified the dependency relationship which resulted in the
> cascade, it's probably fairly straightforward to determine what bug
> report to file and what package to file it against.

If I'll manage to point the finger to the package that triggers all this mess,
I'll do a bug report.



Re: Buster and apt wanting to remove tons of packages...

2018-07-11 Thread sgarrulo
On Tue, 2018-07-10 at 14:08 +0100, Joe wrote:
> 
> What I do is to temporarily switch from upgrade-system to Synaptic. It
> is relatively quick to select a few innocent-looking packages from the
> big list, and check that they go through without a problem. After a few
> tries, you can see where the trouble is, and leave those packages at
> the current state. People comfortable with the aptitude interactive
> interface can do the same there, but for some reason, I prefer
> Synaptic. Generally the state of difficulty lasts only a few days,
> though it can go on for a week or two sometimes.

I also tend to do something like that, but I'm worried that upgrading like
this can broke things badly, especially when upgrading shared libraries, or
some (but not all) packages related to a program. For example, I don't know..
Situation like "yeah, I'll upgrade my terminal because it's harmless", and then
it stops working because I did not upgrade also lib-foo-bar-baz which is used
by my terminal. So let's upgrade lib-foo-bar-baz! but I cannot upgrade it now
because trying to upgrade it wants to remove a ton of other software that I use.
And maybe I cannot install another terminal either because it's GUI software,
which installation triggers all the cascade of removal of other things, etc etc
etc...

You can say "no, something like that cannot happen" but Murphy's law is
always right behind the corner.

> It's the price you pay for having more up-to-date software than stable
> has. At the point of release of a new Debian stable, testing is
> identical to it. At the time of the next release, about two years
> later, testing is very different, many changes of architecture of major
> systems having been made. If you use testing or unstable over this
> period, you have to ride out these upheavals, hoping that nothing
> important breaks. About eighteen months after release, testing is
> frozen for bug fixing before the next release, and the ride is much
> smoother after that. It's quieter in unstable as well, since unstable
> has to be kept in a condition where it can be copied into testing after
> the release occurs, so changes to unstable have to be kept within
> limits. All hell breaks loose at release time...

Yes, I know the basics of Debian release cycle. I had sid and testing on
this computer before. When the freeze approaches I keep $codename (of the
to-be-released stable distribution) in my sources.list and keep my machine
on stable for some time after the release. But I thought that 2018's 
spring/summer
was enough time after the release of stretch to try and be on testing again...



Cannot send local e-mails.

2018-07-11 Thread Piotr
Hi,

When some process produces an error, then root should receive an e-mail. 
Instead I gets some error message forwarded to my gmail account (see below). 
What should I configure to make a local e-mails working?

Regards,
Piotr 

from: Mail Delivery Subsystem 
to: zaxonx...@gmail.com
Subject: Delivery Status Notification (Failure)

** Address not found **

Your message wasn't delivered to user@localhost.localdomain because the domain 
localhost.localdomain couldn't be found. Check for typos or unnecessary spaces 
and try again.



The response was:

DNS Error: 17728931 DNS type 'mx' lookup of localhost.localdomain responded 
with code NXDOMAIN
Domain name not found: localhost.localdomain



Re: How to"apt update" from an USB key ?

2018-07-11 Thread Brian
On Wed 11 Jul 2018 at 13:14:22 +, Curt wrote:

> On 2018-07-11, Pierre Couderc  wrote:
> > On an ultraslim (ACER swift 3) I have no CDROM no Ethernet, only an USB key.
> > I have installed stretch (without GUI) from the USB key, and now I want 
> > to install connman, but I do not success to apt-cdrom on an USB.
> > I have googled but did not find a correct howto to do that...
> 
> Not clear what's on the stick; I assume it's DVD1 (or CD1). (I mean if
> you're trying to use apt-cdrom with the stick and the machine has no
> internet connection and you installed from the stick this is my
> assumption.  Others seem to have assumed other things. As I have a very
> low assumption batting average lately I hesitate slightly to join the
> fray.)

But you feel kindly disposed after Tuesday night's result. :)

> (copied from a post by UK Brian--I think there's only one over there)
> 
>  First adjust sources.list to only have
> 
>deb [ trusted=yes ] file:/media/DVD-1/ stretch main 
> 
> ("trusted" avoids warnings about unauthenticated packages--you trust 
> the iso on the stick, we assume.)
> 
>  Make the DVD-1 directory:
> 
>mkdir /media/DVD-1/ 
> 
>  and insert the USB stick. Obtain the device name from dmesg or lsblk.
>  Then (for example)
> 
>mount /dev/sdg1 /media/DVD-1/ 
> 
> apt update; apt install connman

Thank you, Curt - but you could have corrected my split infinitive. :)

> It occurs to me I have no idea whether connman is on CD1 (or DVD1, or
> whatever's on the stick). But if you've asked the right question this
> may be the correct answer. Bonne chance.

For what is on each DVD:

 https://cdimage.debian.org/debian-cd/current/i386/list-dvd/

I think connman is on DVD-1 for stretch.

-- 
Brian.



Re: Looking for ratings of all-in-one printers for Linux (Ubuntu in particular)

2018-07-11 Thread Brian
On Wed 11 Jul 2018 at 22:03:57 +1000, Erik Christiansen wrote:

> On 10.07.18 12:53, David Wright wrote:
> > On Mon 09 Jul 2018 at 19:05:52 (-0400), Dan Ritter wrote:
> > > On Mon, Jul 09, 2018 at 06:53:44PM -0400, Michael Stone wrote:
> > > > On Mon, Jul 09, 2018 at 06:39:29PM -0400, Dan Ritter wrote:
> > > > > You're both missing the main point, which is that a Brother
> > > > > printer with BRscript/3 is essentially a Postscript printer, and
> > > > > you can treat it as one. No drivers needed.
> > 
> > I'm not really interested in a PostScript printer per se, but in a
> > printer that handles PDFs natively. Is this the same thing?
> 
> So long as CUPS can translate for the printer what the app (even as
> simple as lpr) hands over, then the only cost is a print delay if the
> postscript is computation-intensive - but that has to be done either in
> the printer or on the host anyway, and the host is probably faster.

The interest being expressed is one in printing a PDF directly to a
printer, so CUPS isn't (or needn't be) be involved. No conversion to
or from PostScript (which is no longer being developed) is undertaken.
Any delays would lie in transporting the file to the printer and what
takes place on it.

-- 
Brian.



Re: sensible-editor et écriture inclusive

2018-07-11 Thread Guillaume Clercin
Bonjour,

Le mercredi 11 juillet 2018, 16:32:49 CEST Bernard Schoenacker a écrit :
> bonjour,
> 
> je recherche un moyen de pouvoir insérer un point milieu
> 
> or pour pour l’unicode le point milieu est U+00B7
> 
> comment faire avec :
> 
> -a) vim
Dans le mode insertion, il faut entrer la séquence suivante :
Ctrl+v u 00b7

> -b) emacs
> -c) autre
> 
> 
> merci pour le coup de pouce
> 
> slt
> bernard

Cordialement,
-- 
Guillaume Clercin

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


Re: Looking for ratings of all-in-one printers for Linux (Ubuntu in particular)

2018-07-11 Thread Stefan Monnier
> Yes. The all-in-ones are terrible at that, proprietary software or not.

FWIW, the XSane thingy worked fairly well for me with my last all-in-one
(using the HP driver bundled with Debian).  It definitely worked much
better than with the crappy software they provided for Windows (I got
the impression that in the Windows world, HP expected you to buy some
other scanner software in order to get anything but the bare minimum
functionality).  [ Note: that was more than 10 years ago, with
a cheap all-in-one (including ADF for the scanner) which
nevertheless served me well while it lasted (5 years or so).  ]


Stefan



Re: Langage C et répertoire home

2018-07-11 Thread Basile Starynkevitch



On 07/11/2018 02:55 PM, nicolas.pec...@laposte.net wrote:

Bonjour,

J'essaye de programmer un petit logiciel. Je veux que ce dernier créer 
un répertoire dans le home de l'utilisateur.


Malheureusement, le "~/" ne semble pas fonctionner

mkdir("~/toto");



Oui, le ~ est expansé par le shell. Dans ton programme il faut faire 
l'expansion equivalente (voir glob(7) 
), par exemple:


   char *path = NULL;
   char* home = getenv("HOME");
   if (!home)  exit(EXIT_FAILURE);
   if (asprintf(, "%s/toto", home) < 0) exit(EXIT_FAILURE);
   if (mkdir (path, 0750)) { perror(path); exit(EXIT_FAILURE); }

Cordialement
--
Basile STARYNKEVITCH   == http://starynkevitch.net/Basile
opinions are mine only - les opinions sont seulement miennes
Bourg La Reine, France



sensible-editor et écriture inclusive

2018-07-11 Thread Bernard Schoenacker
bonjour,

je recherche un moyen de pouvoir insérer un point milieu

or pour pour l’unicode le point milieu est U+00B7

comment faire avec :

-a) vim
-b) emacs
-c) autre


merci pour le coup de pouce

slt
bernard



Re: PAM-CGFS[xxx]: Failed to get list of controllers

2018-07-11 Thread Curt
On 2018-07-10, Richard Hector  wrote:
>
> Hi all,
>
> I'm getting messages like this in auth.log:
>
> PAM-CGFS[xxx]: Failed to get list of controllers
>

Found this bug:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=843450

Apparently after updating the libpam-cgfs packages (as linked in the
thread) it goes away.

It is also revealed that 

 libpam-cgfs is needed to allow you to launch user-owned containers, as
 it sets up all the cgroups for you.

 If you don't use user-containers, than you don't need it.



Re: Local system program analytics

2018-07-11 Thread Mirko Parthey
On Wed, Jul 11, 2018 at 07:18:55AM -0400, David Maulik wrote:
> Is there any program that can show me the programs on my system I use the 
> most?
> I'm looking for something that can help me trim unneeded/unused packages as
> well as show me which programs I use the most to help inform support/donation
> decisions.

You could try BSD process accounting. The Debian kernels have it built in,
and the userspace tools such as "sa" can be found in the "acct" package.



Re: Langage C et répertoire home

2018-07-11 Thread Eric Degenetais
Le 11 juillet 2018 à 14:55,  a écrit :
>
> Bonjour,
>
> J'essaye de programmer un petit logiciel. Je veux que ce dernier créer un
répertoire dans le home de l'utilisateur.
>
> Malheureusement, le "~/" ne semble pas fonctionner
>
> mkdir("~/toto");
>
bonjour,
la substitution de ~ par le chemin de la home est une fonction du shell.
Ici pas de shell (appel direct à la fonction mkdir) donc pas de
substitution.

Cordialement

__
Éric Dégenètais
Henix

http://www.henix.com
http://www.squashtest.org


Re: Langage C et répertoire home

2018-07-11 Thread Guillaume Clercin
Bonjour,

Le mercredi 11 juillet 2018, 14:55:04 CEST nicolas.pec...@laposte.net a 
écrit :
> Bonjour,
> 
> J'essaye de programmer un petit logiciel. Je veux que ce dernier créer
> un répertoire dans le home de l'utilisateur.
> 
> Malheureusement, le "~/" ne semble pas fonctionner
> 
> mkdir("~/toto");
Malheureusement, le tilde doit subir une expansion.
Voir la page man de wordexp(3).

Cordialement,
-- 
Guillaume Clercin

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


Re: How to"apt update" from an USB key ?

2018-07-11 Thread Curt
On 2018-07-11, Pierre Couderc  wrote:
> On an ultraslim (ACER swift 3) I have no CDROM no Ethernet, only an USB key.
> I have installed stretch (without GUI) from the USB key, and now I want 
> to install connman, but I do not success to apt-cdrom on an USB.
> I have googled but did not find a correct howto to do that...

Not clear what's on the stick; I assume it's DVD1 (or CD1). (I mean if
you're trying to use apt-cdrom with the stick and the machine has no
internet connection and you installed from the stick this is my
assumption.  Others seem to have assumed other things. As I have a very
low assumption batting average lately I hesitate slightly to join the
fray.)

(copied from a post by UK Brian--I think there's only one over there)

 First adjust sources.list to only have

   deb [ trusted=yes ] file:/media/DVD-1/ stretch main 

("trusted" avoids warnings about unauthenticated packages--you trust 
the iso on the stick, we assume.)

 Make the DVD-1 directory:

   mkdir /media/DVD-1/ 

 and insert the USB stick. Obtain the device name from dmesg or lsblk.
 Then (for example)

   mount /dev/sdg1 /media/DVD-1/ 

apt update; apt install connman

It occurs to me I have no idea whether connman is on CD1 (or DVD1, or
whatever's on the stick). But if you've asked the right question this
may be the correct answer. Bonne chance.


> Thanks in advance
> PC
>
>
>
>




Langage C et répertoire home

2018-07-11 Thread nicolas . pechon

Bonjour,

J'essaye de programmer un petit logiciel. Je veux que ce dernier créer 
un répertoire dans le home de l'utilisateur.


Malheureusement, le "~/" ne semble pas fonctionner

mkdir("~/toto");



Re: Separate /home directories etc?

2018-07-11 Thread cyaiplexys

On 07/11/2018 01:10 AM, debian-user-digest-requ...@lists.debian.org wrote:

On 7/10/18 3:28 AM, Jonathan Dowland wrote:

On Fri, Jul 06, 2018 at 04:54:53PM -0400, Matthew Crews wrote:

Separate partitions
Pros: if your / partition drive fails, it does not take /home with it

You are conflating drives and partitions, here. Both partitions could be
on the same physical drive, and a drive failure would affect both in
that case.



True, the main reason you would want /home to be in a separate partition
is to put it on a separate physical drive. However, random file system
corruption could still theoretically take out the / partition without
actually damaging the device. In that case, /home being separate would
spare your data.

Another reason you would want a separate /home partition is to use a
separate file system. For example, you could run / as BTRFS, while /home
would be XFS or ext4.


Reminds me back in the day long ago when I used to dual-boot Windows and 
Linux. I had a /data partition (not /home) where I had formatted it 
NTFS. And that is where I put data I wanted to share between the two 
Operating Systems.




Re: libgnutls-deb0-28 missing from Debian repos - Re: git clone https://... fails, git://... succeeds — ?

2018-07-11 Thread Greg Wooledge
On Wed, Jul 11, 2018 at 09:48:10PM +1000, Zenaan Harkness wrote:
> Why is this package missing from the repos, but installed in my
> stretch install?

Because you upgraded from jessie.  This lets you keep older shared
libraries or other packages as long as they don't conflict with anything
in stretch.  And shared libs typically don't conflict with anything.



Re: user 1000

2018-07-11 Thread Vincent Lefevre
On 2018-07-11 14:01:37 +0200, Erwan David wrote:
> En plus un bon paquet de softs font la connerie de sauvegarder les
> chemins en absolu plutôt qu'en relatif du home.

Ah, oui:

cventin:~> grep -lr $HOME .config
.config/libreoffice/4/user/store/.templdir.cache
.config/libreoffice/4/user/registrymodifications.xcu
.config/dconf/user
.config/gthumb/history.xbel
.config/inkscape/preferences.xml
.config/gtk-3.0/bookmarks
.config/vlc/vlc-qt-interface.conf

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Re: More on locale

2018-07-11 Thread Vincent Lefevre
On 2018-07-10 19:50:40 +0100, jpff wrote:
> I should have added that I have been running this macine for years
> and this started recently, a month or two I think.

What is the output of "locale" and "locale -a" on this machine?

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Re: More on locale

2018-07-11 Thread Vincent Lefevre
On 2018-07-10 19:50:40 +0100, jpff wrote:
> I have those files except the last htl one.
> 
> I should have added that I have been running this macine for years and this
> started recently, a month or two I think.
> 
> On Tue, 10 Jul 2018, Zenaan Harkness wrote:
> > I'm not sure, but try running locate on your locale e.g.:
> > 
> > $ locate en_US.UTF-8
> > /usr/share/X11/locale/en_US.UTF-8
> > /usr/share/X11/locale/en_US.UTF-8/Compose
> > /usr/share/X11/locale/en_US.UTF-8/XI18N_OBJS
> > /usr/share/X11/locale/en_US.UTF-8/XLC_LOCALE
> > /usr/share/doc/libx11-dev/i18n/compose/en_US.UTF-8.html

This is unrelated. The installed locales are under the
/usr/lib/locale directory, either /usr/lib/locale/locale-archive
or various directories if locales-all has been installed.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Re: user 1000

2018-07-11 Thread Erwan David
On Wed, Jul 11, 2018 at 01:36:50PM CEST, Vincent Lefevre  
said:
> On 2018-07-11 12:30:33 +0200, G2PC wrote:
> > Le 10/07/2018 à 09:34, Belaïd a écrit :
> > > Pardon au faite il faudrait aussi rajouter une option si tu veux Que
> > > le home change aussi de nom,  la commande exacte devient :
> > >
> > > usermod --login nouvel-identifiant --home /home/nouvel-identifiant
> > > --move-home ancien-identifiant
> > 
> > Vous l'avez testé ? C'est fonctionnelle cette solution ? Je n'ose pas
> > tester sur mon hôte mais si la commande est correcte, je vais la garder
> > à disposition.
> 
> Pour les détails: man usermod
> 
> Mais ce n'est peut-être pas la bonne solution, car usermod semble
> faire une copie des fichiers et non pas juste un renommage du nom
> du répertoire:
> 
>   usermod will try to adapt the ownership of the files and to copy
>   the modes, ACL and extended attributes, but manual changes might
>   be needed afterwards.

En plus un bon paquet de softs font la connerie de sauvegarder les
chemins en absolu plutôt qu'en relatif du home.


-- 
Erwan



Re: More on locale

2018-07-11 Thread Vincent Lefevre
On 2018-07-09 18:37:19 +0100, John wrote:
> A short time ago I sought your advice about messages  I am getting
> about locales  I thought I did what was suggested but I still see
> 
>   CC   libclamav_internal_utils_nothreads_la-strlcat.lo
> ../libtool: line 1748: warning: setlocale: LC_CTYPE: cannot change
> locale (en_US.UTF-8)
> when compiling, and
> 
> (firefox-esr:11622): Gtk-WARNING **: Locale not supported by C library.
> Using the fallback 'C' locale.
> 
> from firefox.  There are other similar.   I have not got this problem
> on any other machine.  How can I fix it, and ensure it does not happen
> again?

Install the missing locale(s) with:

  dpkg-reconfigure locales

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Re: Looking for ratings of all-in-one printers for Linux (Ubuntu in particular)

2018-07-11 Thread Erik Christiansen
On 10.07.18 12:53, David Wright wrote:
> On Mon 09 Jul 2018 at 19:05:52 (-0400), Dan Ritter wrote:
> > On Mon, Jul 09, 2018 at 06:53:44PM -0400, Michael Stone wrote:
> > > On Mon, Jul 09, 2018 at 06:39:29PM -0400, Dan Ritter wrote:
> > > > You're both missing the main point, which is that a Brother
> > > > printer with BRscript/3 is essentially a Postscript printer, and
> > > > you can treat it as one. No drivers needed.
> 
> I'm not really interested in a PostScript printer per se, but in a
> printer that handles PDFs natively. Is this the same thing?

So long as CUPS can translate for the printer what the app (even as
simple as lpr) hands over, then the only cost is a print delay if the
postscript is computation-intensive - but that has to be done either in
the printer or on the host anyway, and the host is probably faster.

I'm using a decade-old HP Laserjet 3050 all-in-one, and the hplip
drivers in CUPS sufficed during a recent software update.

> > > So you can use it as an all-in-one postscript printer/scanner?
> > 
> > You can use it as a printer. As far as I know there is no such
> > thing as a "postscript scanner".
> 
> What I would understand by the expression "postscript scanner" is
> something that scans a document and yields a PDF file. I think
> a lot of scanners (most?) will also scan to a JPEG file.

When arcing up my Epson Perfection V350 flatbed scanner in xsane or the
other image scanner, I tend to save as jpg. ISTRC that it's a smaller
file.

_But_ I wouldn't buy an all-in-one again. The scanner in that is useless
for books, and even magazines can be too valued to allow ripping out
pages. Only the flat-bed scanner has seen any use in the last half
decade. OK, the all-in-one has an integrated fax - but I've never used
it, and doubtless now never will.

> > The Brother all-in-ones tend to have "scan-to-network" abilities,
> > though, and that doesn't require a driver -- just an internal
> > FTP or SAMBA server to receive the files. My workplace has a 
> > bunch of these. Walk up, select Scan, select Network, and put
> > your document(s) in. You get PDFs or TIFFs in your filesystem.
> 
> That's the sort of thing, but I'm used to it writing the files
> onto a USB stick (and prefer that).

Both the Laserjet 3050 and Epson V350 are USB, but no sticks needed.

ISTM that quite a range of printers and scanners work with linux, and
the only thing I'd like to add is an A3 printer, but can't justify the
expense while I can drop into the local library with a usb stick and print
the very occasional large format page for negligible cost.

Erik



Re: Debian testing - release number

2018-07-11 Thread Curt
On 2018-07-10, David Wright  wrote:
 
You following up to Woolege:

 Hmm, I struggle to see the connection between what I asked for and
 what you wrote. From your later post, I guess the answer is that
 editing /etc/debian_version risks provoking expletives from other
 users of the system.

 That said, I do agree with what you wrote.

So there was an equivocal quality there, Dave, as to which of Woolege's
articles "what you wrote" was referring (the one you were following up
to above, or the "fucking" one below to which you alluded--so I *asked*,
indicated by my question mark, which my tone may have rendered somehow
accusatory). I do admit that I believed the latter interpretation
without even considering the real possibility that it was indeed the
former, probably because of a minor incident in the Latex/PDF thread we were
both involved in a few moons ago, a can of beans not worth opening.  

The Woolege post:

 It is not a fucking configuration file that you edit.

 It is supposed to be read only.

 Only a crazy idiot would manually edit the file that tells you what
 version of the OS you're running.

 It would be like editing registry entries in Microsoft Windows to make
 it look like you're running a different version of Windows.

Anyway, have a nice day.



Re: Local system program analytics

2018-07-11 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, Jul 11, 2018 at 09:41:39PM +1000, Zenaan Harkness wrote:

[...]

> IDK, except there is a distro-wide popcon:
> https://popcon.debian.org/

Yeah, only that popcon gathers analytics on what packages people
install (to guide decisions on, for example, what should go in
the first "CD").

Cheers
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAltF8EEACgkQBcgs9XrR2kZ//QCfYUQGDcndYhU8PIbvQLVAyMAF
02IAn0zG5y3dirT7KGaUB+BFSljSN+S3
=azT7
-END PGP SIGNATURE-



Re: user 1000

2018-07-11 Thread Vincent Lefevre
On 2018-07-11 12:30:33 +0200, G2PC wrote:
> Le 10/07/2018 à 09:34, Belaïd a écrit :
> > Pardon au faite il faudrait aussi rajouter une option si tu veux Que
> > le home change aussi de nom,  la commande exacte devient :
> >
> > usermod --login nouvel-identifiant --home /home/nouvel-identifiant
> > --move-home ancien-identifiant
> 
> Vous l'avez testé ? C'est fonctionnelle cette solution ? Je n'ose pas
> tester sur mon hôte mais si la commande est correcte, je vais la garder
> à disposition.

Pour les détails: man usermod

Mais ce n'est peut-être pas la bonne solution, car usermod semble
faire une copie des fichiers et non pas juste un renommage du nom
du répertoire:

  usermod will try to adapt the ownership of the files and to copy
  the modes, ACL and extended attributes, but manual changes might
  be needed afterwards.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Re: user 1000

2018-07-11 Thread Vincent Lefevre
On 2018-07-11 13:36:50 +0200, Vincent Lefevre wrote:
> On 2018-07-11 12:30:33 +0200, G2PC wrote:
> > Le 10/07/2018 à 09:34, Belaïd a écrit :
> > > Pardon au faite il faudrait aussi rajouter une option si tu veux Que
> > > le home change aussi de nom,  la commande exacte devient :
> > >
> > > usermod --login nouvel-identifiant --home /home/nouvel-identifiant
> > > --move-home ancien-identifiant
> > 
> > Vous l'avez testé ? C'est fonctionnelle cette solution ? Je n'ose pas
> > tester sur mon hôte mais si la commande est correcte, je vais la garder
> > à disposition.
> 
> Pour les détails: man usermod
> 
> Mais ce n'est peut-être pas la bonne solution, car usermod semble
> faire une copie des fichiers et non pas juste un renommage du nom
> du répertoire:
> 
>   usermod will try to adapt the ownership of the files and to copy
>   the modes, ACL and extended attributes, but manual changes might
>   be needed afterwards.

Dit autrement, je conseillerais plutôt a priori de modifier juste
le login avec usermod --login, puis de mettre à jour le nom du
répertoire home avec la commande "mv", et faire aussi la mise à
jour avec "mv" pour le mail, si celui-ci n'est pas reçu sous le
home de l'utilisateur.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



libgnutls-deb0-28 missing from Debian repos - Re: git clone https://... fails, git://... succeeds — ?

2018-07-11 Thread Zenaan Harkness
On Wed, Jul 11, 2018 at 01:37:44PM +0200, john doe wrote:
> On 7/11/2018 12:37 PM, Zenaan Harkness wrote:
> > On Wed, Jul 11, 2018 at 11:32:30AM +0200, john doe wrote:
> > > On 7/11/2018 11:12 AM, Zenaan Harkness wrote:
> > > > Anyone know why git is failing to clone with the HTTPS protocol (but
> > > > succeeds with the git protocol)?
> > > > 
> > > > Example:
> > > > 
> > > > $ git clone https://github.com/gnubee-git/GnuBee_Docs.git docs.gits
> > > > Cloning into 'docs.gits'...
> > > > fatal: unable to access
> > > > 'https://github.com/gnubee-git/GnuBee_Docs.git/': gnutls_handshake()
> > > > failed: Public key signature verification has failed.
> > > > 
> > > > 
> > > > whereas:
> > > > 
> > > > $ git clone git://github.com/gnubee-git/GnuBee_Docs.git docs.gits
> > > > Cloning into 'docs.gits'...
> > > > remote: Counting objects: 1218, done.
> > > > remote: Compressing objects: 100% (29/29), done.
> > > > ...
> > > > 
> > > 
> > > It is working fine here:
> > > 
> > > $ git clone https://github.com/gnubee-git/GnuBee_Docs.git docs.gits
> > > Cloning into 'docs.gits'...
> > > remote: Counting objects: 1218, done.
> > > remote: Compressing objects: 100% (29/29), done.
> > > remote: Total 1218 (delta 16), reused 31 (delta 11), pack-reused 1178
> > > Receiving objects: 100% (1218/1218), 872.28 MiB | 11.39 MiB/s, done.
> > > Resolving deltas: 100% (288/288), done.
> > > Checking out files: 100% (510/510), done.
> > > 
> > > Maybe:
> > > 
> > > https://superuser.com/questions/1250527/git-clone-stopped-working
> > 
> > OK so that page suggests reinstalling package libgnutls-deb0-28
> > BUT, that package is not in the archives for Debian stable:
> > 
> > https://packages.debian.org/search?keywords=libgnutls-deb0-28

^

Why is this package missing from the repos, but installed in my
stretch install?

This also looks like a core security-type package, so, concerning!



> > shows that it's only available in wheezy-backports, jessie
> > (oldstable) and sid (unstable) as a debports port for arm64.
> > 
> > So the file
> > pool/main/g/gnutls28/libgnutls-deb0-28_3.3.8-6+deb8u7_amd64.deb
> > 
> > is in the archives, but not listed as a stable/stretch package.
> > 
> > Interestin. Given it's apparently not in stretch, perhaps I should
> > simply uninstall it:
> > 
> 
> Note that I'm also on stretch.
> Looks like something is broken on your end.

Well that's the question - how do I figure out the problem?

Perhaps there's some dodgy Debian mirroring going on?

Again, when I look at that packages.debian.org link above, the
package no longer exists in stable, so how can it be that over 100
other packages recursively depend on this package, when it's missing?

Hopefully someone can steer me in the right debugging direction...



> > I clone in 2 ways: --mirror for those repositories I am initially
> > keeping an archive for, and regular clone for those I want to
> > immediately look at.
> > 
> > In order to automate updates to these repos, I use this dir-name
> > convention to simply my scripts:
> > 
> >   - .gitm for --mirror (--bare) repos
> >   - .gits for regular "source checked out/ work dir" repos
> > 
> 
> I would rework the script to handle something like:
> 
> docs-mirror.git
> docs-bare.git
> docs
> 
> http://blog.plataformatec.com.br/2013/05/how-to-properly-mirror-a-git-repository/
> 
> Note that '--mirror' implies '--bare'; mirror and bare are two different 
> things.:
> 
> https://git-scm.com/docs/git-clone

Thank you for the links.

For a given repo, I only have one primary clone or mirror. I have
various such local repos.

For GnuBee docs (or any other repo) I only clone it once, either with
plain clone, or with --mirror, never both - once I have a --mirror
repo locally available, I then either:

 - clone it to a "working dir", or

 - browse it insitu with git-ls

Hope that makes sense...



Re: Local system program analytics

2018-07-11 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, Jul 11, 2018 at 07:18:55AM -0400, David Maulik wrote:
> Is there any program that can show me the programs on my system
> I use the most?
[...]

Define "use most".

OK, OK. This was a snotty answer, but there's something behind
it :-)

The system has a very different view of "using" than you have:
it can count how often a binary is invoked. It can measure
for how long a binary runs (init is started just once every
time you start your computer, but runs all the time while your
computer is up, to name one extreme example. Likewise a database
server or a web server. If you're a command line user, "ls"
will be a binary you are invoking lots of times during one session;
a shell, or Perl, or Python will be used innumerable times by
other programs. On the other extreme, there will be libraries
you might never have heard of (libc, libssl, watever) without
which many or most of your programs won't run).

To give a more specific answer -- if you are a heavy shell user,
your shell history might give you a hint; otherwise, you'll have
to ask the kernel. I don't think you'll find a ready-made solution,
but there are many kernel instrumentation approaches which might
be a building block in your quest's solution. To get a more
concrete idea, you might look into System Tap [1]; you would
select, e.g. the exec family of system calls (which start a
binary) and then run some statistics on them (note: not that
I'm proposing to *do* this -- rather to look into it to gain
insights which might help you to understand the problem space
you are trying to cover. As a collateral, and as so often, you
will learn a lot of other things :)

Cheers

[1] https://en.wikipedia.org/wiki/SystemTap
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAltF7TUACgkQBcgs9XrR2ka2qwCdEwukHJ9dzqwgK0O1PMF5RCj1
DqsAn2FJCzEVq/ILh2Gf0Cnm4seWbmXV
=SkR/
-END PGP SIGNATURE-



Re: Local system program analytics

2018-07-11 Thread Zenaan Harkness
On Wed, Jul 11, 2018 at 07:18:55AM -0400, David Maulik wrote:
> Is there any program that can show me the programs on my system I use the 
> most? I'm looking for something that can help me trim unneeded/unused 
> packages as well as show me which programs I use the most to help inform 
> support/donation decisions.

IDK, except there is a distro-wide popcon:
https://popcon.debian.org/

Good luck,



Re: How to"apt update" from an USB key ?

2018-07-11 Thread Roberto C . Sánchez
On Wed, Jul 11, 2018 at 07:10:25AM +0200, Pierre Couderc wrote:
> On an ultraslim (ACER swift 3) I have no CDROM no Ethernet, only an USB key.
> I have installed stretch (without GUI) from the USB key, and now I want to
> install connman, but I do not success to apt-cdrom on an USB.
> I have googled but did not find a correct howto to do that...
> 
The package you want to use is apt-offline.  Here is the description:

 apt-offline can be used to generate a signature on a machine (with no network).
 This signature contains all download information required for the APT database
 system. This signature file can be used on another machine connected to the
 internet (which need not be a Debian box and can even be running windows) to
 download the updates.
 The downloaded data will contain all updates in a format understood by APT and
 this data can be used by apt-offline to update the non-networked machine.

Regards,

-Roberto

-- 
Roberto C. Sánchez



Re: git clone https://... fails, git://... succeeds — ?

2018-07-11 Thread john doe

On 7/11/2018 12:37 PM, Zenaan Harkness wrote:

On Wed, Jul 11, 2018 at 11:32:30AM +0200, john doe wrote:

On 7/11/2018 11:12 AM, Zenaan Harkness wrote:

Anyone know why git is failing to clone with the HTTPS protocol (but
succeeds with the git protocol)?

Example:

$ git clone https://github.com/gnubee-git/GnuBee_Docs.git docs.gits
Cloning into 'docs.gits'...
fatal: unable to access
'https://github.com/gnubee-git/GnuBee_Docs.git/': gnutls_handshake()
failed: Public key signature verification has failed.


whereas:

$ git clone git://github.com/gnubee-git/GnuBee_Docs.git docs.gits
Cloning into 'docs.gits'...
remote: Counting objects: 1218, done.
remote: Compressing objects: 100% (29/29), done.
...



It is working fine here:

$ git clone https://github.com/gnubee-git/GnuBee_Docs.git docs.gits
Cloning into 'docs.gits'...
remote: Counting objects: 1218, done.
remote: Compressing objects: 100% (29/29), done.
remote: Total 1218 (delta 16), reused 31 (delta 11), pack-reused 1178
Receiving objects: 100% (1218/1218), 872.28 MiB | 11.39 MiB/s, done.
Resolving deltas: 100% (288/288), done.
Checking out files: 100% (510/510), done.

Maybe:

https://superuser.com/questions/1250527/git-clone-stopped-working


OK so that page suggests reinstalling package libgnutls-deb0-28
BUT, that package is not in the archives for Debian stable:

https://packages.debian.org/search?keywords=libgnutls-deb0-28

shows that it's only available in wheezy-backports, jessie
(oldstable) and sid (unstable) as a debports port for arm64.

So the file
pool/main/g/gnutls28/libgnutls-deb0-28_3.3.8-6+deb8u7_amd64.deb

is in the archives, but not listed as a stable/stretch package.

Interestin. Given it's apparently not in stretch, perhaps I should
simply uninstall it:



Note that I'm also on stretch.
Looks like something is broken on your end.



I clone in 2 ways: --mirror for those repositories I am initially
keeping an archive for, and regular clone for those I want to
immediately look at.

In order to automate updates to these repos, I use this dir-name
convention to simply my scripts:

  - .gitm for --mirror (--bare) repos
  - .gits for regular "source checked out/ work dir" repos



I would rework the script to handle something like:

docs-mirror.git
docs-bare.git
docs

http://blog.plataformatec.com.br/2013/05/how-to-properly-mirror-a-git-repository/

Note that '--mirror' implies '--bare'; mirror and bare are two different 
things.:


https://git-scm.com/docs/git-clone

--
John Doe



Local system program analytics

2018-07-11 Thread David Maulik
Is there any program that can show me the programs on my system I use the most? 
I'm looking for something that can help me trim unneeded/unused packages as 
well as show me which programs I use the most to help inform support/donation 
decisions.

Re: git clone https://... fails, git://... succeeds — ?

2018-07-11 Thread Zenaan Harkness
On Wed, Jul 11, 2018 at 11:32:30AM +0200, john doe wrote:
> On 7/11/2018 11:12 AM, Zenaan Harkness wrote:
> > Anyone know why git is failing to clone with the HTTPS protocol (but
> > succeeds with the git protocol)?
> > 
> > Example:
> > 
> > $ git clone https://github.com/gnubee-git/GnuBee_Docs.git docs.gits
> > Cloning into 'docs.gits'...
> > fatal: unable to access
> > 'https://github.com/gnubee-git/GnuBee_Docs.git/': gnutls_handshake()
> > failed: Public key signature verification has failed.
> > 
> > 
> > whereas:
> > 
> > $ git clone git://github.com/gnubee-git/GnuBee_Docs.git docs.gits
> > Cloning into 'docs.gits'...
> > remote: Counting objects: 1218, done.
> > remote: Compressing objects: 100% (29/29), done.
> > ...
> > 
> 
> It is working fine here:
> 
> $ git clone https://github.com/gnubee-git/GnuBee_Docs.git docs.gits
> Cloning into 'docs.gits'...
> remote: Counting objects: 1218, done.
> remote: Compressing objects: 100% (29/29), done.
> remote: Total 1218 (delta 16), reused 31 (delta 11), pack-reused 1178
> Receiving objects: 100% (1218/1218), 872.28 MiB | 11.39 MiB/s, done.
> Resolving deltas: 100% (288/288), done.
> Checking out files: 100% (510/510), done.
> 
> Maybe:
> 
> https://superuser.com/questions/1250527/git-clone-stopped-working

OK so that page suggests reinstalling package libgnutls-deb0-28
BUT, that package is not in the archives for Debian stable:

https://packages.debian.org/search?keywords=libgnutls-deb0-28

shows that it's only available in wheezy-backports, jessie
(oldstable) and sid (unstable) as a debports port for arm64.

So the file
pool/main/g/gnutls28/libgnutls-deb0-28_3.3.8-6+deb8u7_amd64.deb

is in the archives, but not listed as a stable/stretch package.

Interestin. Given it's apparently not in stretch, perhaps I should
simply uninstall it:

$ sudo apt remove libgnutls-deb0-28
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
  automoc cvsps emacs freepats git-doc gstreamer1.0-libav iceweasel
  ...
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  curl easygit ffmpeg gir1.2-spice-client-glib-2.0
  ...
0 upgraded, 0 newly installed, 130 to remove and 0 not upgraded.
After this operation, 563 MB disk space will be freed.
Do you want to continue? [Y/n] ^C


Looks like a Debian archives disconnect has happened somewhere ...
when removing a package that's "officially" not in the distribution,
removes 563 MB of installed software.

Bugs?

This:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=libgnutls-deb0-28
shows "No reports found!"

I also note that this package's "Provides" fields shows nothing, but
reverse depends:

Reverse depends:
  exim4-daemon-light
  libavformat56
libgnutls-deb0-28
  libhogweed2
  libimobiledevice4
  libmailutils4
  librtmp1
  libvncclient0
  libvncserver0
  mutt-patched
  network-manager


This is a mystery that is beyond me. Any other ideas out there ???



> As an aside, the '.git' is only for bare repositories.:
> 
> $ git clone https://github.com/gnubee-git/GnuBee_Docs.git

I clone in 2 ways: --mirror for those repositories I am initially
keeping an archive for, and regular clone for those I want to
immediately look at.

In order to automate updates to these repos, I use this dir-name
convention to simply my scripts:

 - .gitm for --mirror (--bare) repos
 - .gits for regular "source checked out/ work dir" repos



Re: user 1000

2018-07-11 Thread G2PC
Le 10/07/2018 à 09:34, Belaïd a écrit :
> Pardon au faite il faudrait aussi rajouter une option si tu veux Que
> le home change aussi de nom,  la commande exacte devient :
>
> usermod --login nouvel-identifiant --home /home/nouvel-identifiant
> --move-home ancien-identifiant
>
>
> Le mar. 10 juil. 2018 06:49, Bernard Schoenacker
> mailto:bernard.schoenac...@free.fr>> a
> écrit :
>
> bonjour,
>
> je souhaiterai pouvoir changer le nom du 1^er utilisateur est ce
> possible ?
>

Vous l'avez testé ? C'est fonctionnelle cette solution ? Je n'ose pas
tester sur mon hôte mais si la commande est correcte, je vais la garder
à disposition.


Re: How to"apt update" from an USB key ?

2018-07-11 Thread Darac Marjal

On Wed, Jul 11, 2018 at 07:10:25AM +0200, Pierre Couderc wrote:

On an ultraslim (ACER swift 3) I have no CDROM no Ethernet, only an USB key.
I have installed stretch (without GUI) from the USB key, and now I 
want to install connman, but I do not success to apt-cdrom on an USB.

I have googled but did not find a correct howto to do that...


Personally, for this, I would have used "apt-zip", but it seems that 
that is no longer updated. If you're willing to give it a go, grab the 
.deb file from https://packages.debian.org/wheezy/apt-zip and install it 
with "dpkg -i /path/to/apt-zip*.deb". Documentation for it is in the 
manpage but, essentially, running "apt-zip-list -m /mnt/usb -p conman" 
should ask apt which packages are needed to install conman on your 
system and write a script to /mnt/usb which will wget them. The idea, 
then, is that you take the USB stick to an internet-connected PC and run 
the script (it's possible to run it from Cygwin or Bash For Windows if 
required). The script downloads the packages to the USB and, finally, 
you take the USB stick back to your disconnected PC and run 
"apt-zip-inst -m /mnt/usb" and those packages get installed.




Thanks in advance
PC





--
For more information, please reread.


signature.asc
Description: PGP signature


Re: do_IRQ: 4.35 No irq handler for vector

2018-07-11 Thread Kohler Gerard

merci à tous pour l'attention que vous portez à mon problème,
comme c'est une machine qui me sert pour mon travail je n'ai pas trop de 
temps, pour le moment, à perdre dans la recherche de ce problème,

je m'y pencherai plus ce W.E.
j'ai résolu le bug en démarrant sur le kernel 4.13.0-1-amd64
depuis tout est nickel
il s'agit sûrement d'un bug au niveau du noyau, (faut-il faire un 
rapport de bug ?)


je reviens vers vous dès que j'ai le temps

merci encore

Gerard

Le 11/07/2018 à 11:46, Guillaume Clercin a écrit :

Bonjour,

Le mardi 10 juillet 2018, 18:41:54 CEST Kohler Gerard a écrit :

bonjour,

je viens de mettre à jour ma Debian


version :

Linux version 4.16.0-2-amd64

Debian 4.16.16-2 (2018-06-22) x86_64 GNU/Linux

depuis le redémarrage tout à l'air de fonctionner, mais j'ai des
messages d'alerte en continu

et dmseg me donne :

[  217.680954] do_IRQ: 4.35 No irq handler for vector
[ 1025.024667] do_IRQ: 5.33 No irq handler for vector
[ 1296.106454] do_IRQ: 4.35 No irq handler for vector
[ 1312.112440] do_IRQ: 4.35 No irq handler for vector
[ 1322.115114] do_IRQ: 4.35 No irq handler for vector
[ 1334.119208] do_IRQ: 4.35 No irq handler for vector
[ 1364.129008] do_IRQ: 4.35 No irq handler for vector
[ 1367.129758] do_IRQ: 4.35 No irq handler for vector
[ 1380.132502] do_IRQ: 4.35 No irq handler for vector
[ 1395.136410] do_IRQ: 4.35 No irq handler for vector
[ 1444.152125] do_IRQ: 4.35 No irq handler for vector
[ 1447.153562] do_IRQ: 4.35 No irq handler for vector
[ 1502.172328] do_IRQ: 4.35 No irq handler for vector

Que donne la sortie de la commande « lspci -vk » ?

Et aussi, « ls /proc/irq »



je n'ai pas trouvé de réponse claire pour ces messages d'alerte.

peut-être un problème de carte graphique

j'ai une GeForce GTX 660

j'ai installé le driver propriétaire nVidia


Avez vous une idée ?

merci

Gerard

Cordialement,





Re: do_IRQ: 4.35 No irq handler for vector

2018-07-11 Thread Guillaume Clercin
Bonjour,

Le mardi 10 juillet 2018, 18:41:54 CEST Kohler Gerard a écrit :
> bonjour,
> 
> je viens de mettre à jour ma Debian
> 
> 
> version :
> 
> Linux version 4.16.0-2-amd64
> 
> Debian 4.16.16-2 (2018-06-22) x86_64 GNU/Linux
> 
> depuis le redémarrage tout à l'air de fonctionner, mais j'ai des
> messages d'alerte en continu
> 
> et dmseg me donne :
> 
> [  217.680954] do_IRQ: 4.35 No irq handler for vector
> [ 1025.024667] do_IRQ: 5.33 No irq handler for vector
> [ 1296.106454] do_IRQ: 4.35 No irq handler for vector
> [ 1312.112440] do_IRQ: 4.35 No irq handler for vector
> [ 1322.115114] do_IRQ: 4.35 No irq handler for vector
> [ 1334.119208] do_IRQ: 4.35 No irq handler for vector
> [ 1364.129008] do_IRQ: 4.35 No irq handler for vector
> [ 1367.129758] do_IRQ: 4.35 No irq handler for vector
> [ 1380.132502] do_IRQ: 4.35 No irq handler for vector
> [ 1395.136410] do_IRQ: 4.35 No irq handler for vector
> [ 1444.152125] do_IRQ: 4.35 No irq handler for vector
> [ 1447.153562] do_IRQ: 4.35 No irq handler for vector
> [ 1502.172328] do_IRQ: 4.35 No irq handler for vector
Que donne la sortie de la commande « lspci -vk » ?

Et aussi, « ls /proc/irq »

> 
> 
> je n'ai pas trouvé de réponse claire pour ces messages d'alerte.
> 
> peut-être un problème de carte graphique
> 
> j'ai une GeForce GTX 660
> 
> j'ai installé le driver propriétaire nVidia
> 
> 
> Avez vous une idée ?
> 
> merci
> 
> Gerard

Cordialement,
-- 
Guillaume Clercin

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


Re: do_IRQ: 4.35 No irq handler for vector

2018-07-11 Thread Kohler Gerard

hélas j'ai déjà essayé sans succès :'(

Le 11/07/2018 à 10:06, didier gaumet a écrit :

Le 10/07/2018 à 18:41, Kohler Gerard a écrit :

bonjour,

je viens de mettre à jour ma Debian


version :

Linux version 4.16.0-2-amd64

Debian 4.16.16-2 (2018-06-22) x86_64 GNU/Linux

depuis le redémarrage tout à l'air de fonctionner, mais j'ai des
messages d'alerte en continu

et dmseg me donne :

[  217.680954] do_IRQ: 4.35 No irq handler for vector

[...]

ça a l'air de pouvoir se résoudre avec un paramètre noyau
pci=nomsi,noaer, cf: https://blackonsole.org/no-irq-handler-for-vector/







Re: git clone https://... fails, git://... succeeds — ?

2018-07-11 Thread john doe

On 7/11/2018 11:12 AM, Zenaan Harkness wrote:

Anyone know why git is failing to clone with the HTTPS protocol (but
succeeds with the git protocol)?

Example:

$ git clone https://github.com/gnubee-git/GnuBee_Docs.git docs.gits
Cloning into 'docs.gits'...
fatal: unable to access
'https://github.com/gnubee-git/GnuBee_Docs.git/': gnutls_handshake()
failed: Public key signature verification has failed.


whereas:

$ git clone git://github.com/gnubee-git/GnuBee_Docs.git docs.gits
Cloning into 'docs.gits'...
remote: Counting objects: 1218, done.
remote: Compressing objects: 100% (29/29), done.
...



It is working fine here:

$ git clone https://github.com/gnubee-git/GnuBee_Docs.git docs.gits
Cloning into 'docs.gits'...
remote: Counting objects: 1218, done.
remote: Compressing objects: 100% (29/29), done.
remote: Total 1218 (delta 16), reused 31 (delta 11), pack-reused 1178
Receiving objects: 100% (1218/1218), 872.28 MiB | 11.39 MiB/s, done.
Resolving deltas: 100% (288/288), done.
Checking out files: 100% (510/510), done.

Maybe:

https://superuser.com/questions/1250527/git-clone-stopped-working

As an aside, the '.git' is only for bare repositories.:

$ git clone https://github.com/gnubee-git/GnuBee_Docs.git

--
John Doe



git clone https://... fails, git://... succeeds — ?

2018-07-11 Thread Zenaan Harkness
Anyone know why git is failing to clone with the HTTPS protocol (but
succeeds with the git protocol)?

Example:

$ git clone https://github.com/gnubee-git/GnuBee_Docs.git docs.gits
Cloning into 'docs.gits'...
fatal: unable to access
'https://github.com/gnubee-git/GnuBee_Docs.git/': gnutls_handshake()
failed: Public key signature verification has failed.


whereas:

$ git clone git://github.com/gnubee-git/GnuBee_Docs.git docs.gits
Cloning into 'docs.gits'...
remote: Counting objects: 1218, done.
remote: Compressing objects: 100% (29/29), done.
...


?



Re: do_IRQ: 4.35 No irq handler for vector

2018-07-11 Thread didier gaumet
Le 10/07/2018 à 18:41, Kohler Gerard a écrit :
> bonjour,
> 
> je viens de mettre à jour ma Debian
> 
> 
> version :
> 
> Linux version 4.16.0-2-amd64
> 
> Debian 4.16.16-2 (2018-06-22) x86_64 GNU/Linux
> 
> depuis le redémarrage tout à l'air de fonctionner, mais j'ai des
> messages d'alerte en continu
> 
> et dmseg me donne :
> 
> [  217.680954] do_IRQ: 4.35 No irq handler for vector
[...]

ça a l'air de pouvoir se résoudre avec un paramètre noyau
pci=nomsi,noaer, cf: https://blackonsole.org/no-irq-handler-for-vector/




No sound/audio

2018-07-11 Thread 70147persson

Hi all,

I get no sound. After reinstalling Stretch a couple of months ago, the 
computer is silent. Well, not completely, because these warning beeps at 
end of line etc.. are coming out. Normally I have all those disabled, 
but for testing this is established, so I am quite sure the audio card 
is OK.


The computer is a Hewlett Packard laptop model HP Pavilion dv4-1199eo.

Inxi -A presents this information:
Audio: Card Intel 82801I (ICH9 Family) HD Audio Controller
   driver: snd_hda_intel
   Sound: Advanced Linux Sound Architecture v: k4.9.0-6-amd64

After a reboot I can find among other things this information in 
/var/log/syslog:


systemd[1]: Starting Save/Restore Sound Card State...

and

	kernel: [   14.190720] input: PC Speaker as 
/devices/platform/pcspkr/input/input18
	kernel: [   14.201142] input: HDA Digital PCBeep as 
/devices/pci:00/:00:1b.0/sound/card0/input14
	kernel: [   14.206632] input: HDA Intel Dock Mic as 
/devices/pci:00/:00:1b.0/sound/card0/input15
	kernel: [   14.206730] input: HDA Intel Mic as 
/devices/pci:00/:00:1b.0/sound/card0/input16
	kernel: [   14.206817] input: HDA Intel Front Headphone as 
/devices/pci:00/:00:1b.0/sound/card0/input17


so I think I can feel assured the system has contact with the audio card.

I have removed two fields before each line containing date and computer 
name.


After the install of stretch I did remove the Pulsaudio package and 
instead installed the Jack package, this recommended by the Ardour team. 
Ardour is a program very important for my use of the computer, so I 
really want that program to work fine. I have done this measure before 
in the jessie era, so I know it works. Trying to make a connection in 
the QjackCtl program fails, and I can read the following message. Line 3 
and 11 is partly in Swedish, meaning that the file or directory does not 
exist, but no information is given about which file or which directory, 
so I feel a bit lost:


23:16:56.103 Statistics reset.
23:16:56.106 ALSA connection change.
Cannot connect to server socket err = Filen eller katalogen finns inte
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 
4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 
4294967295, skipping unlock

23:16:56.230 ALSA connection graph change.
23:17:00.491 JACK is starting...
23:17:00.491 /usr/bin/jackd -v -dalsa -dhw:0 -r48000 -p1024 -n2 -m -H -M -P
Cannot connect to server socket err = Filen eller katalogen finns inte
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 
4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 
4294967295, skipping unlock

Cannot create RT messagebuffer thread: Operation not permitted (1)
Retrying messagebuffer thread without RT scheduling
Messagebuffer not realtime; consider enabling RT scheduling for user
no message buffer overruns
Cannot create RT messagebuffer thread: Operation not permitted (1)
Retrying messagebuffer thread without RT scheduling
Messagebuffer not realtime; consider enabling RT scheduling for user
no message buffer overruns

and a lot more. Here is the tail of the messages (188 lines removed):

Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 8
Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 9
Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 8
Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 9
23:17:29.074 ALSA connection change.
Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 8
Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 9
Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 8
Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 9
Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 8
Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 9
Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 8
Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 9
Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 8
Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 9
Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 8
Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 9
Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 8
Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 9
Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 8
Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 9

Since I am not very skilled in the sound technology I have previously, 
when I carried out this operation, randomly installed every package I 
found, which seemed to deal with sound until it all worked, but this 
time my intention is to do the 

Re: do_IRQ: 4.35 No irq handler for vector

2018-07-11 Thread Kohler Gerard

je n'ai toujours pas résolu mon problème,
et je n'ai aucune idée sur la marche à suivre pour le diagnostic de ce 
problème
je me suis aperçu (en enlevant le son) qu'il y a un bip machine à chaque 
message


je pense plutôt à un problème de driver mais lequel ??
Ou chercher ?

merci de votre aide

Gerard






Le 10/07/2018 à 18:41, Kohler Gerard a écrit :

bonjour,

je viens de mettre à jour ma Debian


version :

Linux version 4.16.0-2-amd64

Debian 4.16.16-2 (2018-06-22) x86_64 GNU/Linux

depuis le redémarrage tout à l'air de fonctionner, mais j'ai des 
messages d'alerte en continu


et dmseg me donne :

[  217.680954] do_IRQ: 4.35 No irq handler for vector
[ 1025.024667] do_IRQ: 5.33 No irq handler for vector
[ 1296.106454] do_IRQ: 4.35 No irq handler for vector
[ 1312.112440] do_IRQ: 4.35 No irq handler for vector
[ 1322.115114] do_IRQ: 4.35 No irq handler for vector
[ 1334.119208] do_IRQ: 4.35 No irq handler for vector
[ 1364.129008] do_IRQ: 4.35 No irq handler for vector
[ 1367.129758] do_IRQ: 4.35 No irq handler for vector
[ 1380.132502] do_IRQ: 4.35 No irq handler for vector
[ 1395.136410] do_IRQ: 4.35 No irq handler for vector
[ 1444.152125] do_IRQ: 4.35 No irq handler for vector
[ 1447.153562] do_IRQ: 4.35 No irq handler for vector
[ 1502.172328] do_IRQ: 4.35 No irq handler for vector


je n'ai pas trouvé de réponse claire pour ces messages d'alerte.

peut-être un problème de carte graphique

j'ai une GeForce GTX 660

j'ai installé le driver propriétaire nVidia


Avez vous une idée ?

merci

Gerard






plus d'hibernation avec le paquet irqbalance

2018-07-11 Thread Jérémy PREGO

Bonjour,

en installant le paquet irqbalance sur ma machine, l'hibernation ne 
fonctionne plus, la machine ce gel, et ne s'arrête pas quand j'exécute 
la commande pm-hibernate. La désinstallation du paquet irqbalance résout 
le souci.


déjà première question: est-ce que irqbalance est utile sur ma machine ?
proc: model name    : Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz
noyau: 4.16.0-2-amd64 (mais j'ai le souci depuis plusieurs noyaux déjà)

les logs /var/log/pm-*.log ne sont pas très parlant entre quand ça 
fonctionne et quand ça ne fonctionne pas... rien trouvé de spéciale non 
plus dans syslog, kern.log, ou encore messages.


merci a vous si vous avez une idée pour que les deux fonctionnent 
ensemble :)


Jerem



Re: anybody maintaining lxc and lxd in Debian?

2018-07-11 Thread Harald Dunkel

On 7/10/18 12:36 PM, Jonathan Dowland wrote:
> On Fri, Jul 06, 2018 at 09:56:58AM +0200, Harald Dunkel wrote:
>> is anybody maintaining lxc in Debian? I have the impression that
>> it has been orphaned. And I don't dare to hope for #768073 anymore.
>
> Ah yes I'd forgotten about that (I was involved for a while). But
> looking at the current status it's not as bleak as I feared; the last
> dependency was finally finished in February.
>

I saw the updates in #768073. Good to know that it hasn't been forgotten.

How about LXC? In the meantime I built and tried Ubuntu's version 3.0.1
on Stretch. It builds fine. The package upgrade path was a little bit
rough, but it seems to work. Didn't try apparmor, though. Kernel was
4.16.12-1~bpo9+1.

One problem here: LXC 2.1 (not available in Debian) could be used to
migrate to the new config file format. 3.0.1 doesn't support the old
format anymore, i.e. running LXC 2.0 it is *mandatory* to adjust the
config files for 3.0.1 (using the provided lxc-update-config script).


Regards
Harri



Re: How to"apt update" from an USB key ?

2018-07-11 Thread john doe

On 7/11/2018 7:55 AM, Pierre Couderc wrote:

On 07/11/2018 07:27 AM, john doe wrote:

On 7/11/2018 7:10 AM, Pierre Couderc wrote:
On an ultraslim (ACER swift 3) I have no CDROM no Ethernet, only an 
USB key.
I have installed stretch (without GUI) from the USB key, and now I 
want to install connman, but I do not success to apt-cdrom on an USB.

I have googled but did not find a correct howto to do that...



Why not updating/installing using your internet connection?

Because I have no internet connexion for the moment...


If the package that you want to install is on your usb key 
For the moment, my usb key contians a dd 
if=debian-9.4.0-amd64-DVD-1.iso  of=/dev/sdc

you will need to modify /etc/apt/sources.list accordingly.:

https://askubuntu.com/questions/3576/how-to-make-usb-drive-as-local-repository 

I had soon tried many of the solutions proposed here and none did work. 
Maybe, you have a specific idea about which is "the" correct one ?




No, other then insuring that the pkg that you want is on that "dvd".

--
John Doe