Re: Openssl ciphers is not means SSL supported?

2018-08-21 Thread Reco
Hi.

On Wed, Aug 22, 2018 at 02:01:23PM +0900, Miwa Susumu wrote:
> Hi all.
> 
> [question 1]
> 'openssl ciphers -v' output ciphers. include SSL protocol version.
> I have 'SSLv3' by 'openssl ciphers -v'
> but debian openssl package disable ssl3. by configure option.
> (see configure option in debian/rules file).
> 
> my openssl doesn't support SSLv3. is it right?

Debian's openssl does support ciphers that were associated with SSLv3,
but all these ciphers can be used for TLS too.
The support of SSLv3 protocol itself is disabled.


> [question 2]
> What can I know which SSL version is supported by openssl?

"openssl list -disabled" should show all disabled features, here they
include SSL3. The support for SSL2 was lost by openssl a long time ago.

So, which version of SSL does Debian's openssl support? No version at
all.
Which version of TLS does Debian's openssl support? 1.0, 1.1 and 1.2.

Reco



Openssl ciphers is not means SSL supported?

2018-08-21 Thread Miwa Susumu
Hi all.

[question 1]
'openssl ciphers -v' output ciphers. include SSL protocol version.
I have 'SSLv3' by 'openssl ciphers -v'
but debian openssl package disable ssl3. by configure option.
(see configure option in debian/rules file).

my openssl doesn't support SSLv3. is it right?

[question 2]
What can I know which SSL version is supported by openssl?


[detail]

$ uname -a
Linux miwa-debian8 3.16.0-6-amd64 #1 SMP Debian 3.16.56-1+deb8u1
(2018-05-08) x86_64 GNU/Linux

$ cat /etc/debian_version
8.10

$ openssl version
OpenSSL 1.0.1t  3 May 2016

$ openssl ciphers -v
ECDHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH Au=RSA  Enc=AESGCM(256) Mac=AEAD
ECDHE-ECDSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH Au=ECDSA
Enc=AESGCM(256) Mac=AEAD
ECDHE-RSA-AES256-SHA384 TLSv1.2 Kx=ECDH Au=RSA  Enc=AES(256)  Mac=SHA384
ECDHE-ECDSA-AES256-SHA384 TLSv1.2 Kx=ECDH Au=ECDSA Enc=AES(256)  Mac=SHA384
ECDHE-RSA-AES256-SHASSLv3 Kx=ECDH Au=RSA  Enc=AES(256)  Mac=SHA1
ECDHE-ECDSA-AES256-SHA  SSLv3 Kx=ECDH Au=ECDSA Enc=AES(256)  Mac=SHA1
SRP-DSS-AES-256-CBC-SHA SSLv3 Kx=SRP  Au=DSS  Enc=AES(256)  Mac=SHA1
SRP-RSA-AES-256-CBC-SHA SSLv3 Kx=SRP  Au=RSA  Enc=AES(256)  Mac=SHA1
SRP-AES-256-CBC-SHA SSLv3 Kx=SRP  Au=SRP  Enc=AES(256)  Mac=SHA1
DHE-DSS-AES256-GCM-SHA384 TLSv1.2 Kx=DH   Au=DSS  Enc=AESGCM(256) Mac=AEAD
DHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=DH   Au=RSA  Enc=AESGCM(256) Mac=AEAD
DHE-RSA-AES256-SHA256   TLSv1.2 Kx=DH   Au=RSA  Enc=AES(256)  Mac=SHA256
DHE-DSS-AES256-SHA256   TLSv1.2 Kx=DH   Au=DSS  Enc=AES(256)  Mac=SHA256
DHE-RSA-AES256-SHA  SSLv3 Kx=DH   Au=RSA  Enc=AES(256)  Mac=SHA1
DHE-DSS-AES256-SHA  SSLv3 Kx=DH   Au=DSS  Enc=AES(256)  Mac=SHA1
DHE-RSA-CAMELLIA256-SHA SSLv3 Kx=DH   Au=RSA  Enc=Camellia(256) Mac=SHA1
DHE-DSS-CAMELLIA256-SHA SSLv3 Kx=DH   Au=DSS  Enc=Camellia(256) Mac=SHA1
ECDH-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH/RSA Au=ECDH Enc=AESGCM(256) Mac=AEAD
ECDH-ECDSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH/ECDSA Au=ECDH
Enc=AESGCM(256) Mac=AEAD
ECDH-RSA-AES256-SHA384  TLSv1.2 Kx=ECDH/RSA Au=ECDH Enc=AES(256)  Mac=SHA384
ECDH-ECDSA-AES256-SHA384 TLSv1.2 Kx=ECDH/ECDSA Au=ECDH Enc=AES(256)  Mac=SHA384
ECDH-RSA-AES256-SHA SSLv3 Kx=ECDH/RSA Au=ECDH Enc=AES(256)  Mac=SHA1
ECDH-ECDSA-AES256-SHA   SSLv3 Kx=ECDH/ECDSA Au=ECDH Enc=AES(256)  Mac=SHA1
AES256-GCM-SHA384   TLSv1.2 Kx=RSA  Au=RSA  Enc=AESGCM(256) Mac=AEAD
AES256-SHA256   TLSv1.2 Kx=RSA  Au=RSA  Enc=AES(256)  Mac=SHA256
AES256-SHA  SSLv3 Kx=RSA  Au=RSA  Enc=AES(256)  Mac=SHA1
CAMELLIA256-SHA SSLv3 Kx=RSA  Au=RSA  Enc=Camellia(256) Mac=SHA1
PSK-AES256-CBC-SHA  SSLv3 Kx=PSK  Au=PSK  Enc=AES(256)  Mac=SHA1
ECDHE-RSA-AES128-GCM-SHA256 TLSv1.2 Kx=ECDH Au=RSA  Enc=AESGCM(128) Mac=AEAD
ECDHE-ECDSA-AES128-GCM-SHA256 TLSv1.2 Kx=ECDH Au=ECDSA
Enc=AESGCM(128) Mac=AEAD
ECDHE-RSA-AES128-SHA256 TLSv1.2 Kx=ECDH Au=RSA  Enc=AES(128)  Mac=SHA256
ECDHE-ECDSA-AES128-SHA256 TLSv1.2 Kx=ECDH Au=ECDSA Enc=AES(128)  Mac=SHA256
ECDHE-RSA-AES128-SHASSLv3 Kx=ECDH Au=RSA  Enc=AES(128)  Mac=SHA1
ECDHE-ECDSA-AES128-SHA  SSLv3 Kx=ECDH Au=ECDSA Enc=AES(128)  Mac=SHA1
SRP-DSS-AES-128-CBC-SHA SSLv3 Kx=SRP  Au=DSS  Enc=AES(128)  Mac=SHA1
SRP-RSA-AES-128-CBC-SHA SSLv3 Kx=SRP  Au=RSA  Enc=AES(128)  Mac=SHA1
SRP-AES-128-CBC-SHA SSLv3 Kx=SRP  Au=SRP  Enc=AES(128)  Mac=SHA1
DHE-DSS-AES128-GCM-SHA256 TLSv1.2 Kx=DH   Au=DSS  Enc=AESGCM(128) Mac=AEAD
DHE-RSA-AES128-GCM-SHA256 TLSv1.2 Kx=DH   Au=RSA  Enc=AESGCM(128) Mac=AEAD
DHE-RSA-AES128-SHA256   TLSv1.2 Kx=DH   Au=RSA  Enc=AES(128)  Mac=SHA256
DHE-DSS-AES128-SHA256   TLSv1.2 Kx=DH   Au=DSS  Enc=AES(128)  Mac=SHA256
DHE-RSA-AES128-SHA  SSLv3 Kx=DH   Au=RSA  Enc=AES(128)  Mac=SHA1
DHE-DSS-AES128-SHA  SSLv3 Kx=DH   Au=DSS  Enc=AES(128)  Mac=SHA1
DHE-RSA-SEED-SHASSLv3 Kx=DH   Au=RSA  Enc=SEED(128) Mac=SHA1
DHE-DSS-SEED-SHASSLv3 Kx=DH   Au=DSS  Enc=SEED(128) Mac=SHA1
DHE-RSA-CAMELLIA128-SHA SSLv3 Kx=DH   Au=RSA  Enc=Camellia(128) Mac=SHA1
DHE-DSS-CAMELLIA128-SHA SSLv3 Kx=DH   Au=DSS  Enc=Camellia(128) Mac=SHA1
ECDH-RSA-AES128-GCM-SHA256 TLSv1.2 Kx=ECDH/RSA Au=ECDH Enc=AESGCM(128) Mac=AEAD
ECDH-ECDSA-AES128-GCM-SHA256 TLSv1.2 Kx=ECDH/ECDSA Au=ECDH
Enc=AESGCM(128) Mac=AEAD
ECDH-RSA-AES128-SHA256  TLSv1.2 Kx=ECDH/RSA Au=ECDH Enc=AES(128)  Mac=SHA256
ECDH-ECDSA-AES128-SHA256 TLSv1.2 Kx=ECDH/ECDSA Au=ECDH Enc=AES(128)  Mac=SHA256
ECDH-RSA-AES128-SHA SSLv3 Kx=ECDH/RSA Au=ECDH Enc=AES(128)  Mac=SHA1
ECDH-ECDSA-AES128-SHA   SSLv3 Kx=ECDH/ECDSA Au=ECDH Enc=AES(128)  Mac=SHA1
AES128-GCM-SHA256   TLSv1.2 Kx=RSA  Au=RSA  Enc=AESGCM(128) Mac=AEAD
AES128-SHA256   TLSv1.2 Kx=RSA  Au=RSA  Enc=AES(128)  Mac=SHA256
AES128-SHA  SSLv3 Kx=RSA  Au=RSA  Enc=AES(128)  Mac=SHA1
SEED-SHASSLv3 Kx=RSA  Au=RSA  Enc=SEED(128) Mac=SHA1
CAMELLIA128-SHA SSLv3 Kx=RSA  Au=RSA  

Re: Dossier .presage dans le home/user/

2018-08-21 Thread Basile Starynkevitch



On 8/22/18 6:34 AM, Basile Starynkevitch wrote:


On 8/21/18 3:54 PM, Pierre Malard wrote:
Mais la présence d’un .db n’a rien à voir avec le fait d’avoir le 
paquet sqlite3 qui sert à gérer les bases SQLite. Simplement, il y a 
un logiciel/service utilisé qui l’a créé.


Je recommendrais plutôt de commencer par file~/.presage/lm.db pour 
comprendre ce qu'est ce fichier. Ca pourrait être autre chose qu'un 
base SQLite (par exemple, ça pourrait être un fichier indexé pour GDBM).



Typo dans ma commande (espace manquant). Faut lire

   file ~/.presage/lm.db




D'autre part, le logiciel (probablement presage) qui a créé ce fichier 
est probablement du logiciel libre. On pourrait (si on en a l'envie, 
les compétences, et le temps) en étudier le code source.



Cordialement


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



Re: Dossier .presage dans le home/user/

2018-08-21 Thread Basile Starynkevitch



On 8/21/18 3:54 PM, Pierre Malard wrote:
Mais la présence d’un .db n’a rien à voir avec le fait d’avoir le 
paquet sqlite3 qui sert à gérer les bases SQLite. Simplement, il y a 
un logiciel/service utilisé qui l’a créé.


Je recommendrais plutôt de commencer par file~/.presage/lm.db pour 
comprendre ce qu'est ce fichier. Ca pourrait être autre chose qu'un base 
SQLite (par exemple, ça pourrait être un fichier indexé pour GDBM).


D'autre part, le logiciel (probablement presage) qui a créé ce fichier 
est probablement du logiciel libre. On pourrait (si on en a l'envie, les 
compétences, et le temps) en étudier le code source.



Cordialement

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



Re: Sid: please fix dependences of nfs-common

2018-08-21 Thread Marco d'Itri
On Aug 20, Michael Stone  wrote:

> This should probably actually be in the rpcbind package rather than
> nfs-common. Once upon a time, when rpcbind was still portmap, it was
> actually part of netbase so a dependency was unnecessary. But rpcinfo is
And after my slimming cure nowadays netbase is just four small 
configuration files: it has important priority, but it should be 
upgraded to required since a lot of software does not depends on it but 
will break without it.

-- 
ciao,
Marco


signature.asc
Description: PGP signature


Re: painted into a corner

2018-08-21 Thread Gene Heskett
On Tuesday 21 August 2018 23:03:29 David Christensen wrote:

> On 08/21/2018 07:29 PM, Gene Heskett wrote:
> > On Tuesday 21 August 2018 22:08:07 Felix Miata wrote:
> >> Gene Heskett composed on 2018-08-21 20:29 (UTC-0400):
> >>> it will not install grub on anything but /dev/sda.
> >>
> >> I've been scratching my head trying to remember the details of
> >> bootloader installation in debian-installer and coming up nada,
> >> except for somehow being able to specify /dev/null as location, let
> >> it complain about bootloader installation failure, and not have it
> >> corrupt my existing bootloader configuration, which always includes
> >> generic/legacy compatible MBR code.
> >
> > Exactly my concern given the bull in a china shop attitude the
> > installer seems to have.
>
> Are you using the d-i in standard "install" mode, or in "advanced ->
> expert" mode?  The latter gives you much more control.
>
>
> David

I think I tried that on the first attempt, but the acronyms weren't 
familiar. So I backed out.


-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: painted into a corner

2018-08-21 Thread David Christensen

On 08/21/2018 07:29 PM, Gene Heskett wrote:

On Tuesday 21 August 2018 22:08:07 Felix Miata wrote:


Gene Heskett composed on 2018-08-21 20:29 (UTC-0400):

it will not install grub on anything but /dev/sda.


I've been scratching my head trying to remember the details of
bootloader installation in debian-installer and coming up nada, except
for somehow being able to specify /dev/null as location, let it
complain about bootloader installation failure, and not have it
corrupt my existing bootloader configuration, which always includes
generic/legacy compatible MBR code.


Exactly my concern given the bull in a china shop attitude the installer
seems to have.


Are you using the d-i in standard "install" mode, or in "advanced -> 
expert" mode?  The latter gives you much more control.



David




Inscrição

2018-08-21 Thread Edson Copque
Essa mensagem é destinada exclusivamente ao seu destinatário e pode conter
informações confidenciais, protegidas por sigilo profissional ou cuja 
divulgação seja proibida por lei. O uso não autorizado de tais informações é 
proibido e está sujeito às penalidades cabíveis.

This message is intended exclusively for its addressee and may contain 
information that is confidential and protected by a professional privilege or 
whose disclosure is prohibited by law. Unauthorized use of such information is 
prohibited and subject to applicable penalties.

Sent from ProtonMail Mobile

Re: painted into a corner

2018-08-21 Thread Gene Heskett
On Tuesday 21 August 2018 22:08:07 Felix Miata wrote:

> Gene Heskett composed on 2018-08-21 20:29 (UTC-0400):
> > it will not install grub on anything but /dev/sda.
>
> I've been scratching my head trying to remember the details of
> bootloader installation in debian-installer and coming up nada, except
> for somehow being able to specify /dev/null as location, let it
> complain about bootloader installation failure, and not have it
> corrupt my existing bootloader configuration, which always includes
> generic/legacy compatible MBR code.

Exactly my concern given the bull in a china shop attitude the installer 
seems to have.


-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: painted into a corner

2018-08-21 Thread Gene Heskett
On Tuesday 21 August 2018 21:51:36 Jimmy Johnson wrote:

> On 08/21/2018 05:29 PM, Gene Heskett wrote:
> > On Tuesday 21 August 2018 18:33:50 Jimmy Johnson wrote:
> >> On 08/19/2018 12:40 PM, Gene Heskett wrote:
> >>> Greetings all;
> >>>
> >>> I just installed stretch to a fresh 2T HD. letting it
> >>> autopartition and format for separate /, swap, /var and /home
> >>> partitions. But I didn't let it overwrite the grub on the 1st
> >>> drive it was/is  booting wheezy from.
> >>>
> >>> I figured I'd mount it to wheezy and copy over my personal stuff,
> >>> like an email corpus well over 15GB reaching back to 2002.
> >>>
> >>> But I can't mount much of the drive, / is all that will actually
> >>> mount, because the 2 versions of ext4 are incompatible, nearly all
> >>> the mount and e2tools can't touch the installers ext4 file
> >>> systems.
> >>>
> >>> For instance, its not mounted:
> >>> gene@coyote:~$ e2fsck /dev/sdb8
> >>> e2fsck 1.42.5 (29-Jul-2012)
> >>> /dev/sdb8 has unsupported feature(s): metadata_csum
> >>> e2fsck: Get a newer version of e2fsck!
> >>>
> >>> And of course whats installed to wheezy is the latest available
> >>> wheezy version of e2fsck.
> >>>
> >>> Whats the recommended way to do these mounts so I can maintain as
> >>> much continuity as possible?
> >>>
> >>> Thanks all.
> >>
> >> Hi Gene, I've seen this before, a few times. If you run #fdisk -l
> >> while in stretch and get error, you need to fix that first, using
> >> gparted move the ailing partition '1'byte, just one digit larger or
> >> smaller, if you have to shrink another partition, do it '2'bytes.
> >> UUID will not change and it will pass fdisk -l no error.  Now in
> >> wheezy see if you can mount. If not you can disable the checksums.
> >> To disable checksums on an existing filesystem, ensure that the
> >> filesystem will pass fsck. Then turn off metadata_csum via tune2fs.
> >>#tune2fs -O ^metadata_csum /dev/path/to/disk
> >>
> >> The above is for ext4, for repairing partition I use this with
> >> force. #fsck.ext4 -pvcf /dev/sdxx
> >
> > Thanks Jimmy. I haven't gotten that far, as I've done 6 or 7
> > installs today and it will not install grub on anything but
> > /dev/sda.
>
> Run #fdisk -l, only takes a moment...If you have a bad
> partition-table, formatting will not fix it.

It does shut the installer up from complaining about the drive has data 
from an old install though. :) And its too late to restart another 
install tonight.  And I have an appointment with my GP tomorrow to 
discuss the protein levels in my liquid output. So we'll have to see 
what that leads to.


-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Lightening Hit screwed boot sequence on Stretch

2018-08-21 Thread David Christensen

On 08/21/2018 11:26 AM, J.W. Foster wrote:

I have a stock Stretch system actually with  a multiple boot to different hard 
drives via grub2. It has been running well for over a year even longer since I 
rebuilt with new Motherboard and upgraded from Debian 8.I am currently able to 
boot a Windows 10 drive and 2 Debian 9 drives. However the 3rd Debian 9 drive 
which is a server for a Mediawiki website will not boot properly. The weird 
thing is this occurred after we got a power surge that was not cancelled out 
completely by my filtering strips. (Yes I am ordering a UPS) Now the system 
gets to a point where it says it is trying to;  Started update UTMP about 
system runlevel changes. It locks up there and goes no further. I can start the 
boot sequence and get to a repair prompt as root in recovery mode. Problem is I 
have no knowledge of what to do there.  I do have full access to this disk from 
booting into one of the working drives. I just do not want to have to rebuild 
the entire database and Mediawiki server.Any ideas, suggestions, tips whatever, 
 please pass them on to me. I think this is fixable, but have found nada on the 
web that seems exactly to apply.Thanks!John Foster



Lightning and electrical utility surges are dangerous.  If you have any 
doubts about your electrical system, consider hiring a qualified 
electrical contractor to test:


1.  Verify proper electrical system grounding.  Buried electrodes, 
conductors, connections, etc., corrode over time.


2.  Verify the energized, grounded (neutral), and equipment grounding 
(protective earth) connections from all of your sub-panels and outlets 
back to your main panel.  Thermal cycling can work electrical 
connections loose over time (aluminum wiring is notorious for this).



Problems with either of the above will make your electrical system both 
unsafe and more susceptible to lighting and electrical utility surges.



If lightning and/or electrical utility surges are common at your 
location, have the electrical contractor install lightning arresters, 
surge arresters, RF chokes, etc., at your main panel.



Once your electrical system is known good, test your computer hardware.


Buy a PC power supply tester and verify your computer power supply.  For 
example:


https://www.newegg.com/Product/Product.aspx?Item=N82E16899129001


Download, burn to media, and run MemTest+ for 24+ hours to verify your 
CPU, RAM, and motherboard:


http://www.memtest.org/#downiso


Download, install/ burn to media, and run the disk drive manufacturer's 
diagnostic applications for all of your drives to verify the drives. 
Most manufacturers offer such tools; here are some examples:


- Seagate - SeaTools Bootable

https://www.seagate.com/support/downloads/seatools/

- Western Digital - Data Lifeguard Diagnostic

https://support.wdc.com/downloads.aspx?DL

- Intel - SSD Toolbox


https://www.intel.com/content/www/us/en/support/products/80096/memory-and-storage/ssd-software/intel-ssd-toolbox.html


David


Re: painted into a corner

2018-08-21 Thread Felix Miata
Gene Heskett composed on 2018-08-21 20:29 (UTC-0400):

> it will not install grub on anything but /dev/sda.

I've been scratching my head trying to remember the details of bootloader
installation in debian-installer and coming up nada, except for somehow being
able to specify /dev/null as location, let it complain about bootloader
installation failure, and not have it corrupt my existing bootloader
configuration, which always includes generic/legacy compatible MBR code.
-- 
"Wisdom is supreme; therefore get wisdom. Whatever else you
get, get wisdom." Proverbs 4:7 (New Living Translation)

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

Felix Miata  ***  http://fm.no-ip.com/



Re: painted into a corner

2018-08-21 Thread Jimmy Johnson

On 08/21/2018 05:29 PM, Gene Heskett wrote:

On Tuesday 21 August 2018 18:33:50 Jimmy Johnson wrote:


On 08/19/2018 12:40 PM, Gene Heskett wrote:

Greetings all;

I just installed stretch to a fresh 2T HD. letting it autopartition
and format for separate /, swap, /var and /home partitions. But I
didn't let it overwrite the grub on the 1st drive it was/is  booting
wheezy from.

I figured I'd mount it to wheezy and copy over my personal stuff,
like an email corpus well over 15GB reaching back to 2002.

But I can't mount much of the drive, / is all that will actually
mount, because the 2 versions of ext4 are incompatible, nearly all
the mount and e2tools can't touch the installers ext4 file systems.

For instance, its not mounted:
gene@coyote:~$ e2fsck /dev/sdb8
e2fsck 1.42.5 (29-Jul-2012)
/dev/sdb8 has unsupported feature(s): metadata_csum
e2fsck: Get a newer version of e2fsck!

And of course whats installed to wheezy is the latest available
wheezy version of e2fsck.

Whats the recommended way to do these mounts so I can maintain as
much continuity as possible?

Thanks all.


Hi Gene, I've seen this before, a few times. If you run #fdisk -l
while in stretch and get error, you need to fix that first, using
gparted move the ailing partition '1'byte, just one digit larger or
smaller, if you have to shrink another partition, do it '2'bytes. UUID
will not change and it will pass fdisk -l no error.  Now in wheezy see
if you can mount. If not you can disable the checksums. To disable
checksums on an existing filesystem, ensure that the filesystem will
pass fsck. Then turn off metadata_csum via tune2fs.
   #tune2fs -O ^metadata_csum /dev/path/to/disk

The above is for ext4, for repairing partition I use this with force.
   #fsck.ext4 -pvcf /dev/sdxx


Thanks Jimmy. I haven't gotten that far, as I've done 6 or 7 installs
today and it will not install grub on anything but /dev/sda.



Run #fdisk -l, only takes a moment...If you have a bad partition-table, 
formatting will not fix it.

--
Jimmy Johnson

Slackware64 14.2 - Just Say No! To SystemD, Plasma5 & Drugs!
KDE 4.14.32 - AMD A8-7600 - EXT4 at sda9
Registered Linux User #380263



debmirror --checksums - when is this necessary?

2018-08-21 Thread Zenaan Harkness
debmirror has the --checksums option.

Running --checksums on a full x86-64 Debian repo mirror takes a few
hours on my humble box.

Q: does debmirror check the md5sum of a file, immediately when it is
downloaded but before (or immediately after) it is written to disk?

This would seem the most logical thing to do - check the MD5SUM as
written to disk, immediately after writing to disk - which would
spreda the MD5SUM checking load over the download time period, AND
would take advantage (in general) of the most recently downloaded and
saved .deb file still being in the disk/page cache.

The debmirror man page says inter alia the following:

--checksums
  Use checksums to determine if files on the local mirror that
  are the correct size actually have the correct content. Not
  enabled by default, because it is too paranoid, and too slow.
  
  When the state cache is used, debmirror will only check
  checksums during runs where the cache has expired or been
  invalidated, so it is worth considering to use these two
  options together.


The reason this is relevant is that a competent filesystem such as
ZFS, does disk-layer data checksumming anyway, so as long as the
checksum for a particular .deb is right the first time it's written
to disk, debmirror has no need to do such checks thereafter (just use
e.g. zfs scrub etc).

TIA,



Re: painted into a corner

2018-08-21 Thread Michael Stone

On Tue, Aug 21, 2018 at 08:29:12PM -0400, Gene Heskett wrote:

So its off to do the 8th install to the same hard drive today...


Just think of all the time you might not have wasted if you'd just told 
us what the problem was when you tried to mount the partition. Because
what you're trying to do works perfectly well here without all this 
hoop-jumping.


Mike Stone



Re: painted into a corner

2018-08-21 Thread Gene Heskett
On Tuesday 21 August 2018 18:33:50 Jimmy Johnson wrote:

> On 08/19/2018 12:40 PM, Gene Heskett wrote:
> > Greetings all;
> >
> > I just installed stretch to a fresh 2T HD. letting it autopartition
> > and format for separate /, swap, /var and /home partitions. But I
> > didn't let it overwrite the grub on the 1st drive it was/is  booting
> > wheezy from.
> >
> > I figured I'd mount it to wheezy and copy over my personal stuff,
> > like an email corpus well over 15GB reaching back to 2002.
> >
> > But I can't mount much of the drive, / is all that will actually
> > mount, because the 2 versions of ext4 are incompatible, nearly all
> > the mount and e2tools can't touch the installers ext4 file systems.
> >
> > For instance, its not mounted:
> > gene@coyote:~$ e2fsck /dev/sdb8
> > e2fsck 1.42.5 (29-Jul-2012)
> > /dev/sdb8 has unsupported feature(s): metadata_csum
> > e2fsck: Get a newer version of e2fsck!
> >
> > And of course whats installed to wheezy is the latest available
> > wheezy version of e2fsck.
> >
> > Whats the recommended way to do these mounts so I can maintain as
> > much continuity as possible?
> >
> > Thanks all.
>
> Hi Gene, I've seen this before, a few times. If you run #fdisk -l
> while in stretch and get error, you need to fix that first, using
> gparted move the ailing partition '1'byte, just one digit larger or
> smaller, if you have to shrink another partition, do it '2'bytes. UUID
> will not change and it will pass fdisk -l no error.  Now in wheezy see
> if you can mount. If not you can disable the checksums. To disable
> checksums on an existing filesystem, ensure that the filesystem will
> pass fsck. Then turn off metadata_csum via tune2fs.
>   #tune2fs -O ^metadata_csum /dev/path/to/disk
>
> The above is for ext4, for repairing partition I use this with force.
>   #fsck.ext4 -pvcf /dev/sdxx

Thanks Jimmy. I haven't gotten that far, as I've done 6 or 7 installs 
today and it will not install grub on anything but /dev/sda.

So now I've swapped the drives so that the new one is sda and this one 
I'm booted from is now sdb, and am about to reformat it to suit me with 
wheezy's gparted, then try another install. Broken damned installers. 
After the last try, I rebooted to the dvd in live mode, thinking I could 
do a grub-install from there, only to find that that boot had no trace 
of the grub tools.

What a revoltin development that was!

Damned dvd has 3+ gigs of empty space and they can't find room for grub2 
tools?  Good Grief, they're staying up nights trying to make a stretch 
install come up broken on the reboot.

I'll be useing my bigger lathe to make a big piss-elm club, same one I'll 
use on the next person that thinks north of 70 yo is the golden years. 
I'll call it my educational club. ;-)

So its off to do the 8th install to the same hard drive today...

-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: connecting to two networks simultaneously on buster

2018-08-21 Thread Zenaan Harkness
On Tue, Aug 21, 2018 at 11:08:10PM +0100, Eric S Fraga wrote:
> On Tuesday, 21 Aug 2018 at 16:58, Glenn English wrote:
> > On Tue, Aug 21, 2018 at 3:39 PM Eric S Fraga  wrote:
> >
> >> Would somebody please point me to the right magical incantation that
> >> would allow my desktop computer to have both connections active
> >> simultaneously?
> >
> > I've done that on a couple boxes here -- a laptop (WiFi and an
> > Ethernet) and a workstation (2 Ethernets)
> >
> > On both of them, I wrote a /etc/network/interfaces script to give an
> > IP to the Ethernet and start at boot. The others are DHCP and don't
> > come on at boot.
> 
> Thanks.  I added a few lines to /e/n/i and everything works just fine
> now.  The actual lines are
> 
> ,
> | # the USB network for my Gemini
> | auto enp0s29u1u1
> | iface enp0s29u1u1 inet static
> |   address 10.15.19.80
> `
> 
> and I simply "sudo ifup enp0s29u1u1" when I need it.
> 
> But I still do not understand why it works automatically on one of the
> systems but not the other.  One of those mysteries, I guess.

Static configuration is by necessity (basically) custom setup - i.e.
requires manual intervention.

Automatic means the above /e/n/i lines would look like this instead:

# the USB network for my Gemini
auto enp0s29u1u1
iface enp0s29u1u1 inet dhcp


But of course for network-manager, it would by default use dhcp, and
you would not manually configure for DHCP in your /e/n/i file.

Always remember you can do an in-foreground one shot DHCP like so:

sudo dhclient -d enp0s29u1u1

which has the benefit that you can easily kill it as desired with a
CTRL-c, AND you can monitor its output immediately, AND you will see
immediately if you got the device/ interface name wrong. What's not
to like?

Good luck,



Re: Installer Redmine sur Debian

2018-08-21 Thread G2PC
Le 22/08/2018 à 01:05, Sébastien Dinot a écrit :
> G2PC a écrit :
>> Par contre, cela ne m'explique pas pourquoi d'autres tutoriels créent
>> l'utilisateur redmine dans le groupe redmine.
>> Eux, n'abordent pas le fait de changer la variable d'environnement
>> APACHE_RUN_GROUP
> Dans ce cas, c'est qu'ils font comme moi :
>
> - Apache Httpd tourne sous l'identité www-data
> - Redmine tourne sous l'identité redmine
> - le module Phusion Passenger fait le lien entre Redmine et Apache et
>   pour que cela fonctionne, on ajoute les directives suivantes dans le
>   fichier de configuration du VirtualHost d'Apache Httpd :
>
>   PassengerUserSwitching on
>   PassengerUser  redmine
>   PassengerGroup redmine
>
> C'est ce que je décris dans mon wiki.
>
> Sébastien

Super !!!
Je pense que tu as vu juste, et, que les quelques tutoriaux qui ont été
rédigés l'ont été trop vite.


J'aurais encore deux questions.

Je vois sur ton wiki que quand tu crées un compte utilisateur système
nommé redmine, le répertoire d'accueil est|/opt/redmine|
Peux tu m'expliquer si /opt/ est un chemin standard, et, pourquoi mettre
l'utilisateur ici ?
C'est peut être à cet endroit que vont les utilisateurs système en général ?

Est ce dangereux de créer un utilisateur système pour utiliser Redmine,
dans un précédent échange, on m'a conseillé de ne pas le faire car cet
utilisateur aurait trop de droits.


Il faut que je vérifie quel est le port utilisé par redmine de façon
standard, je suppose que c'est le port 80.
Enfin, en lisant ton wiki, je vois que tu places ta règle pour être en
écoute du port 443. Je n'ai pas encore tenté de sécuriser ça de mon côté.

Je vais tester ta proposition qui devrait me permettre de donner les
fichiers du programme au groupe redmine.

Merci pour ton retour.
Bonne journée.

Bernard



Re: What's the right way to get an unbroken mc package installed in Stretch

2018-08-21 Thread Zenaan Harkness
On Tue, Aug 21, 2018 at 01:46:08PM -0400, Felix Miata wrote:
> Greg Wooledge composed on 2018-08-21 08:55 (UTC-0400):
> 
> > On Tue, Aug 21, 2018 at 08:36:30AM -0400, bw wrote:
> 
> >> On Mon, 20 Aug 2018, Felix Miata wrote:
> 
> >> > I configured stretch-backports in sources.list, but apparently
> >> > it has no newer mc version available. 4.8.21 is on the mirrors, so I 
> >> > downloaded
> >> > it from a mirror and installed it with dpkg. It works fine, but now apt 
> >> > is
> >> > broken
> 
> > https://wiki.debian.org/DontBreakDebian
> 
> I know. I was tired after hours of Google offering Debian hits on *ubuntu.* 
> URLs
> instead of debian.org, not finding anything specific on debian.org, and
> rebooting the USB stick I was trying to get configured with Stretch-based 
> Slax,
> which apparently has no detectable web forum or mailing list. With having
> already installed unbroken mc packages successfully on other Stretch
> installations I was puzzled by the "added" mc 4.28.21 deps:
> 
> e2fslibs_1.44.3-1_amd64.deb
> e2fsprogs_1.44.3-1_amd64.deb
> gpm_1.20.7-5_amd64.deb
> libcom-err2_1.44.3-1_amd64.deb
> libcomerr2_1.44.3-1_amd64.deb
> libext2fs2_1.44.3-1_amd64.deb
> libgpm2_1.20.7-5_amd64.deb
> 
> >> >From what I have read, the way to do it would be backport the necessary 
> >> pkgs yourself from testing.  
> 
> > And the procedure for doing this is at
> > . 
> 
> That starts with:
>   
>   1-Install Debian packaging tools
> then
>   7-build...
> 
> so for me it is a no go.

If something like this comes up in the future, you might consider
either a VM, loopback filesystem in a sparse file, or just plain
separate folder (ZFS filesystems are nice for this sort of thing),
into which you install a minimal sid installation, for building stuff
you need. Also, that way you can also do things like static builds -
i.e. eliminiate dependencies by having all the dependencies built
right into the binary at issue, so you only have one (custom) deb
package to install (and not all its dependencies).

Even if you run sid as your main workstation/desktop (as many do),
having a separate build environment keeps all the build-depends (and
-docs etc) isolated from your "workstation" install.

Good luck,


> > The IRC bots have a
> > simplified recipe as well, under the factoid name "simple sid backport"
> > or "ssb" for short.
> 
> /topic at irc://freenode/#debian makes no mention of ssb.
> 
> https://www.google.com/search?q=irc+bots+ssd=utf-8=utf-8=t=org.mozilla:en-US:unofficial
> looks unhelpful.
> 
> What do you mean by IRC bots?
> -- 
> "Wisdom is supreme; therefore get wisdom. Whatever else you
> get, get wisdom." Proverbs 4:7 (New Living Translation)
> 
>  Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
> 
> Felix Miata  ***  http://fm.no-ip.com/
> 



Re: Installer Redmine sur Debian

2018-08-21 Thread Sébastien Dinot
G2PC a écrit :
> Par contre, cela ne m'explique pas pourquoi d'autres tutoriels créent
> l'utilisateur redmine dans le groupe redmine.
> Eux, n'abordent pas le fait de changer la variable d'environnement
> APACHE_RUN_GROUP

Dans ce cas, c'est qu'ils font comme moi :

- Apache Httpd tourne sous l'identité www-data
- Redmine tourne sous l'identité redmine
- le module Phusion Passenger fait le lien entre Redmine et Apache et
  pour que cela fonctionne, on ajoute les directives suivantes dans le
  fichier de configuration du VirtualHost d'Apache Httpd :

  PassengerUserSwitching on
  PassengerUser  redmine
  PassengerGroup redmine

C'est ce que je décris dans mon wiki.

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: "accept_ra 1" vs "accept_ra 2" in interfaces configuration-file

2018-08-21 Thread Andy Smith
Hi Martin,

On Wed, Aug 22, 2018 at 01:06:32AM +0300, Martin T wrote:
> In addition, "accept_ra" with a value of 2 should ensure that RA
> messages are accepted even if forwarding for that interface is
> enabled, shouldn't it?

Yes, it should.

That's the way it's documented and our use case is what it's meant
to serve, so if it's not behaving that way for you then I think it
is a bug and should be reported upstream in the kernel bugzilla.

Cheers,
Andy



Re: painted into a corner

2018-08-21 Thread Jimmy Johnson

On 08/21/2018 10:28 AM, David Wright wrote:

On Mon 20 Aug 2018 at 18:13:22 (-0700), Jimmy Johnson wrote:

On 08/20/2018 01:28 PM, Gene Heskett wrote:

On Monday 20 August 2018 11:23:00 Andrew McGlashan wrote:


On 20/08/18 05:40, Gene Heskett wrote:

Whats the recommended way to do these mounts so I can maintain as
much continuity as possible?


Those other areas, are they logical volumes perhaps?  lvms.


No, straight partitions according to gparted.


Hi Gene, I've seen this before, a few times.


It might be useful for posterity to explain what it is in Gene's
extensive posts that you've seen before and which demands such
actions as "described" below.



Thanks David, I thought I was replaying to the first post, I tried again.


If you run #fdisk -l
while in stretch and get error, you need to fix that first, using
gparted move the ailing partition '1'byte, just one digit larger or
smaller, if you have to shrink another partition, do it '2'bytes.
UUID will not change and it will pass fdisk -l no error.  Now in
wheezy see if you can mount.  If not you can disable the checksums.
To disable checksums on an existing filesystem, ensure that the
filesystem will pass fsck. Then turn off metadata_csum via tune2fs.
  #tune2fs -O ^metadata_csum /dev/path/to/disk

The above is for ext4, for repairing partition I use this with force.
  #fsck.ext4 -pvcf /dev/sdxx


Cheers,
David.




--
Jimmy Johnson

Devuan Jessie - KDE 4.14.2 - AMD A8-7600 - EXT4 at sda2
Registered Linux User #380263



Re: painted into a corner

2018-08-21 Thread Jimmy Johnson

On 08/19/2018 12:40 PM, Gene Heskett wrote:

Greetings all;

I just installed stretch to a fresh 2T HD. letting it autopartition and
format for separate /, swap, /var and /home partitions. But I didn't let
it overwrite the grub on the 1st drive it was/is  booting wheezy from.

I figured I'd mount it to wheezy and copy over my personal stuff, like an
email corpus well over 15GB reaching back to 2002.

But I can't mount much of the drive, / is all that will actually mount,
because the 2 versions of ext4 are incompatible, nearly all the mount
and e2tools can't touch the installers ext4 file systems.

For instance, its not mounted:
gene@coyote:~$ e2fsck /dev/sdb8
e2fsck 1.42.5 (29-Jul-2012)
/dev/sdb8 has unsupported feature(s): metadata_csum
e2fsck: Get a newer version of e2fsck!

And of course whats installed to wheezy is the latest available wheezy
version of e2fsck.

Whats the recommended way to do these mounts so I can maintain as much
continuity as possible?

Thanks all.



Hi Gene, I've seen this before, a few times. If you run #fdisk -l while 
in stretch and get error, you need to fix that first, using gparted move 
the ailing partition '1'byte, just one digit larger or smaller, if you 
have to shrink another partition, do it '2'bytes. UUID will not change 
and it will pass fdisk -l no error.  Now in wheezy see if you can mount. 
 If not you can disable the checksums. To disable checksums on an 
existing filesystem, ensure that the filesystem will pass fsck. Then 
turn off metadata_csum via tune2fs.

 #tune2fs -O ^metadata_csum /dev/path/to/disk

The above is for ext4, for repairing partition I use this with force.
 #fsck.ext4 -pvcf /dev/sdxx
--
Jimmy Johnson

Devuan Jessie - KDE 4.14.2 - AMD A8-7600 - EXT4 at sda2
Registered Linux User #380263



Re: Mail delivery system

2018-08-21 Thread Mariusz Ptaķ
Witam i ja serdecznie, nie bardzo wiem co jest powiązane z twoją skrzynką. 
Pozdrawiam :) 


Dnia 21 sierpnia 2018 23:25:15 CEST, Szymon Salewski 
 napisał(a):
>Witam serdecznie. Mam mały problem gdyż jest to powiązane z moja
>skrzynka gmail.
>Z poważaniem Salewski Szymon 
>
>Wysłane z iPhone'a

-- M.P.

Re: "accept_ra 1" vs "accept_ra 2" in interfaces configuration-file

2018-08-21 Thread Martin T
On Tue, Aug 21, 2018 at 1:23 AM Andy Smith  wrote:
>
> Hi Martin,
>
> On Mon, Aug 20, 2018 at 03:58:36PM +0300, Martin T wrote:
> > On Mon, Aug 20, 2018 at 7:55 AM Andy Smith  wrote:
> > > Back in 2011 this was a hard-won battle:
> > >
> > > 
> > > http://strugglers.net/~andy/blog/2011/09/04/linux-ipv6-router-advertisements-and-forwarding/
>
> […]
>
> > Thanks for this very informative blog post! However, setting the
> > "net.ipv6.conf.all.forwarding" to 1 in /etc/sysctl.conf and
> > "accept_ra" to 2 in /etc/network/interfaces for ISP facing
> > interface(eth0) didn't work for me. I expected SLAAC to work, but it
> > didn't. I'm running kernel version 4.9.0.
>
> Strange. I've had a look and it seems I continued to use the
> workaround mentioned in the blog post even though supposedly I no
> longer need to. If you use that workaround, does it (SLAAC) start
> working for you?
>
> Also, is it just address assignment that doesn't work or is it also
> default router assignment that doesn't work? On my servers that
> forward v6 I don't use dynamic assignment of addresses, I statically
> assign them, but I do use dynamic assignment of default route.
>
> Cheers,
> Andy
>

Hi Andy,


Thanks for your reply!

> If you use that workaround, does it (SLAAC) start working for you?

Do you mean the pre-up statements in /etc/network/interfaces? If yes,
then with those workarounds the SLAAC works, i.e I get the default
route. My ISP-facing interface is eth0 and it has forwarding disabled:

# cat /proc/sys/net/ipv6/conf/eth0/forwarding
0
#


Rest of the options are set:

# cd /proc/sys/net/ipv6/conf/
# cat default/forwarding
1
# cat all/forwarding
1
# cat eth0/accept_ra
2
# cat all/accept_ra
1
# cat default/accept_ra
1
#


However, I quite do not understand how returned IPv6 traffic(ingress
traffic to eth0) is routed to my LAN-facing interface when I have
disabled it in /proc/sys/net/ipv6/conf/eth0/forwarding? If I do the
same for IPv4 traffic(echo 0 >
/proc/sys/net/ipv4/conf/eth0/forwarding), then returned traffic is
dropped because forwarding for eth0 is disabled. In addition,
"accept_ra" with a value of 2 should ensure that RA messages are
accepted even if forwarding for that interface is enabled, shouldn't
it?

> Also, is it just address assignment that doesn't work or is it also
> default router assignment that doesn't work? On my servers that
> forward v6 I don't use dynamic assignment of addresses, I statically
> assign them, but I do use dynamic assignment of default route.

I have exactly the same case. I use dynamic assignment only for
default route and this doesn't work even if "accept_ra" has a value of
2.


thanks,
Martin



Re: connecting to two networks simultaneously on buster

2018-08-21 Thread Eric S Fraga
On Tuesday, 21 Aug 2018 at 16:58, Glenn English wrote:
> On Tue, Aug 21, 2018 at 3:39 PM Eric S Fraga  wrote:
>
>> Would somebody please point me to the right magical incantation that
>> would allow my desktop computer to have both connections active
>> simultaneously?
>
> I've done that on a couple boxes here -- a laptop (WiFi and an
> Ethernet) and a workstation (2 Ethernets)
>
> On both of them, I wrote a /etc/network/interfaces script to give an
> IP to the Ethernet and start at boot. The others are DHCP and don't
> come on at boot.

Thanks.  I added a few lines to /e/n/i and everything works just fine
now.  The actual lines are

,
| # the USB network for my Gemini
| auto enp0s29u1u1
| iface enp0s29u1u1 inet static
|   address 10.15.19.80
`

and I simply "sudo ifup enp0s29u1u1" when I need it.

But I still do not understand why it works automatically on one of the
systems but not the other.  One of those mysteries, I guess.

-- 
Eric S Fraga via Emacs 27.0.50 & org 9.1.13 on Debian buster/sid



Re: Encrypted containers & the Debian installer. - Works now.

2018-08-21 Thread 21naown

Le 23/05/2018 à 09:56, Diagonal Arg a écrit :

On 05/23/2018 12:36 AM, Diagonal Arg wrote:

On 05/22/2018 05:06 AM, 21na...@gmail.com wrote:

Le 16/05/2018 à 08:05, Diagonal Arg a écrit :

On my first tries with the Debian installer, I am struggling with the
limited resources for installing to encrypted disks.  I am using the
same technique I have used with Ubuntu, but failing at the last step:

I create my luks disk(s) before-hand, then run the installer.  I find
I have to anna-install cryptsetup-udeb, as there is no such choice in
"Load Installer Modules".  Dropping to a shell, opening the disk, and
re-detecting hard drives allows me to carry out the installation (as
long as there's a filesystem in the mapped device), but on reboot I'm
at an initramfs without cryptsetup.  So I use a debian-live to pivot
into the system to create a crypttab.  I find I also have to install
cryptsetup.  Then I run update-initramfs.  Here is where I'm stuck.
The new initramfs still does not include cryptsetup.  Why is it not
recognizing the crypttab?

I have tried other approaches eg, during installation doing adding an
apt-install cryptsetup (after "Select and Install Software") and then
editing crypttab, but to no avail.

/D

PS.  I pivot like this, in case I'm missing something:

mount root & boot devices in /target
for f in dev dev/pts sys proc; do sudo mount -B /$f /target/$f; done
chroot /target


Hello,

In the file “/etc/cryptsetup-initramfs/conf-hook”, there is a line
“CRYPTSETUP” which is commented and/or has the default value “n”. If
this is the case, replace the line with “CRYPTSETUP=y”. So, the next use
of the command “update-initramfs” should solve your problem if I
understood it correctly.

[...]

Thank you!  Cryptsetup is now in my initramfs.  I am close, but there
still remains one issue.  When updating the initramfs, I get:

cryptsetup: WARNING: root target luks.root uses a key file, skipped

But it doesn't use a key file.  My cryptsetup is:
luks.root   UUID=xxxpwd luks

And my fstab contains:
/dev/mapper/luks.root   /   btrfs   defaults0   0

When I boot the system, I drop into initramfs.  There, I can open the
root disk myself and continue the boot process.

/D

Oops!  It's not "pwd" in the crypttab, it's "none"!

Works now.  Yay, yay!!  :)

Thanks so much.

/D


Sorry for the huge delay.

You’re welcome :)



Mail delivery system

2018-08-21 Thread Szymon Salewski
Witam serdecznie. Mam mały problem gdyż jest to powiązane z moja skrzynka gmail.
Z poważaniem Salewski Szymon 

Wysłane z iPhone'a


Re: Wanted - Debian(preferred)/Linux handheld

2018-08-21 Thread Fred

On 08/21/2018 01:08 PM, Richard Owlett wrote:

On 08/21/2018 02:35 PM, Nicholas Geovanis wrote:
On Mon, Aug 20, 2018 at 12:29 PM Richard Owlett  
wrote:


I also stated I wished to avoid Amazon and Ebay.
  From when they both first opened I couldn't figure what there role is
in a transaction like this.


I would think that "profiteering-middleman" fits Amazon and Ebay here.
Apparently they don't make your life sufficiently easier to justify
the pound of flesh nearest
your heart (I mean, the profit margin...) as they do for most others.
All the hippies would
be around your age now, right? FYI that wasn't a value judgement


I be of that generation, but not of them 
My problem with their model is I don't know whom I dealing with.
Locally we have brick-n-mortar dens renting space o entrepreneur.
If you see something you pay landlord. WHO is responsible for customer 
satisfaction and/or import licenses etc.


If you wish to use a device in USA, it at minimum must meet UL and FCC 
regs. I was on the supplier end of that chain and doubt things have 
become less onerous ;/ Also who is responsible for meeting import regs 
and fees.


I have additional concerns. But covers High points.


Hi,
You won't have any problem ordering from amazon.co.uk.  I have ordered 
from them many times.  You don't have to worry about UL and FCC regs.  
European safety regs. are likely more stringent than US regs.  Import 
licenses apparently don't apply.

Try it.  You'll like it!
Best regards,
Fred



Re: Xindy package for stretch

2018-08-21 Thread Brian
On Tue 21 Aug 2018 at 21:52:47 +0200, juh wrote:

> Am Tue, Aug 21, 2018 at 03:48:13PM -0400 schrieb Cindy-Sue Causey:
> > On 8/21/18, juh  wrote:
> > > Hi,
> > >
> > > I cannot find the xindy debian package for stretch.
> > >
> > > Any hints, where I can find a deb?
> > 
> > 
> > I just tried an online package search:
> > 
> > https://packages.debian.org/search?keywords=xindy
> > 
> > It's out there. Query results unfortunately support you by showing
> > it's just not in Stretch Stable. :)
> > 
> 
> Yes, I know. I searched there, too.

https://tracker.debian.org/pkg/xindy

 [2014-08-26] xindy REMOVED from testing (Britney)

Entered unstable

 [2017-10-22] Accepted xindy 2.5.1.20160104-4 (source amd64 all) into unstable 
(Norbert Preining)

Entered testing:

 [2017-10-29] xindy 2.5.1.20160104-4 MIGRATED to testing (Debian testing watch)

Too late to get into stretch.

-- 
Brian.



Re: Wanted - Debian(preferred)/Linux handheld

2018-08-21 Thread Nicholas Geovanis
On Tue, Aug 21, 2018 at 3:09 PM Richard Owlett  wrote:
>
> I be of that generation, but not of them 

Nonsense. The right-wing result was inherent in hippieness too.
Look at America.

> If you wish to use a device in USA, it at minimum must meet UL and FCC
> regs. I was on the supplier end of that chain and doubt things have
> become less onerous ;/ Also who is responsible for meeting import regs
> and fees.

I worked next door to UL Labs north of Chicago. I'm glad they do what they do.
We have only the insurance companies to protect us (hah) from
defective products.
We won't need regulations when all businessmen are angels :-D



Re: Dossier .presage dans le home/user/

2018-08-21 Thread G2PC

> Mais la présence d’un .db n’a rien à voir avec le fait d’avoir le
> paquet sqlite3 qui sert à gérer les bases SQLite. Simplement, il y a
> un logiciel/service utilisé qui l’a créé.
> C’est pourquoi il est pertinent de regarder ce que contient cette base
> et, en faisant une petite recherche sur un site de recherche, on
> trouve vite ceci :
> presage  (0.9.1-2.1+b1)
> intelligent predictive text entry platform (tools and demos)
> presage-dbg
>  (0.9.1-2.1+b1)
> intelligent predictive text entry platform (tools debugging symbols)
>
> https://packages.debian.org/stable/allpackages

Effectivement, j'ai bien lu cette information.
Je suppose que ce paquet a été installé avec Lutris, sans certitude.
Je cherche à savoir si je peux le désinstaller, ou, si il s'agit d'un
paquet installé directement avec Debian ce dont je doute.

Je vais tenter d'ouvrir le fichier pour voir son contenu, je saurais
peut être alors pourquoi il a été installé.


Re: Wanted - Debian(preferred)/Linux handheld

2018-08-21 Thread Richard Owlett

On 08/21/2018 02:35 PM, Nicholas Geovanis wrote:

On Mon, Aug 20, 2018 at 12:29 PM Richard Owlett  wrote:


I also stated I wished to avoid Amazon and Ebay.
  From when they both first opened I couldn't figure what there role is
in a transaction like this.


I would think that "profiteering-middleman" fits Amazon and Ebay here.
Apparently they don't make your life sufficiently easier to justify
the pound of flesh nearest
your heart (I mean, the profit margin...) as they do for most others.
All the hippies would
be around your age now, right? FYI that wasn't a value judgement


I be of that generation, but not of them 
My problem with their model is I don't know whom I dealing with.
Locally we have brick-n-mortar dens renting space o entrepreneur.
If you see something you pay landlord. WHO is responsible for customer 
satisfaction and/or import licenses etc.


If you wish to use a device in USA, it at minimum must meet UL and FCC 
regs. I was on the supplier end of that chain and doubt things have 
become less onerous ;/ Also who is responsible for meeting import regs 
and fees.


I have additional concerns. But covers High points.






Re: Lightening Hit screwed boot sequence on Stretch

2018-08-21 Thread cyaiplexys

On 08/21/2018 02:26 PM, J.W. Foster wrote:
I have a stock Stretch system actually with  a multiple boot to 
different hard drives via grub2. It has been running well for over a 
year even longer since I rebuilt with new Motherboard and upgraded from 
Debian 8.I am currently able to boot a Windows 10 drive and 2 Debian 9 
drives. However the 3rd Debian 9 drive which is a server for a Mediawiki 
website will not boot properly. The weird thing is this occurred after 
we got a power surge that was not cancelled out completely by my 
filtering strips. (Yes I am ordering a UPS) Now the system gets to a 
point where it says it is trying to;  Started update UTMP about system 
runlevel changes.
  It locks up there and goes no further. I can start the boot sequence 
and get to a repair prompt as root in recovery mode. Problem is I have 
no knowledge of what to do there.  I do have full access to this disk 
from booting into one of the working drives. I just do not want to have 
to rebuild the entire database and Mediawiki server.
Any ideas, suggestions, tips whatever,  please pass them on to me. I 
think this is fixable, but have found nada on the web that seems exactly 
to apply.

Thanks!
John Foster


I think the very first thing I would do when in the recovery prompt is 
to use 'fsck' and see if there are errors (maybe something got 
corrupted) and go from there.


Also it could be that particular drive may be damaged from the power surge.



Re: Xindy package for stretch

2018-08-21 Thread juh
Am Tue, Aug 21, 2018 at 03:48:13PM -0400 schrieb Cindy-Sue Causey:
> On 8/21/18, juh  wrote:
> > Hi,
> >
> > I cannot find the xindy debian package for stretch.
> >
> > Any hints, where I can find a deb?
> 
> 
> I just tried an online package search:
> 
> https://packages.debian.org/search?keywords=xindy
> 
> It's out there. Query results unfortunately support you by showing
> it's just not in Stretch Stable. :)
> 

Yes, I know. I searched there, too.

juh

-- 
Autoren-Homepage: . http://literatur.hasecke.com
Satiren & Essays: . http://www.sudelbuch.de
Privater Blog:  http://www.hasecke.eu
Netzliteratur-Projekt:  http://www.generationenprojekt.de




Re: Xindy package for stretch

2018-08-21 Thread Cindy-Sue Causey
On 8/21/18, juh  wrote:
> Hi,
>
> I cannot find the xindy debian package for stretch.
>
> Any hints, where I can find a deb?


I just tried an online package search:

https://packages.debian.org/search?keywords=xindy

It's out there. Query results unfortunately support you by showing
it's just not in Stretch Stable. :)

Cindy :)
-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* runs with duct tape *



Re: Wanted - Debian(preferred)/Linux handheld

2018-08-21 Thread Nicholas Geovanis
On Mon, Aug 20, 2018 at 12:29 PM Richard Owlett  wrote:
>
> I also stated I wished to avoid Amazon and Ebay.
>  From when they both first opened I couldn't figure what there role is
> in a transaction like this.

I would think that "profiteering-middleman" fits Amazon and Ebay here.
Apparently they don't make your life sufficiently easier to justify
the pound of flesh nearest
your heart (I mean, the profit margin...) as they do for most others.
All the hippies would
be around your age now, right? FYI that wasn't a value judgement



Re: Microsoft Does It Again

2018-08-21 Thread Reco
Hi.

On Tue, Aug 21, 2018 at 03:11:55PM -0400, Stephen P. Molnar wrote:
> 
> 
> On 08/21/2018 12:02 PM, Stephen P. Molnar wrote:
> > 
> > 
> > On 08/21/2018 11:48 AM, to...@tuxteam.de wrote:
> > > -BEGIN PGP SIGNED MESSAGE-
> > > Hash: SHA1
> > > 
> > > On Tue, Aug 21, 2018 at 11:14:48AM -0400, Stephen P. Molnar wrote:
> > > > I'm not trying to start a flame war or bash Microsoft [...]
> > > No worries: I won't try to stop you.
> > > 
> > > > For reasons unbeknownst to me, somehow it got saved as an Excel
> > > > OOXML file [...]
> > > Go figure. There are masochists out there, aren't there ;-)
> > > 
> > > > [...] Contacting Microsoft Customer Service resulted in
> > > > instructions to upgrade Excel to the current version.  THere is no
> > > > way that I will spend the money to implement that suggestion.
> > > Bah. Microsoft at its best. "Trust us", says Nadella.
> > > 
> > > > Is there a Linux application that will allow me to recover the
> > > > contents of the file?
> > > As others have said, LibreOffice should do. I don't know about xlsx2csv,
> > > but an apt search on my box yields
> > > 
> > >tomas@trotzki:~$ apt search ooxml
> > >Sorting... Done
> > >Full Text Search... Done
> > >docx2txt/stable,stable,stable 1.4-0.1 all
> > >  Convert Microsoft OOXML files to plain text
> > >   libapache-poi-java/stable,stable,stable 3.10.1-3 all
> > >  Apache POI - Java API for Microsoft Documents
> > >   libapache-poi-java-doc/stable,stable,stable 3.10.1-3 all
> > >  Apache POI - Java API for Microsoft Documents (Documentation)
> > >   libexcel-writer-xlsx-perl/stable,stable,stable 0.95-1 all
> > >  module to create Excel spreadsheets in xlsx format
> > >   unoconv/stable,stable,stable 0.7-1.1 all
> > >  converter between LibreOffice document formats
> > > 
> > > Unoconv is the machinery behind LibreOffice import; there's docx2txt,
> > > which I don't know personally, and Perl's libexcel-writer-xlsx-perl,
> > > which I have used to good effect (some assembly required, but if you
> > > want to build it into some automatic workflow it might be your cup
> > > of tea). No idea about the java thingies.
> > > 
> > > Lots of choice :-)
> > > 
> > > Cheers
> > > - -- tomás
> > > -BEGIN PGP SIGNATURE-
> > > Version: GnuPG v1.4.12 (GNU/Linux)
> > > 
> > > iEYEARECAAYFAlt8NE8ACgkQBcgs9XrR2kaFBQCbBQky3qzgdbjxa/ENuwU88gPb
> > > Kl0An3o7wxkhWsfusgiFbpbhCi3NYC/R
> > > =ZnsD
> > > -END PGP SIGNATURE-
> > > 
> > > 
> > Many thanks to all who responded.
> > 
> > LibreOffice did it!!
> > 
> Sadly, I was mistaken.  I opened the wrong file.  LibreOffice wouldn't open
> the corrupted file.

apt-get install xlsx2csv

Reco



Re: Microsoft Does It Again

2018-08-21 Thread Stephen P. Molnar




On 08/21/2018 12:02 PM, Stephen P. Molnar wrote:



On 08/21/2018 11:48 AM, to...@tuxteam.de wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Aug 21, 2018 at 11:14:48AM -0400, Stephen P. Molnar wrote:

I'm not trying to start a flame war or bash Microsoft [...]

No worries: I won't try to stop you.


For reasons unbeknownst to me, somehow it got saved as an Excel
OOXML file [...]

Go figure. There are masochists out there, aren't there ;-)


[...] Contacting Microsoft Customer Service resulted in
instructions to upgrade Excel to the current version.  THere is no
way that I will spend the money to implement that suggestion.

Bah. Microsoft at its best. "Trust us", says Nadella.


Is there a Linux application that will allow me to recover the
contents of the file?

As others have said, LibreOffice should do. I don't know about xlsx2csv,
but an apt search on my box yields

   tomas@trotzki:~$ apt search ooxml
   Sorting... Done
   Full Text Search... Done
   docx2txt/stable,stable,stable 1.4-0.1 all
 Convert Microsoft OOXML files to plain text
  libapache-poi-java/stable,stable,stable 3.10.1-3 all
 Apache POI - Java API for Microsoft Documents
  libapache-poi-java-doc/stable,stable,stable 3.10.1-3 all
 Apache POI - Java API for Microsoft Documents (Documentation)
  libexcel-writer-xlsx-perl/stable,stable,stable 0.95-1 all
 module to create Excel spreadsheets in xlsx format
  unoconv/stable,stable,stable 0.7-1.1 all
 converter between LibreOffice document formats

Unoconv is the machinery behind LibreOffice import; there's docx2txt,
which I don't know personally, and Perl's libexcel-writer-xlsx-perl,
which I have used to good effect (some assembly required, but if you
want to build it into some automatic workflow it might be your cup
of tea). No idea about the java thingies.

Lots of choice :-)

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

iEYEARECAAYFAlt8NE8ACgkQBcgs9XrR2kaFBQCbBQky3qzgdbjxa/ENuwU88gPb
Kl0An3o7wxkhWsfusgiFbpbhCi3NYC/R
=ZnsD
-END PGP SIGNATURE-



Many thanks to all who responded.

LibreOffice did it!!

Sadly, I was mistaken.  I opened the wrong file.  LibreOffice wouldn't 
open the corrupted file.


--
Stephen P. Molnar, Ph.D.
Consultant
www.molecular-modeling.net
(614)312-7528 (c)
Skype: smolnar1



Re: Data Recovery

2018-08-21 Thread Reco
Hi.

On Tue, Aug 21, 2018 at 11:36:20AM -0500, Josh W. wrote:
> Hello World of Debian,
> I was trying to setup a shared folder between my Debian Stretch
> system and my Raspberry Pi. I had created an "/export & /export/users
> directory" and had bound it to my "/home/users" directory. I had given up
> on the idea of sharing between the two OSes, because i was frustated and
> deleted my "/export/users" directory not thinking that it was still bound
> to my "/home/users" directory. When i deleted the "/export/users" directory
> it took my "/home/users" directory with it. So my question is, How can i
> recovery the lost data. What would be the best route to take in order to
> recover my personal files? Your help is Very Much Needed!

1) Immediately shut down Raspberry Pi.

2) Make block-level image copy of SD card. Do not do the following on SD
card itself!

3) Mount a filesystem from said copy on a Debian PC (can be substituted
with any GNU/Linux PC).

4) Install testdisk on a Debian PC.

5) Run photorec as root on a filesystem from pt 3.

6) Consider doing regular filesystem backups in the future, preferably
automatic ones.

Reco



Lightening Hit screwed boot sequence on Stretch

2018-08-21 Thread J.W. Foster
I have a stock Stretch system actually with  a multiple boot to different hard 
drives via grub2. It has been running well for over a year even longer since I 
rebuilt with new Motherboard and upgraded from Debian 8.I am currently able to 
boot a Windows 10 drive and 2 Debian 9 drives. However the 3rd Debian 9 drive 
which is a server for a Mediawiki website will not boot properly. The weird 
thing is this occurred after we got a power surge that was not cancelled out 
completely by my filtering strips. (Yes I am ordering a UPS) Now the system 
gets to a point where it says it is trying to;  Started update UTMP about 
system runlevel changes. It locks up there and goes no further. I can start the 
boot sequence and get to a repair prompt as root in recovery mode. Problem is I 
have no knowledge of what to do there.  I do have full access to this disk from 
booting into one of the working drives. I just do not want to have to rebuild 
the entire database and Mediawiki server.Any ideas, suggestions, tips whatever, 
 please pass them on to me. I think this is fixable, but have found nada on the 
web that seems exactly to apply.Thanks!John Foster

Re: what is special about unrar-free when we have unar ?

2018-08-21 Thread Reco
Hi.

On Tue, Aug 21, 2018 at 11:26:53PM +0530, shirish शिरीष wrote:
> Hi all,
> 
> Please CC me as I'm not following the list per-se (due to traffic
> constraints and just inability to manage information flow.)
> 
> Does anybody know why unrar-free is till in Debian repo. when we have
> unar which does the same or more (support for rarv5 among others) . I
> do get the idea that we should have alternatives for any application
> or is there something more that I don't know ?

It's more likely that you've been lucky and haven't met multipart solid
password-protected RAR5 archives. unar cannot chew on these.
bsdtar (which has some RAR support) cannot even do 'solid' part of
previous statement.
So, it's sad, gross, but unrar-nonfree stays in non-free for all those
cornercases.

Reco



Re: what is special about unrar-free when we have unar ?

2018-08-21 Thread Michael Stone

On Tue, Aug 21, 2018 at 08:09:21PM +0200, Nicolas George wrote:

Michael Stone (2018-08-21):

Read more closely. :)


Please elaborate.


He didn't say "unrar"



Re: what is special about unrar-free when we have unar ?

2018-08-21 Thread Sven Joachim
On 2018-08-21 20:09 +0200, Nicolas George wrote:

> Michael Stone (2018-08-21):
>> Read more closely. :)
>
> Please elaborate.

unrar-free ≠ unrar

$ apt-cache show unrar-free | grep Section
Section: utils
$ apt-cache show unrar | grep Section 
Section: non-free/utils

Cheers,
   Sven



Re: Microsoft Does It Again

2018-08-21 Thread Reco
Hi.

On Tue, Aug 21, 2018 at 06:28:57PM +0200, to...@tuxteam.de wrote:
> On Tue, Aug 21, 2018 at 07:02:32PM +0300, Reco wrote:
> > On Tue, Aug 21, 2018 at 05:48:31PM +0200, to...@tuxteam.de wrote:
> 
> [...]
> 
> > >   tomas@trotzki:~$ apt search ooxml
> > >   Sorting... Done
> > >   Full Text Search... Done
> > >   docx2txt/stable,stable,stable 1.4-0.1 all
> > > Convert Microsoft OOXML files to plain text
> > 
> > Not relevant. Input is xlsx.
> 
> Well, xlsx *is* OOXML (I like to call it "MOOXML" as in
> "Microsoft's..." -- you get the idea :)

That's like saying that apples and oranges are both fruits. 
I.e. that's truth, but one does not compare apples to oranges usually.

Both docx and xlsx are zip archives with xml inside. Their parsing is
different, and applying parsing rules from one to another yields no
useful result.

Parsing docx is easy, even I can do it (and did it, actually).
Parsing xlsx with all its gross formulas (sp?), macros and arcane date
formats is the definition of pain. I gave it up and became a happy
xlsx2csv user.

Reco



Re: what is special about unrar-free when we have unar ?

2018-08-21 Thread Nicolas George
Michael Stone (2018-08-21):
> Read more closely. :)

Please elaborate.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


Xindy package for stretch

2018-08-21 Thread juh
Hi,

I cannot find the xindy debian package for stretch.

Any hints, where I can find a deb?

juh

-- 
Autoren-Homepage: . http://literatur.hasecke.com
Satiren & Essays: . http://www.sudelbuch.de
Privater Blog:  http://www.hasecke.eu
Netzliteratur-Projekt:  http://www.generationenprojekt.de




signature.asc
Description: PGP signature


Re: what is special about unrar-free when we have unar ?

2018-08-21 Thread Michael Stone

On Tue, Aug 21, 2018 at 08:01:19PM +0200, Nicolas George wrote:

shirish शिरीष (2018-08-21):

Does anybody know why unrar-free is till in Debian repo. when we have
unar which does the same or more (support for rarv5 among others) . I
do get the idea that we should have alternatives for any application
or is there something more that I don't know ?


The unrar package is not free. Read this:


Read more closely. :)

Mike Stone



Re: what is special about unrar-free when we have unar ?

2018-08-21 Thread Michael Stone

On Tue, Aug 21, 2018 at 11:26:53PM +0530, shirish शिरीष wrote:

Does anybody know why unrar-free is till in Debian repo. when we have
unar which does the same or more (support for rarv5 among others) . I
do get the idea that we should have alternatives for any application
or is there something more that I don't know ?


You'd be sad if you had a script that ran unrar-free and the program was 
silently replaced with unar.


Mike Stone



Re: what is special about unrar-free when we have unar ?

2018-08-21 Thread Nicolas George
shirish शिरीष (2018-08-21):
> Does anybody know why unrar-free is till in Debian repo. when we have
> unar which does the same or more (support for rarv5 among others) . I
> do get the idea that we should have alternatives for any application
> or is there something more that I don't know ?

The unrar package is not free. Read this:

https://www.debian.org/intro/free

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


Re: What's the right way to get an unbroken mc package installed in Stretch

2018-08-21 Thread Greg Wooledge
On Tue, Aug 21, 2018 at 01:46:08PM -0400, Felix Miata wrote:
> /topic at irc://freenode/#debian makes no mention of ssb.

The bots have thousands of factoids.  The overwhelming majority are not
mentioned in the /topic.

> https://www.google.com/search?q=irc+bots+ssd=utf-8=utf-8=t=org.mozilla:en-US:unofficial
> looks unhelpful.
>
> What do you mean by IRC bots?

13:57 ->[dpkg] ssb
13:57 <-dpkg[~dpkg@unaffiliated/dpkg] First, check for a backport on
  .  If unavailable: 1) Add a deb-src line for sid
  (not a deb line!); ask me about  2) enable
  debian-backports (see ) 3) aptitude update; aptitude install
  build-essential; aptitude build-dep packagename; apt-get -b source
  packagename; 4) install the resultant debs.  To change compilation
  options, see ; for versions newer than sid see
  .



what is special about unrar-free when we have unar ?

2018-08-21 Thread shirish शिरीष
Hi all,

Please CC me as I'm not following the list per-se (due to traffic
constraints and just inability to manage information flow.)

Does anybody know why unrar-free is till in Debian repo. when we have
unar which does the same or more (support for rarv5 among others) . I
do get the idea that we should have alternatives for any application
or is there something more that I don't know ?

-- 
  Regards,
  Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
EB80 462B 08E1 A0DE A73A  2C2F 9F3D C7A4 E1C4 D2D8



Re: What's the right way to get an unbroken mc package installed in Stretch

2018-08-21 Thread Felix Miata
Greg Wooledge composed on 2018-08-21 13:28 (UTC-0400):

> On Tue, Aug 21, 2018 at 01:20:23PM -0400, Felix Miata wrote:

>> I would have been
>> happen [happy?] to stick with 4.8.17 if I could have found one anywhere.
>> http://ftp.us.debian.org/debian/pool/main/m/mc/ skips from 4.8.13 to 4.8.18,
>> then to 4.8.21.

> http://snapshot.debian.org/
> http://snapshot.debian.org/binary/mc/
> http://snapshot.debian.org/package/mc/3%3A4.8.17-1/#mc_3:3a:4.8.17-1

Maybe next time I can remember snapshot.debian.org exists. It was already in my
bookmarks. :-p

Thanks for the reminder.
-- 
"Wisdom is supreme; therefore get wisdom. Whatever else you
get, get wisdom." Proverbs 4:7 (New Living Translation)

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

Felix Miata  ***  http://fm.no-ip.com/



Re: What's the right way to get an unbroken mc package installed in Stretch

2018-08-21 Thread Felix Miata
Greg Wooledge composed on 2018-08-21 08:55 (UTC-0400):

> On Tue, Aug 21, 2018 at 08:36:30AM -0400, bw wrote:

>> On Mon, 20 Aug 2018, Felix Miata wrote:

>> > I configured stretch-backports in sources.list, but apparently
>> > it has no newer mc version available. 4.8.21 is on the mirrors, so I 
>> > downloaded
>> > it from a mirror and installed it with dpkg. It works fine, but now apt is
>> > broken

> https://wiki.debian.org/DontBreakDebian

I know. I was tired after hours of Google offering Debian hits on *ubuntu.* URLs
instead of debian.org, not finding anything specific on debian.org, and
rebooting the USB stick I was trying to get configured with Stretch-based Slax,
which apparently has no detectable web forum or mailing list. With having
already installed unbroken mc packages successfully on other Stretch
installations I was puzzled by the "added" mc 4.28.21 deps:

e2fslibs_1.44.3-1_amd64.deb
e2fsprogs_1.44.3-1_amd64.deb
gpm_1.20.7-5_amd64.deb
libcom-err2_1.44.3-1_amd64.deb
libcomerr2_1.44.3-1_amd64.deb
libext2fs2_1.44.3-1_amd64.deb
libgpm2_1.20.7-5_amd64.deb

>> >From what I have read, the way to do it would be backport the necessary 
>> pkgs yourself from testing.  

> And the procedure for doing this is at
> . 

That starts with:

1-Install Debian packaging tools
then
7-build...

so for me it is a no go.

> The IRC bots have a
> simplified recipe as well, under the factoid name "simple sid backport"
> or "ssb" for short.

/topic at irc://freenode/#debian makes no mention of ssb.

https://www.google.com/search?q=irc+bots+ssd=utf-8=utf-8=t=org.mozilla:en-US:unofficial
looks unhelpful.

What do you mean by IRC bots?
-- 
"Wisdom is supreme; therefore get wisdom. Whatever else you
get, get wisdom." Proverbs 4:7 (New Living Translation)

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

Felix Miata  ***  http://fm.no-ip.com/



Re: script bash pour unbound

2018-08-21 Thread Bernard Schoenacker



- Mail original -
> De: "Daniel Caillibaud" 
> À: debian-user-french@lists.debian.org
> Envoyé: Mardi 21 Août 2018 19:21:06
> Objet: Re: script bash pour unbound
> 
> Le 18/08/18 à 21:48, Bernard Schoenacker
>  a
> écrit :
> 
> > bonjour,
> > 
> > j'ai pris ce script bash et je n'arrive pas à le déverminer:
> > 
> > https://blog.mirabellette.eu/index.php?article17/block-advertise-domain-name-with-unbound
> > 
> > voici le début qui pose problème :
> > 
> > ARRAY=
> > $(https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts
> > )
> 
> sur la page mentionnée y'a pas de $
> 
> > for i in "${ARRAY[@]}"
> 
> et du coup je comprend pas la ligne précédente, pourquoi un for sur
> un
> tableau d'un seul élément ?
> 
> Pas testé, mais amha, virer do/done et remplacer le wget par
> 
> > do
> >   wget -c  -O  w  "$i"
> 
> wget -c -O w
> https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts
> 
> 
> > 
> >   grep -v "
> >   #\|\|\|\|\|\|href\|title=\|=\|<" w
> > > adsList.txt rm -f w
> >   dos2unix adsList.txt
> 
> 
> ça peut se faire sans fichier intermediaire avec
> 
> wget -c -O - $url|grep -v "expression" > fichier
> 
> donc ici tu peux te contenter de ces 3 lignes, en remplaçant la 3e
> par /etc/init, service ou systemctl suivant ta conf
> (et mettre le path complet de adsList.txt pour pouvoir lancer le
> script de
> n'importe où) :
> 
> url=https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts
> wget -q -O - $url|sed -e '/^$/d; /#/d' > adsList.txt
> # reste à relancer unbound qui lit ce adsList.txt
> 
> 
> mais je crois qu'unbound ignore les lignes vides et celles qui
> commencent
> par #, ton script devrai#!/bin/bash
#
# set chmod +x
# exec sh

echo  Someonewhocares  Go ===

wget -vnc -O - 'https://someonewhocares.org/hosts/zero/' |unhtml | grep 
'^0\.0\.0\.0' | awk '/0.0.0.0/ {print $2}'| iconv -f iso8859-15 -t utf8 >>w

echo convert file to utf8
echo  Someonewhocares  done ==

echo  Githubusercontent notracking  Go 
===
wget -vnc -O - 
'https://raw.githubusercontent.com/notracking/hosts-blocklists/master/hostnames.txt'|
 grep '^0\.0\.0\.0' | awk '/0.0.0.0/ {print $2}'| iconv -f iso8859-15 -t utf8 
>>w

echo convert file to utf8
echo  Githubusercontent notracking  done 
===

echo  winhelp2002 Go ===

  wget -vnc -O - 'http://winhelp2002.mvps.org/hosts.txt' |awk '/0.0.0.0/ {print 
$2}'| iconv -f iso8859-15 -t utf8 >>w
 
echo convert file to utf8
echo  winhelp2002 done ===


echo  Githubusercontent StevenBlack Go 
===

wget -vnc -O - 
'https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts'
 |awk '/0.0.0.0/ {print $2}'| iconv -f iso8859-15 -t utf8 >>w

echo convert file to utf8
echo  Githubusercontent StevenBlack done 
===

echo  Adaway  Go ===
wget -vnc -O -  'https://adaway.org/hosts.txt' | awk '/127.0.0.1/ {print $2}'| 
iconv -f iso8859-15 -t utf8 >>w
echo convert file to utf8
echo  Adaway  done ===


echo  Pgl Yoyo  Go ===
wget -vnc  -O- --header\="Accept-Encoding: gzip" 
'http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts=plaintext'
 | gunzip | awk '/127.0.0.1/ {print $2}'| iconv -f iso8859-15 -t utf8 >>w

echo convert file to utf8
echo  Pgl Yoyo  done ===


echo  Hosts File  Go ===
wget -qnc  -O - 'https://hosts-file.net/ad_servers.txt' | awk '/127.0.0.1/ 
{print $2}' | iconv -f iso8859-15 -t utf8 >>w

echo convert file to utf8
echo  Hosts File done ===


echo   dsfc  Go ===

wget -qnc -O - 
'https://www.dsfc.net/infrastructure/dns-infrastructure/unbound-redirecteur-cache-blacklist-dns/'|unhtml|
 tr -d '\'| tr -d '"' | awk '/local-zone/ {print $2}'| iconv -f iso8859-15 
-t utf8 >>w

echo convert file to utf8
echo  dsfc  done ===


echo remove tabulation character and carriage return

sed -i 's/\x0D$//' w

echo  remove comments
sed -i 's/#//g' w

echo remove useless space
sed -i 's/ //g'  w


echo remove empty lines
sed -i '/^\s*$/d' w

echo add prefix and suffix for unbound
echo "#" $(date +'%d-%m-%Y') >>adslist.txt
echo server: >>adslist.txt

cat w | sort -bdfu | awk '{print "local-zone: \""$1"\" redirect\nlocal-data: 
\""$1" A 127.0.0.1\""}' >adslist.txt

echo delete temporary file
rm -f w

echo download roots files

# wget -qnc  -O 

Re: Accès réseau via USB défaillant (après installation OpenVPN)

2018-08-21 Thread roger . tarani
Rappel : toutes les connexions (Ethernet, USB) étaient défaillantes. 

SOLUTION 
J'ai repris mon fichier /etc/network/interfaces et j'ai essayé différentes 
configurations. 
J'ai découvert la cause du problème (dans mon contexte) : 
la directive "allow-hotplug eth0" bloque le réseau, tandis que la directive 
"auto eth0" construit un réseau qui fonctionne comme attendu. 

Rq : fournir la configuration de network, broadcast et gateway est sans 
incidence. Le réseau fonctionne visiblement aussi bien avec ou sans (puisqu'il 
peut sans doute déduire ces paramètres à partir de l'adresse IP statique). 
Voir ci-après le fichier /etc/network/interfaces corrigé. 

QUESTION 1 
La directive "allow-hotplug" est-elle connue pour causer de tels problèmes avec 
Debian (Linux) ? 
Pourtant, elle est utilisée/préconisée sur deux sites (officiels) Debian et 
relayée ici et là : 

https://wiki.debian.org/fr/NetworkConfiguration 
https://www.debian.org/doc/manuals/debian-reference/ch05.en.html 

https://www.memoinfo.fr/tutoriels-linux/configuration-reseau-ip-debian/ 
Cette page pointe "le problème" : 
https://unix.stackexchange.com/questions/192671/what-is-a-hotplug-event-from-the-interface
 

Il semble qu'il faille se pencher sur la notion d'événement de type "hotplug 
event" lorsque du matériel est branché/débranché. 


PREMIER TEST 
Avec le nouveau fichier /etc/network/interfaces corrigé. 
J'ai essayé simplement de débrancher et rebrancher mon câble Ethernet : Ok. 
J'ai redémarré avec le câble Ethernet débranché, constaté que le réseau était 
inaccessible. et branché le câble Ethernet: Ok, le réseau était correctement 
configuré. 
J'ai débranché le câble Ethernet, puis branché le modem 4G en USB : une 
interface eth1 a été créée et l'accès à internet opérationnel ("sudo apt-get 
update" ou "ping yahoo.fr"). J'ai débranché et rebranché le modem 4G USB : la 
connexion au réseau internet a été interrompue puis rétablie. 
Constat : la connexion USB qui était activable /désactivable par le tableau de 
bord est juste devenue "Wire : Unmanaged". 

Bizarrerie : j'ai remis " allow-hotplug eth0" et redémarré : Et ça a continué 
de fonctionner !?? 
Ensuite, si on débranche et rebranche "à chaud" le modem USB, il devient "Wire 
: Unmanaged" mais la connexion au réseau internet est opérationnelle 

A ce stade, j'en appelle à votre expertise et expérience. 


IMPORTANT 
Si nécessaire, comment peut-on faire corriger/compléter les docs Debian en 
ligne ? (beaucoup de débutants comme je le suis encore un peu ont été piégés 
par des informations incomplètes ou erronées issues de "sources officielles"). 




QUESTION 2 
2/ les commandes courantes sont-elles suffisantes pour gérer complètement les 
réseaux de sa machine : 
$ sudo ifup eth0 
$ sudo ifdown eth0 
$ sudo /etc/init.d/networking [start|stop|reload|restart|force-reload] 
Ou quelles autres commandes faut-il connaître ? 



Merci 


$ cat /etc/network/interfaces 

# This file describes the network interfaces available on your system 
# and how to activate them. For more information, see interfaces(5). 

source /etc/network/interfaces.d/* 

# The loopback network interface 
auto lo 
iface lo inet loopback 


# config eth0 IP statique MANUELLE 
auto eth0 
#allow-hotplug eth0 
iface eth0 inet static 
address 192.168.0.153 
netmask 255.255.255.0 
#network 192.168.0.0 
#broadcast 192.168.0.255 
#gateway 192.168.0.1 





Re: What's the right way to get an unbroken mc package installed in Stretch

2018-08-21 Thread Greg Wooledge
On Tue, Aug 21, 2018 at 01:20:23PM -0400, Felix Miata wrote:
> I would have been
> happen [happy?] to stick with 4.8.17 if I could have found one anywhere.
> http://ftp.us.debian.org/debian/pool/main/m/mc/ skips from 4.8.13 to 4.8.18,
> then to 4.8.21.

http://snapshot.debian.org/
http://snapshot.debian.org/binary/mc/
http://snapshot.debian.org/package/mc/3%3A4.8.17-1/#mc_3:3a:4.8.17-1



Re: script bash pour unbound

2018-08-21 Thread Daniel Caillibaud
Le 18/08/18 à 21:48, Bernard Schoenacker  a
écrit :

> bonjour,
> 
> j'ai pris ce script bash et je n'arrive pas à le déverminer:
> 
> https://blog.mirabellette.eu/index.php?article17/block-advertise-domain-name-with-unbound
> 
> voici le début qui pose problème :
> 
> ARRAY=
> $(https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts
> )

sur la page mentionnée y'a pas de $

> for i in "${ARRAY[@]}"

et du coup je comprend pas la ligne précédente, pourquoi un for sur un
tableau d'un seul élément ?

Pas testé, mais amha, virer do/done et remplacer le wget par

> do
>   wget -c  -O  w  "$i"

wget -c -O w
https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts


> 
>   grep -v " #\|\|\|\|\|\|href\|title=\|=\|<" w
> > adsList.txt rm -f w
>   dos2unix adsList.txt


ça peut se faire sans fichier intermediaire avec

wget -c -O - $url|grep -v "expression" > fichier

donc ici tu peux te contenter de ces 3 lignes, en remplaçant la 3e
par /etc/init, service ou systemctl suivant ta conf
(et mettre le path complet de adsList.txt pour pouvoir lancer le script de
n'importe où) :

url=https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts
wget -q -O - $url|sed -e '/^$/d; /#/d' > adsList.txt
# reste à relancer unbound qui lit ce adsList.txt


mais je crois qu'unbound ignore les lignes vides et celles qui commencent
par #, ton script devrait pouvoir se résumer à

url=https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts
wget -q -O /path/to/adsList.tmp $url \
  && [ -s /path/to/adsList.tmp ] \
  && mv /path/to/adsList.tmp /path/to/adsList.txt \
  && systemctl reload unbound \
  && echo "Liste actualisée et rechargée" \
  || echo "Un truc a foiré">&2

(l'enchaînement avec && est là au cas où le wget plante, pour ne pas risquer
d'écraser l'ancien txt avec un truc vide, le test -s passe si le fichier
n'est pas vide)


Une remarque au passage, je ne laisserais pas qqun d'externe définir
l'ip de localhost, ça me parait plus prudent d'ajouter un sed pour virer
les premières lignes, ou ne garder que celles qui commencent par 0.0.0.0,
en ajoutant si besoin un autre fichier txt pour unbound pour ces lignes
(mais je crois qu'unbound résoud déjà localhost avec sa conf par défaut).

wget -q -O - $url|sed -ne '/^0\.0\.0\.0/ p' > /path/to/adsList.tmp


Celui qui fournit la liste pourra toujours rediriger localhost vers 0.0.0.0
mais au moins ça n'ira pas ailleurs et je vais m'en apercevoir rapidement.

> 
> 
> merci pour le coup de puce
> 
> slt
> bernard
> 


-- 
Daniel

Travailler dur n'a jamais tué personne, mais pourquoi prendre le 
risque ?
Edgar Bergen



Re: painted into a corner

2018-08-21 Thread David Wright
On Mon 20 Aug 2018 at 18:13:22 (-0700), Jimmy Johnson wrote:
> On 08/20/2018 01:28 PM, Gene Heskett wrote:
> >On Monday 20 August 2018 11:23:00 Andrew McGlashan wrote:
> >
> >>On 20/08/18 05:40, Gene Heskett wrote:
> >>>Whats the recommended way to do these mounts so I can maintain as
> >>>much continuity as possible?
> >>
> >>Those other areas, are they logical volumes perhaps?  lvms.
> >>
> >No, straight partitions according to gparted.
> 
> Hi Gene, I've seen this before, a few times.

It might be useful for posterity to explain what it is in Gene's
extensive posts that you've seen before and which demands such
actions as "described" below.

> If you run #fdisk -l
> while in stretch and get error, you need to fix that first, using
> gparted move the ailing partition '1'byte, just one digit larger or
> smaller, if you have to shrink another partition, do it '2'bytes.
> UUID will not change and it will pass fdisk -l no error.  Now in
> wheezy see if you can mount.  If not you can disable the checksums.
> To disable checksums on an existing filesystem, ensure that the
> filesystem will pass fsck. Then turn off metadata_csum via tune2fs.
>  #tune2fs -O ^metadata_csum /dev/path/to/disk
> 
> The above is for ext4, for repairing partition I use this with force.
>  #fsck.ext4 -pvcf /dev/sdxx

Cheers,
David.



Re: Abrir puertos a internet

2018-08-21 Thread Fabián Bonetti
On Tue, 21 Aug 2018 08:59:20 +0200
Antonio Trujillo Carmona  wrote:

> El 20/08/18 a las 23:17, Fabián Bonetti escribió:
> >
> >
> >
> > Hola, camaradas.
> >
> > Ando usando el Internet de mi vecina...hasta que speedy instale en 
> > casa el servicio.
> >
> > Ando en lista de espera.
> >
> > Comento que mi vecina tiene el cablemodem
> > Cable Módem Technicolor de cisco, a mas de 50mts se enlasa con mi 
> > router dd-wrt.
> >
> > Ip router dd-wrt
> > Wan 192.168.0.18 
> > Sin firewall con dhcp
> > Ip server 192.168.1.38 
> > Puerta enlace 192.168.1.1 
> >
> > Router cisco
> > Dmz 192.168.0.18 
> > Dhcp acrivado
> >
> > Alguna idea a probar?
> >
> >
> > ##Servidor Debian vivo desde 2009##
> > Friendica > https://friendica.mamalibre.com.ar
> > Whatsapp libre > http://xmpp.mamalibre.com.ar
> > Hosting free > http://sitios.mamalibre.com.ar
> > Gnusocial > http://legadolibre.mamalibre.com.ar
> > Plus > http://mamalibre.com.ar/plus
> > ###
> >
> >
> No conozco los modelos, por lo que no te voy a dar instrucciones precisas.
> 
> El el primer router tendrás que poner como servidores por defecto o DMZ 
> al segundo router, y en el segundo al servidor, tanto el segundo router 
> como el servidor deben tener ip fija, ademas en la configuración de los 
> servicios debes tener en cuenta que dependiendo del tramo de la red 
> donde estén lo paquetes van a tener distinta ip debido al NAT que hacen 
> los router, por lo que nuca debes usar ip sino nombre de host (o de 
> servicio) y tener bien configurados los DNS para que todo funcione, esto 
> es si monto un servicio web si sitio se llamarse micasa.com en el 
> servidor debes de meterlo en el fichero hosts como 127.0.0.1 micasa.com, 
> en su red, en el servicio DNS (que normalmente te da el router, si no 
> tendrás que montar uno) debe ser 192.168.1.10 = micasa.com, en la red de 
> tu vecina 192.0.10 = micasa.com (suponiendo que tu red sea 
> 192.168.1.x/24 y la de tu vecina 192.168.0.x/24) y en el servicio de DNS 
> de internet ip-publica-de-tu-vecina = micasa.com.
> 
> No olvides que si tu vecina tiene ip dinámica y usas un servicio de dDNS 
> es posible que tengas fallos por el tiempo que tardan en sincronizar los 
> DNS (según especificaciones pueden ser de 24h sin considerarse un  
> error), si este es el caso ponte como DNS públicos los del servicio de 
> dDNS para que, por lo menos tu, veas los cambios rapidamente
> 
> 
> 


Mi debian

/etc/hosts
127.0.0.1 localhost
127.0.1.1 zeuza
192.168.1.38 mamalibre.com.ar

/etc/network/interfaces
auto lo 
iface lo inet loopback
iface eth2 inet static
address 192.168.1.38
netmask 255.255.255.0
gateway 192.168.1.1



Cisco DPC2325
Firmware Name
dpc2325-v202r12811-111014as.bin

Software Revision
dpc2325-v202r12811-111014as

LAN

IP Address: 192.168.0.1/24
IP Network: 192.168.0.0
Decimal NetMask:255.255.255.0
Broadcast:  192.168.0.255
WAN
IP Address: 192.168.198.251
Subnet Mask:255.255.252.0
Gateway IP: 192.168.196.1


DD-WRT

imagen
https://joindiaspora.com/posts/12453318


mas información...soy un queso en eso.



-- 
Servicios:. http://mamalibre.com.ar/plus
MamaLibre, Casa en Lincoln, Ituzaingo 1085 CP6070, Buenos Aires, Argentina



Re: Installing package *NOT* in repository

2018-08-21 Thread Gene Heskett
On Tuesday 21 August 2018 11:06:31 David Wright wrote:

> On Tue 21 Aug 2018 at 14:48:25 (+0200), to...@tuxteam.de wrote:
> > On Tue, Aug 21, 2018 at 08:02:02AM -0400, Gene Heskett wrote:
> >
> > [...]
> >
> > > Odd, maybe apt does not look in $PATH?
> >
> > There's no reason to assume that, unless when looking for an
> > executable (i.e. those things which tend to live in /bin and
> > /usr/bin).
>
> … and then it will of course be hashed, and so waste no time at all.
> But Gene's mention of $PATH was a complete red herring. Or cargo cult.
>
> And consider this: it would be seriously mental to place downloaded
> files, which might even have been obtained from untrusted sources,
> and stick them in your $PATH ready for execution.

I think would be inventing a new word, stoppidd.

> > Actually, dpkg's man page mentions $PATH, but only for searching
> > executables, which is to be expected. Not for searching packages.
>
> Yes, and I think one can see why dpkg explicitly mentions $PATH. It
> uses a lot of helper programs for unpacking archives, computing MD5s,
> etc, and $PATH is where they're expected to be. Expected, but people
> using dpkg from the commandline might well have seriously broken
> systems with missing or incompatible binaries, and --force-bad-path
> attempts to deal with that.
>
> > To me, it would be a surprise.
>
> IMO it would be a grave bug in the Debian project's thinking.
>
> Cheers,
> David.



-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: What's the right way to get an unbroken mc package installed in Stretch

2018-08-21 Thread Felix Miata
David Wright composed on 2018-08-21 11:06 (UTC-0500):

Thank you for replying!

> On Mon 20 Aug 2018 at 23:50:59 (-0400), Felix Miata wrote:

>> Stretch comes with 4.8.18, which for me is unusable due to an upstream bug 
>> fixed
>> in 4.8.19[1], but 4.8.19 is unusable due to another upstream bug, not fixed
>> until 4.8.20[2]. I configured stretch-backports in sources.list, but 
>> apparently
>> it has no newer mc version available. 4.8.21 is on the mirrors, so I 
>> downloaded
>> it from a mirror and installed it with dpkg. It works fine, but now apt is
>> broken because it thinks mc is broken and needs to be removed by "apt
>> --fix-broken install". Apparently apt thinks mc depends on different packages
>> than dpkg does:

>> # apt install inxi
>> ...
>> The following packages have unmet dependencies:
>>  inxi : Depends: gawk but it is not going to be installed
>>  mc : Depends: libext2fs2 (>= 1.37)
>>   Depends: libgpm2 (>= 1.20.7) but 1.20.4-6.2+b1 is to be installed
>> E: Unmet dependencies. Try 'apt --fix-broken install'

>> # dpkg-reconfigure mc
>> /usr/sbin/dpkg-reconfigure: mc is broken or not fully installed

>> Am I the only one who needs mc to work in Stretch? What do others do?

>> [1] fubar right pane at startup with saved long file listing
>> http://midnight-commander.org/ticket/3758

> I've not used this facility so I didn't know mc was "broken".

> I would be tempted to try a workaround. Can you define a hot
> key which obeys the keystrokes necessary to reselect Long View,
> but which finishes by redefining itself to its original use.

> Just a untested suggestion. Of course this might not work for
> you even if it's possible: I have all my mc configuration in
> readonly files (owned by root where readonly isn't enough) so
> it starts up consistently.

I have too many users spread across too many installations to consider such an
approach viable when an unbroken package already exists. I would have been
happen to stick with 4.8.17 if I could have found one anywhere.
http://ftp.us.debian.org/debian/pool/main/m/mc/ skips from 4.8.13 to 4.8.18,
then to 4.8.21.

>> [2] VFS: timestamps not being preserved due to uninitialized struct stat
>> st_[acm]tim.tv_nsec (#3821)
>> http://midnight-commander.org/ticket/3821

> I couldn't understand this one as it only seemed to describe the code
> necessary to fix a bug whose symptoms weren't fully described.

That URL originally came from the mc mailing list thread where I inquired of the
problem and was told the fix was already in git.
https://mail.gnome.org/archives/mc/2017-August/msg3.html

I couldn't make sense of it either, but the link in the 4.8.20 release notes
seemed an adequate connection to the problem for programmer minds to figure out:
VFS: timestamps not being preserved due to uninitialized struct stat
st_[acm]tim.tv_nsec (#3821)
http://midnight-commander.org/wiki/NEWS-4.8.20

Eventually I added buster to sources.list, installed 4.8.21, then removed the
buster source. This was on my 2GB USB "rescue" stick with Stretch-based Slax 
9.5:
https://wiki.trinitydesktop.org/Slax_with_Trinity
https://www.slax.org/gl/

Freespace on the 2GB Slax USB stick complete with KDE3-based TDE GUI desktop
(and systemd) plus my additions is 72%.
-- 
"Wisdom is supreme; therefore get wisdom. Whatever else you
get, get wisdom." Proverbs 4:7 (New Living Translation)

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

Felix Miata  ***  http://fm.no-ip.com/



Re: Microsoft Does It Again

2018-08-21 Thread Martin
Am 21.08.2018 um 17:14 schrieb Stephen P. Molnar:
> I'm not trying to start a flame war or bash Microsoft (let's fact it, they 
> don't pay attention), but I have a problem with an Excel file.
> 
> For reasons unbeknownst to me, somehow it got saved as an Excel OOXML file.  
> I find that i don't have a Linux app that seems to able to open the file.  
> Contacting Microsoft Customer Service resulted in instructions to upgrade 
> Excel to the current version.  THere is no way that I will spend the money to 
> implement that suggestion.

If you can not open this with LibreOffice Calc, you may give it a shot with 
that Google spreadsheet thing. This is https://docs.google.com/spreadsheets/, 
works quite well for me. Even if you probably loose some of that Excel magic in 
a spreadsheet.


> Is there a Linux application that will allow me to recover the contents of 
> the file?
> 



Re: connecting to two networks simultaneously on buster

2018-08-21 Thread Glenn English
On Tue, Aug 21, 2018 at 3:39 PM Eric S Fraga  wrote:

> Would somebody please point me to the right magical incantation that
> would allow my desktop computer to have both connections active
> simultaneously?

I've done that on a couple boxes here -- a laptop (WiFi and an
Ethernet) and a workstation (2 Ethernets)

On both of them, I wrote a /etc/network/interfaces script to give an
IP to the Ethernet and start at boot. The others are DHCP and don't
come on at boot.

I wrote a little shell script that ifup's the DHCP, and enters a few
things into the routing table (the DHCP is to Comcast, so I have to do
a little cleaning up afterward to replace the garbage Comcast puts on
my computers).

The machines run reliably with both connections up:  Comcast for
blistering speed from the mirrors in the apt/sources lists, and my T1
for the real 'Net.

I'm on Buster too, BTW.

-- 
Glenn English



Data Recovery

2018-08-21 Thread Josh W.
Hello World of Debian,
I was trying to setup a shared folder between my Debian Stretch
system and my Raspberry Pi. I had created an "/export & /export/users
directory" and had bound it to my "/home/users" directory. I had given up
on the idea of sharing between the two OSes, because i was frustated and
deleted my "/export/users" directory not thinking that it was still bound
to my "/home/users" directory. When i deleted the "/export/users" directory
it took my "/home/users" directory with it. So my question is, How can i
recovery the lost data. What would be the best route to take in order to
recover my personal files? Your help is Very Much Needed!

Joshua 


Re: Installing package *NOT* in repository

2018-08-21 Thread David Wright
On Tue 21 Aug 2018 at 11:23:59 (-0400), Greg Wooledge wrote:
> On Tue, Aug 21, 2018 at 10:04:58AM -0500, David Wright wrote:
> > Why would you expect it to look for a «file» at all? If you write
> > # apt install gem.deb
> > then apt should try to install any «packages» it finds called
> > "gemadeb", "gembdeb", "gemcdeb", "gemddeb", etc, and will
> > consequently install the «package» gem2deb, which is likely
> > not what you expected unless you read the man page for apt-get
> > in combination with that for apt.
> 
> First of all, the . character is valid in a package name, and is supposed
> to be treated literally.  A package named python3.5 exists, for example.
> 
> The . character can be a single-character wildcard in some kinds of
> regular expression, but one would hope (I certainly hope) that when
> an exactly matching package name exists in the database, the exact
> match should win out over a regex(7) match.

Hey, I don't write this stuff. I only read the man pages.

> The . character is NOT a single-character wildcard to the shell, so it
> does not need escaping or quoting to survive the shell's argument
> parsing.  You might be thinking of the ? character.

No, I'm not. That's why you don't need to escape it.

> Second, this whole thread has been about the undocumented feature of
> apt (but not apt-get) that allows you to specify a pathname to a .deb
> file on an "apt install" command.  Nobody was quite sure how it worked,
> because it's undocumented.

Yes, that's why I tried it (in stretch. Simulated. Installing it
would be a bit of a stretch. Bothering to install buster first would
be going for bust.)

> However, Michael Stone was kind enough to point out the line of code
> which is partly responsible for this feature (thank you).  So, now we
> know that "apt install" can take a pathname argument, but only if the
> pathname begins with "/" or "./" or "../".  This seems like a strange
> choice to me (I would've gone with "contains a slash", because there's
> precedent for that, and because it allows pathnames like "foo/bar.deb"
> which the current code does not allow).  But at least now we know.

But there's a slash in the allowed syntax already, so that choice has gone.

Anyway, let's actually count the teeth in the horse's mouth:

The short test:

~/4greg $ ls -l
total 2552
-rw-r- 1 david david 1305596 Jul  9 11:41 apt_1.6.3_amd64.deb
-rw-r- 1 david david 1305596 Jul  9 11:41 gem.deb
~/4greg $ apt -s install gem.deb | grep gem

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

  dirmngr dpkg-dev dput equivs g++ g++-6 gem2deb gem2deb-test-runner gettext
Inst gem2deb-test-runner (0.33.1 Debian:9.5/stable [amd64])
Inst gem2deb (0.33.1 Debian:9.5/stable [amd64])
Conf gem2deb-test-runner (0.33.1 Debian:9.5/stable [amd64])
Conf gem2deb (0.33.1 Debian:9.5/stable [amd64])
~/4greg $ 

and the long test, as a warning:

~/4greg $ apt -s install gem.deb 
NOTE: This is only a simulation!
  apt needs root privileges for real execution.
  Keep also in mind that locking is deactivated,
  so don't depend on the relevance to the real current situation!
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  linux-headers-4.9.0-6-amd64 linux-headers-4.9.0-6-common
  linux-image-4.9.0-6-amd64
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  autoconf automake autopoint autotools-dev build-essential debhelper
  debian-keyring devscripts dh-autoreconf dh-strip-nondeterminism diffstat
  dirmngr dpkg-dev dput equivs g++ g++-6 gettext intltool-debian
  libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
  libarchive-zip-perl libclass-inspector-perl libclass-xsaccessor-perl
  libclone-perl libconvert-binhex-perl libdevel-globaldestruction-perl
  libdigest-hmac-perl libdistro-info-perl libemail-valid-perl
  libfile-chdir-perl libfile-stripnondeterminism-perl
  libgetopt-long-descriptive-perl libgit-wrapper-perl libgmp-dev libgmpxx4ldbl
  libimport-into-perl libio-pty-perl libio-sessiondata-perl
  libio-socket-inet6-perl libio-stringy-perl libipc-run-perl
  liblist-compare-perl libltdl-dev libmail-sendmail-perl libmime-tools-perl
  libmoo-perl libnet-dns-perl libnet-domain-tld-perl libnet-ip-perl
  libnumber-compare-perl libnumber-range-perl libossp-uuid-perl libossp-uuid16
  libparams-validate-perl libpath-iterator-rule-perl libpath-tiny-perl
  libperlio-gzip-perl libpod-constants-perl libsoap-lite-perl libsocket6-perl
  libsort-key-perl libsort-versions-perl libstdc++-6-dev libstrictures-perl
  libstring-copyright-perl libstring-escape-perl libsys-hostname-long-perl
  libtask-weaken-perl libtext-glob-perl libtext-levenshtein-perl libtool
  libunicode-utf8-perl libxmlrpc-lite-perl libyaml-libyaml-perl licensecheck
  lintian m4 patchutils po-debconf python-apt python-debian python-gpg
  

Re: Status of java-package

2018-08-21 Thread Roberto C . Sánchez
On Tue, Aug 21, 2018 at 05:49:19PM +0200, Erwan David wrote:
>   Hi,
> 
> This package makes a .deb from oracle .tar.gz It does not package java
> 9 nor java 10.  Is there a problem with those versions ?  Is the
> packaged abandonned, and in this case is there anotehr method to uses
> oracle JRE on debian ?
> 
I don't know about java-package, as I have not used it many years.
However, you can download the .tar.gz and just unpack it (I would think
/opt is a good choice of target location).  Or you can download the .rpm
and use alien to turn it into a .deb.

Incidentally, it has been a long time since I encountered any Java that
would run on the Oracle JVM but not on OpenJDK.  Are you sure you need
to even bother with the Oracle JVM?

Regards,

-Roberto

-- 
Roberto C. Sánchez



Re: Microsoft Does It Again

2018-08-21 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Aug 21, 2018 at 07:02:32PM +0300, Reco wrote:
> On Tue, Aug 21, 2018 at 05:48:31PM +0200, to...@tuxteam.de wrote:

[...]

> >   tomas@trotzki:~$ apt search ooxml
> >   Sorting... Done
> >   Full Text Search... Done
> >   docx2txt/stable,stable,stable 1.4-0.1 all
> > Convert Microsoft OOXML files to plain text
> 
> Not relevant. Input is xlsx.

Well, xlsx *is* OOXML (I like to call it "MOOXML" as in
"Microsoft's..." -- you get the idea :)

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

iEYEARECAAYFAlt8PcgACgkQBcgs9XrR2kZ/5gCfRFC7XUZ6oGVX+Rveb4yC9Jcp
xMUAn37DEyDdXntqxomkecJ0n2KISr2B
=t0PF
-END PGP SIGNATURE-



Re: KDE Bluedevil

2018-08-21 Thread David Wright
On Mon 20 Aug 2018 at 20:12:57 (-0400), Timothy M Butterworth wrote:
> In Debian 9.5 KDE Bluedevil is unable to add devices. Is their any fix
> for this other then using GNOME Blueman tool.

In the absence of other replies, can you explain what you mean by
"add devices".

I use bluetooth, bluez, bluez-tools and bluez-obexd for what I do,
but that might not be all you and others do.

Cheers,
David.



Re: connecting to two networks simultaneously on buster

2018-08-21 Thread Eric S Fraga
On Tuesday, 21 Aug 2018 at 11:12, David Wright wrote:

[...]

> If NM is like wicd, it can only handle one connection at a time.

But the strange thing is that both my desktop and the laptop are using
NM.  I don't understand why they behave differently.

> What I would do is to set up your 10.xxx connection in /e/n/i which

Yes, I should be able to do this.  Thanks.  Been a long time since I
manually defined a network, mind you...

Thanks again,
eric

-- 
Eric S Fraga via Emacs 27.0.50 & org 9.1.13 on Debian buster/sid



Re: connecting to two networks simultaneously on buster

2018-08-21 Thread David Wright
On Tue 21 Aug 2018 at 16:39:13 (+0100), Eric S Fraga wrote:
> Hello,
> 
> I have a laptop running buster (testing) which connects to my wireless
> network (192.xxx).  I also have a new Gemini PDA (also running Debian
> but stretch in this case) which connects to the same network.  So far,
> so normal.
> 
> However, I can connect the Gemini PDA via USB cable to the laptop and
> both systems will have two different networks available, with the USB
> one being 10.xxx.  I can then ssh, say, from either system to the other
> using IP addresses in either 192 or 10 networks.
> 
> On my desktop computer, connected by Ethernet cable to the same network
> (192.xxx), plugging the USB cable from the Gemini to the desktop does
> not lead to a new connection being made on the desktop computer.  I can
> connect to the USB network (nmcli device connect ...) but it disconnects
> me from the wireless (and vice versa).
> 
> Would somebody please point me to the right magical incantation that
> would allow my desktop computer to have both connections active
> simultaneously?

If NM is like wicd, it can only handle one connection at a time.

What I would do is to set up your 10.xxx connection in /e/n/i which
should mean that NM doesn't know about it or touch it. I assume
you'll need a route as you can't go through the gateway.

Cheers,
David.



Re: What's the right way to get an unbroken mc package installed in Stretch

2018-08-21 Thread David Wright
On Mon 20 Aug 2018 at 23:50:59 (-0400), Felix Miata wrote:
> Stretch comes with 4.8.18, which for me is unusable due to an upstream bug 
> fixed
> in 4.8.19[1], but 4.8.19 is unusable due to another upstream bug, not fixed
> until 4.8.20[2]. I configured stretch-backports in sources.list, but 
> apparently
> it has no newer mc version available. 4.8.21 is on the mirrors, so I 
> downloaded
> it from a mirror and installed it with dpkg. It works fine, but now apt is
> broken because it thinks mc is broken and needs to be removed by "apt
> --fix-broken install". Apparently apt thinks mc depends on different packages
> than dpkg does:
> 
> # apt install inxi
> ...
> The following packages have unmet dependencies:
>  inxi : Depends: gawk but it is not going to be installed
>  mc : Depends: libext2fs2 (>= 1.37)
>   Depends: libgpm2 (>= 1.20.7) but 1.20.4-6.2+b1 is to be installed
> E: Unmet dependencies. Try 'apt --fix-broken install'
> 
> # dpkg-reconfigure mc
> /usr/sbin/dpkg-reconfigure: mc is broken or not fully installed
> 
> Am I the only one who needs mc to work in Stretch? What do others do?
> 
> [1] fubar right pane at startup with saved long file listing
> http://midnight-commander.org/ticket/3758

I've not used this facility so I didn't know mc was "broken".

I would be tempted to try a workaround. Can you define a hot
key which obeys the keystrokes necessary to reselect Long View,
but which finishes by redefining itself to its original use.

Just a untested suggestion. Of course this might not work for
you even if it's possible: I have all my mc configuration in
readonly files (owned by root where readonly isn't enough) so
it starts up consistently.

> [2] VFS: timestamps not being preserved due to uninitialized struct stat
> st_[acm]tim.tv_nsec (#3821)
> http://midnight-commander.org/ticket/3821

I couldn't understand this one as it only seemed to describe the code
necessary to fix a bug whose symptoms weren't fully described.

Cheers,
David.



Re: Microsoft Does It Again

2018-08-21 Thread Reco
Hi.

On Tue, Aug 21, 2018 at 05:48:31PM +0200, to...@tuxteam.de wrote:
> > Is there a Linux application that will allow me to recover the
> > contents of the file?
> 
> As others have said, LibreOffice should do. I don't know about xlsx2csv,

It's the *best*. Small, relatively lightweight, and does the job in
milliseconds. The output is limited to CSV though.


> but an apt search on my box yields
> 
>   tomas@trotzki:~$ apt search ooxml
>   Sorting... Done
>   Full Text Search... Done
>   docx2txt/stable,stable,stable 1.4-0.1 all
> Convert Microsoft OOXML files to plain text

Not relevant. Input is xlsx.


>   libapache-poi-java/stable,stable,stable 3.10.1-3 all
> Apache POI - Java API for Microsoft Documents
>   
>   libapache-poi-java-doc/stable,stable,stable 3.10.1-3 all
> Apache POI - Java API for Microsoft Documents (Documentation)

Suggesting using Java to parse XML in ZIP archive can be considered
cruel and unusual punishment in certain countries. Besides, these are
library and a documentation. Implementation of working parser is left as
an exercise to a reader.


>   libexcel-writer-xlsx-perl/stable,stable,stable 0.95-1 all
> module to create Excel spreadsheets in xlsx format

That one's good, with one *litte* problem.
Making the thing output any sensible result is *very* painful.


>   unoconv/stable,stable,stable 0.7-1.1 all
> converter between LibreOffice document formats

Don't. Just don't. unoconv is an ugly python script that launches
headless Libreoffice and feeds the file to a resulting web-service.
It has all the disadvantages of Libreoffice (CPU/Memory consumption,
abysmal parsing speed, Libreoffice format limitations), and a single
gain - an ability to batch-convert files.

If Libreoffice is unable to open it - unoconv will do one absolutely no
good.

Also, 'apt search xlsx'.

Reco



Re: Microsoft Does It Again

2018-08-21 Thread Stephen P. Molnar




On 08/21/2018 11:48 AM, to...@tuxteam.de wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Aug 21, 2018 at 11:14:48AM -0400, Stephen P. Molnar wrote:

I'm not trying to start a flame war or bash Microsoft [...]

No worries: I won't try to stop you.


For reasons unbeknownst to me, somehow it got saved as an Excel
OOXML file [...]

Go figure. There are masochists out there, aren't there ;-)


[...] Contacting Microsoft Customer Service resulted in
instructions to upgrade Excel to the current version.  THere is no
way that I will spend the money to implement that suggestion.

Bah. Microsoft at its best. "Trust us", says Nadella.


Is there a Linux application that will allow me to recover the
contents of the file?

As others have said, LibreOffice should do. I don't know about xlsx2csv,
but an apt search on my box yields

   tomas@trotzki:~$ apt search ooxml
   Sorting... Done
   Full Text Search... Done
   docx2txt/stable,stable,stable 1.4-0.1 all
 Convert Microsoft OOXML files to plain text
   
   libapache-poi-java/stable,stable,stable 3.10.1-3 all

 Apache POI - Java API for Microsoft Documents
   
   libapache-poi-java-doc/stable,stable,stable 3.10.1-3 all

 Apache POI - Java API for Microsoft Documents (Documentation)
   
   libexcel-writer-xlsx-perl/stable,stable,stable 0.95-1 all

 module to create Excel spreadsheets in xlsx format
   
   unoconv/stable,stable,stable 0.7-1.1 all

 converter between LibreOffice document formats

Unoconv is the machinery behind LibreOffice import; there's docx2txt,
which I don't know personally, and Perl's libexcel-writer-xlsx-perl,
which I have used to good effect (some assembly required, but if you
want to build it into some automatic workflow it might be your cup
of tea). No idea about the java thingies.

Lots of choice :-)

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

iEYEARECAAYFAlt8NE8ACgkQBcgs9XrR2kaFBQCbBQky3qzgdbjxa/ENuwU88gPb
Kl0An3o7wxkhWsfusgiFbpbhCi3NYC/R
=ZnsD
-END PGP SIGNATURE-



Many thanks to all who responded.

LibreOffice did it!!

--
Stephen P. Molnar, Ph.D.
Consultant
www.molecular-modeling.net
(614)312-7528 (c)
Skype: smolnar1



Re: Installing package *NOT* in repository

2018-08-21 Thread Michael Stone

On Tue, Aug 21, 2018 at 11:23:59AM -0400, Greg Wooledge wrote:

Second, this whole thread has been about the undocumented feature of
apt (but not apt-get) that allows you to specify a pathname to a .deb
file on an "apt install" command.  Nobody was quite sure how it worked,
because it's undocumented.


Works fine in apt-get also. Same code. It's also a bit more complicated, 
because it will prefer a repository version if you're trying to install 
something that is actually in the respository.



pathname begins with "/" or "./" or "../".  This seems like a strange
choice to me (I would've gone with "contains a slash", because there's
precedent for that, and because it allows pathnames like "foo/bar.deb"
which the current code does not allow).


/ in an apt parameter already indicates the target release. E.g., 
apt-get install ant/stretch-backports




Status of java-package

2018-08-21 Thread Erwan David
Hi,

This package makes a .deb from oracle .tar.gz It does not package java
9 nor java 10.  Is there a problem with those versions ?  Is the
packaged abandonned, and in this case is there anotehr method to uses
oracle JRE on debian ?



-- 
Erwan



Re: Microsoft Does It Again

2018-08-21 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Aug 21, 2018 at 11:14:48AM -0400, Stephen P. Molnar wrote:
> I'm not trying to start a flame war or bash Microsoft [...]

No worries: I won't try to stop you.

> For reasons unbeknownst to me, somehow it got saved as an Excel
> OOXML file [...]

Go figure. There are masochists out there, aren't there ;-)

> [...] Contacting Microsoft Customer Service resulted in
> instructions to upgrade Excel to the current version.  THere is no
> way that I will spend the money to implement that suggestion.

Bah. Microsoft at its best. "Trust us", says Nadella.

> Is there a Linux application that will allow me to recover the
> contents of the file?

As others have said, LibreOffice should do. I don't know about xlsx2csv,
but an apt search on my box yields

  tomas@trotzki:~$ apt search ooxml
  Sorting... Done
  Full Text Search... Done
  docx2txt/stable,stable,stable 1.4-0.1 all
Convert Microsoft OOXML files to plain text
  
  libapache-poi-java/stable,stable,stable 3.10.1-3 all
Apache POI - Java API for Microsoft Documents
  
  libapache-poi-java-doc/stable,stable,stable 3.10.1-3 all
Apache POI - Java API for Microsoft Documents (Documentation)
  
  libexcel-writer-xlsx-perl/stable,stable,stable 0.95-1 all
module to create Excel spreadsheets in xlsx format
  
  unoconv/stable,stable,stable 0.7-1.1 all
converter between LibreOffice document formats

Unoconv is the machinery behind LibreOffice import; there's docx2txt,
which I don't know personally, and Perl's libexcel-writer-xlsx-perl,
which I have used to good effect (some assembly required, but if you
want to build it into some automatic workflow it might be your cup
of tea). No idea about the java thingies.

Lots of choice :-)

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

iEYEARECAAYFAlt8NE8ACgkQBcgs9XrR2kaFBQCbBQky3qzgdbjxa/ENuwU88gPb
Kl0An3o7wxkhWsfusgiFbpbhCi3NYC/R
=ZnsD
-END PGP SIGNATURE-



Re: Microsoft Does It Again

2018-08-21 Thread Reco
Hi.

On Tue, Aug 21, 2018 at 11:14:48AM -0400, Stephen P. Molnar wrote:
> I'm not trying to start a flame war or bash Microsoft (let's fact it, they
> don't pay attention), but I have a problem with an Excel file.
> 
> For reasons unbeknownst to me, somehow it got saved as an Excel OOXML file.
> I find that i don't have a Linux app that seems to able to open the file.

That's to be expected. M$ are relative newbies then it comes to vendor
lock-in, but they mastered this trick slowly last 30 years or so.

> Is there a Linux application that will allow me to recover the contents of
> the file?

Try xlsx2csv. It's a nasty python script, but it beats unpacking ooxml
(hint - it's a zip archive in disguise) and trying to decypher
underlying XML parody.

Reco



connecting to two networks simultaneously on buster

2018-08-21 Thread Eric S Fraga
Hello,

I have a laptop running buster (testing) which connects to my wireless
network (192.xxx).  I also have a new Gemini PDA (also running Debian
but stretch in this case) which connects to the same network.  So far,
so normal.

However, I can connect the Gemini PDA via USB cable to the laptop and
both systems will have two different networks available, with the USB
one being 10.xxx.  I can then ssh, say, from either system to the other
using IP addresses in either 192 or 10 networks.

On my desktop computer, connected by Ethernet cable to the same network
(192.xxx), plugging the USB cable from the Gemini to the desktop does
not lead to a new connection being made on the desktop computer.  I can
connect to the USB network (nmcli device connect ...) but it disconnects
me from the wireless (and vice versa).

Would somebody please point me to the right magical incantation that
would allow my desktop computer to have both connections active
simultaneously?

Thanks,
eric

-- 
Eric S Fraga via Emacs 27.0.50 & org 9.1.13 on Debian buster/sid



Re: Installing package *NOT* in repository

2018-08-21 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Aug 21, 2018 at 10:06:31AM -0500, David Wright wrote:
> On Tue 21 Aug 2018 at 14:48:25 (+0200), to...@tuxteam.de wrote:

[...]

> > To me, it would be a surprise.
> 
> IMO it would be a grave bug in the Debian project's thinking.

I was trying my hand at some kind of British understatement :)

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

iEYEARECAAYFAlt8MbIACgkQBcgs9XrR2kYu8QCaA63dZ15xjloxkGlpUxBYHLFc
IbAAnAjH9f8EJ4BBJQmARg/s+r6dTwDc
=fTyv
-END PGP SIGNATURE-



Re: Installing package *NOT* in repository

2018-08-21 Thread Greg Wooledge
On Tue, Aug 21, 2018 at 10:04:58AM -0500, David Wright wrote:
> Why would you expect it to look for a «file» at all? If you write
> # apt install gem.deb
> then apt should try to install any «packages» it finds called
> "gemadeb", "gembdeb", "gemcdeb", "gemddeb", etc, and will
> consequently install the «package» gem2deb, which is likely
> not what you expected unless you read the man page for apt-get
> in combination with that for apt.

First of all, the . character is valid in a package name, and is supposed
to be treated literally.  A package named python3.5 exists, for example.

The . character can be a single-character wildcard in some kinds of
regular expression, but one would hope (I certainly hope) that when
an exactly matching package name exists in the database, the exact
match should win out over a regex(7) match.

The . character is NOT a single-character wildcard to the shell, so it
does not need escaping or quoting to survive the shell's argument
parsing.  You might be thinking of the ? character.

Second, this whole thread has been about the undocumented feature of
apt (but not apt-get) that allows you to specify a pathname to a .deb
file on an "apt install" command.  Nobody was quite sure how it worked,
because it's undocumented.

However, Michael Stone was kind enough to point out the line of code
which is partly responsible for this feature (thank you).  So, now we
know that "apt install" can take a pathname argument, but only if the
pathname begins with "/" or "./" or "../".  This seems like a strange
choice to me (I would've gone with "contains a slash", because there's
precedent for that, and because it allows pathnames like "foo/bar.deb"
which the current code does not allow).  But at least now we know.



Re: Microsoft Does It Again

2018-08-21 Thread Patrick Wiseman
A quick Google search for 'convert ooxml to tsv' yields several results;
this one looks interesting:

https://gist.github.com/3290599

Assuming it works, you should then be able to import the TSV file into
Libre Office Calc.

Patrick

On Tue, Aug 21, 2018 at 11:14 AM, Stephen P. Molnar 
wrote:

> I'm not trying to start a flame war or bash Microsoft (let's fact it, they
> don't pay attention), but I have a problem with an Excel file.
>
> For reasons unbeknownst to me, somehow it got saved as an Excel OOXML
> file.  I find that i don't have a Linux app that seems to able to open the
> file.  Contacting Microsoft Customer Service resulted in instructions to
> upgrade Excel to the current version.  THere is no way that I will spend
> the money to implement that suggestion.
>
> Is there a Linux application that will allow me to recover the contents of
> the file?
>
> --
> Stephen P. Molnar, Ph.D.
> Consultant
> www.molecular-modeling.net
> (614)312-7528 (c)
> Skype: smolnar1
>
>


Microsoft Does It Again

2018-08-21 Thread Stephen P. Molnar
I'm not trying to start a flame war or bash Microsoft (let's fact it, 
they don't pay attention), but I have a problem with an Excel file.


For reasons unbeknownst to me, somehow it got saved as an Excel OOXML 
file.  I find that i don't have a Linux app that seems to able to open 
the file.  Contacting Microsoft Customer Service resulted in 
instructions to upgrade Excel to the current version.  THere is no way 
that I will spend the money to implement that suggestion.


Is there a Linux application that will allow me to recover the contents 
of the file?


--
Stephen P. Molnar, Ph.D.
Consultant
www.molecular-modeling.net
(614)312-7528 (c)
Skype: smolnar1



Re: Installing package *NOT* in repository

2018-08-21 Thread David Wright
On Tue 21 Aug 2018 at 14:48:25 (+0200), to...@tuxteam.de wrote:
> On Tue, Aug 21, 2018 at 08:02:02AM -0400, Gene Heskett wrote:
> 
> [...]
> 
> > Odd, maybe apt does not look in $PATH?
> 
> There's no reason to assume that, unless when looking for an executable
> (i.e. those things which tend to live in /bin and /usr/bin).

… and then it will of course be hashed, and so waste no time at all.
But Gene's mention of $PATH was a complete red herring. Or cargo cult.

And consider this: it would be seriously mental to place downloaded
files, which might even have been obtained from untrusted sources,
and stick them in your $PATH ready for execution.

> Actually, dpkg's man page mentions $PATH, but only for searching
> executables, which is to be expected. Not for searching packages.

Yes, and I think one can see why dpkg explicitly mentions $PATH. It
uses a lot of helper programs for unpacking archives, computing MD5s,
etc, and $PATH is where they're expected to be. Expected, but people
using dpkg from the commandline might well have seriously broken
systems with missing or incompatible binaries, and --force-bad-path
attempts to deal with that.

> To me, it would be a surprise.

IMO it would be a grave bug in the Debian project's thinking.

Cheers,
David.



Re: Installing package *NOT* in repository

2018-08-21 Thread David Wright
On Tue 21 Aug 2018 at 08:02:02 (-0400), Gene Heskett wrote:
> On Tuesday 21 August 2018 06:56:45 Vincent Lefevre wrote:
> 
> > On 2018-08-17 13:48:11 -0500, David Wright wrote:
> > > On Fri 17 Aug 2018 at 07:31:34 (-0400), Gene Heskett wrote:
> > > > On Friday 17 August 2018 05:29:07 Vincent Lefevre wrote:
> > > > > On 2018-08-13 09:38:48 -0300, Samuel Henrique wrote:
> > > > > > If you pass a file as parameter to apt install, like:
> > > > > > apt install ./package.deb
> > > > > > It will work, at least on buster.
> > > > >
> > > > > And the "./" is important, otherwise it will not work (until
> > > > > now, for this reason, I didn't know that passing a file was
> > > > > supported). I don't know the exact rule, but it seems that the
> > > > > pathname needs to start with either "/", "./" or "../".
> > > >
> > > > The effect is where the search for the given file is anchored
> > > > just a plain filename is assumed to be someplace in the $PATH
> > >
> > > It would be very odd to place a package file into one's $PATH.
> >
> > Yes, the use of $PATH is awkward. PATH is where executable files are
> > searched for. But Debian packages are not executable.
> >
> Which is why for dpkg|apt work, you should cd to the location of the deb, 

Why? The rule above (start with either "/", "./" or "../") doesn't
necessitate that.

> and give it the package name in ./name.deb format.
> 
> Or, give it /the/full/path/to/the/package/name.deb.
> 
> > But I doubt that this is true. If I use a plain filename, strace
> > doesn't show any attempt to look at the file anywhere.

Yes, logical. (Be aware that "But I doubt that this is true"
refers to the lines starting "The effect is where the search for …").

> Odd, maybe apt does not look in $PATH? That, in some $PATH environments, 
> would be a huge time waster when its not expected to be there anyway.

Why would you expect it to look for a «file» at all? If you write
# apt install gem.deb
then apt should try to install any «packages» it finds called
"gemadeb", "gembdeb", "gemcdeb", "gemddeb", etc, and will
consequently install the «package» gem2deb, which is likely
not what you expected unless you read the man page for apt-get
in combination with that for apt.

Cheers,
David.



Re: Fireox 60 et flash

2018-08-21 Thread Marc
Bonjour,

J'utilise la méthode de télécharger le .tar.gz chez Adobe, de le
décompresser et de copier le fichier libflashplayer.so (version NPAPI) dans
~/.mozilla/plugins

je n'active flash que si besoin et cela fonctionne très bien.

Cordialement,

Marc


On 20/08/2018 16:22, MENGUAL Jean-Philippe wrote:
> Bonjour,
>
> Vous arrivez à entendre le son émis par ce site vous?
> http://maxino.fr/index.php?action=msv=pvdown
>
> Si oui comment? Moi ca ne marche plus depuis Firefox 60
>
> Merci de vos retours
>
> Cordialement
>
> -- 
> signature_jp_2
> Logo HypraJEAN-PHILIPPE MENGUAL
> DIRECTEUR TECHNIQUE ET QUALITÉ
> 102, rue des poissonniers, 75018, Paris
> Tel : +331 84 73 06 61  Mob : +336 76 34 93 37
> 
> jpmeng...@hypra.fr 
> www.hypra.fr 
> Facebook Hypra  Twitter Hypra
>  Linkedin Jean-Philippe
> 
>
>



Re: Installing package *NOT* in repository

2018-08-21 Thread Michael Stone

On Tue, Aug 21, 2018 at 09:33:31AM -0400, Greg Wooledge wrote:

Y'know what, I'm getting sick of apt having this feature and not
documenting it anywhere.  So I decided to do an "apt-get source apt"
and try to find it in the freakin' code.


The relevant test is:

 if (I != nullptr && (I[0] == '/' || (I[0] == '.' && (I[1] == '\0' || (I[1] == '.' 
&& (I[2] == '\0' || I[2] == '/')) || I[1] == '/'

So, basically, if the argument starts with / or ./ or ../ (or if the 
argument is . or ..) it's processed directly.


Mike Stone



Google Earth Pro Problem

2018-08-21 Thread Stephen P. Molnar
I have installed googe-earth-pro-stable_current_amd64.deb on stretch. It 
installed without any problems, but when I run it the active portion of 
the screen is a small square in the upper left corner of the screen.


Any suggestions for a solution will be much appreciated.,,Thanks in 
advance.


--
Stephen P. Molnar, Ph.D.
Consultant
www.molecular-modeling.net
(614)312-7528 (c)
Skype: smolnar1



Re: Dossier .presage dans le home/user/

2018-08-21 Thread Pierre Malard
Mais la présence d’un .db n’a rien à voir avec le fait d’avoir le paquet 
sqlite3 qui sert à gérer les bases SQLite. Simplement, il y a un 
logiciel/service utilisé qui l’a créé.
C’est pourquoi il est pertinent de regarder ce que contient cette base et, en 
faisant une petite recherche sur un site de recherche, on trouve vite ceci :
presage  (0.9.1-2.1+b1)
intelligent predictive text entry platform (tools and demos)
presage-dbg  (0.9.1-2.1+b1)
intelligent predictive text entry platform (tools debugging symbols)


https://packages.debian.org/stable/allpackages


> Le 21 août 2018 à 14:59, G2PC  a écrit :
> 
> Le 21/08/2018 à 13:40, Pierre Malard a écrit :
>> ;-)
>> 
>> Plus sérieusement, et utiliser « SQLite3 » ?
>> % sqlite3 lm.db
>> sqlite> .dump
>> 
>> https://doc.ubuntu-fr.org/sqlite 
>> 
>>> Le 21/08/2018 à 02:39, G2PC a écrit :
 J'ai un dossier .presage dans le home/user/ et je cherche à quoi il
 correspond.
 
 Il contient un unique fichier lm.db
 
 
 Je ne suis pas sur si cela correspond à ce paquet :
 https://tracker.debian.org/pkg/presage 
 
> 
> Bonjour,
> Si je lance sqlite3 la commande est introuvable. C'est que je n'ai pas 
> installé sqlite3.
> 
> C'est pour cela que je suis étonné d'avoir ce dossier .presage
> 
> Mon installation semble plutôt minimaliste, avec un serveur Samba, 
> VirtualBox, et, Wine.
> 
> Je n'ai pas remarqué ce dossier, sur d'autres machines debian testées en VM.
> 
> Je me demande si ce ne serait pas lutris ( un équivalent à playonlinux ) qui 
> aurait pu m'installer ce presage.

--
Pierre Malard

   «le système d'individualisme à outrance, d'âpre concurrence,
   de lutte sans merci qui régit aujourd'hui la production, fait
   presque autant de mal à la classe bourgeoise dans son ensemble
   qu'à la classe ouvrière. [...]
  Ils vivent dans un monde de lutte où la solidarité est inconnue.»
   Jean Jaures - "L'idéal de justice" - 
1889
   |\  _,,,---,,_
   /,`.-'`'-.  ;-;;,_
  |,4-  ) )-,_. ,\ (  `'-'
 '---''(_/--'  `-'\_)   πr

perl -e '$_=q#: 3|\ 5_,3-3,2_: 3/,`.'"'"'`'"'"' 5-.  ;-;;,_:  |,A-  ) )-,_. ,\ 
(  `'"'"'-'"'"': '"'"'-3'"'"'2(_/--'"'"'  `-'"'"'\_): 
24πr::#;y#:#\n#;s#(\D)(\d+)#$1x$2#ge;print'
- --> Ce message n’engage que son auteur <--



signature.asc
Description: Message signed with OpenPGP


Re: Abrir puertos a internet

2018-08-21 Thread Felix Perez
El lun., 20 de ago. de 2018 a la(s) 18:17, mama21mama2000
(mama21mama2...@yahoo.com.ar) escribió:
>
>
> Hola, camaradas.
>
> Ando usando el Internet de mi vecina...hasta que speedy instale en casa el 
> servicio.
>
> Ando en lista de espera.
>
> Comento que mi vecina tiene el cablemodem
> Cable Módem Technicolor de cisco, a mas de 50mts se enlasa con mi router 
> dd-wrt.
>
> Ip router dd-wrt
> Wan 192.168.0.18
> Sin firewall con dhcp
> Ip server 192.168.1.38
> Puerta enlace 192.168.1.1
>
> Router cisco
> Dmz 192.168.0.18
> Dhcp acrivado
>
> Alguna idea a probar?
>

¿Y la pregunta o problema sería?


-- 
usuario linux  #274354
normas de la lista:  http://wiki.debian.org/es/NormasLista
como hacer preguntas inteligentes:
http://www.sindominio.net/ayuda/preguntas-inteligentes.html



Re: Deep Packet Inspection

2018-08-21 Thread Dan Ritter
On Tue, Aug 21, 2018 at 11:21:01AM +0300, Mimiko wrote:
> Isn't zorp gone commercial only?
> 
> On 19.08.2018 20:51, Dan Ritter wrote:
> > zorp is a proxying firewall with many look-inside features, but
> > is not arbitrarily deep.
> 

zorp 6.0.10.0-2 is packaged for sid; early versions for wheezy
and jessie.

https://github.com/Balasys/zorp 

-dsr-



Re: Installing package *NOT* in repository

2018-08-21 Thread Greg Wooledge
On Tue, Aug 21, 2018 at 02:48:25PM +0200, to...@tuxteam.de wrote:
> On Tue, Aug 21, 2018 at 08:02:02AM -0400, Gene Heskett wrote:
> > Odd, maybe apt does not look in $PATH?

(That wouldn't be "odd".  That would be "normal".)

> There's no reason to assume that, unless when looking for an executable
> (i.e. those things which tend to live in /bin and /usr/bin).
> 
> Actually, dpkg's man page mentions $PATH, but only for searching
> executables, which is to be expected. Not for searching packages.
> 
> To me, it would be a surprise.

Y'know what, I'm getting sick of apt having this feature and not
documenting it anywhere.  So I decided to do an "apt-get source apt"
and try to find it in the freakin' code.

Unfortunately, it is written in C++.  It is a nightmare.  Totally
unreadable.

I managed to find the file apt-1.4.8/cmdline/apt.cc which looks like
the starting point for the "apt" command line tool.  So, yay?  We can
start here, right?  Hah!

The "obvious" thing that I found was this:

  // package stuff
  {"install", , _("install packages")},

So, if we pass the command "install", it should call this function named
"DoInstall", right?  So all we have to do is find the function named
"DoInstall" somewhere in the source code, and read that, and it will
tell us what the "install" command does.  Right?

Wrong.  Because it's an unmaintinable C++ nightmare.

Oh, but, here's main() and in main() we see this call:

   auto const Cmds = ParseCommandLine(CmdL, APT_CMD::APT, &_config, &_system, 
argc, argv, , );

So, we can just find the function named "ParseCommandLine" and read THAT,
and surely THAT would have to tell us how it parses the command line
arguments, right?  RIGHT?!

Wrong.  Because it's an unreadable C++ nightmare.

I also tried looking for "strchr" (thinking, "somewhere there HAS to be
a check to see whether the argument string contains a slash character,
right?").  I found a few of them, but none seemed relevant.

I even tried doing searches for "'/'" (that is, the three-character
literal string '/') in a few places, but no luck with that either.

Oh, you know what else?  Here in the top-level directory there's this
file named README.md and it says:

  APT uses cmake.

At that point, I just gave up.  cmake is the WORST.  As near as I
can tell, it exists for only one reason: to make development hellish.
As soon as I saw that this project uses cmake, I literally gave up,
wrote this screed, and deleted the source directory.

Someone else can try to find the god damned argument parsing code.
Which should be in the god damned main() function.  But isn't.



Re: bash: initialiser environnement particulier

2018-08-21 Thread Bernard Schoenacker



- Mail original -
> De: "Charles Plessy" 
> À: debian-user-french@lists.debian.org
> Envoyé: Mardi 21 Août 2018 14:36:57
> Objet: Re: bash: initialiser environnement particulier
> 
> Le Sun, Aug 12, 2018 at 10:40:11AM +0200, Jérémy Prego a écrit :
> > 
> > j'aimerai parfois lancer un bash avec d'autres variables que celle
> > défini
> > par défaut par exemple au lancement d'un bash, exporter la variable
> > http_proxy ou encore la variable TZ. par contre, faut que se soit
> > juste sur
> > le bash que j'ai choisi. j'ai bien essayé de mettre des arguments
> > au
> > lancement de bash par exemple, /bin/bash && export
> > http_proxy=xx.xx.xx.x.xx:3128/ mais ça ne semble pas fonctionné
> > comme ça.
> > 
> > faut-il que je crée un fichier d'initialisation bash alternatif et
> > appelé ce
> > fichier au lancement de mon bash particulier ?
> > 
> > comment feriez vous ? :)
> 
> Peut-être installer environment-modules ?
> 
> http://modules.sourceforge.net/
> 
> Amicalement,
> 
> Charles
> 
> --
> Charles Plessy  Akano, Uruma, Okinawa,
> Japon
> Debian Med packaging team
> http://www.debian.org/devel/debian-med
> Pouète au travail
>https://mastodon.technology/@charles_plessy
> Pouète à la maison
> https://framapiaf.org/@charles_plessy
> 
> 
bonjour,

pourquoi ne pas passer à zsh ?

merci

slt
bernard



Re: Mate-terminal and multitabs

2018-08-21 Thread err404
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 08/21/2018 12:43 PM, MENGUAL Jean-Philippe wrote:
> Hi,
> 
> My purpose is: when I run mate-terminal, or a specific profile, some tabs 
> open automatically. How can I, just like I do with screen, set mate-terminal 
> to open automatically various commands in various tabs automatically at 
> running?
> 
> Thanks for your help
> 
> Regards
> 
may be you can try tmux?
tmux is like screen.
with mate-terminal I don't have any idea.


-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEMXISaGZmF7NpMTZj6OuMS89alfsFAlt8ESYACgkQ6OuMS89a
lfv9KQ//WYZ1OygV6CW3hVBrXr4JMelk5GxC0FfZaXJ4wg5UJRnHl7rzV57zWKnE
XiGerasEF0JZnmZTouR+b/1hk1tGi+NfV+jpcu5xe3w7TXDBny7URmnZLyw7CkPK
S4hqibn96ev+zBnm6SnxLFV58894KtMx+Zy7V1+RrfVzflFNgMZSoIO0az8gaovk
xjbBTYqtOiwTiEnlZhlLTzGYyGX7HC7N5OhddekXIMoLSW9UzpakMaJHPfvD2xdW
K1Me1eDHIrc3BpuvCe5k2mu3iOlmiouL23cmPHdS3PUxZbPHba1Zg0UfloDED09n
6CpMwvVgTzU8qkXa4z49JpwTvAmJYAr8aPPhMRvYI6jNFg1RAlJfuIRxG9AZFA0h
C4dMAF9mzaivVEWjeH4/uOiufthdHeE5E2McGpLna/6qI2RxU0jOxPiJ/NNsdFVn
7q8TZm6nsYvFjeWmdpnzDYyryenW3fBFbgtN+sEC11jimNDuM91OtTicfhtXRB8s
vlFo4FvGpubAqhUZsUnrj9AlAWWfAeugs5jCZ9Feyiky+xlwILCccJBb+V0D0Qz2
9w6uU8sRvysTNt+IP37W7a9IXpGcC4J08xSs0U4l29SO74cmcCzdoXO1MnJHwymU
T97NvIKRW+niQkGbedSYnoaE6VcmVMvjCzCxQeidk7iYQQBV+a8=
=ohwv
-END PGP SIGNATURE-



Re: Installer Redmine sur Debian

2018-08-21 Thread G2PC
Le 21/08/2018 à 09:21, Sébastien Dinot a écrit :
>
> - Mail original -
>> Par contre, je cherche tout de même encore à savoir si il est
>> possible, et, si oui, comment je peux faire pour créer un
>> GROUPE redmine, qui soit capable de faire tourner Apache2
>> comme le ferait www-data.
> Je pense que c'est réellement une mauvaise idée, mais si tu le veux vraiment, 
> il suffit de :
>
> 1. Modifier la variable d'environnement APACHE_RUN_GROUP dans le fichier 
> /etc/apache2/envvars
> 2. Arrêter le serveur Apache
> 3. Rechercher tous les fichiers et répertoires appartenant au groupe www-data 
> et les affecter au groupe redmine
> 4. Rechercher dans /etc les occurrences de www-data et voir s'il y a lieu de 
> les remplacer par redmine
>
> Sébastien

Merci de ton retour, et, de ton avis.
Je ne voudrais pas monter une usine à gaz, mes propres tests sont très
volatiles.

Si je pose cette question, c'est que j'ai vu quelques tutoriels qui
proposent de créer l'utilisateur redmine, en le mettant dans le groupe
redmine.
HORS, dans mes tests, si je fais ça, l'utilisateur et groupe redmine
redmine:redmine à qui je donne les fichiers du programme redmine, ne
peut pas faire tourner Redmine, quand je charge la page sur le navigateur.

J'en étais arrivé à créer l'utilisateur redmine dans le groupe www-data,
ce qui fonctionne.

Par contre, cela ne m'explique pas pourquoi d'autres tutoriels créent
l'utilisateur redmine dans le groupe redmine.
Eux, n'abordent pas le fait de changer la variable d'environnement
APACHE_RUN_GROUP
Ce n'est donc pas cette piste que je cherche à aboutir, d'après moi.

Peut être, si c'est possible, devrais je créer l'utilisateur redmine, en
le mettant dans 2 groupes ? redmine ET www-data ?
Ainsi, si je change les droits des fichiers de redmine pour
redmine:redmine, la page chargée via navigateur fonctionnerait, car,
implicitement, l'utilisateur serait quand même dans le groupe www-data ?

Est ce possible ainsi ?
Et, quel intérêt alors ?



Re: Dossier .presage dans le home/user/

2018-08-21 Thread G2PC
Le 21/08/2018 à 13:40, Pierre Malard a écrit :
> ;-)
>
> Plus sérieusement, et utiliser « SQLite3 » ?
>
> % sqlite3 lm.db
> sqlite> .dump
>
>
> https://doc.ubuntu-fr.org/sqlite
>
>> Le 21/08/2018 à 02:39, G2PC a écrit :
>>> J'ai un dossier .presage dans le home/user/ et je cherche à quoi il
>>> correspond.
>>>
>>> Il contient un unique fichier lm.db
>>>
>>>
>>> Je ne suis pas sur si cela correspond à ce paquet :
>>> https://tracker.debian.org/pkg/presage

Bonjour,
Si je lance sqlite3 la commande est introuvable. C'est que je n'ai pas
installé sqlite3.

C'est pour cela que je suis étonné d'avoir ce dossier .presage

Mon installation semble plutôt minimaliste, avec un serveur Samba,
VirtualBox, et, Wine.

Je n'ai pas remarqué ce dossier, sur d'autres machines debian testées en VM.

Je me demande si ce ne serait pas lutris ( un équivalent à playonlinux )
qui aurait pu m'installer ce presage.


Re: What's the right way to get an unbroken mc package installed in Stretch

2018-08-21 Thread Greg Wooledge
On Tue, Aug 21, 2018 at 08:36:30AM -0400, bw wrote:
> On Mon, 20 Aug 2018, Felix Miata wrote:
> > I configured stretch-backports in sources.list, but apparently
> > it has no newer mc version available. 4.8.21 is on the mirrors, so I 
> > downloaded
> > it from a mirror and installed it with dpkg. It works fine, but now apt is
> > broken

https://wiki.debian.org/DontBreakDebian

> >From what I have read, the way to do it would be backport the necessary 
> pkgs yourself from testing.  

And the procedure for doing this is at
.  The IRC bots have a
simplified recipe as well, under the factoid name "simple sid backport"
or "ssb" for short.



Re: Installing package *NOT* in repository

2018-08-21 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Aug 21, 2018 at 08:02:02AM -0400, Gene Heskett wrote:

[...]

> Odd, maybe apt does not look in $PATH?

There's no reason to assume that, unless when looking for an executable
(i.e. those things which tend to live in /bin and /usr/bin).

Actually, dpkg's man page mentions $PATH, but only for searching
executables, which is to be expected. Not for searching packages.

To me, it would be a surprise.

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

iEYEARECAAYFAlt8ChkACgkQBcgs9XrR2kaf0gCeLbewH84ROf9mMcjaCa7s/+eZ
6vAAni9A0wRYe1a8RIv41Bkz5Jiojq7I
=I5OO
-END PGP SIGNATURE-



Re: painted into a corner

2018-08-21 Thread Greg Wooledge
On Mon, Aug 20, 2018 at 09:23:27PM -0400, Gene Heskett wrote:
> On Monday 20 August 2018 20:08:11 David Wright wrote:
> > On Mon 20 Aug 2018 at 16:27:18 (-0400), Gene Heskett wrote:
> > > So I reboot to a different installer supplied by the linuxcnc
> > > people, and installed it. Weird, I had access to the network, and
> > > could download updates, but when I looked in /dev/ no sign of either
> > > eth0 or enp0s8.
> >
> > Eh? in /dev?
> >
> Absolutely no trace of either an eth# or an enp0s# there. At that point I 
> looked to see if it was 5 o-clock yet.  Wasn't, dammit.

Debian has never put network interface device nodes in /dev.  I don't
know why you expected to see them there.

If you want to learn the names of your network interfaces, there are
several commands that may work:

ip link
netstat -in
ifconfig -a

On any given release or installed-instance of Debian, one or more of these
may not be available, so learn 'em all.  "ip link" is the preferred one
these days, so I put it at the top of the list.



Re: bash: initialiser environnement particulier

2018-08-21 Thread Charles Plessy
Le Sun, Aug 12, 2018 at 10:40:11AM +0200, Jérémy Prego a écrit :
> 
> j'aimerai parfois lancer un bash avec d'autres variables que celle défini
> par défaut par exemple au lancement d'un bash, exporter la variable
> http_proxy ou encore la variable TZ. par contre, faut que se soit juste sur
> le bash que j'ai choisi. j'ai bien essayé de mettre des arguments au
> lancement de bash par exemple, /bin/bash && export
> http_proxy=xx.xx.xx.x.xx:3128/ mais ça ne semble pas fonctionné comme ça.
> 
> faut-il que je crée un fichier d'initialisation bash alternatif et appelé ce
> fichier au lancement de mon bash particulier ?
> 
> comment feriez vous ? :)

Peut-être installer environment-modules ?

http://modules.sourceforge.net/

Amicalement,

Charles

-- 
Charles Plessy  Akano, Uruma, Okinawa, Japon
Debian Med packaging team http://www.debian.org/devel/debian-med
Pouète au travailhttps://mastodon.technology/@charles_plessy
Pouète à la maison https://framapiaf.org/@charles_plessy



  1   2   >