RESOLVED: Trouble making bootable USB from ISO image

2019-05-04 Thread Mark Fletcher
On Sat, May 04, 2019 at 05:03:42AM +, Russell L. Harris wrote:
> On Sat, May 04, 2019 at 11:39:39AM +0900, Mark Fletcher wrote:
> 
> Nonetheless, I do find "Disks" handy to identity the device associated
> with a USB memory stick just plugged in, and to indicate at a glance
> the partitioning and formatting.

Indeed I used that at one point to see what state it thought the disk 
was in after I'd written the ISO image.

> 
> According to "https://www.debian.org/CD/faq/#write-usb;, all Debian
> i386 and amd64 images are created using the isohybrid technology, so
> that they may be copied to USB flash drives which boot directly from
> the BIOS or EFI firmware of most PCs.  In Linux, copy with "cp 
> " or with "dd if= of= bs=4M; sync".  And be sure
> you are copying to the device (such as "/dev/sdd") and not to a
> partition of the device (such as "/dev/sdd1").

Indeed, that was how I did it. The Windows download page clearly 
indicated that the ISO was for USB sticks or DVDs. Someone else also 
asked about the size of the image, being too big for a single-layer DVD. 
In answer to their question yes the download page did point that out, if 
one read as far as the troubleshooting section where it said something 
like "If your burner says there isn't enough space on the DVD, it means 
you need a dual-layer DVD" or similar." Since I was using a 16GB pen 
drive I wasn't worried about that element of things.

> 
> In the case of a USB flash drive which refuses to boot, you might try
> using "fdisk" to delete all existing partitions and create a new
> partition, followed by "mkfs.msdos" before you copy the ISO image to
> the drive.

I essentially did that at one point while troubleshooting the pen drive, 
except using Gnome's ability to "format" the device (now there's a blast 
from the past)

> 
> If everything else fails, before you toss the drive into the dumpster,
> plug the drive into a Window$ box and allow Window$ to format the
> drive.  Now and then a Window$ box can do something useful.
> 

Would only be an option if you have a windows machine to do it on. 
Someone did suggest installing kvm and launching the ISO as a VM, and 
then using that to burn the ISO onto a USB stick -- that was a creative 
solution I hadn't thought of. Using a VM for the entire experiment in 
the first place could almost have been a solution, actually -- except 
that I want my son to be able to access the machine when I'm not around.

But in the end it turned out the image was fine -- and the very first 
burn I did was probably also fine. Thank god we are past the days of 
DVDs or I would have had half a dozen shiny new coasters for no good 
reason.

The issue was Secure Boot. Specifically, in the case of my test machine, 
it's too old to support secure boot, and in the case of the final target 
machine, secure boot was turned off in the BIOS so that I could boot 
Buster which is what this machine was previously running. When I 
switched the CSM and also turned on Secure Boot (both settings needed to 
be changed) in the BIOS, the machine finally booted from the USB stick, 
and all proceeded smoothly from there.

So the issue in the end, contrary to my instincts, was nothing to do 
with errors or mistakes in writing the image to the pen drive (although 
I'm grateful for the memory refresh around the difference between 
unmounting and ejecting removable drives and the confirmation of the 
common-sense point that a drive needs to not be mounted when you write 
an image to it. In practice I think it actually worked, since the result 
looked healthy when I mounted it, but the advice is good nonetheless)

Thanks all for your help. And now as a result of this exercise I've had 
returned to me another machine which can be my new Buster toy :)

The other thing this has surfaced is all that noise in the logs when 
writing using a motherboard-builtin USB2 socket. When I tried the 
process in a USB3 socket provided by an add-in card, I didn't get all 
that noise in the log with system call quotes and compaints about 
systemd-udevd being blocked for too long. Interesting but I no longer 
think evidence of an actual problem, as I now believe all image writes 
worked correctly.

Mark



Re: dpkg-reconfigure keyboard-configuration (Swedish with "|" and "¦"?)

2019-05-04 Thread Erik Josefsson

Den 2019-05-05 kl. 04:31, skrev Doug:


What is on the last key on the right, directly above the right Enter 
key? On a US keyboard, the is a back slant (unshifted) and the pipe, 
shifted. You haven't mentioned that key at all.


The print on that physical key on the Teres laptop is backslash \ and 
(shifted) pipe | .


The keyboard physically looks like this (also the black letters map on 
the print on the keys):


https://en.wikipedia.org/wiki/ISO/IEC_9995#/media/File:KB_US-ISO9995-3.svg

except for the last row that from left has 
.


Btw, that svg file seems to refer to an ISO standard that looks current:

https://www.iso.org/standard/57852.html

So maybe the Teres keyboard is actually standard compliant, despite (or 
thanks to?) the penguin key?


//Erik








Re: dpkg-reconfigure keyboard-configuration (Swedish with "|" and "¦"?)

2019-05-04 Thread Doug


On 05/04/2019 08:59 PM, Erik Josefsson wrote:

Den 2019-05-04 kl. 18:23, skrev Kenneth Parker:


On Sat, May 4, 2019 at 10:37 AM Erik Josefsson  wrote:


-> Generic 105-key PC (intl.)
-> Other
-> Swedish
-> Swedish
-> The default for the keyboard layout
-> No compose key
-> Use Control+Alt+Backspace to terminate the X server? 
sudo shutdown -h now

And it works! Now I am just missing "|" and "¦".


With US Keyboards, I see either of those characters, right of the "p" 
key.  I was not aware that there were two, distinct characters.


One of them ("|" on my current keyboard) is used as a "Pipe" symbol, 
for when I "pipe" the results of one command into another.


Which?



Actually, I'm just missing pipe (for exactly that reason).

The "¦" symbol is apparently called "broken bar" and happens to be the 
what my "scandinavian" USB- keyboard gives when the physical key 
between the  and the  key is pressed together with gr>+. I have never used it before and I don't think it has a 
function in any language, see wikipedia:


https://en.wikipedia.org/wiki/Vertical_bar#Solid_vertical_bar_vs_broken_bar

I have not yet figured out how to make the Teres keyboard do the pipe.

//Erik


What is on the last key on the right, directly above the right Enter 
key? On a US keyboard, the is a back slant (unshifted) and the pipe, 
shifted. You haven't mentioned that key at all.


--doug


Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-04 Thread Erik Josefsson

Den 2019-05-04 kl. 21:43, skrev Jonas Smedegaard:

For danish, picking the layout "Danish (Win keys) has pipe key reachable
as AltGr+= (where AltGr is the right Alt key).

I also set "Menu" (which is the key between right Alt and right Ctrl) as
compose key.


So if you were to make a Danish Teres laptop, you'd make the following 
choices in dpkg-reconfigure keyboard-configuration?


Keyboard model:  Generic 102-key PC (intl.)
Keyboard layout: Danish - (Win keys)
Key to function as AltGr:    The default for the keyboard layout
Compose key: Menu key
Use Control+Alt+Backspace to
terminate the X server?  

Those won't work for me, but there are a couple of Finnish options I 
will try.


Thanks for taking time.

//Erik



Re: That command brake my pip3

2019-05-04 Thread aprekates

I found an explanation that seems good here:


The problem is that pip will upgrade itself in a version that doesnt 
allow the


debian 9's pip script to find its internals..

The issue is also in BTS : 928190 



+1 to the pip guy for the good explanation.

- 1 for pip messing with deb

-1 for deb assuming pip is dead :-)

https://github.com/pypa/pip/issues/5221#issuecomment-382069604

On 4/5/19 10:32 μ.μ., aprekates wrote:

debian 9.6

I've installed pip3 from

$ sudo apt install python3-pip

alexdev@enous:/var/www/virtpyapp-alx$ pip3 install pipenv
Collecting pipenv
  Downloading 
https://files.pythonhosted.org/packages/13/b4/3ffa55f77161cff9a5220f162670f7c5eb00df52e00939e203f601b0f579/pipenv-2018.11.26-py3-none-any.whl 
(5.2MB)

    100% || 5.2MB 308kB/s
Collecting virtualenv (from pipenv)
  Downloading 
https://files.pythonhosted.org/packages/4f/ba/6f9315180501d5ac3e707f19fcb1764c26cc6a9a31af05778f7c2383eadb/virtualenv-16.5.0-py2.py3-none-any.whl 
(2.0MB)

    100% || 2.0MB 560kB/s
Collecting pip>=9.0.1 (from pipenv)
  Downloading 
https://files.pythonhosted.org/packages/f9/fb/863012b13912709c13cf5cfdbfb304fa6c727659d6290438e1a88df9d848/pip-19.1-py2.py3-none-any.whl 
(1.4MB)

    100% || 1.4MB 646kB/s
Collecting certifi (from pipenv)
  Downloading 
https://files.pythonhosted.org/packages/60/75/f692a584e85b7eaba0e03827b3d51f45f571c2e793dd731e598828d380aa/certifi-2019.3.9-py2.py3-none-any.whl 
(158kB)

    100% || 163kB 1.1MB/s
Collecting virtualenv-clone>=0.2.5 (from pipenv)
  Downloading 
https://files.pythonhosted.org/packages/ba/f8/50c2b7dbc99e05fce5e5b9d9a31f37c988c99acd4e8dedd720b7b8d4011d/virtualenv_clone-0.5.3-py2.py3-none-any.whl

Collecting setuptools>=36.2.1 (from pipenv)
  Downloading 
https://files.pythonhosted.org/packages/ec/51/f45cea425fd5cb0b0380f5b0f048ebc1da5b417e48d304838c02d6288a1e/setuptools-41.0.1-py2.py3-none-any.whl 
(575kB)

    100% || 583kB 886kB/s
Installing collected packages: virtualenv, pip, certifi, 
virtualenv-clone, setuptools, pipenv
Successfully installed certifi-2019.3.9 pip-19.1 pipenv-2018.11.26 
setuptools-41.0.1 virtualenv-16.5.0 virtualenv-clone-0.5.3


alexdev@enous:/var/www/virtpyapp-alx$ pip3 list
Traceback (most recent call last):
  File "/usr/bin/pip3", line 9, in 
    from pip import main
ImportError: cannot import name 'main'



Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-04 Thread Erik Josefsson

Den 2019-05-04 kl. 19:08, skrev Jonas Smedegaard:

Quoting Kenneth Parker (2019-05-04 18:23:48)

On Sat, May 4, 2019 at 10:37 AM Erik Josefsson  wrote:



-> Generic 105-key PC (intl.)
-> Other
-> Swedish
-> Swedish
-> The default for the keyboard layout
-> No compose key
-> Use Control+Alt+Backspace to terminate the X server? 
sudo shutdown -h now

And it works! Now I am just missing "|" and "¦".

Nothing specific to Teres-I laptop about that.


How do you know?

There are no signs on the box telling me that the Teres laptop keyboard 
is one or the other of the [keyboards listed] by dpkg-reconfigure 
keyboard-configuration and the link to the hardware source don't say 
either:


https://github.com/OLIMEX/DIY-LAPTOP/tree/master/HARDWARE/A64-TERES/TERES-PCB5-KEYBOARD


Problem is that you want a pipe key "|" reachable


Yes, that is the problem!


on a 102-key keyboard


The Teres laptop keyboard has 80 physical keys. Why do you call it a 
"102-key keyboard"?



with a swedish layout.

Swedish layout is this: https://en.wikipedia.org/wiki/QWERTY#Swedish

Notice how "<" and ">" (on a 105-key US layout is right of "M", shifted)
is left of "Z" on a key which is missing on 102-char keyboards.


Myscandinavian USB keyboard has 105 physical keys, but since the Teres 
laptop keyboard has 80 physical keys I cannot really notice "a key which 
is missing on 102-char keyboards".


Please note that both myUSB keyboard and the Teres keyboard delivers 
identical output with the two dpkg-reconfigure keyboard-configuration 
options I have tried "Generic 105-key PC (intl.)" and "Generic 102-key 
PC (intl.)".


Thanks for feedback!

//Erik


[keyboards listed]

A4Tech KB-21
A4Tech KBS-8
A4Tech Wireless Desktop RFKB-23 — безжична
Acer AirKey V
Acer C300
Acer Ferrari 4000
Acer portàtil
Advance Scorpius KI
Amiga
Apple
Apple
Apple Aluminium (ANSI)
Apple Aluminium (ISO)
Apple Aluminium (JIS)
Apple portàtil
Asus portàtil
Atari TT
Azona RF2300 wireless Internet
BenQ X-Touch
BenQ X-Touch 730
[and more...]



Re: Shell Script Help

2019-05-04 Thread Will Mengarini
* Patrick Bartek  [19-05/04=Sa 08:08 -0700]:
> [...] Perform an operation on files in unique, sequential
> directories [...] never more than 99 -- usually a lot
> less.  The actual number will vary job to job.  [...]

If the sequentially-numbered directories already exist:
  `man find`
Else:
  for ((i=1;i<12;++i));{ printf frob%02d\\n $i;} # tested: Bash 3 & 4

* Patrick Bartek  [19-05/04=Sa 08:08 -0700]:
> Want to create a simple, one liner to type in to automate what I've
> been doing manually: Perform an operation on files in unique,
> sequential directories, save the results of the operations for each
> directory with a file name of that directory in the directory the
> target directories reside in.  For example:
> 
> Directories ab01, ab02 ... ab30 results in output
> 
> ab01.jpg. ab02.jpg ... ab30.jpg outside of those drectories.
> 
> There will never be more than 99 directories -- usually a lot less. The
> actual number will vary job to job. The letters in the directory names
> will vary job to job, but will remain constant for each job.  Only the
> numbers will sequence. 



Re: dpkg-reconfigure keyboard-configuration (Swedish with "|" and "¦"?)

2019-05-04 Thread Erik Josefsson

Den 2019-05-04 kl. 18:23, skrev Kenneth Parker:


On Sat, May 4, 2019 at 10:37 AM Erik Josefsson  wrote:


-> Generic 105-key PC (intl.)
-> Other
-> Swedish
-> Swedish
-> The default for the keyboard layout
-> No compose key
-> Use Control+Alt+Backspace to terminate the X server? 
sudo shutdown -h now

And it works! Now I am just missing "|" and "¦".


With US Keyboards, I see either of those characters, right of the "p" 
key.  I was not aware that there were two, distinct characters.


One of them ("|" on my current keyboard) is used as a "Pipe" symbol, 
for when I "pipe" the results of one command into another.


Which?



Actually, I'm just missing pipe (for exactly that reason).

The "¦" symbol is apparently called "broken bar" and happens to be the 
what my "scandinavian" USB- keyboard gives when the physical key between 
the  and the  key is pressed together with gr>+. I have never used it before and I don't think it has a 
function in any language, see wikipedia:


https://en.wikipedia.org/wiki/Vertical_bar#Solid_vertical_bar_vs_broken_bar

I have not yet figured out how to make the Teres keyboard do the pipe.

//Erik




Re: Can't install addons for firefox

2019-05-04 Thread Zenaan Harkness
On Sat, May 04, 2019 at 02:34:16PM -0700, Ross Boylan wrote:
> Just wanted to draw people's attention to a couple of things:
> 
> "There are a number of work-arounds being discussed in the community.
> These are not recommended as they may conflict with fixes we are
> deploying. We’ll let you know when further updates are available that
> we recommend, and appreciate your patience. (May 4, 15:01 EST)"
> >>From the updates on the bottom of
> https://blog.mozilla.org/addons/2019/05/04/update-regarding-add-ons-in-firefox/
> 
> Second, that blog entry will supposedly be updated as things unfold,
> so it may be at least a semi-authoritative way to track what's going
> on.


This worked for one extremely humble (wink wink) user:
https://forums.informaction.com/viewtopic.php?p=100053#p100053

in particula, temporarily disabling xpinstall.signatures.required :

 1) Open about:config
 2) Toggle the value of xpinstall.signatures.required so it becomes false.
 3) Restart the browser.

This epitome of submission did not need step 3).

I suggest writing one's elf a little note to try re-enabling this in
a day or two.

Good luck ;)



Re: Can't install addons for firefox

2019-05-04 Thread Ben Caradoc-Davies
Setting about:config / xpinstall.signatures.required to false fixed 
extensions for me for firefox 66.0.1-1 amd64 on Debian sid and for 
Firefox 66.0.2 on Android. I needed to restart Firefox on Debian.


Kind regards,

--
Ben Caradoc-Davies 
Director
Transient Software Limited 
New Zealand



Re: Can't install addons for firefox

2019-05-04 Thread Peter Ehlert

I have been just waiting for Mozilla. A few moments ago I saw this:
https://www.dedoimedo.com/computers/firefox-addons-disabled-bug.html
simple and logical work-around... just remember to check back and re-enable.

Peter running ESR on Buster Mate

On 5/4/19 2:34 PM, Ross Boylan wrote:

Just wanted to draw people's attention to a couple of things:

"There are a number of work-arounds being discussed in the community.
These are not recommended as they may conflict with fixes we are
deploying. We’ll let you know when further updates are available that
we recommend, and appreciate your patience. (May 4, 15:01 EST)"
>From the updates on the bottom of
https://blog.mozilla.org/addons/2019/05/04/update-regarding-add-ons-in-firefox/

Second, that blog entry will supposedly be updated as things unfold,
so it may be at least a semi-authoritative way to track what's going
on.







Re: No Wifi Option

2019-05-04 Thread Brian
On Sat 04 May 2019 at 21:58:57 +0200, Jonas Smedegaard wrote:

> Quoting Terrill Wallace (2019-05-04 21:39:03)
> > I'm just gonna quit and give up
> 
> Yes, that is indeed the easiest approach. Sorry I didn't think to 
> suggest that.
> 
> I suggest to wrap the laptop in a transparent plastic bag when trashing 
> it, to at least offer the chance of it getting a second life in the 
> hands of someone slightly more patient :-)

Patience isn't the issue. One installer (official) is given prominence.
The other (unofficial) is hidden behind the curtains. No wonder that
newcomers (remember them?) are confused and give up.

BTW, documentation for what goes in the unofficial section of the website
and what its purpose is not exactly easy to find.

-- 
Brian.



Re: No Wifi Option

2019-05-04 Thread Brian
On Sat 04 May 2019 at 22:19:43 +0200, Jonas Smedegaard wrote:

> Quoting Brian (2019-05-04 22:01:07)
> > On Sat 04 May 2019 at 21:32:19 +0200, Jonas Smedegaard wrote:
> > 
> > > Hi Terrill,
> > > 
> > > Quoting Terrill Wallace (2019-05-04 20:44:24)
> > > > I am trying to install Debian 9 on my desktop but within the install I 
> > > > am not given a Wifi Option. Can you please help me with this issue?
> > > 
> > > Most likely the wifi device built into your computer requires non-free 
> > > firmware, which is not included with Debian.
> > 
> > Quite possibly.
> >  
> > > Best option (from a Free Software standpoint) is to buy a wifi dongle 
> > > which works with Free Software.  See e.g. https://wiki.debian.org/WiFi
> > 
> > Indeed.
> >  
> > > Alternatively (if you don't mind the legal implications that comes with 
> > > including non-free formware to your installation) look for the 
> > > unofficial debian-installer image which includes non-free firmware.
> > 
> > Are there legal implications with a user installing non-free software
> > as long as they follow the conditions?
> 
> I am not a lawyer - please have your own lawyer consult you regarding 
> the licensing terms involved - i.e. possibly some of these: 
> https://metadata.ftp-master.debian.org/changelogs/non-free/f/firmware-nonfree/
 
A nice side-step of *a user* installing non-free software. Nobody needs
a lawyer to read and understand the conditions under which he got it.
And, of course, there is a considerable difference between what an
individual does and how an organisation behaves.
 
> > Debian, of course, decided it cannot distribute such software. That is
> > why we have the pragmatic nonsense of having official and unofficial
> > installers.
> 
> It seems you are mistaken: Debian can and evidently do distribute such 
> software - just not as part of a Free Software distribution.¹
> 
> Feel free to label it nonsense if that makes you happy.  Cheers!

From

https://www.debian.org/social_contract

   Debian will remain 100% free

   We will never make the system require the use of a non-free component. 

But you maintain "we do distribute such software". So the unofficial
debian-installer is distributed as a less than 100% free part of Debian?
Just like the non-free archive, I suppose?

Confused.

-- 
Brian.



Re: [hs] module firefox

2019-05-04 Thread Yannick
Le 04/05/2019 à 16:08, Gaëtan Perrier a écrit :
> 
> Par contre est-ce que la solution qu'ils proposent: Preferences -> Privacy &
> Security -> Allow Firefox to install and run studies est possible chez vous?
> Moi cette série d'options est en grisé ...
> 

Re,

Oublié de préciser sous Buster

Amitiés

-- 
Yannick VOYEAUD
Nul n'a droit au superflu tant que chacun n'a pas son nécessaire
(Camille JOUFFRAY 1841-1924, maire de Vienne)
http://www.voyeaud.org
Créateur CimGenWeb: http://www.francegenweb.org/cimgenweb/
Journées du Logiciel Libre: http://jdll.org
Généalogie en liberté avec Ancestris http://www.ancestris.org




signature.asc
Description: OpenPGP digital signature


Re: [hs] module firefox

2019-05-04 Thread Yannick
Le 04/05/2019 à 16:08, Gaëtan Perrier a écrit :
> 
> Par contre est-ce que la solution qu'ils proposent: Preferences -> Privacy &
> Security -> Allow Firefox to install and run studies est possible chez vous?
> Moi cette série d'options est en grisé ...
> 

Bonsoir,

Chez moi aussi je confirme que cette option est inaccessible
Quantum 62.0b16

Amitiés

-- 
Yannick VOYEAUD
Nul n'a droit au superflu tant que chacun n'a pas son nécessaire
(Camille JOUFFRAY 1841-1924, maire de Vienne)
http://www.voyeaud.org
Créateur CimGenWeb: http://www.francegenweb.org/cimgenweb/
Journées du Logiciel Libre: http://jdll.org
Généalogie en liberté avec Ancestris http://www.ancestris.org




signature.asc
Description: OpenPGP digital signature


Re: Can't install addons for firefox

2019-05-04 Thread Ross Boylan
Just wanted to draw people's attention to a couple of things:

"There are a number of work-arounds being discussed in the community.
These are not recommended as they may conflict with fixes we are
deploying. We’ll let you know when further updates are available that
we recommend, and appreciate your patience. (May 4, 15:01 EST)"
>From the updates on the bottom of
https://blog.mozilla.org/addons/2019/05/04/update-regarding-add-ons-in-firefox/

Second, that blog entry will supposedly be updated as things unfold,
so it may be at least a semi-authoritative way to track what's going
on.



Re: Shell Script Help

2019-05-04 Thread Richard Owlett

On 05/04/2019 10:08 AM, Patrick Bartek wrote:

Hi! All,

Want to create a simple, one liner to type in to automate what I've
been doing manually:  [*SNIP*]


I think the critical question is,> *WHAT* do you wish to accomplish?






Re: Which nvidia driver am I using

2019-05-04 Thread Felix Miata
Erwan David composed on 2019-05-04 22:06 (UTC+0200):

>>  Have you tried disabling compositing in systemsettings5?

> No, but has it an effect on the globall display ?

It can reduce overhead and make problems go away. It can serve as a
troubleshooting step, as simple to engage as disengage.

>>  Does the trouble go away if you use a different WM?

> I have only KDE

That's easy to fix at minimal cost:

apt install icewm

It takes little space and makes it simple to discern whether the trouble is in
KDE/Plasma or not. Once installed, select it from the SDDM login greeter.

Does the trouble begin in SDDM, or only after logging into Plasma? Are you
graphical booting with Plymouth? If so, it might be worth disabling or purging. 
It
can be a problem for NVidia users.

> However I I must completely reinstall the nvidia driver for this, I'll
> firts purge all those packages, hoping it will be sufficient to get a
> working nouveau installation. 

Any time NVidia has been installed, to get any other DDX to work requires 
perfect
purging of the proprietary software, which may have included blacklisting and/or
library changes. With as many nvidia-legacy packages as you still have 
installed,
I'm surprised the modesetting DDX is even trying to work. Once you've purged the
old NVidia packages, modesetting and/or nouveau should work better, but even if
not, that becomes the point at which to try installing whatever NVidia package 
is
supported.

Since Buster hasn't been released yet, it might be that your trouble is worth a
bug report.
-- 
Evolution as taught in public schools is religion, not science.

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

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



Re: No Wifi Option

2019-05-04 Thread Richard Owlett

On 05/04/2019 02:39 PM, Terrill Wallace wrote:

I'm just gonna quit and give up


*NOT* only is that answer *WRONG*!!!

It is worst possible . !

There are MULTIPLE Debian solutions.
Some FOSS. Some not.
What do *YOU* require?

Other responses give hints.

THImK!





Re: Need Keyring Of Public Key

2019-05-04 Thread Reco
Hi.

On Sat, May 04, 2019 at 11:30:26PM +0530, Bapi Dey wrote:
> I am using deb.debian.org
> 
> I need a Keyring for my apt. I am not able to find pub key of
> 8B48AD6246925553.
> 
> I use apt-key adv --keyserver http://keyring.debian.org --recv-keys 

apt-key adv --keyserver http://keys.gnupg.net --recv-keys 8B48AD6246925553

They've removed wheezy key from Debian keyserver recently.

Reco



Re: No Wifi Option

2019-05-04 Thread Jonas Smedegaard
Quoting Brian (2019-05-04 22:01:07)
> On Sat 04 May 2019 at 21:32:19 +0200, Jonas Smedegaard wrote:
> 
> > Hi Terrill,
> > 
> > Quoting Terrill Wallace (2019-05-04 20:44:24)
> > > I am trying to install Debian 9 on my desktop but within the install I 
> > > am not given a Wifi Option. Can you please help me with this issue?
> > 
> > Most likely the wifi device built into your computer requires non-free 
> > firmware, which is not included with Debian.
> 
> Quite possibly.
>  
> > Best option (from a Free Software standpoint) is to buy a wifi dongle 
> > which works with Free Software.  See e.g. https://wiki.debian.org/WiFi
> 
> Indeed.
>  
> > Alternatively (if you don't mind the legal implications that comes with 
> > including non-free formware to your installation) look for the 
> > unofficial debian-installer image which includes non-free firmware.
> 
> Are there legal implications with a user installing non-free software
> as long as they follow the conditions?

I am not a lawyer - please have your own lawyer consult you regarding 
the licensing terms involved - i.e. possibly some of these: 
https://metadata.ftp-master.debian.org/changelogs/non-free/f/firmware-nonfree/


> Debian, of course, decided it cannot distribute such software. That is
> why we have the pragmatic nonsense of having official and unofficial
> installers.

It seems you are mistaken: Debian can and evidently do distribute such 
software - just not as part of a Free Software distribution.¹

Feel free to label it nonsense if that makes you happy.  Cheers!


 - Jonas


¹ exactly _because_ Debian distributes such software the GNU project 
classifies Debian as not-really Free Software project.

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Re: No Wifi Option

2019-05-04 Thread Richard Owlett

On 05/04/2019 01:44 PM, Terrill Wallace wrote:

Hello Debian,

I am trying to install Debian 9 on my desktop but within the install I 
am not given a Wifi Option. Can you please help me with this issue?


Thank you,

These are my specs:
HP Pavilion Gaming Desktop 690-0010
AMD Ryzen 3 2200G Processor
8 GD DDR4-2666 SDRAM memory
1 TB hard drive
AMD Radeon RX 550 graphics card with 4 GB GDDR5 dedicated memory
DVD-Writer

Wireless LAN 802.11 a/b/g/n/ac (1x1) and Bluetooth 4.2 M.2

  *^^*

I am *not* familiar with any HP product.
A _superficial_ web search suggests that WiFi may be supplied by various 
on-board options or plugin cards.


What is providing WiFi on your specific hardware?
{ LAN 802.11 is the specification which it meets. NOT what it *is* ;/}
HTH







Re: Which nvidia driver am I using

2019-05-04 Thread Erwan David

Le 04/05/2019 à 21:33, Felix Miata a écrit :
> Erwan David composed on 2019-05-04 20:52 (UTC+0200):
>
 I have some display problems
> ...
>> Graphics:  Device-1: NVIDIA GF108M [NVS 5400M] vendor: Lenovo driver:
>> nouveau v: kernel bus ID: 01:00.0 chip ID: 10de:0def
>>    Display: x11 server: X.Org 1.20.3 driver: modesetting
>> unloaded: fbdev,vesa compositor: kwin_x11 tty: N/A
>>    OpenGL: renderer: NVC1 v: 4.3 Mesa 18.3.4 direct render: Yes
>> What are my options now ? I do not know where to begin looking for
>> documentation on reparaing my install.
> What are your "display problems"? 


Sometimes it locks, regularly only the upper half of the (visual) screen
is displayed in the lower half of the physical screen, etc.


> How do you know the problem isn't Mesa or Kwin
> or Plasma rather than a kernel or DDX driver?

I do not, I only know it worked whe I used nivdia drivers.


>  Have you tried disabling compositing
> in systemsettings5?


No, but has it an effect on the globall display ?


>  Does the trouble go away if you use a different WM? 


I have only KDE


> What was
> the last thing you remember doing before "display problems" began?

aptitude upgrade, message that nvidia-driver was not compatible anymore
with my card, do you want to continue ? -> No

Then all packages which where to be upgraded in half-installed state,
purging nvidia-driver* packages finishing the install of the other
packages, installing nvidia-legacy-390xx-* packages

>  Does
> /etc/X11/xorg.conf exist? 
No.
> If it does, try removing it. The nouveau DDX and
> modesetting DDX almost never need it. Is there anything in 
> /etc/X11/xorg.conf.d/?

There is the configuration of my thinkpad trackpad

Section "InputClass"
    Identifier  "Trackpoint Wheel Emulation"
    MatchProduct    "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics
Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with
TrackPoint|USB Trackpoint pointing device|Composite TouchPad / TrackPoint"
    MatchDevicePath "/dev/input/event*"
    Option  "EmulateWheel"  "true"
    Option  "EmulateWheelButton"    "2"
    Option  "Emulate3Buttons"   "false"
    Option  "XAxisMapping"  "6 7"
    Option  "YAxisMapping"  "4 5"
EndSection

> If yes, what is in it? Upload your /var/log/Xorg.0.log where we can see it 
> (man
> pastebinit) and maybe someone can spot a problem. 
It is at https://paste.debian.net/1081484/ I did not find anything
suspect in it.
> Inxi doesn't show the nouveau
> DDX to be available. Maybe installing xserver-xorg-video-nouveau would improve
> things. If it's already installed, an NVidia driver remnant might be blocking 
> its use.

it is installed, but obviously not used

Here are all the nvidia packages installed :

dpkg -l 'nvidia*'|grep -v '^un'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name    Version  Architecture 
Description
+++-===---=
ii  nvidia-alternative  410.104-3    amd64    
allows the selection of NVIDIA as GLX provider
ii  nvidia-detect   410.104-3    amd64    
NVIDIA GPU detection utility
ii  nvidia-egl-common   410.104-3    amd64    
NVIDIA binary EGL driver - common files
ii  nvidia-installer-cleanup    20151021+9   amd64    
cleanup after driver installation with the nvidia-installer
ii  nvidia-kernel-common    20151021+9   amd64    
NVIDIA binary kernel module support files
ii  nvidia-legacy-390xx-alternative 390.116-1    amd64    
allows the selection of NVIDIA as GLX provider (390xx legacy version)
ii  nvidia-legacy-390xx-driver  390.116-1    amd64    
NVIDIA metapackage (390xx legacy version)
ii  nvidia-legacy-390xx-driver-bin  390.116-1    amd64    
NVIDIA driver support binaries (390xx legacy version)
ii  nvidia-legacy-390xx-driver-libs:amd64   390.116-1    amd64    
NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries) (390xx legacy version)
ii  nvidia-legacy-390xx-egl-icd:amd64   390.116-1    amd64    
NVIDIA EGL installable client driver (ICD)
ii  nvidia-legacy-390xx-kernel-dkms 390.116-1    amd64    
NVIDIA binary kernel module DKMS source (390xx legacy version)
ii  nvidia-legacy-390xx-kernel-support  390.116-1    amd64    
NVIDIA binary kernel module support files (390xx legacy version)
ii  nvidia-legacy-390xx-vdpau-driver:amd64  390.116-1    amd64    Video 
Decode and Presentation API for Unix - NVIDIA driver (390xx legacy)
ii  

Re: No Wifi Option

2019-05-04 Thread Brian
On Sat 04 May 2019 at 21:32:19 +0200, Jonas Smedegaard wrote:

> Hi Terrill,
> 
> Quoting Terrill Wallace (2019-05-04 20:44:24)
> > I am trying to install Debian 9 on my desktop but within the install I 
> > am not given a Wifi Option. Can you please help me with this issue?
> 
> Most likely the wifi device built into your computer requires non-free 
> firmware, which is not included with Debian.

Quite possibly.
 
> Best option (from a Free Software standpoint) is to buy a wifi dongle 
> which works with Free Software.  See e.g. https://wiki.debian.org/WiFi

Indeed.
 
> Alternatively (if you don't mind the legal implications that comes with 
> including non-free formware to your installation) look for the 
> unofficial debian-installer image which includes non-free firmware.

Are there legal implications with a user installing non-free software
as long as they follow the conditions?

Debian, of course, decided it cannot distribute such software. That is
why we have the pragmatic nonsense of having official and unofficial
installers.

-- 
Brian.



Re: No Wifi Option

2019-05-04 Thread Jonas Smedegaard
Quoting Terrill Wallace (2019-05-04 21:39:03)
> I'm just gonna quit and give up

Yes, that is indeed the easiest approach. Sorry I didn't think to 
suggest that.

I suggest to wrap the laptop in a transparent plastic bag when trashing 
it, to at least offer the chance of it getting a second life in the 
hands of someone slightly more patient :-)


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Re: No Wifi Option

2019-05-04 Thread Terrill Wallace
I'm just gonna quit and give up

On Sat, May 4, 2019, 2:32 PM Jonas Smedegaard  wrote:

> Hi Terrill,
>
> Quoting Terrill Wallace (2019-05-04 20:44:24)
> > I am trying to install Debian 9 on my desktop but within the install I
> > am not given a Wifi Option. Can you please help me with this issue?
>
> Most likely the wifi device built into your computer requires non-free
> firmware, which is not included with Debian.
>
> Best option (from a Free Software standpoint) is to buy a wifi dongle
> which works with Free Software.  See e.g. https://wiki.debian.org/WiFi
>
> Alternatively (if you don't mind the legal implications that comes with
> including non-free formware to your installation) look for the
> unofficial debian-installer image which includes non-free firmware.
>
>
>  - Jonas
>
> --
>  * Jonas Smedegaard - idealist & Internet-arkitekt
>  * Tlf.: +45 40843136  Website: http://dr.jones.dk/
>
>  [x] quote me freely  [ ] ask before reusing  [ ] keep private
>


Re: Basic concepts and proper useage of UEFI

2019-05-04 Thread songbird
Steve McIntyre wrote:
...
> I've alwo written a lot about UEFI in relation to Debian in the wiki:
>
> https://wiki.debian.org/UEFI

  thanks!  that was a very helpful page when i ran into
problems last year.  :)

  what i know now is that for the time spent i could have
avoided a lot of things by just going back and reinstalling
from scratch using the netinst images and making sure i
was in UEFI mode before going further with an install.


  songbird



Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-04 Thread Jonas Smedegaard
Quoting Jonas Smedegaard (2019-05-04 19:08:19)
> Quoting Kenneth Parker (2019-05-04 18:23:48)
> > On Sat, May 4, 2019 at 10:37 AM Erik Josefsson  wrote:
> > 
> > 
> > > -> Generic 105-key PC (intl.)
> > > -> Other
> > > -> Swedish
> > > -> Swedish
> > > -> The default for the keyboard layout
> > > -> No compose key
> > > -> Use Control+Alt+Backspace to terminate the X server? 
> > > sudo shutdown -h now
> > >
> > > And it works! Now I am just missing "|" and "¦".
> 
> Nothing specific to Teres-I laptop about that.
> 
> Problem is that you want a pipe key "|" reachable on a 102-key keyboard 
> with a swedish layout.
> 
> Swedish layout is this: https://en.wikipedia.org/wiki/QWERTY#Swedish
> 
> Notice how "<" and ">" (on a 105-key US layout is right of "M", shifted) 
> is left of "Z" on a key which is missing on 102-char keyboards.

For danish, picking the layout "Danish (Win keys) has pipe key reachable 
as AltGr+= (where AltGr is the right Alt key).

I also set "Menu" (which is the key between right Alt and right Ctrl) as 
compose key.  That enables a range of additional key combos (but pipe 
unreachable as it requires ^ directly reachable which in danish layout 
in Shift'ed).


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Re: No Wifi Option

2019-05-04 Thread Carl Fink

On 5/4/19 2:44 PM, Terrill Wallace wrote:

Hello Debian,

I am trying to install Debian 9 on my desktop but within the install I 
am not given a Wifi Option. Can you please help me with this issue?


Thank you,

These are my specs:
HP Pavilion Gaming Desktop 690-0010
AMD Ryzen 3 2200G Processor
8 GD DDR4-2666 SDRAM memory
1 TB hard drive
AMD Radeon RX 550 graphics card with 4 GB GDDR5 dedicated memory
DVD-Writer

Wireless LAN 802.11 a/b/g/n/ac (1x1) and Bluetooth 4.2 M.2


Notice the one thing you didn't list in your specs: the chipset of your 
wireless adapter.


--
Carl Fink   nitpick...@nitpicking.com

Read my blog at blog.nitpicking.com.  Reviews!  Observations!



Re: Which nvidia driver am I using

2019-05-04 Thread Felix Miata
Erwan David composed on 2019-05-04 20:52 (UTC+0200):

>>> I have some display problems
...
> Graphics:  Device-1: NVIDIA GF108M [NVS 5400M] vendor: Lenovo driver:
> nouveau v: kernel bus ID: 01:00.0 chip ID: 10de:0def
>    Display: x11 server: X.Org 1.20.3 driver: modesetting
> unloaded: fbdev,vesa compositor: kwin_x11 tty: N/A
>    OpenGL: renderer: NVC1 v: 4.3 Mesa 18.3.4 direct render: Yes

> What are my options now ? I do not know where to begin looking for
> documentation on reparaing my install.
What are your "display problems"? How do you know the problem isn't Mesa or Kwin
or Plasma rather than a kernel or DDX driver? Have you tried disabling 
compositing
in systemsettings5? Does the trouble go away if you use a different WM? What was
the last thing you remember doing before "display problems" began? Does
/etc/X11/xorg.conf exist? If it does, try removing it. The nouveau DDX and
modesetting DDX almost never need it. Is there anything in 
/etc/X11/xorg.conf.d/?
If yes, what is in it? Upload your /var/log/Xorg.0.log where we can see it (man
pastebinit) and maybe someone can spot a problem. Inxi doesn't show the nouveau
DDX to be available. Maybe installing xserver-xorg-video-nouveau would improve
things. If it's already installed, an NVidia driver remnant might be blocking 
its use.
-- 
Evolution as taught in public schools is religion, not science.

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

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



That command brake my pip3

2019-05-04 Thread aprekates

debian 9.6

I've installed pip3 from

$ sudo apt install python3-pip

alexdev@enous:/var/www/virtpyapp-alx$ pip3 install pipenv
Collecting pipenv
  Downloading 
https://files.pythonhosted.org/packages/13/b4/3ffa55f77161cff9a5220f162670f7c5eb00df52e00939e203f601b0f579/pipenv-2018.11.26-py3-none-any.whl 
(5.2MB)

    100% || 5.2MB 308kB/s
Collecting virtualenv (from pipenv)
  Downloading 
https://files.pythonhosted.org/packages/4f/ba/6f9315180501d5ac3e707f19fcb1764c26cc6a9a31af05778f7c2383eadb/virtualenv-16.5.0-py2.py3-none-any.whl 
(2.0MB)

    100% || 2.0MB 560kB/s
Collecting pip>=9.0.1 (from pipenv)
  Downloading 
https://files.pythonhosted.org/packages/f9/fb/863012b13912709c13cf5cfdbfb304fa6c727659d6290438e1a88df9d848/pip-19.1-py2.py3-none-any.whl 
(1.4MB)

    100% || 1.4MB 646kB/s
Collecting certifi (from pipenv)
  Downloading 
https://files.pythonhosted.org/packages/60/75/f692a584e85b7eaba0e03827b3d51f45f571c2e793dd731e598828d380aa/certifi-2019.3.9-py2.py3-none-any.whl 
(158kB)

    100% || 163kB 1.1MB/s
Collecting virtualenv-clone>=0.2.5 (from pipenv)
  Downloading 
https://files.pythonhosted.org/packages/ba/f8/50c2b7dbc99e05fce5e5b9d9a31f37c988c99acd4e8dedd720b7b8d4011d/virtualenv_clone-0.5.3-py2.py3-none-any.whl

Collecting setuptools>=36.2.1 (from pipenv)
  Downloading 
https://files.pythonhosted.org/packages/ec/51/f45cea425fd5cb0b0380f5b0f048ebc1da5b417e48d304838c02d6288a1e/setuptools-41.0.1-py2.py3-none-any.whl 
(575kB)

    100% || 583kB 886kB/s
Installing collected packages: virtualenv, pip, certifi, 
virtualenv-clone, setuptools, pipenv
Successfully installed certifi-2019.3.9 pip-19.1 pipenv-2018.11.26 
setuptools-41.0.1 virtualenv-16.5.0 virtualenv-clone-0.5.3


alexdev@enous:/var/www/virtpyapp-alx$ pip3 list
Traceback (most recent call last):
  File "/usr/bin/pip3", line 9, in 
    from pip import main
ImportError: cannot import name 'main'



Re: No Wifi Option

2019-05-04 Thread Jonas Smedegaard
Hi Terrill,

Quoting Terrill Wallace (2019-05-04 20:44:24)
> I am trying to install Debian 9 on my desktop but within the install I 
> am not given a Wifi Option. Can you please help me with this issue?

Most likely the wifi device built into your computer requires non-free 
firmware, which is not included with Debian.

Best option (from a Free Software standpoint) is to buy a wifi dongle 
which works with Free Software.  See e.g. https://wiki.debian.org/WiFi

Alternatively (if you don't mind the legal implications that comes with 
including non-free formware to your installation) look for the 
unofficial debian-installer image which includes non-free firmware.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Re: Trouble making bootable USB from ISO image

2019-05-04 Thread Joe
On Sat, 04 May 2019 18:41:18 +0200
deloptes  wrote:

> Nicolas George wrote:
> 
> > That is absolutely not true. Partition data, UEFI or not, bootable
> > or not, are just octets on a medium. They could be created with an
> > Atari if Atari had USB plugs, that would not make any difference.
> > 
> > The vague truth behind your statement is:
> > 
> > To edit UEFI variables, the computer need to have booted in UEFI
> > mode.
> > 
> > The UEFI variables, the contents of the computer's non-volatile
> > internal memory. Not the contents of the drive. They contain,
> > amongst other things, the default boot options. They are not used
> > when selecting the boot option manually.  
> 
> Yes, this is what I wanted to say - you are right. You can create the
> partition with fdisk or alike, but grub refuses to install if it is
> not booted in UEFI
> 
> 
> 
> 

Datum: I bought a Win10 netbook six months ago. It doesn't do legacy.
It appeared that Stretch was up to the job, so I made a netinstall USB
stick, plugged it in and booted...

Just like a normal installation, and it even left Win10 bootable at the
end.

-- 
Joe



Re: Basic concepts and proper useage of UEFI

2019-05-04 Thread Richard Owlett

On 05/04/2019 10:37 AM, Jonas Smedegaard wrote:

Quoting Richard Owlett (2019-05-04 16:56:03)

This post was prompted by recent discussion of problems/cautions
concerning UEFI. All my machines boot in Legacy BIOS mode and I have
minimal background in UEFI.

A preliminary web search yielded:


http://x86asm.net/articles/introduction-to-uefi/



https://blog.thomasmarcussen.com/tag/configmgr/



https://blog.thomasmarcussen.com/unified-extensible-firmware-interface-uefi/



https://wiki.restarters.net/UEFI_and_GPT



http://x86asm.net/articles/others/index.html



https://www.thomas-krenn.com/en/wiki/GUID_Partition_Table


I have not yet read these in detail. Is there other introductory
material that would be recommended.


https://www.rodsbooks.com/gdisk/

  - Jonas



I like the collection of links under "Additional Resources".
If they don't have the answers I look for, there should be enough 
guidance there to guide me in asking appropriate questions.

Thank You





Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-04 Thread Jonas Smedegaard
Quoting David Wright (2019-05-04 20:14:12)
> On Sat 04 May 2019 at 12:23:48 (-0400), Kenneth Parker wrote:
> > On Sat, May 4, 2019 at 10:37 AM Erik Josefsson  wrote:
> > 
> > > And it works! Now I am just missing "|" and "¦".
> > 
> > With US Keyboards, I see either of those characters, right of the 
> > "p" key.
> > I was not aware that there were two, distinct characters.
> > 
> > One of them ("|" on my current keyboard) is used as a "Pipe" symbol, 
> > for when I "pipe" the results of one command into another.
> > 
> > Which?
> 
> Pipe lies between { and } and is 7-bit ASCII, whereas the other one
> lies between Yen and Section. I'm not sure why the OP wants to be able
> to type it directly from one keystroke. Look at the company it keeps:
> ¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ­ ® ¯ ° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿ À
> We British are used to having £ available, but US keyboards don't
> even have ¢.

¢ (ecu) is obsolete since many years.

€ (euro) is the current currency sign in some of EU.

As for the original question I simply ignore the odd parts and focus on 
what I can sensibly contribute to: The pipe sign a.k.a. Unicode 
"vertical bar": https://en.wikipedia.org/wiki/Vertical_bar


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Re: [hs] module firefox

2019-05-04 Thread firenze . rt
Par contre, les extensions de firefox-esr issus des packages de Debian
ne semblent pas concernés par le problème.

Cela expliquerai pourquoi ublock (que j'ai installé via Synaptic)
fonctionne toujours, alors que Privacy Badger (installé via
firefox-add-ons) s'est désactivé.

J'ai bien tenté de retrouver Privacy Badger dans les packages de Debian,
mais cette extension n'y est pas disponible pour stretch, seulement pour
buster et sid.

Le 04/05/2019 à 19:06, Erwan David a écrit :
> Le 04/05/2019 à 16:08, Gaëtan Perrier a écrit :
>> Le samedi 04 mai 2019 à 15:16 +0200, Gaëtan Perrier a écrit :
>>> Le samedi 04 mai 2019 à 14:57 +0200, phil a écrit :
 Bonjour,

 Depuis ce matin firefox désactive mon bloqueur de pubs, adblock.
 Bon je veux installer ublock mais firefox bloque le téléchargement en me
 demandant
 de vérifier ma connexion internet !

 Package: firefox-esr
 Version: 60.6.1esr-1

 Quelqu'un a-t-il déjà résolu le problème ?
 Merci d'avance pour une piste.

 Cordialement,
>>> Oui c'est un problème général:
>>> https://discourse.mozilla.org/t/certificate-issue-causing-add-ons-to-be-disabled-or-fail-to-install/39047/13
>>>
>> Par contre est-ce que la solution qu'ils proposent: Preferences -> Privacy &
>> Security -> Allow Firefox to install and run studies est possible chez vous?
>> Moi cette série d'options est en grisé ...
>
> La version debian le désactive. Il y a d'autres manips indiquées à
> https://www.ghacks.net/2019/05/04/your-firefox-extensions-are-all-disabled-thats-a-bug
>
>



Re: [hs] module firefox

2019-05-04 Thread Gaëtan Perrier
Le samedi 04 mai 2019 à 19:06 +0200, Erwan David a écrit :
> Le 04/05/2019 à 16:08, Gaëtan Perrier a écrit :
> > Le samedi 04 mai 2019 à 15:16 +0200, Gaëtan Perrier a écrit :
> > > Le samedi 04 mai 2019 à 14:57 +0200, phil a écrit :
> > > > Bonjour,
> > > > 
> > > > Depuis ce matin firefox désactive mon bloqueur de pubs, adblock.
> > > > Bon je veux installer ublock mais firefox bloque le téléchargement en
> > > > me
> > > > demandant
> > > > de vérifier ma connexion internet !
> > > > 
> > > > Package: firefox-esr
> > > > Version: 60.6.1esr-1
> > > > 
> > > > Quelqu'un a-t-il déjà résolu le problème ?
> > > > Merci d'avance pour une piste.
> > > > 
> > > > Cordialement,
> > > Oui c'est un problème général:
> > > https://discourse.mozilla.org/t/certificate-issue-causing-add-ons-to-be-disabled-or-fail-to-install/39047/13
> > > 
> > Par contre est-ce que la solution qu'ils proposent: Preferences -> Privacy
> > &
> > Security -> Allow Firefox to install and run studies est possible chez
> > vous?
> > Moi cette série d'options est en grisé ...
> 
> La version debian le désactive. Il y a d'autres manips indiquées à
> https://www.ghacks.net/2019/05/04/your-firefox-extensions-are-all-disabled-thats-a-bug
> 

Il y a un ticket ouvert sur le sujet:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=928437


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


No Wifi Option

2019-05-04 Thread Terrill Wallace
Hello Debian,

I am trying to install Debian 9 on my desktop but within the install I am
not given a Wifi Option. Can you please help me with this issue?

Thank you,

These are my specs:
HP Pavilion Gaming Desktop 690-0010
AMD Ryzen 3 2200G Processor
8 GD DDR4-2666 SDRAM memory
1 TB hard drive
AMD Radeon RX 550 graphics card with 4 GB GDDR5 dedicated memory
DVD-Writer

Wireless LAN 802.11 a/b/g/n/ac (1x1) and Bluetooth 4.2 M.2


Re: Which nvidia driver am I using

2019-05-04 Thread Erwan David


Le 04/05/2019 à 20:24, Felix Miata a écrit :
> Erwan David composed on 2019-05-04 20:06 (UTC+0200):
>
>> I have some display problems, I thought I was using the
>> nvidia-legacy-39xx driver (the packages are installed) but I see the
>> nouveau module loaded.
>> How can I check wether I use the nouveau driver or not, and how can I
>> switch the used driver ?
> There is no "the" nouveau driver. There is a nouveau kernel driver, and a 
> nouveau
> DDX (Xorg) driver.
>
>   inxi -Gxx
>
> will report the name of both kernel driver in use and the X driver in use. 
> The DDX
> is provided by the optional but usually installed package
> xserver-xorg-video-nouveau. When neither it nor a proprietary NVidia driver 
> are
> installed, the default DDX is usually used, modesetting (provided by the 
> server
> package; not to be confused with the modesetting process provided by the 
> kernel,
> which it depends on).
>
> Switching between nouveau DDX and modesetting DDX is /most easily/ 
> accomplished by
> simply adding or removing the nouveau DDX package. Switching between NVidia 
> and
> either of the others /depends on/ adding or removing the NVidia package 
> precisely
> according to its documentation.


Ok, I did not know inxi.

Output is

Graphics:  Device-1: NVIDIA GF108M [NVS 5400M] vendor: Lenovo driver:
nouveau v: kernel bus ID: 01:00.0 chip ID: 10de:0def
   Display: x11 server: X.Org 1.20.3 driver: modesetting
unloaded: fbdev,vesa compositor: kwin_x11 tty: N/A
   OpenGL: renderer: NVC1 v: 4.3 Mesa 18.3.4 direct render: Yes

So nouveau/modesetting is used.

The nvidia driver was used but when It stopped supporting my card (and I
had to install the nvidia-legacy-39xx driver) something was not done
correctly.

However I had not many choice at that time it was either install the
legacy packages or have a broken install including other packages.

What are my options now ? I do not know where to begin looking for
documentation on reparaing my install.




Re: Which nvidia driver am I using

2019-05-04 Thread Felix Miata
Erwan David composed on 2019-05-04 20:06 (UTC+0200):

> I have some display problems, I thought I was using the
> nvidia-legacy-39xx driver (the packages are installed) but I see the
> nouveau module loaded.

> How can I check wether I use the nouveau driver or not, and how can I
> switch the used driver ?

There is no "the" nouveau driver. There is a nouveau kernel driver, and a 
nouveau
DDX (Xorg) driver.

inxi -Gxx

will report the name of both kernel driver in use and the X driver in use. The 
DDX
is provided by the optional but usually installed package
xserver-xorg-video-nouveau. When neither it nor a proprietary NVidia driver are
installed, the default DDX is usually used, modesetting (provided by the server
package; not to be confused with the modesetting process provided by the kernel,
which it depends on).

Switching between nouveau DDX and modesetting DDX is /most easily/ accomplished 
by
simply adding or removing the nouveau DDX package. Switching between NVidia and
either of the others /depends on/ adding or removing the NVidia package 
precisely
according to its documentation.
-- 
Evolution as taught in public schools is religion, not science.

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

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



Re: buster VM does not always start sshd

2019-05-04 Thread Florian Weimer
* Steve McIntyre:

> f...@deneb.enyo.de wrote:
>>I've got a buster VM (upgraded from stretch) which does not launch
>>sshd (and Unbound) until a login attempt happens on a TTY.  (An
>>unsuccessful attempt appears to be enough.)
>>
>>At that point, both sshd and Unbound start successfully, and network
>>login is possible.  I don't think I have changed the service
>>configuration.  There is nothing unusual about the networking setup,
>>except that it doesn't use DHCP, and there is a static stanza in
>>/etc/network/interfaces, with a matching auto directive.
>
> The most likely cause is lack of randomness at boot. Check your boot
> messages for "crng init done". This is biting lots of people.
>
> If you're running a VM, look into how to share a random device from
> the host.

Thanks, that's it.  I knew about this problem in theory, but have
never seen it in action.  In my case, the VM had the wrong CPU model
configured (one without RDRAND).



Re: Shell Script Help

2019-05-04 Thread john doe
On 5/4/2019 5:08 PM, Patrick Bartek wrote:
> Hi! All,
>
> Want to create a simple, one liner to type in to automate what I've
> been doing manually: Perform an operation on files in unique,
> sequential directories, save the results of the operations for each
> directory with a file name of that directory in the directory the
> target directories reside in.  For example:
>
> Directories ab01, ab02 ... ab30 results in output
>
> ab01.jpg. ab02.jpg ... ab30.jpg outside of those drectories.
>
> There will never be more than 99 directories -- usually a lot less. The
> actual number will vary job to job. The letters in the directory names
> will vary job to job, but will remain constant for each job.  Only the
> numbers will sequence.
>

Would something like the following do it:

$ mkdir -p abc; cp -v abc*.gpg abc/ | tee -a abc/abc.log

--
John Doe



Re: buster VM does not always start sshd

2019-05-04 Thread Steve McIntyre
f...@deneb.enyo.de wrote:
>I've got a buster VM (upgraded from stretch) which does not launch
>sshd (and Unbound) until a login attempt happens on a TTY.  (An
>unsuccessful attempt appears to be enough.)
>
>At that point, both sshd and Unbound start successfully, and network
>login is possible.  I don't think I have changed the service
>configuration.  There is nothing unusual about the networking setup,
>except that it doesn't use DHCP, and there is a static stanza in
>/etc/network/interfaces, with a matching auto directive.

The most likely cause is lack of randomness at boot. Check your boot
messages for "crng init done". This is biting lots of people.

If you're running a VM, look into how to share a random device from
the host.

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
  Armed with "Valor": "Centurion" represents quality of Discipline,
  Honor, Integrity and Loyalty. Now you don't have to be a Caesar to
  concord the digital world while feeling safe and proud.



Re: dpkg-reconfigure keyboard-configuration (Swedish with "|" and "¦"?)

2019-05-04 Thread David Wright
On Sat 04 May 2019 at 12:23:48 (-0400), Kenneth Parker wrote:
> On Sat, May 4, 2019 at 10:37 AM Erik Josefsson  wrote:
> 
> > And it works! Now I am just missing "|" and "¦".
> 
> With US Keyboards, I see either of those characters, right of the "p" key.
> I was not aware that there were two, distinct characters.
> 
> One of them ("|" on my current keyboard) is used as a "Pipe" symbol, for
> when I "pipe" the results of one command into another.
> 
> Which?

Pipe lies between { and } and is 7-bit ASCII, whereas the other one
lies between Yen and Section. I'm not sure why the OP wants to be able
to type it directly from one keystroke. Look at the company it keeps:
¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ­ ® ¯ ° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿ À
We British are used to having £ available, but US keyboards don't
even have ¢.

Cheers,
David.



buster VM does not always start sshd

2019-05-04 Thread Florian Weimer
I've got a buster VM (upgraded from stretch) which does not launch
sshd (and Unbound) until a login attempt happens on a TTY.  (An
unsuccessful attempt appears to be enough.)

At that point, both sshd and Unbound start successfully, and network
login is possible.  I don't think I have changed the service
configuration.  There is nothing unusual about the networking setup,
except that it doesn't use DHCP, and there is a static stanza in
/etc/network/interfaces, with a matching auto directive.

● ssh.service - OpenBSD Secure Shell server
   Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enab
   Active: active (running) since Sat 2019-05-04 17:47:31 UTC; 8min ago
 Docs: man:sshd(8)
   man:sshd_config(5)
  Process: 684 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)
 Main PID: 694 (sshd)
Tasks: 1 (limit: 1149)
   Memory: 3.1M
   CGroup: /system.slice/ssh.service
   └─694 /usr/sbin/sshd -D

May 04 17:46:20 storage1 systemd[1]: Starting OpenBSD Secure Shell server...
May 04 17:47:31 storage1 sshd[694]: Server listening on 0.0.0.0 port 22.
May 04 17:47:31 storage1 sshd[694]: Server listening on :: port 22.
May 04 17:47:31 storage1 systemd[1]: Started OpenBSD Secure Shell server.
May 04 17:48:04 storage1 sshd[708]: Accepted publickey for fw from 172.17.151.1 
May 04 17:48:04 storage1 sshd[708]: pam_unix(sshd:session): session opened for u

● unbound.service - Unbound DNS server
   Loaded: loaded (/lib/systemd/system/unbound.service; enabled; vendor preset: 
   Active: active (running) since Sat 2019-05-04 17:47:32 UTC; 9min ago
 Docs: man:unbound(8)
  Process: 683 ExecStartPre=/usr/lib/unbound/package-helper chroot_setup (code=e
  Process: 687 ExecStartPre=/usr/lib/unbound/package-helper root_trust_anchor_up
 Main PID: 695 (unbound)
Tasks: 1 (limit: 1149)
   Memory: 8.0M
   CGroup: /system.slice/unbound.service
   └─695 /usr/sbin/unbound -d

May 04 17:46:20 storage1 systemd[1]: Starting Unbound DNS server...
May 04 17:47:32 storage1 package-helper[687]: /var/lib/unbound/root.key has cont
May 04 17:47:32 storage1 package-helper[687]: success: the anchor is ok
May 04 17:47:32 storage1 unbound[695]: [695:0] notice: init module 0: subnet
May 04 17:47:32 storage1 unbound[695]: [695:0] notice: init module 1: validator
May 04 17:47:32 storage1 unbound[695]: [695:0] notice: init module 2: iterator
May 04 17:47:32 storage1 unbound[695]: [695:0] info: start of service (unbound 1
May 04 17:47:32 storage1 systemd[1]: Started Unbound DNS server.

As far as I can tell, the system reaches multi-user.target
successfully, at which point I expect that sshd.service can start as
well:

● multi-user.target - Multi-User System
   Loaded: loaded (/lib/systemd/system/multi-user.target; static; vendor preset:
   Active: active since Sat 2019-05-04 17:34:16 UTC; 22min ago
 Docs: man:systemd.special(7)

May 04 17:34:16 storage1 systemd[1]: Reached target Multi-User System.

Any suggestions how to debug this further?  I don't think this
happened with Debian stretch.



Which nvidia driver am I using

2019-05-04 Thread Erwan David
I have some display problems, I thought I was using the
nvidia-legacy-39xx driver (the packages are installed) but I see the
nouveau module loaded.

How can I check wether I use the nouveau driver or not, and how can I
switch the used driver ?


Thank you



Re: Basic concepts and proper useage of UEFI

2019-05-04 Thread Steve McIntyre
rowl...@cloud85.net wrote:
>
>This post was prompted by recent discussion of problems/cautions 
>concerning UEFI. All my machines boot in Legacy BIOS mode and I have 
>minimal background in UEFI.
>
>A preliminary web search yielded:
>> 
>> http://x86asm.net/articles/introduction-to-uefi/
>
>> https://blog.thomasmarcussen.com/tag/configmgr/
>
>> https://blog.thomasmarcussen.com/unified-extensible-firmware-interface-uefi/
>
>> https://wiki.restarters.net/UEFI_and_GPT
>
>> http://x86asm.net/articles/others/index.html
>
>> https://www.thomas-krenn.com/en/wiki/GUID_Partition_Table
>
>I have not yet read these in detail. Is there other introductory 
>material that would be recommended.

I've alwo written a lot about UEFI in relation to Debian in the wiki:

https://wiki.debian.org/UEFI

>Also, in https://lists.debian.org/debian-user/2019/05/msg00107.html , it 
>was suggested that a separate thread be begun on the question of
>   "Whether or not you can update/install UEFI if you are not booted
>into UEFI."

The normal way to use a system with UEFI firmware involves
using/updating boot variables via UEFI Runtime Services. You can only
set those variables up when your system is already running in UEFI
mode.

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
  Armed with "Valor": "Centurion" represents quality of Discipline,
  Honor, Integrity and Loyalty. Now you don't have to be a Caesar to
  concord the digital world while feeling safe and proud.



Need Keyring Of Public Key

2019-05-04 Thread Bapi Dey
I am using deb.debian.org

I need a Keyring for my apt. I am not able to find pub key of
8B48AD6246925553.

I use apt-key adv --keyserver http://keyring.debian.org --recv-keys 

But return error:- no valid OpenPGP data found. Total number process 0.


Re: Can't install addons for firefox

2019-05-04 Thread Ross Boylan
Thanks Cindy, Jonas, Curt, Trevor and Erwan for all the good info.  I
wish my internet searches were as effective as yours!

I noticed a few days ago that I started having problems accessing a
lot of sites through https* (might have been on Windows at the time,
either FF or FF ESR).  The errors always reported that the site policy
required using https and that the site's certificate was no good
because it expired in the 1970s!  This struck me as more likely a
browser problem than a site problem, but I haven't dug into it.  I
wonder if it's related.

Back to my original problem: if it's just triggered by an expired
mozilla certificate, I would expect fixing the certificate to be the
start and end of the fix, not all these code updates they've been
pushing.   But if FF is misreading expiration dates, as my https
problems suggest, that would require code.

It sounds as if the easiest options are 1) disabling security for
addons or 2) switching to current (non-ESR) FF and enabling "run
studies" 3) wait.
I think I'll try 3 since I have other stuff to work on and prefer to
keep security tight.

Ross

*Problems only arose with some indirection, which is one reason I
didn't follow up.  For example, I'd be browsing forums and could
navigate around and read messages fine.  But if I right-clicked on a
link to see a related posting in a new tab, I'd get the security
error.



Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-04 Thread Jonas Smedegaard
Quoting Kenneth Parker (2019-05-04 18:23:48)
> On Sat, May 4, 2019 at 10:37 AM Erik Josefsson  wrote:
> 
> 
> > -> Generic 105-key PC (intl.)
> > -> Other
> > -> Swedish
> > -> Swedish
> > -> The default for the keyboard layout
> > -> No compose key
> > -> Use Control+Alt+Backspace to terminate the X server? 
> > sudo shutdown -h now
> >
> > And it works! Now I am just missing "|" and "¦".

Nothing specific to Teres-I laptop about that.

Problem is that you want a pipe key "|" reachable on a 102-key keyboard 
with a swedish layout.

Swedish layout is this: https://en.wikipedia.org/wiki/QWERTY#Swedish

Notice how "<" and ">" (on a 105-key US layout is right of "M", shifted) 
is left of "Z" on a key which is missing on 102-char keyboards.


> With US Keyboards, I see either of those characters, right of the "p" key.
> I was not aware that there were two, distinct characters.
> 
> One of them ("|" on my current keyboard) is used as a "Pipe" symbol, for
> when I "pipe" the results of one command into another.
> 
> Which?

https://en.wikipedia.org/wiki/Vertical_bar#Solid_vertical_bar_vs_broken_bar

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Re: [hs] module firefox

2019-05-04 Thread Erwan David


Le 04/05/2019 à 16:08, Gaëtan Perrier a écrit :
> Le samedi 04 mai 2019 à 15:16 +0200, Gaëtan Perrier a écrit :
>> Le samedi 04 mai 2019 à 14:57 +0200, phil a écrit :
>>> Bonjour,
>>>
>>> Depuis ce matin firefox désactive mon bloqueur de pubs, adblock.
>>> Bon je veux installer ublock mais firefox bloque le téléchargement en me
>>> demandant
>>> de vérifier ma connexion internet !
>>>
>>> Package: firefox-esr
>>> Version: 60.6.1esr-1
>>>
>>> Quelqu'un a-t-il déjà résolu le problème ?
>>> Merci d'avance pour une piste.
>>>
>>> Cordialement,
>> Oui c'est un problème général:
>> https://discourse.mozilla.org/t/certificate-issue-causing-add-ons-to-be-disabled-or-fail-to-install/39047/13
>>
> Par contre est-ce que la solution qu'ils proposent: Preferences -> Privacy &
> Security -> Allow Firefox to install and run studies est possible chez vous?
> Moi cette série d'options est en grisé ...


La version debian le désactive. Il y a d'autres manips indiquées à
https://www.ghacks.net/2019/05/04/your-firefox-extensions-are-all-disabled-thats-a-bug




Re: [hs] module firefox

2019-05-04 Thread Quentin Lejard
De mon côté, les modules ont été désinstallés sans que je le veuille

Le 04/05/2019 à 15:16, Gaëtan Perrier a écrit :
> Le samedi 04 mai 2019 à 14:57 +0200, phil a écrit :
>> Bonjour,
>>
>> Depuis ce matin firefox désactive mon bloqueur de pubs, adblock.
>> Bon je veux installer ublock mais firefox bloque le téléchargement en me
>> demandant
>> de vérifier ma connexion internet !
>>
>> Package: firefox-esr
>> Version: 60.6.1esr-1
>>
>> Quelqu'un a-t-il déjà résolu le problème ?
>> Merci d'avance pour une piste.
>>
>> Cordialement,
>
> Oui c'est un problème général:
> https://discourse.mozilla.org/t/certificate-issue-causing-add-ons-to-be-disabled-or-fail-to-install/39047/13
>
-- 
  ⢀⣴⠾⠻⢶⣦⠀  Quentin Lejard (valde) - Admin sys
  ⣾⠁⢠⠒⠀⣿⡁  Debian Contributor - https://wiki.debian.org/QuentinLejard
  ⢿⡄⠘⠷⠚⠋   https://blog.valde.fr  | https://framapiaf/@valde
  ⠈⠳⣄  https://framagit.org/valde | https://twitter.com/__valde__



signature.asc
Description: OpenPGP digital signature


Re: Can't install addons for firefox

2019-05-04 Thread Erwan David


Le 04/05/2019 à 18:50, Curt a écrit :
> On 2019-05-04, Jonas Smedegaard  wrote:
>> It is an error in Mozilla infrastructure upstream - they have fixed it
>> by abusing a backdoor in Firefox to update a certificate, but Debian
>> has that backdoor disabled by default.
>>
>> https://blog.mozilla.org/addons/2019/05/04/update-regarding-add-ons-in-fire
>> fox/
> Note that the fix does not apply to Firefox ESR (which the OP is using). 
>

There are other possibilities at 
https://www.ghacks.net/2019/05/04/your-firefox-extensions-are-all-disabled-thats-a-bug

Hope one of them will work for OP



Re: Can't install addons for firefox

2019-05-04 Thread Trevor D. Manning
* Ross Boylan (rossboy...@stanfordalumni.org) wrote:
> Running firefox-esr on buster I don't seem to be able to install
> addons.  I tried selenium IDE and katalon.  Has Debian blocked the
> installation of addons?  I don't see indications of that in the docs
> or the net.

https://github.com/mozilla/addons/issues/978

https://blog.mozilla.org/addons/2019/05/04/update-regarding-add-ons-in-firefox/

It appears to be a recent bug.

Bestest,

-- 
Trevor D. Manning

BOFH Excuse #232:

Ionization from the air-conditioning



Re: Can't install addons for firefox

2019-05-04 Thread Curt
On 2019-05-04, Jonas Smedegaard  wrote:
>
> It is an error in Mozilla infrastructure upstream - they have fixed it
> by abusing a backdoor in Firefox to update a certificate, but Debian
> has that backdoor disabled by default.
>
> https://blog.mozilla.org/addons/2019/05/04/update-regarding-add-ons-in-fire
> fox/

Note that the fix does not apply to Firefox ESR (which the OP is using). 

-- 
The boys at first were very polite about my medals and asked me what I had done
to get them. I showed them the papers, which were written in very beautiful
language and full of fratellanza and abnegazione, but which really said, with
the adjectives removed, that I had been given the medals because I was 
an American. - "Another Country"




Re: Trouble making bootable USB from ISO image

2019-05-04 Thread deloptes
Nicolas George wrote:

> That is absolutely not true. Partition data, UEFI or not, bootable or
> not, are just octets on a medium. They could be created with an Atari if
> Atari had USB plugs, that would not make any difference.
> 
> The vague truth behind your statement is:
> 
> To edit UEFI variables, the computer need to have booted in UEFI mode.
> 
> The UEFI variables, the contents of the computer's non-volatile internal
> memory. Not the contents of the drive. They contain, amongst other
> things, the default boot options. They are not used when selecting the
> boot option manually.

Yes, this is what I wanted to say - you are right. You can create the
partition with fdisk or alike, but grub refuses to install if it is not
booted in UEFI






Re: Can't install addons for firefox

2019-05-04 Thread Jonas Smedegaard
Quoting Ross Boylan (2019-05-04 18:27:26)
> Running firefox-esr on buster I don't seem to be able to install
> addons.  I tried selenium IDE and katalon.  Has Debian blocked the
> installation of addons?  I don't see indications of that in the docs
> or the net.
> 
> Likewise, I know selenium (and maybe katalon) have had compatibility
> issues with some versions of FF, but the page from which I installed
> the addons (which was via the addon manager in FF) doesn't mention
> anything.
> 
> And, if FF selectively blocks addons for which a Debian package is
> available, that doesn't seem to apply since there are no such
> packages.  There are some selenium packages, but not as a FF
> extension.

It is an error in Mozilla infrastructure upstream - they have fixed it 
by abusing a backdoor in Firefox to update a certificate, but Debian 
has that backdoor disabled by default.

https://blog.mozilla.org/addons/2019/05/04/update-regarding-add-ons-in-firefox/


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Re: Can't install addons for firefox

2019-05-04 Thread Cindy Sue Causey
On 5/4/19, Ross Boylan  wrote:
> Running firefox-esr on buster I don't seem to be able to install
> addons.  I tried selenium IDE and katalon.  Has Debian blocked the
> installation of addons?  I don't see indications of that in the docs
> or the net.
>
> Likewise, I know selenium (and maybe katalon) have had compatibility
> issues with some versions of FF, but the page from which I installed
> the addons (which was via the addon manager in FF) doesn't mention
> anything.
>
> And, if FF selectively blocks addons for which a Debian package is
> available, that doesn't seem to apply since there are no such
> packages.  There are some selenium packages, but not as a FF
> extension.
>
> Any ideas?


How about... extremely EMBARRASSINGLY expired certificate(s)? Just
read this about 5 minutes ago:

https://www.osnews.com/story/129944/due-to-expired-certificate-all-firefox-extensions-disabled/

Does anyone know if that might affect things in this manner?

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

* runs with birdseed *



Re: [hs] module firefox

2019-05-04 Thread contact

il n'y a pas que le module ublock qui est désactivé, qwant le cnrtl etc...

Merci

François-Marie BILLARD
Le 04/05/2019 à 16:48, Gaëtan Perrier a écrit :

Chez moi ce n'est toujours pas revenu ...

Le samedi 04 mai 2019 à 16:18 +0200, ara fel a écrit :

firefox vient de faire un communiqué disant que le problème est réparé

Le sam. 4 mai 2019 à 16:08, Gaëtan Perrier  a écrit :

Le samedi 04 mai 2019 à 15:16 +0200, Gaëtan Perrier a écrit :

Le samedi 04 mai 2019 à 14:57 +0200, phil a écrit :

Bonjour,

Depuis ce matin firefox désactive mon bloqueur de pubs, adblock.
Bon je veux installer ublock mais firefox bloque le téléchargement en
me
demandant
de vérifier ma connexion internet !

Package: firefox-esr
Version: 60.6.1esr-1

Quelqu'un a-t-il déjà résolu le problème ?
Merci d'avance pour une piste.

Cordialement,

Oui c'est un problème général:
https://discourse.mozilla.org/t/certificate-issue-causing-add-ons-to-be-disabled-or-fail-to-install/39047/13


Par contre est-ce que la solution qu'ils proposent: Preferences -> Privacy
&
Security -> Allow Firefox to install and run studies est possible chez
vous?
Moi cette série d'options est en grisé ...






Can't install addons for firefox

2019-05-04 Thread Ross Boylan
Running firefox-esr on buster I don't seem to be able to install
addons.  I tried selenium IDE and katalon.  Has Debian blocked the
installation of addons?  I don't see indications of that in the docs
or the net.

Likewise, I know selenium (and maybe katalon) have had compatibility
issues with some versions of FF, but the page from which I installed
the addons (which was via the addon manager in FF) doesn't mention
anything.

And, if FF selectively blocks addons for which a Debian package is
available, that doesn't seem to apply since there are no such
packages.  There are some selenium packages, but not as a FF
extension.

Any ideas?

Thanks,
Ross

DIAGNOSTICS

The FF console log shows
Events to handle the installation initialized. BigInteger.js:27
[GA: ON] sendEvent {"hitType":"event","eventCategory":"AMO Addon
Installs Download Failed","eventAction":"addon","eventLabel":"Katalon
Recorder"} BigInteger.js:27
Error: install failed

The first log entries are warnings:
Content Security Policy: Directive ‘child-src’ has been deprecated.
Please use directive ‘worker-src’ to control workers, or directive
‘frame-src’ to control frames respectively.
Content Security Policy: Couldn’t process unknown directive ‘prefetch-src’

Then there are a bunch of errors like
Content Security Policy: The page’s settings blocked the loading of a
resource at self (“style-src”). Source: width:119%.
katalon-automation-record



Re: dpkg-reconfigure keyboard-configuration (Swedish with "|" and "¦"?)

2019-05-04 Thread Kenneth Parker
On Sat, May 4, 2019 at 10:37 AM Erik Josefsson  wrote:


> -> Generic 105-key PC (intl.)
> -> Other
> -> Swedish
> -> Swedish
> -> The default for the keyboard layout
> -> No compose key
> -> Use Control+Alt+Backspace to terminate the X server? 
> sudo shutdown -h now
>
> And it works! Now I am just missing "|" and "¦".
>

With US Keyboards, I see either of those characters, right of the "p" key.
I was not aware that there were two, distinct characters.

One of them ("|" on my current keyboard) is used as a "Pipe" symbol, for
when I "pipe" the results of one command into another.

Which?

>
> I have tried "Generic 105-key PC (intl.)" and "Generic 102-key PC
> (intl.)" in the menue following the command 'dpkg-reconfigure
> keyboard-configuration' (see above), but there is no difference between
> 105 and 102 wrt what the Teres keyboard produce on screen (see below).
>
> I have also tried with an USB keyboard which has one extra key between
>  and . That extra key delivers "|") and "¦" with both
> "Generic 105-key PC (intl.)" and "Generic 102-key PC (intl.)" (and
> Swedish).
>
> I can of course use the USB keyboard with my laptop, but it would be
> more convenient if I could get the Teres keyboard to do "|" and "¦".
>
> So, does anyone know how to make the Teres keyboard not only output
> Swedish letters, but also "|" and  "¦"?
>
> Maybe there is a "keyboard model" I can choose that is a better fit than
> "Generic 105-key PC (intl.)" and"Generic 102-key PC (intl.)"?
>

Thanks!

Kenneth Parker

>
> Thank you for your time.
>
> //Erik
>
> 
>
>


Re: Basic concepts and proper useage of UEFI

2019-05-04 Thread Jonas Smedegaard
Quoting Richard Owlett (2019-05-04 16:56:03)
> This post was prompted by recent discussion of problems/cautions 
> concerning UEFI. All my machines boot in Legacy BIOS mode and I have 
> minimal background in UEFI.
> 
> A preliminary web search yielded:
> > 
> > http://x86asm.net/articles/introduction-to-uefi/
> 
> > https://blog.thomasmarcussen.com/tag/configmgr/
> 
> > https://blog.thomasmarcussen.com/unified-extensible-firmware-interface-uefi/
> 
> > https://wiki.restarters.net/UEFI_and_GPT
> 
> > http://x86asm.net/articles/others/index.html
> 
> > https://www.thomas-krenn.com/en/wiki/GUID_Partition_Table
> 
> I have not yet read these in detail. Is there other introductory 
> material that would be recommended.

https://www.rodsbooks.com/gdisk/

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Re: Trouble making bootable USB from ISO image

2019-05-04 Thread Curt
On 2019-05-04, Richard Owlett  wrote:
>
>
> On 05/03/2019 11:50 AM, Mark Fletcher wrote:
>> Hello
>> 
>> I'm trying to use Stretch to write a .ISO image to a USB device. The
>> image is the Windows 10 installer ... which I downloaded from Microsoft, and
>> which they claim should be able to be written to a USB device. ...
>
> What was the URL?
> I've just read this thread for the first time, reading it as a unit. I'm 
> concerned that Microsoft's context{poor_word?} may be significantly 
> different from the assumptions being made in the replies.
>
>> 
>> I'm attempting to test the image before booting the installer on the
>> final computer earmarked for sacrifice to this project. ...
>
> Why use the term "sacrifice"?

To make clear his abhorrence of that other OS (he's only in this for the
sake of the kids), so he won't be banished east of Eden where the
closed-source devil is rife.

> Also, the OP said that this is part of an educational project.
> Does that put any constraint on how useful some answers may be?

I made a kind of pedagogical foray earlier myself, now that you mention
it.

-- 
The boys at first were very polite about my medals and asked me what I had done
to get them. I showed them the papers, which were written in very beautiful
language and full of fratellanza and abnegazione, but which really said, with
the adjectives removed, that I had been given the medals because I was 
an American. - "Another Country"




Shell Script Help

2019-05-04 Thread Patrick Bartek
Hi! All,

Want to create a simple, one liner to type in to automate what I've
been doing manually: Perform an operation on files in unique,
sequential directories, save the results of the operations for each
directory with a file name of that directory in the directory the
target directories reside in.  For example:

Directories ab01, ab02 ... ab30 results in output

ab01.jpg. ab02.jpg ... ab30.jpg outside of those drectories.

There will never be more than 99 directories -- usually a lot less. The
actual number will vary job to job. The letters in the directory names
will vary job to job, but will remain constant for each job.  Only the
numbers will sequence. 

Any help is appreciated.

Thanks.

B



Re: apt pinning: find out from which system version is a package

2019-05-04 Thread David Wright
On Fri 03 May 2019 at 23:09:58 (+0200), Emanuel Berg wrote:
> tomas wrote:
> 
> >> That's some heavy parsing, only I don't get
> >> it to work. I get "no such file or directory:
> >> " from the first, apt-cache-dump invocation.
> >
> > This is because it's spelt "apt-cache dump",
> > I guess ;-)
> 
> No, then it says "zsh: command not found:" :)

Unless you paste something that shows what you actually did,
I don't see that this reply advances the thread.

I've no idea whether using zsh instead of bash has any syntactical
implications. If binaries such as apt-cache and dpkg-query are
inaccessible, that's for you to fix. AFAIK their packages are
either essential or important.

I presume you realise that "$Unique1" is a temporary file. Because
I create them with mktemp, I have to redirect using >> rather than >
to circumvent bash's noclobber.

Finally, my script fragment was designed to yield information in bulk,
ie for all packages, because your OP contained 'dpkg -l'. But having
now seen your optimal requirement for '$ from-what-release foo',
my script is probably overkill.

Cheers,
David.



Re: Trouble making bootable USB from ISO image

2019-05-04 Thread Richard Owlett




On 05/03/2019 11:50 AM, Mark Fletcher wrote:

Hello

I'm trying to use Stretch to write a .ISO image to a USB device. The
image is the Windows 10 installer ... which I downloaded from Microsoft, and
which they claim should be able to be written to a USB device. ...


What was the URL?
I've just read this thread for the first time, reading it as a unit. I'm 
concerned that Microsoft's context{poor_word?} may be significantly 
different from the assumptions being made in the replies.




I'm attempting to test the image before booting the installer on the
final computer earmarked for sacrifice to this project. ...


Why use the term "sacrifice"?

Also, the OP said that this is part of an educational project.
Does that put any constraint on how useful some answers may be?




Basic concepts and proper useage of UEFI

2019-05-04 Thread Richard Owlett



This post was prompted by recent discussion of problems/cautions 
concerning UEFI. All my machines boot in Legacy BIOS mode and I have 
minimal background in UEFI.


A preliminary web search yielded:


http://x86asm.net/articles/introduction-to-uefi/



https://blog.thomasmarcussen.com/tag/configmgr/



https://blog.thomasmarcussen.com/unified-extensible-firmware-interface-uefi/



https://wiki.restarters.net/UEFI_and_GPT



http://x86asm.net/articles/others/index.html



https://www.thomas-krenn.com/en/wiki/GUID_Partition_Table


I have not yet read these in detail. Is there other introductory 
material that would be recommended.


Also, in https://lists.debian.org/debian-user/2019/05/msg00107.html , it 
was suggested that a separate thread be begun on the question of

  "Whether or not you can update/install UEFI if you are not booted
   into UEFI."

I would like to see that discussed.
I hope I've used an acceptably broad subject line:

TIA






Re: [hs] module firefox

2019-05-04 Thread Gaëtan Perrier
Chez moi ce n'est toujours pas revenu ...

Le samedi 04 mai 2019 à 16:18 +0200, ara fel a écrit :
> firefox vient de faire un communiqué disant que le problème est réparé
> 
> Le sam. 4 mai 2019 à 16:08, Gaëtan Perrier  a écrit :
> > Le samedi 04 mai 2019 à 15:16 +0200, Gaëtan Perrier a écrit :
> > > Le samedi 04 mai 2019 à 14:57 +0200, phil a écrit :
> > > > Bonjour,
> > > > 
> > > > Depuis ce matin firefox désactive mon bloqueur de pubs, adblock.
> > > > Bon je veux installer ublock mais firefox bloque le téléchargement en
> > > > me
> > > > demandant
> > > > de vérifier ma connexion internet !
> > > > 
> > > > Package: firefox-esr
> > > > Version: 60.6.1esr-1
> > > > 
> > > > Quelqu'un a-t-il déjà résolu le problème ?
> > > > Merci d'avance pour une piste.
> > > > 
> > > > Cordialement,
> > > 
> > > Oui c'est un problème général:
> > > https://discourse.mozilla.org/t/certificate-issue-causing-add-ons-to-be-disabled-or-fail-to-install/39047/13
> > > 
> > 
> > Par contre est-ce que la solution qu'ils proposent: Preferences -> Privacy
> > &
> > Security -> Allow Firefox to install and run studies est possible chez
> > vous?
> > Moi cette série d'options est en grisé ...
> 
> 



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


Re: pgadmin não conecta ao postgre

2019-05-04 Thread Vitor Hugo
Bom dia;

Eu acrescentei a seguinte linha no arquivo de configuração 
/etc/postgresql/9.6/main/postgresql.conf

listen_addresses = '*'

Depois disso a mensagem de erro mudou para:

An error has ocorred

Error connecting to server: FATAL: nenhuma entrada no pg_hba.conf para a 
máquina 192.168.0.25, usuário "postgres" banco de dados "postgres", SSL 
habilitado.

FATAL: nenhuma entrada no pg_hba.conf para a máquina 192.168.0.25, usuário 
"postgres" banco de dados "postgres", SSL desahabilitado.



Em 27/04/2019 12:52, China escreveu:
O pgadmin tem um arquivo próprio de configuração, vc ajustou ele?

No seu hba.conf tem de ajustar o range, tá com só o localhost, por isso só 
funciona de dentro do servidor. No trecho abaixo vc tem de declarar seu range 
de IP. Ajuste os arquivos, reinicie os serviços e testa, mande retorno pra lista

# IPv4 local connections:
hostall all 127.0.0.1/32 md5

Em sáb, 27 de abr de 2019 11:55, Vitor Hugo 
mailto:vitorhug...@hotmail.com>> escreveu:
estou tentando me conectar ao servidor postgresql no debian 9 fiz a
instalação esta funcionando dentro do debian quando acesso o servidor
via ssh ele conecta e funciona porem quando entro em outra maquina para
fazer a conexão com o servidor debian/postgre com o pgadmin 4 ele da a
mensagem de erro abaixo:

could not connect to server: Connection refused (0x274D/10061) Is
the server running on host "192.168.0.27" and accepting TCP/IP
connections on port 5432?


Tentei criar outro usuário e outra senha porem o problema continua.

segue abaixo a configuração do meu pg_hba.conf


root@debian:/etc/postgresql/9.6/main#
 cat pg_hba.conf
# PostgreSQL Client Authentication Configuration File
# ===
#
# Refer to the "Client Authentication" section in the PostgreSQL
# documentation for a complete description of this file.  A short
# synopsis follows.
#
# This file controls: which hosts are allowed to connect, how clients
# are authenticated, which PostgreSQL user names they can use, which
# databases they can access.  Records take one of these forms:
#
# local  DATABASE  USER  METHOD  [OPTIONS]
# host   DATABASE  USER  ADDRESS  METHOD  [OPTIONS]
# hostsslDATABASE  USER  ADDRESS  METHOD  [OPTIONS]
# hostnossl  DATABASE  USER  ADDRESS  METHOD  [OPTIONS]
#
# (The uppercase items must be replaced by actual values.)
#
# The first field is the connection type: "local" is a Unix-domain
# socket, "host" is either a plain or SSL-encrypted TCP/IP socket,
# "hostssl" is an SSL-encrypted TCP/IP socket, and "hostnossl" is a
# plain TCP/IP socket.
#
# DATABASE can be "all", "sameuser", "samerole", "replication", a
# database name, or a comma-separated list thereof. The "all"
# keyword does not match "replication". Access to replication
# must be enabled in a separate record (see example below).
#
# USER can be "all", a user name, a group name prefixed with "+", or a
# comma-separated list thereof.  In both the DATABASE and USER fields
# you can also write a file name prefixed with "@" to include names
# from a separate file.
#
# ADDRESS specifies the set of hosts the record matches.  It can be a
# host name, or it is made up of an IP address and a CIDR mask that is
# an integer (between 0 and 32 (IPv4) or 128 (IPv6) inclusive) that
# specifies the number of significant bits in the mask.  A host name
# that starts with a dot (.) matches a suffix of the actual host name.
# Alternatively, you can write an IP address and netmask in separate
# columns to specify the set of hosts.  Instead of a CIDR-address, you
# can write "samehost" to match any of the server's own IP addresses,
# or "samenet" to match any address in any subnet that the server is
# directly connected to.
#
# METHOD can be "trust", "reject", "md5", "password", "gss", "sspi",
# "ident", "peer", "pam", "ldap", "radius" or "cert".  Note that
# "password" sends passwords in clear text; "md5" is preferred since
# it sends encrypted passwords.
#
# OPTIONS are a set of options for the authentication in the format
# NAME=VALUE.  The available options depend on the different
# authentication methods -- refer to the "Client Authentication"
# section in the documentation for a list of which options are
# available for which authentication methods.
#
# Database and user names containing spaces, commas, quotes and other
# special characters must be quoted.  Quoting one of the keywords
# "all", "sameuser", "samerole" or "replication" makes the name lose
# its special character, and just match a database or username with
# that name.
#
# This file is read on server startup and when the postmaster receives
# a SIGHUP signal.  If you edit the file on a running system, you have
# to SIGHUP the postmaster for the changes to take effect.  You can
# use "pg_ctl reload" to do that.

# Put your actual configuration here
# --
#
# If you 

dpkg-reconfigure keyboard-configuration (Swedish with "|" and "¦"?)

2019-05-04 Thread Erik Josefsson
I've now repeated the same sequence of commands a couple of times to 
make [SD-cards for the Teres laptop] and finally it looks like I get the 
same results every time :-)


*** make new Teres SD-card with new Teres laptop
mkdir /home/debian/teres
cd /home/debian/teres
wget http://box.redpill.dk/nonfree/nonfree-teres1-buster-1.0b22.img.gz
gunzip nonfree-teres1-buster-1.0b22.img.gz
lsblk --paths
lsblk --paths
umount /dev/sda
sudo cp nonfree-teres1-buster-1.0b22.img /dev/sda
*** move new Teres SD-card to new Teres laptop
sudo box-fill-disk
sudo apt update
sudo box-add-gui
sudo apt install etckeeper
sudo apt install man
sudo dpkg-reconfigure keyboard-configuration
-> Generic 105-key PC (intl.)
-> Other
-> Swedish
-> Swedish
-> The default for the keyboard layout
-> No compose key
-> Use Control+Alt+Backspace to terminate the X server? 
sudo shutdown -h now

And it works! Now I am just missing "|" and "¦".

I have tried "Generic 105-key PC (intl.)" and "Generic 102-key PC 
(intl.)" in the menue following the command 'dpkg-reconfigure 
keyboard-configuration' (see above), but there is no difference between 
105 and 102 wrt what the Teres keyboard produce on screen (see below).


I have also tried with an USB keyboard which has one extra key between 
 and . That extra key delivers "|") and "¦" with both 
"Generic 105-key PC (intl.)" and "Generic 102-key PC (intl.)" (and Swedish).


I can of course use the USB keyboard with my laptop, but it would be 
more convenient if I could get the Teres keyboard to do "|" and "¦".


So, does anyone know how to make the Teres keyboard not only output 
Swedish letters, but also "|" and  "¦"?


Maybe there is a "keyboard model" I can choose that is a better fit than 
"Generic 105-key PC (intl.)" and"Generic 102-key PC (intl.)"?


Thank you for your time.

//Erik


[SD-cards for the Teres laptop] https://box.redpill.dk/nonfree/


Generic 105-key PC (intl.)

DELTACO USB keyboard

No key pressed
§§11223344556677889900++´
qqwweerrttyyuuiiooppåå¨
aassddffgghhjjkkllööää''
<>ZZXXCCVVBBNNMM;;::__

ALT+GR
¶¶¡¡@@££$$€€¥¥{{[[]]}}\\±±
@@łł€€®®þþ←←↓↓→→œœþþ¨~
ªªßßððđđŋŋħħ̉ĸĸłłøøææ´´
||««»»©©““””nnµµ¸··̣

ALT+GR+SHIFT
¾¾¹¹²²³³¼¼¢¢⅝⅝÷÷««»»°°¿¿¬¬
ΩΩŁŁ¢¢®®ÞÞ¥¥↑↑ııŒŒÞÞ°ˇ
ºº§§ÐЪªŊŊĦĦ̛&&ŁŁØØÆÆ××
¦¦<<>>©©‘‘’’NNºº˛˙˙


Teres keyboard

No key pressed
§§11223344556677889900++´
qqwweerrttyyuuiiooppåå¨''
aassddffgghhjjkkllööää
zzxxccvvbbnnmm,,..--

SHIFT
½½!!""##¤¤%%&&//(())==??`
QQWWEERRTTYYUUIIOOPPÅÅ^**
AASSDDFFGGHHJJKKLLÖÖÄÄ
ZZXXCCVVBBNNMM;;::__

ALT+GR
¶¶¡¡@@££$$€€¥¥{{[[]]}}\\±±
@@łł€€®®þþ←←↓↓→→œœþþ¨~´´
ªªßßððđđŋŋħħ̉ĸĸłłøøææ
««»»©©““””nnµµ¸··̣

ALT+GR+SHIFT
¾¾¹¹²²³³¼¼¢¢⅝⅝÷÷««»»°°¿¿¬¬
ΩΩŁŁ¢¢®®ÞÞ¥¥↑↑ııŒŒÞÞ°ˇ××
ºº§§ÐЪªŊŊĦĦ̛&&ŁŁØØÆÆ
<<>>©©‘‘’’NNºº˛˙˙



Generic 102-key PC (intl.)

DELTACO USB keyboard

No key pressed
§§11223344556677889900++´
qqwweerrttyyuuiiooppåå¨
aassddffgghhjjkkllööää''
<>ZZXXCCVVBBNNMM;;::__

ALT+GR
¶¶¡¡@@££$$€€¥¥{{[[]]}}\\±±
@@łł€€®®þþ←←↓↓→→œœþþ¨~
ªªßßððđđŋŋħħ̉ĸĸłłøøææ´´
||««»»©©““””nnµµ¸··̣

ALT+GR+SHIFT
¾¾¹¹²²³³¼¼¢¢⅝⅝÷÷««»»°°¿¿¬¬
ΩΩŁŁ¢¢®®ÞÞ¥¥↑↑ııŒŒÞÞ°ˇ
ºº§§ÐЪªŊŊĦĦ̛&&ŁŁØØÆÆ××
¦¦<<>>©©‘‘’’NNºº˛˙˙


Teres keyboard

No key pressed
§§11223344556677889900++´
qqwweerrttyyuuiiooppåå¨''
aassddffgghhjjkkllööää
zzxxccvvbbnnmm,,..--

SHIFT
½½!!""##¤¤%%&&//(())==??`
QQWWEERRTTYYUUIIOOPPÅÅ^**
AASSDDFFGGHHJJKKLLÖÖÄÄ
ZZXXCCVVBBNNMM;;::__

ALT+GR
¶¶¡¡@@££$$€€¥¥{{[[]]}}\\±±
@@łł€€®®þþ←←↓↓→→œœþþ¨~´´
ªªßßððđđŋŋħħ̉ĸĸłłøøææ
««»»©©““””nnµµ¸··̣

ALT+GR+SHIFT
¾¾¹¹²²³³¼¼¢¢⅝⅝÷÷««»»°°¿¿¬¬
ΩΩŁŁ¢¢®®ÞÞ¥¥↑↑ııŒŒÞÞ°ˇ××
ºº§§ÐЪªŊŊĦĦ̛&&ŁŁØØÆÆ
<<>>©©‘‘’’NNºº˛˙˙



Re: [hs] module firefox

2019-05-04 Thread Gaëtan Perrier
Le samedi 04 mai 2019 à 15:16 +0200, Gaëtan Perrier a écrit :
> Le samedi 04 mai 2019 à 14:57 +0200, phil a écrit :
> > Bonjour,
> > 
> > Depuis ce matin firefox désactive mon bloqueur de pubs, adblock.
> > Bon je veux installer ublock mais firefox bloque le téléchargement en me
> > demandant
> > de vérifier ma connexion internet !
> > 
> > Package: firefox-esr
> > Version: 60.6.1esr-1
> > 
> > Quelqu'un a-t-il déjà résolu le problème ?
> > Merci d'avance pour une piste.
> > 
> > Cordialement,
> 
> Oui c'est un problème général:
> https://discourse.mozilla.org/t/certificate-issue-causing-add-ons-to-be-disabled-or-fail-to-install/39047/13
> 

Par contre est-ce que la solution qu'ils proposent: Preferences -> Privacy &
Security -> Allow Firefox to install and run studies est possible chez vous?
Moi cette série d'options est en grisé ...


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


Re: [hs] module firefox

2019-05-04 Thread Gaëtan Perrier
Le samedi 04 mai 2019 à 14:57 +0200, phil a écrit :
> Bonjour,
> 
> Depuis ce matin firefox désactive mon bloqueur de pubs, adblock.
> Bon je veux installer ublock mais firefox bloque le téléchargement en me
> demandant
> de vérifier ma connexion internet !
> 
> Package: firefox-esr
> Version: 60.6.1esr-1
> 
> Quelqu'un a-t-il déjà résolu le problème ?
> Merci d'avance pour une piste.
> 
> Cordialement,


Oui c'est un problème général:
https://discourse.mozilla.org/t/certificate-issue-causing-add-ons-to-be-disabled-or-fail-to-install/39047/13



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


Re: [hs] module firefox

2019-05-04 Thread Dominique Dumont
On Saturday, 4 May 2019 14:57:01 CEST phil wrote:

> Merci d'avance pour une piste.

https://news.slashdot.org/story/19/05/04/0457201/a-glitch-is-breaking-all-firefox-extensions

https://www.reddit.com/r/firefox/comments/bkhtv8/heres_whats_going_on_with_your_addons_being/

HTH








Re: [hs] module firefox

2019-05-04 Thread ara fel
bonjour

il y a une solution proposé par firefox, mais assez bancale je trouve


1)dans barre d'adresse, va à about:config
2) recherche la ligne xpinstall.signatures­.required
3)clique droit dessus, sélectionne inverser

source https://twitter.com/firefox/status/1124527050490933248

Le sam. 4 mai 2019 à 14:58, phil  a écrit :
>
> Bonjour,
>
> Depuis ce matin firefox désactive mon bloqueur de pubs, adblock.
> Bon je veux installer ublock mais firefox bloque le téléchargement en me 
> demandant
> de vérifier ma connexion internet !
>
> Package: firefox-esr
> Version: 60.6.1esr-1
>
> Quelqu'un a-t-il déjà résolu le problème ?
> Merci d'avance pour une piste.
>
> Cordialement,
> --
> Philippe Batailler
>


-- 
bonjour,


Cordialement

**



[hs] module firefox

2019-05-04 Thread phil
Bonjour,

Depuis ce matin firefox désactive mon bloqueur de pubs, adblock.
Bon je veux installer ublock mais firefox bloque le téléchargement en me 
demandant
de vérifier ma connexion internet !

Package: firefox-esr
Version: 60.6.1esr-1

Quelqu'un a-t-il déjà résolu le problème ?
Merci d'avance pour une piste.

Cordialement,
-- 
Philippe Batailler



Re: which mutt?

2019-05-04 Thread Dejan Jocic
On 04-05-19, Curt wrote:
> On 2019-05-04, Erik Christiansen  wrote:
> > On 03.05.19 18:01, Russell L. Harris wrote:
> >> P.S.  Would someone kindly tell me how, while in Mutt and reading a
> >> message such as this, to launch a browser to open links such as [1]
> >> and [2] above?
> >
> > A convenient alternative is to just double-click on a link in mutt's
> > display in an xterm, then paste anywhere in the middle of firefox/iceweasel
> > (not in the URL box up top). That works with a simple config:

If you are using xterm, best solution for me was to set opening URLs
from anywhere in xterm, not just mutt, would be to set highlighting URLs
with double click and opening them with Shift + Mouse left button.

For that you would need in your .Xresources these lines

xterm*charClass: 33:48,36-47:48,58-59:48,61:48,63-64:48,95:48,126:48

xterm*VT100*translations: #override Shift :
exec-formatted("firefox '%t'", PRIMARY)

Dejan





Re: Trouble making bootable USB from ISO image

2019-05-04 Thread Pascal Hambourg

Le 04/05/2019 à 11:21, deloptes a écrit :

Thomas Schmitt wrote:


(A new thread would keep this one on topic.)


I agree.


Perhaps I should start another thread, but it is somehow in the context of
this, because I was trying to setup UEFI bootable USB.


No, it is a completely different topic.


answers I found were pointing to the fact that you can not do grub
update/install of UEFI if you are not booted into UEFI.


Short answer : this assertion is wrong.
Long answer : I will gladly develop if you start a new thread.



Re: which mutt?

2019-05-04 Thread Michael Stone

On Sat, May 04, 2019 at 08:46:26AM +0100, Jonathan Dowland wrote:

On Fri, May 03, 2019 at 02:22:21PM -0700, Jimmy Johnson wrote:

Debian knows what I'm talking about.


This Debian developer hasn't the foggiest.


Don't encourage it.



Re: pmount could perhaps be of greater utility?

2019-05-04 Thread Jonas Smedegaard
Quoting Erik Christiansen (2019-05-04 08:43:53)
> >From the pmount manpage for stretch:
> 
> »
>  pmount device [ label ]
> 
>  This will mount device to a directory below /media if policy is met
>  (see below). If  label is given, the mount point will be /media/label,
>  otherwise it will be /media/device.
> «
> 
>  There doesn't seem to be an option for pmount to mount at
>  /media/label_read_from_the_media
> 
>  To provide that convenient automation, I use:
> 
>  $ which lmount
>  lmount is a function
>  lmount () 
>  { 
>  pmount $1 `e2label $1`
>  }

I recommend to install package shellcheck and run "shellcheck lmount".

>  Is it worth adding a pmount option to provide that simple but useful 
>  convenience for general consumption?

I don't personally use pmount since some years, but that sure sounds 
like a nice suggestion: Please consider filing as a bugreport against 
pmount with severity "wishlist".

More info at https://www.debian.org/Bugs/Reporting


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Re: Trouble making bootable USB from ISO image

2019-05-04 Thread Curt
On 2019-05-04, Mark Fletcher  wrote:
> On Fri, May 03, 2019 at 12:54:17PM -0400, Greg Wooledge wrote:
>> On Sat, May 04, 2019 at 01:50:31AM +0900, Mark Fletcher wrote:
>> > it auto-mounted.
>> 
>> > So as root I did:
>> > 
>> > cp  /dev/sdf
>> 
>> You need the device NOT to be mounted when you do the cp.  This may mean
>> you have to turn off your auto-mounter, or (better still) just log out of
>> your Desktop Environment entirely, and log in as root on a text console
>> for this operation.

I'm intervening here merely to point out that just because the user's
external usb device is auto-mounted does not mean that said device
cannot be unmounted by the usual methods (at least I have yet to
encounter Greg Wooledge's auto-mounter from Hell that will not permit
it). 

>> If the device is mounted, that will interfere with the raw byte writing
>> you're doing.  The results are unpredictable.
>> 
>
> This makes sense to me; confession time -- I originally ejected the pen 
> drive when Gnome auto-mounted it, but then found I couldn't do anything 
> with the device at all, so concluded that contrary to my memory it 
> needed to be mounted. Web pages I'd found said nothing about unmounting 
> the device before writing, so again I thought my memory was faulty. What 
> I failed to consider was the difference between unmounting and ejecting.
>

-- 
The boys at first were very polite about my medals and asked me what I had done
to get them. I showed them the papers, which were written in very beautiful
language and full of fratellanza and abnegazione, but which really said, with
the adjectives removed, that I had been given the medals because I was 
an American. - "Another Country"




Re: Trouble making bootable USB from ISO image

2019-05-04 Thread An Liu
Hello,
from my experience
cp windows.iso /dev/sdf should work for windows version higher than win
7,and not work for xp


What i usually do is the best following way rather tban cp or dd because it
preserve my disk table ,i only need do rm (or not even you dont bother
install media in root partition table,leave it as in case you need it a
second time,data still can be add or remove as regular ones)
mkdir /mnt/usb -p
mkdir /mnt/iso -p

1)format the /dev/sdf1 as fat32
2)mount windows iso, either automount to /media/xxx or mount -o loop
windows.iso /mnt/iso
mount /dev/sdf1 /mnt/usb

3)cp -r /mnt/iso/* /mnt/usb

and this device should be bootable from UEFI

hope it helps


== you cant see the following ==

1)install from window.iso in kvm ,you should have 1 month trial before
activate
2)download ms usb creator
3)create media within windows 10
4)destroy kvm prepend nothing happens












On Fri, May 3, 2019 at 18:50 Mark Fletcher  wrote:

> Hello
>
> I'm trying to use Stretch to write a .ISO image to a USB device. The
> image is the Windows 10 installer (please don't flame me! It's part of
> an education project for my son!) which I downloaded from Microsoft, and
> which they claim should be able to be written to a USB device. Microsoft
> would have me write the ISO using a tool of theirs, but since I don't
> have another Windows device that isn't possible. They say that in that
> case the ISO can be written to a pen drive using OS-specific tools.
>
> I'm attempting to test the image before booting the installer on the
> final computer earmarked for sacrifice to this project. The computer I
> am testing on has successfully booted from a pen drive before and the
> pen drive I am using has been used to boot this computer before, albeit
> not this image.
>
> After downloading the .iso file, I plugged in the USB stick. Because it
> had something recognisable on it already, it auto-mounted. It was
> assigned device /dev/sdf and mounted somewhere under /media, I don't
> remember the exact path.
>
> So as root I did:
>
> cp  /dev/sdf
>
> and waited a while. Eventually the copy finished (the ISO is between 5
> and 6 GB, the capacity of the drive is 16GB). Then I did
>
> eject /dev/sdf
>
> and after a long wait, that command came back with no errors. I then
> removed the drive.
>
> On plugging the drive back in, Stretch can recognise there is a
> filesystem on it and mount it. I can see the usual efi structure for
> booting etc.
>
> BUT, the test computer refuses to recognise it as bootable. The BIOS can
> evidently see the device is there and is an option to boot from, but
> when I try it fails and falls back to the machine's internal hard disk.
> If I disable booting from the hard disk in the BIOS, it fails to boot at
> all with an error message essentially saying "give me something to boot
> from".
>
> There is some discussion on the internet suggesting that the pen drive
> additionally needs to be marked as bootable. I thought that was an old
> pre-GPT partitioning thing, and I also would have thought that if it
> were relevant the .ISO image should contain the necessary settings, but
> hey I'll try anything once... gparted was suggested as the tool to mark
> the partition as bootable but when I fire up gparted it doesn't seem to
> recognise the pen drive as it says the 16GB pen drive is "14.7GB
> unnallocated" and says there is no partition table on it. This despite
> the fact that it auto-mounts when I stick it in while Stretch is
> running...
>
> I'm confused whether the problem is in something I did or didn't do
> while copying the ISO image, or if there is something I need to set in
> the BIOS to get it to boot (I have a dim memory of fannying around with
> various settings a very long time ago when I first got booting from USB
> to work, and the CMOS battery on this motherboard has died at least once
> since then). I'm extremely doubtful that the ISO image just doesn't
> work, and I know for a fact that this computer can be persuaded to boot
> from a pen drive and that this pen drive has been used successfully in
> the past.
>
> Any suggestions of what I could do to diagnose the problem?
>
> Thanks in advance
>
> Mark
>
> --
Liu An


Re: Trouble making bootable USB from ISO image

2019-05-04 Thread Thomas Schmitt
Hi,

deloptes wrote:
> I was trying to setup UEFI bootable USB. All worked fine
> until grub told me something I do not recall exactly at the moment, but
> answers I found were pointing to the fact that you can not do grub
> update/install of UEFI if you are not booted into UEFI.

This is plausible together with Nicolas George's statement:
> > To edit UEFI variables, the computer need to have booted in UEFI mode.

But as said, the hack only tries to lure EFI into considering the block
range 2060 to 10365499 as (alternative) System Partition. It is a mere
partition table operation, no installation of a boot loader.

The loader and subsequent system are already prepared in the EFI partition
and the ISO. After EFI did its work of starting program \EFI\BOOT\BOOTX64.EFI
it depends on them whether they can deal with being on a not intended storage
medium. (The initrd of Debian ISOs has shell code which finds out the device
where the ISO is stored.)

The individual EFI firmware which shall act on the USB stick is actually
not determined when the ISO gets prepared. So there is no occasion or desire
to set non-volatile variables before the ISO gets booted.


Have a nice day :)

Thomas



Re: Trouble making bootable USB from ISO image

2019-05-04 Thread deloptes
Thomas Schmitt wrote:

> The problem which you mention could be interesting, too. How about a
> sketch of what you tried, what failed, and what succeeded ?
> (A new thread would keep this one on topic.)

Perhaps I should start another thread, but it is somehow in the context of
this, because I was trying to setup UEFI bootable USB. All worked fine
until grub told me something I do not recall exactly at the moment, but
answers I found were pointing to the fact that you can not do grub
update/install of UEFI if you are not booted into UEFI.

regards



Re: Debian @ T-DOSE, fontys, rachelsmolen 1, eindhoven, zat 11 mei, 10:00

2019-05-04 Thread Geert Stappers
On Fri, May 03, 2019 at 03:40:48PM +0200, Joost van Baal-Ili?? wrote:
> On Fri, May 03, 2019 at 03:31:11PM +0200, Paul van der Vlis wrote:
> > 
> > Is er ook iemand die wat USB-sticks maakt voor de T-dose?
> 
> Misschien dat Anne Bezemer (bcc-d) dat ook wil doen?
> 
> > Eventueel kan ik ze ook maken. (hoeveel?)
> 
> Denk niet dat t kwaad kan er sowieso een stuk of 5 klaar te hebben.
> 
> > Overigens heb ik een eigen tafel geregeld bij T-dose. Het lijkt me leuk
> > de tafel naast de Debian-tafel te hebben. Ik neem vooral wat computers
> > met Debian mee, maar wellicht ook wat niet-Debian dingen (Google-vrije
> > telefoon met LineageOS, OpenWRT router, Tails USB stick).
> 
> Mooi!
> 
> Ik weet niet hoe de T-DOSE-organisatie de verdeling van de tafels regelt; als
> je er vroeg bent zal er misschien nog wel geschoven kunnen worden mocht dat
> nodig zijn.
> 
> Ik hoorde dat we ook Debian FreedomBox-en ( https://freedombox.org/ ) gaan
> verkopen.

Ja, dat klopt. Het concept "Freedombox" is gebouwd met Debian packages.
En kant-en-klaar te koop op open source hardware. Debian tastbaar. Geweldig.

Op T-DOSE heb ik de Olimex Freedombox pioneer kits voor de verkoop bij
mij. 105 Euro per stuk.  De website vermeld 82 Euro, maar dat is zonder
BTW en zonder verzendkosten.


> Tot zaterdag de 11e, Groeten,

Jep.  Gewoon tegen de wereld zeggen dat Debian bestaat.


Groeten
Geert Stappers
-- 
Leven en laten leven


signature.asc
Description: PGP signature


Re: Trouble making bootable USB from ISO image

2019-05-04 Thread Nicolas George
deloptes (12019-05-04):
> don't forget that to create UEFI bootable partition, you need to boot in
> UEFI.

That is absolutely not true. Partition data, UEFI or not, bootable or
not, are just octets on a medium. They could be created with an Atari if
Atari had USB plugs, that would not make any difference.

The vague truth behind your statement is:

To edit UEFI variables, the computer need to have booted in UEFI mode.

The UEFI variables, the contents of the computer's non-volatile internal
memory. Not the contents of the drive. They contain, amongst other
things, the default boot options. They are not used when selecting the
boot option manually.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: which mutt?

2019-05-04 Thread Curt
On 2019-05-04, Erik Christiansen  wrote:
> On 03.05.19 18:01, Russell L. Harris wrote:
>> P.S.  Would someone kindly tell me how, while in Mutt and reading a
>> message such as this, to launch a browser to open links such as [1]
>> and [2] above?
>
> A convenient alternative is to just double-click on a link in mutt's
> display in an xterm, then paste anywhere in the middle of firefox/iceweasel
> (not in the URL box up top). That works with a simple config:

One lady's bug is another lady's feature:

https://www.phoronix.com/scan.php?page=news_item=Firefox-Middle-Click-Bug

Seems the 'middlemouse.contentLoadUrl' default has been "True" since
Methuselah, but is set to "False" from Firefox 57 on.

Another alternative is the 'urlview' package:

https://wiki.archlinux.org/index.php/mutt#

But everybody mutt probably already knows that.

> URL Drop to Invoke:
>To be able to drop a URL anywhere in the window, to open it:
>Put about:config in the URL box, scroll to  middlemouse.contentLoadURL, and
>click to toggle it to true. Now a URL highlighted in an xterm can be pasted
>to firefox (and opened) with one middlemouse click - even if it has a
>spurious space/line-break in it.  (Thanks to John L. Fjellstad)
>
>
> Then html messages can generally be subjected to e.g.:
>
> text/html; /usr/bin/html2text '%s'; copiousoutput; description=HTML Text
>
> which preserves the recipient's text experience, keeping display in
> mutt. (Yup, the real one - since late last millennium. ;-)
>
> Erik
>



Firejail, firefox, and xpra

2019-05-04 Thread Georgios
Hi!
Im trying to run firefox-esr with firejail.

I installed firejail and when I'm trying to run it with the following
command

firejail --x11=xpra firefox-esr

I manage to start it but when I close firefox I get a black screen with
the a cursor blinking

I'm not sure if its a bug or I made some kind of mistake.

Thanks in advance for your help.


ps.The output I get when i start firefox-esr through firejail is:

$ firejail --x11=xpra firefox-esr
2019-05-04 09:49:08,906 cannot access python uinput module:
2019-05-04 09:49:08,906  No module named uinput

X.Org X Server 1.20.3
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.0-8-amd64 x86_64 Debian
Current Operating System: Linux Laptop 4.19.0-4-amd64 #1 SMP Debian
4.19.28-2 (2019-03-15) x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-4.19.0-4-amd64
root=/dev/mapper/Laptop--vg-root ro quiet splash intel_iommu=on
Build Date: 25 October 2018  06:15:23PM
xorg-server 2:1.20.3-1 (https://www.debian.org/support)
Current version of pixman: 0.36.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/run/user/1000/xpra/Xorg.:846.log", Time: Sat May  4
09:49:08 2019
(++) Using config file: "/etc/xpra/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
2019-05-04 09:49:11,622 created unix domain socket:
/run/user/1000/xpra/Laptop-846
2019-05-04 09:49:11,622 cannot create group socket '/run/xpra/Laptop-846'
2019-05-04 09:49:11,622  [Errno 13] Permission denied
2019-05-04 09:49:11,756 pointer device emulation using XTest
2019-05-04 09:49:12,643  OpenGL is supported on this display
2019-05-04 09:49:12,674 html server unavailable, cannot find websockify
module
2019-05-04 09:49:12,794 D-Bus notification forwarding is available
2019-05-04 09:49:13,017 Warning: webcam forwarding is disabled
2019-05-04 09:49:13,017  the virtual video directory
'/sys/devices/virtual/video4linux' was not found
2019-05-04 09:49:13,017  make sure that the 'v4l2loopback' kernel module
is installed and loaded
2019-05-04 09:49:13,017 found 0 virtual video devices for webcam forwarding
2019-05-04 09:49:13,260 Warning: failed to load the mdns publisher
2019-05-04 09:49:13,261  No module named avahi
2019-05-04 09:49:13,261  either fix your installation or use the
'mdns=no' option
2019-05-04 09:49:13,261 xpra X11 version 2.4.3-r21350M 64-bit
2019-05-04 09:49:13,262  uid=1000 (gpdsbe), gid=1000 (gpdsbe)
2019-05-04 09:49:13,263  running with pid 3153 on Linux Debian testing
buster
2019-05-04 09:49:13,263  connected to X11 display :846 with 24 bit colors
2019-05-04 09:49:13,350 xpra is ready.
2019-05-04 09:49:13,370 7.5GB of system memory

*** Attaching to xpra display 846 ***

Xpra server pid 3153, xpra client pid 3471, jail 3472
Reading profile /etc/firejail/firefox-esr.profile
Reading profile /etc/firejail/firefox.profile
Reading profile /etc/firejail/firefox-common.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/whitelist-common.inc
Reading profile /etc/firejail/whitelist-var-common.inc
Warning: networking feature is disabled in Firejail configuration file
Parent pid 3472, child pid 3474
Warning: An abstract unix socket for session D-BUS might still be
available. Use --net or remove unix from --protocol set.
Post-exec seccomp protector enabled
Seccomp list in:
@clock,@cpu-emulation,@debug,@module,@obsolete,@raw-io,@reboot,@resources,@swap,acct,add_key,bpf,fanotify_init,io_cancel,io_destroy,io_getevents,io_setup,io_submit,ioprio_set,kcmp,keyctl,mount,name_to_handle_at,nfsservctl,ni_syscall,open_by_handle_at,personality,pivot_root,process_vm_readv,ptrace,remap_file_pages,request_key,setdomainname,sethostname,syslog,umount,umount2,userfaultfd,vhangup,vmsplice,
check list: @default-keep, prelist:
adjtimex,clock_adjtime,clock_settime,settimeofday,modify_ldt,lookup_dcookie,perf_event_open,process_vm_writev,delete_module,finit_module,init_module,_sysctl,afs_syscall,create_module,get_kernel_syms,getpmsg,putpmsg,query_module,security,sysfs,tuxcall,uselib,ustat,vserver,ioperm,iopl,kexec_load,kexec_file_load,reboot,set_mempolicy,migrate_pages,move_pages,mbind,swapon,swapoff,acct,add_key,bpf,fanotify_init,io_cancel,io_destroy,io_getevents,io_setup,io_submit,ioprio_set,kcmp,keyctl,mount,name_to_handle_at,nfsservctl,open_by_handle_at,personality,pivot_root,process_vm_readv,ptrace,remap_file_pages,request_key,setdomainname,sethostname,syslog,umount2,userfaultfd,vhangup,vmsplice,
Child process initialized in 80.07 ms
2019-05-04 09:49:14,864 Xpra gtk2 client version 2.4.3-r21350M 64-bit
2019-05-04 09:49:14,864  

Re: which mutt?

2019-05-04 Thread Jonathan Dowland

On Fri, May 03, 2019 at 02:22:21PM -0700, Jimmy Johnson wrote:

Debian knows what I'm talking about.


This Debian developer hasn't the foggiest.

--

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Jonathan Dowland
⢿⡄⠘⠷⠚⠋⠀ https://jmtd.net
⠈⠳⣄ Please do not CC me, I am subscribed to the list.



Re: Trouble making bootable USB from ISO image

2019-05-04 Thread Thomas Schmitt
Hi,

deloptes wrote:
> don't forget that to create UEFI bootable partition, you need to boot in
> UEFI. It does not work if you boot in legacy MBR - unfortunately - it took
> me 1 day to find out :)

I doubt that this applies to the situation of Mark Fletcher.
The goal of the hack is not to create the content of the EFI partition but
only to mark its position and purpose by an entry in the partition table.

The partition editor should of course refrain from altering the partition
content. Therefore i'd try /sbin/fdisk rather than the extra smart ones,
which create new filesystems.


The problem which you mention could be interesting, too. How about a
sketch of what you tried, what failed, and what succeeded ?
(A new thread would keep this one on topic.)


Have a nice day :)

Thomas



Re: Trouble making bootable USB from ISO image

2019-05-04 Thread deloptes
Thomas Schmitt wrote:

> So you could use a partition editor to create an MBR partition of type
> "EF" which begins at 512-block 515 * 4 = 2060 and has 2,590,860 * 4 =
> 10,363,440 blocks.
> (The EFI image is probably smaller. But El Torito can mark only sizes
> up to 32 MiB or unlimited size. Microsoft decided for unlimited. So
> the only limit is the ISO's end.)
> 
> MBR partition is less tricky than GPT. If it must be GPT, then create a
> partition of the proposed start and size and Type GUID
> C12A7328-F81F-11D2-BA4B-00A0C93EC93B . (Do this only if the ISO is already
> copied to USB stick. Putting GPT into the image file could overwrite its
> last few blocks by GPT backup.)

don't forget that to create UEFI bootable partition, you need to boot in
UEFI. It does not work if you boot in legacy MBR - unfortunately - it took
me 1 day to find out :)




pmount could perhaps be of greater utility?

2019-05-04 Thread Erik Christiansen
>From the pmount manpage for stretch:

»
 pmount device [ label ]

 This will mount device to a directory below /media if policy is met
 (see below). If  label is given, the mount point will be /media/label,
 otherwise it will be /media/device.
«

 There doesn't seem to be an option for pmount to mount at
 /media/label_read_from_the_media

 To provide that convenient automation, I use:

 $ which lmount
 lmount is a function
 lmount () 
 { 
 pmount $1 `e2label $1`
 }

 Is it worth adding a pmount option to provide that simple but useful
 convenience for general consumption?

 Why? Well some days the automounter just doesn't work on my old Debian
 install. The little LED on the stick blinks furiously for seconds on
 end after stick insertion, but then ... nada. No joy on running mount
 to see if the absence of the GUI navigator-thingy really is indicative.
 And my script for off-site backups expects the backup media at the
 mountpoint which the automounter normally sets, based on the label.
 
 Just a thought.

 Erik



Re: Trouble making bootable USB from ISO image

2019-05-04 Thread Thomas Schmitt
Hi,

Mark Fletcher wrote:
> root@kazuki:/home/mark# xorriso -indev
> ~mark/Downloads/Win10_1809Oct_v2_Japanese_x64.iso -report_system_area plain
> -report_el_torito plain
> ...
> Media summary: 1 session, 2591375 data blocks, 5061m data,  631g free
> Volume id: 'CCCOMA_X64FRE_JA-JP_DV9'
> xorriso : NOTE : No System Area was loaded
> El Torito catalog  : 22  1
> El Torito images   :   N  Pltf  B   Emul  Ld_seg  Hdpt  Ldsiz LBA
> El Torito boot img :   1  BIOS  y   none  0x  0x00  8 513
> El Torito boot img :   2  UEFI  y   none  0x  0x00  1 515
> El Torito img blks :   1  2
> El Torito img blks :   2  2590860

There is indeed no partition table to see in the ISO.
So at least EFI won't recognize it as bootable from USB stick.

It has El Torito boot equipment for DVD. Usable with legacy BIOS and
with EFI.

Whether it has usable MBR boot code for old BIOS would have to
be checked by e.g. cprogram "file".
This is how it would lool like if there was a MBR signature:

  $ file debian-9.3.0-amd64-netinst.iso
  debian-9.3.0-amd64-netinst.iso: DOS/MBR boot sector ...

(This would not necessarily mean that it contains x86 boot code.
 But at least it could. Then you could try CSM Legacy mode with your
 EFI firmware.)


> The only thing there that catches my untutored eye is the thing about
> the El Torito boot information being currently set to be discarded --
> doesn't sound healthy.
> xorriso : NOTE : Detected El-Torito boot information which currently is set
> to be discarded

It is only an announcement of xorriso that an ISO-to-ISO copy will not
preserve bootability with the current settings about boot equipment.
(Severity "NOTE" is rather harmless. "WARNING" and "SORRY" indicate minor
flaws. "FAILURE" and "FATAL" mean your xorriso run failed substantially.)



If no boot equipment is present for hard-disk-like devices, then you
probably have a use case for something like Rufus
  https://kb.iu.edu/d/bciz#rufus

But you may first try a hack:

We now know that the EFI boot image begins at 2048-bytes block 515.
In principle it will work as EFI System Partition too. (Question is
whether the software in it can work with anything else but DVD.)

So you could use a partition editor to create an MBR partition of type
"EF" which begins at 512-block 515 * 4 = 2060 and has 2,590,860 * 4 =
10,363,440 blocks.
(The EFI image is probably smaller. But El Torito can mark only sizes
 up to 32 MiB or unlimited size. Microsoft decided for unlimited. So
 the only limit is the ISO's end.)

MBR partition is less tricky than GPT. If it must be GPT, then create a
partition of the proposed start and size and Type GUID
C12A7328-F81F-11D2-BA4B-00A0C93EC93B . (Do this only if the ISO is already
copied to USB stick. Putting GPT into the image file could overwrite its
last few blocks by GPT backup.)



In the end i wonder about the ISO's size of 5 GiB. Too much for a normal
single-layer DVD. One would have to use DVD+R DL or BD media.
Was this announced by the download site ?

(The "DV9" at the end of the Volume Id could be a hint for DVD+R DL.)


Have a nice day :)

Thomas