Re: Faulty .iso? No public key...

2018-01-08 Thread john doe

On 1/9/2018 7:33 AM, Josh W. wrote:

I keep having the issue of no public key available and I don’t know what I
should do…. Back up my computer and reinstall or is there a way to patch it
up. I am attaching a file that shows what I am going through. I ran into
all this this time will trying to install wine and adding to the
sources.list file. I’ve had this problem with keys every since I downloaded
the .iso for Debian Stretch… I am think that I might have gotten a faulty
.iso file. Could some one point me in the direction of learning to check
the checksum of a file or files. I would greatly appreciate it.





To checksum a file you will need to use the corresponding checksum utility:
md5sum for MD5SUMS
sha1sum for SHA1SUMS
sha256 for SHA256SUMS
sha512sum for SHA512SUMS

On the download page for the desired iso file you have also 'SHA512SUMS' 
and 'SHA512SUMS.sign'.

You download both files using for instance 'wget'.

The first step is to verify the signature in 'SHA512SUMS' using 'gpg 
--verify *.sign'.
When you see 'good signature from ...', you have successfully verified 
the iso.


To checksum SHA512SUMS you would do:

$ sha512sum -c SHA512SUMS 2>&1 | grep -i ok

If you see something ending with ': ok', you have successfully 
checksummed the iso.


--
John Doe



Re: Booting from USB on an old MacBook

2018-01-08 Thread john doe

On 1/9/2018 8:30 AM, juh wrote:


Hi all,

as Apple won't fix older systems I would like to install debian on my
2009 (or so) 13" MacBook to prevent being vulnerable to Meltdown and
Spectre. Sadly the internal CD drive is broken and the notebook does not
boot from USB. I didn't find any hint in the Bios settings how to boot
from a usb device.

Is there a hack to boot such a Macbook from USB or do I have to buy a
new cd drive?



http://www.idownloadblog.com/2015/09/14/how-to-start-up-mac-from-bootable-media/

--
John Doe



Booting from USB on an old MacBook

2018-01-08 Thread juh

Hi all,

as Apple won't fix older systems I would like to install debian on my
2009 (or so) 13" MacBook to prevent being vulnerable to Meltdown and
Spectre. Sadly the internal CD drive is broken and the notebook does not
boot from USB. I didn't find any hint in the Bios settings how to boot
from a usb device.

Is there a hack to boot such a Macbook from USB or do I have to buy a
new cd drive?

juh

-- 
Soziale Plastik. Die Kunst der Allmende
Essay zum 30. Todestag von Joseph Beuys
http://www.amazon.de/dp/1523458763/
Taschenbuch, 130 Seiten, EUR 9,90



Faulty .iso? No public key...

2018-01-08 Thread Josh W.
I keep having the issue of no public key available and I don’t know what I
should do…. Back up my computer and reinstall or is there a way to patch it
up. I am attaching a file that shows what I am going through. I ran into
all this this time will trying to install wine and adding to the
sources.list file. I’ve had this problem with keys every since I downloaded
the .iso for Debian Stretch… I am think that I might have gotten a faulty
.iso file. Could some one point me in the direction of learning to check
the checksum of a file or files. I would greatly appreciate it.



Joshua 


Key Problems.odt
Description: application/vnd.oasis.opendocument.text


Re: How to create a PDF-Printer from the command line

2018-01-08 Thread davidson

On Sat, 6 Jan 2018, Brian wrote:


On Sat 06 Jan 2018 at 05:54:00 +0100, john doe wrote:


On 1/6/2018 4:06 AM, Jason wrote:

On a RasperryPi with Raspbian, I would like to create a PDF Printer to
print files to. I only know how to do this with the GUI program
system-config-printer but I don't want to install that on this
Pi. What shell command do I need to create a PDF printer on the Pi (or
on any Debian, for that matter)?



Why do you want to"print" if you can convert to pdf using the command line?
Based on the original file extension you simply search for a utility that
will convert your original file to pdf.


How does one convert a text file to a PDF using the command line?


Step 1. Make sure the text file is also a latex document.
Step 2. Use latex.



Re: vbox cannot find headers, although they are installed

2018-01-08 Thread Mike Kupfer
Harry Putnam wrote:

> root # bash ./VBoxLinuxAdditions.run 
> Verifying archive integrity... All good.
> Uncompressing VirtualBox 5.0.40 Guest Additions for Linux

5.0.40 is pretty old, and Googling for "virtualbox linux 4.14 guest"
shows a couple reports about the Guest Additions not building with a
4.14 kernel.  Try the latest 5.2.x GA.

mike



UID 1000 on Raspberry Pi (Was: Re: Embarrassing security bug in systemd)

2018-01-08 Thread Jason
On Sun, Dec 10, 2017 at 10:17:12PM -0500, Gene Heskett wrote:
> On Sunday 10 December 2017 19:02:49 David Wright wrote:
> 
> > On Sun 10 Dec 2017 at 16:43:02 (-0500), Gene Heskett wrote:

[...]

> >
> This I'd guess is important, if you have several users. I don't, except 
> for amanda and nut, and thats only on this machine. All the rest have 
> one user, me, known under various aliases because the idiot installer is 
> now set to give the first user the machines name like pi or rock64. I 
> spent a month trying to fix user 1000 to be me instead of pi on the pi.

On the Pi, this is what worked for me:

1. Add a new user (and add him to group sudo). This user gets ID 1001.
   $ sudo adduser tempuser
   $ sudo adduser tempuser sudo

2. Log out of user pi and log in as the newly created user.
   
3. Delete user pi (pi must not have any processes running)
   $ sudo deluser pi

4. Add the desired username:
   $ sudo adduser gene

Since no 1000 exists anymore you get UID 1000. If desired,
delete the temporary user and the deleted users' home directories.

It's possible the raspi-config utility might have a problem performing
certain actions with no pi user existing so you might want to be a bit
careful and make sure initial configuration is done before trying
this.

> It was like trying to excavate the pine island pirate treasure, so I 
> eventually gave it up and reinstalled the jessie image. Ditto on the 
> rock64, so the only thing common is the password. Fortunately an ssh -Y 
> usr@machine works just fine.
> 
> I would not call my wife computer illiterate, but the last machine she 
> had to use for report card preps, (she's a long retired music teacher) 
> was a Packard-Bell with an 80286 cpu and dos-3.1 on floppies. She could 
> do it by hand in 1/3rd of the time. I have set her down at prior 
> versions of this keyboard, but running a mouse is beyond her. She spent 
> 34 years teaching grade school music in the county school system.
> 
> > Hopefully tomás won't need to paraphrase this :)
> >
> > Cheers,
> > David.
> 
> 
> Cheers, Gene Heskett

-- 
Jason



[SOLVED]Re: How to create a PDF-Printer from the command line

2018-01-08 Thread Jason
On Sun, Jan 07, 2018 at 10:10:50AM +, Brian wrote:
> On Sat 06 Jan 2018 at 20:45:01 -0600, Jason wrote:
> 
> > > lpadmin. The wiki should help.
> > 
> > I had looked into lpadmin and thought that might be what I need but
> > couldn't find in the man page how to add a printer. I don't have web
> > access so am asking here rather than looking on the wiki.
> 
> For a PDF printer: install (or reinstall) printer-driver-cups-pdf.
> lpadmin automatically sets up a print queue.

That's what I needed, thanks.

>  
> > So basically what I'm asking is how to add a printer (this could apply
> > to any printer, not just PDF) without needing to install a printer
> > configuration GUI.
> 
> In general: lpadmin -p queue_name -v device_uri -E -m PPD.
> 
> Obtain device_uri from 'lpinfo -v' and PPD from 'lpinfo -m'.
> 
Also useful information, I saved this for future reference.

The possibilities for file conversion mentioned in this thread were
interesting to me, too. I may use some of the other ideas at some
point in the future.

Thank you Brian, and everyone else.

-- 
Jason



Re: How to create a PDF-Printer from the command line

2018-01-08 Thread David Wright
On Mon 08 Jan 2018 at 18:18:33 (+), Brian wrote:

… and the attachments!

Cheers,
David.


Re: How to create a PDF-Printer from the command line

2018-01-08 Thread David Wright
On Mon 08 Jan 2018 at 18:18:33 (+), Brian wrote:
> On Mon 08 Jan 2018 at 09:35:36 +, Curt wrote:
> 
> > On 2018-01-08, David Wright  wrote:
> > >> 
> > >> Which txt2pdf? I tried the DFSG free one at
> > >> 
> > >> https://github.com/baruchel/txt2pdf
> > >> 
> > >> Not in Debian, AFAICT, but download, put in /usr/local/bin and install
> > >> python-reportlab. Gives searchable PDFs, fonts can be selected more
> > >> easily than with cupsfilter or cups-pdf and it has UTF-8 support. Looks
> > >> useful.
> > >
> > > Indeed. It seems a lot faster than paps+ps2pdf too. I can see myself
> > > using this, though I'll keep my paps function as well, as it appears
> > > to be able to make substitutions for missing glyphs. It's handy to
> > > have a function that prints *something* at every position (except
> > > the strip at 0x80), with those little blobs containing 4 hex chars
> > > where there's no glyph. paps also does columns.
> > >
> > > The default fault in txt2pdf is Courier→Nimbus Mono AFAICT, which is
> > > very limited.

default.png attached¹. The majority of Unicode characters appear as
unadorned blobs.

> > > The unifont TTF font has far more characters, but
> > > the quality is very poor (deliberately, but looks like a bitmapped font).

unifont-ttf.png attached. AIUI the entire BMP (Basic Multilingual
Plane) is contained in less than 4MB and illustrated in a 2MB .BMP
(DIB) file, so the quality is, as I said, deliberately poor. Try
$ display /usr/share/fonts/opentype/unifont/unifont.ttf 

> > > I also haven't figured out line-numbering: I'll have to study the script.
> > > Searchability is a useful extra (I'm used to just searching the original
> > > text source file).
> > 
> > It seems very swift. I tried line-numbering with the '--line-numbers'
> > argument, but got no line numbers (which is not what I was expecting).
> 
> A possible bug. Not to worry; preprocess:
> 
>   pr -n text.txt
>   
> > Then I tried the '--page-numbers' argument, expecting to see page
> > numbers (and I did, centered at the bottom).
> 
> Ditto.
> 
> > You can change the default font ('--font' or '-f' ,
> > but I'm sure you know that already).
> 
> Unlike David Wright, I've not noticed the font quality to be poor when
> the magnification ability (left click with the mouse) of gv is used to
> examine characters in the PDF.

What I was using with paps (and its maximum Unicode coverage when
diagnostic printing) is FreeMono, which appears to substitute unifont
characters where it needs to: freemono.png attached. This shows the
font itself, some hex blobs, and some unifont substitutions.
So *most* of a typical file will be printed with the quality of
$ display /usr/share/fonts/opentype/freefont/FreeMono.otf

Commenting on your other post, yes, it *would* be nice if paps were
papdf, but I merely have| ps2pdf - -   at the end of the bash
function that sets the default font and margins etc to suit my
printer. So being Unicode-aware is far more important to me than
PS output.

¹ attachments are scrot screenshots of xpdf set to 600%, which limits
their crispness.

Cheers,
David.



Re: CVE-2017-5754 - ETA?

2018-01-08 Thread Richard Hector
On 09/01/18 04:36, francis picabia wrote:
> I have the option to install
> the stretch kernel and run in a hybrid version for awhile, but I'm not sure
> if there will be problems with that workaround.

The jessie-backports kernel has been updated, I believe.

Richard




signature.asc
Description: OpenPGP digital signature


Re: Managing font size issues between apps

2018-01-08 Thread Felix Miata
tony mollica composed on 2018-01-08 09:29 (UTC-0800):

> I'd like to find out how users are managing the font size issues between 
> applications.
> What prompts me to ask is applying system or application updates 
> sometimes changes the display of fonts, some larger, some smaller, both 
> between applications and also within the applications, Thunderbird being 
> one of the worst.
> 
> Am I missing some configuration utility or is this still a widespread 
> problem?

Focusing on TB, because it's a Mozilla.org application, yes, it is a common
problem. Factors affecting fonts include, but are not limited to:

1-which DE or WM you are using

2-which themes you have installed

3-source of the package that provided the application

4-physical display density

5-logical display density

6-toolkit used to build application

I don't use TB, but I do use other mozilla.org apps, some provided by the
distribution, some provided directly from mozilla.org.

Subject to correction by those using TB or otherwise having better knowledge:
1-TB 45 upstream was still using the mature GTK2 tookit, which had ample, mature
theme support. TB 52 upstream has been switched to GTK3, with more limited theme
support.
2-Individual Linux distros still have the option with 52 to build using GTK2, as
do those self-compiling TB.

One method of managing fonts in TB is described here:
http://kb.mozillazine.org/index.php?title=UserChrome.css&printable=yes
http://kb.mozillazine.org/Pane_and_menu_fonts
-- 
"Wisdom is supreme; therefore get wisdom. Whatever else you
get, get wisdom." Proverbs 4:7 (New Living Translation)

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

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



Re: Android Debian - Lets start Debian for Android hw phones

2018-01-08 Thread Brian
On Mon 08 Jan 2018 at 06:59:06 -0600, Richard Owlett wrote:

> On 01/08/2018 04:52 AM, Curt wrote:
> > On 2018-01-08, SDA  wrote:
> > > On Wed, Jan 03, 2018 at 12:25:50AM +0100, Anders Andersson wrote:
> > > > On Tue, Jan 2, 2018 at 5:50 PM, Samuel  wrote:
> > > > > could you add a support for wiko
> > > > > I have a wiko lenny 4 plus
> > > > 
> > > > Sure! Probably a small job. I'll submit a patch tomorrow to port
> > > > debian to android.
> > > > 
> > > 
> > > Well, Debian does call itself the 'Universal Operating System'. Maybe that
> > > phrase should be rethought since it doesn't run on all devices. Worthy
> > > thought, but not reality.
> > > 
> > 
> > I was going to say a while back in yet another tangential digression
> > that the trend in personal computing (outside of the work environment,
> > at least) is toward mobile devices (notably smartphones) where Linux (as
> > an OS--yes, I see you coming from here) is virtually absent.
> > 
> 
> Are there any mobile devices [ *EXCLUDING* smartphones] in current
> production and available in the US. I know of some crowd funded projects in
> that direction. Some to "be available real soon now" ;/

Another bite at the cherry? Worth a try. :)

-- 
Brian.



Re: Finding material with F1 or in "The Gnumeric Manual"

2018-01-08 Thread David Wright
On Mon 08 Jan 2018 at 10:58:35 (-0600), Richard Owlett wrote:
> On 01/07/2018 11:34 AM, Richard Owlett wrote:
> >I'm new to gnumeric and have not used any spreadsheet since mid 70's.
> >I'm running Debian 9.1 with MATE desktop and gnumeric 1.12.32 .
> >
> 
> I'm having a different problem now. But I see an common element -
> not efficiently using available documentation.
> 
> I have a large rectangular region. I wish, on a per column basis, to
> calculate the average of the values in that column. I found how to
> get the average of a range in a particular column. But I don't see
> how to simply do the same for a region.

Copy (^C) the cell with the average in it.
Paste (^V) it into the cells alongside this cell,
ie the ones where you want said averages to appear.

As this is about the second thing you learn about spreadsheet
behaviour (after summing and averaging, a column), it sounds
as if you need to find a simple guide to spreadsheet operations.

Cheers,
David.



Re: How to create a PDF-Printer from the command line

2018-01-08 Thread Brian
On Sun 07 Jan 2018 at 21:18:09 -0600, David Wright wrote:

> BTW a2ps, suggested earlier, is another that failed to move to Unicode
> AIUI. A shame as it had lots of useful column/custom heading stuff.

a2ps. enscript and (possibly) paps date from the era (not so long ago)
when PostScript was COW (centre of the world). That is not to say they
have outlived their usfulness (yet) but things have moved on to PDF.
In particular, PDF is a pivotol aspect of the default printing system,
as well as many printers sold today. It also seems to be the common
way of distributing documents.

-- 
Brian.



Re: How to create a PDF-Printer from the command line

2018-01-08 Thread rhkramer
Thanks!

On Monday, January 08, 2018 01:55:50 PM Brian wrote:
> The ones with "2" are from the ghostscript package. "to" is either from
> poppler or cups or cups-filters.



Re: How to create a PDF-Printer from the command line

2018-01-08 Thread Brian
On Mon 08 Jan 2018 at 07:21:46 -0500, rhkra...@gmail.com wrote:

> On Sunday, January 07, 2018 03:28:25 PM rhkra...@gmail.com wrote:
> > But my statement about variety of programs was more intended to say that
> > there are programs like txt2pdf, pdf2txt, html2txt (iirce)--in other
> > words, such programs to convert between a variety of formats.
> 
> For the sake of (an attempt at) completeness, there are also some similar 
> programs that use "to" instead of "2", e.g., pdftotext.  (I don't know if 
> there is a texttopdf (or txttopdf).

The ones with "2" are from the ghostscript package. "to" is either from
poppler or cups or cups-filters.

-- 
Brian.



Managing font size issues between apps

2018-01-08 Thread tony mollica

Hello.

I'd like to find out how users are managing the font size issues between 
applications.
What prompts me to ask is applying system or application updates 
sometimes changes the display of fonts, some larger, some smaller, both 
between applications and also within the applications, Thunderbird being 
one of the worst.


Am I missing some configuration utility or is this still a widespread 
problem?



tjm



Re: How to create a PDF-Printer from the command line

2018-01-08 Thread Brian
On Mon 08 Jan 2018 at 09:35:36 +, Curt wrote:

> On 2018-01-08, David Wright  wrote:
> >> 
> >> Which txt2pdf? I tried the DFSG free one at
> >> 
> >> https://github.com/baruchel/txt2pdf
> >> 
> >> Not in Debian, AFAICT, but download, put in /usr/local/bin and install
> >> python-reportlab. Gives searchable PDFs, fonts can be selected more
> >> easily than with cupsfilter or cups-pdf and it has UTF-8 support. Looks
> >> useful.
> >
> > Indeed. It seems a lot faster than paps+ps2pdf too. I can see myself
> > using this, though I'll keep my paps function as well, as it appears
> > to be able to make substitutions for missing glyphs. It's handy to
> > have a function that prints *something* at every position (except
> > the strip at 0x80), with those little blobs containing 4 hex chars
> > where there's no glyph. paps also does columns.
> >
> > The default fault in txt2pdf is Courier→Nimbus Mono AFAICT, which is
> > very limited. The unifont TTF font has far more characters, but
> > the quality is very poor (deliberately, but looks like a bitmapped font).
> > I also haven't figured out line-numbering: I'll have to study the script.
> > Searchability is a useful extra (I'm used to just searching the original
> > text source file).
> 
> It seems very swift. I tried line-numbering with the '--line-numbers'
> argument, but got no line numbers (which is not what I was expecting).

A possible bug. Not to worry; preprocess:

  pr -n text.txt
  
> Then I tried the '--page-numbers' argument, expecting to see page
> numbers (and I did, centered at the bottom).

Ditto.

> You can change the default font ('--font' or '-f' ,
> but I'm sure you know that already).

Unlike David Wright, I've not noticed the font quality to be poor when
the magnification ability (left click with the mouse) of gv is used to
examine characters in the PDF.

-- 
Brian.



Re: CVE-2017-5754 - ETA?

2018-01-08 Thread Sven Joachim
On 2018-01-08 17:04 +, Tixy wrote:

> On Mon, 2018-01-08 at 11:36 -0400, francis picabia wrote:
>> > The DSA has been (will be shortly?) released for stable. Unstable,
>> > testing, and likely oldstable will probably follow soon.
>> > https://security-tracker.debian.org/tracker/DSA-4078-1
>> >
>> >
>> >
>> Thanks for the response.  I'm looking now and I see stretch and wheezy
>> are
>> addressed, but not jessie.  Odd.  Why would old-stable be a challenge?
>
> It's a major set of changes that needs to be ported and tested. Perhaps
> there we're more companies and distro's working on the 3.2 kernel in
> Wheezy compared to 3.16 as used in Jessie.

I doubt that, both 3.2 and 3.16 are maintained by Ben Hutchings and are
not used by any major distro except Debian AFAIK.

> Or perhaps the latter port hit problems, who knows.

Definitely, both Ben and testers/reviewers hit showstopper bugs
including failure to boot at all.  See the thread on the stable@vger
list at https://www.spinics.net/lists/stable/index.html#209049.

Cheers,
   Sven



Re: vbox cannot find headers, although they are installed

2018-01-08 Thread Harry Putnam
Eike Lantzsch  writes:

> On Saturday, January 6, 2018 8:36:38 PM -03 Harry Putnam wrote:
>> Having a problem getting the vbox guest additions on a `testing'
>> install to allow for larger monitor resolution.
>> 
>> When I attempt to install the additions the ouput says it cannot find
>> the headers for the running kernel.
>> 
>> I have checked, rechecked and reinstalled the headers but still get
>> the message that they cannot be found and the kernel module build then
>> fails.
>> 
>> (Note: All debian systems mentioned below are running as guests on an
>> `openindiana' (a solaris offshoot) host)
>> 
>> (Full output of attempted guest additions install are at the end)
>> 
>> But briefly . . . .
>> 


Harry wrote:

>> >From the host with the failure:
>>   uname -r 4.14.0-2-amd64

Eike responded:

> This is not Stretch? Stretch is still with 4.9.0-5-amd64.

I overlooked your comment above in my previous response

Sorry I wasn't clear... but I did indicate in OP that the problem is
on a `testing' host:

Harry wrote in OP... first lines

,
|   Having a problem getting the vbox guest additions on a `testing'
|   ^^^  
|   install to allow for larger monitor resolution.
`

I went on to say that I am running two `stretch' hosts that did not
display this problem... even though all hosts have the proper header
files installed.




Re: vbox cannot find headers, although they are installed

2018-01-08 Thread Harry Putnam
Eike Lantzsch  writes:

Harry wrote:
>> What am I missing?
>
Eike Replied:
> Did you by any chance install a kernel higher than 4.14.0-2 to check it out, 
> then went back to 4.14.0-2 or installed 4.14.0 and then went back to 4.9.0?
> In that case VBox is most probably still looking for the headers of the 
> higher 
> kernel version and cannot find them. I ran into that problem before.
> In that case you will have to deinstall VBox completely and install it again. 
> You can retain the virtual installations and later incorporate them into VBox 
> again.

No, I've only ever installed kernels when an upgrade included a new
one... that is what happened in this case to get to 4.14*.


Is it possible that Debian just doesn't know where to look for the
header files?

Seems unlikely since two `stretch' systems, following a full-upgrade
had no such problems even though new kernels were installed as part of
that upgrade.

I see notations regarding more than one error in the full log output I
posted in this thread... but am not savvy enough to know what they
mean.

Early on:

,
| grep: /lib/modules/4.14.0-2-amd64/build/include/linux/version.h: No such file 
or directory
| make KBUILD_VERBOSE=1 CONFIG_MODULE_SIG= -C /lib/modules/4.14.0-2-amd64/build 
SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
| make -C /usr/src/linux-headers-4.14.0-2-amd64 
KBUILD_SRC=/usr/src/linux-headers-4.14.0-2-common \
| -f /usr/src/linux-headers-4.14.0-2-common/Makefile modules
| test -e include/generated/autoconf.h -a -e include/config/auto.conf || (  
\
| echo >&2; \
| echo >&2 "  ERROR: Kernel configuration is invalid."; \
| echo >&2 " include/generated/autoconf.h or include/config/auto.conf 
are missing.";\
| echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix 
it.";\
| echo >&2 ;\
| /bin/false)
|
| [...]
`


and then at the end:

,
| [...]
| 
| /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:313:47: error: implicit 
declaration of function ‘set_pages_x’; did you mean ‘get_page’? 
[-Werror=implicit-function-declaration]
|  # define MY_SET_PAGES_EXEC(pPages, cPages)set_pages_x(pPages, cPages)
|^
| /tmp/vbox.0/r0drv/linux/alloc-r0drv-linux.c:444:13: note: in expansion of 
macro ‘MY_SET_PAGES_EXEC’
|  MY_SET_PAGES_EXEC(&paPages[iPage], 1);
|  ^
| /tmp/vbox.0/r0drv/linux/alloc-r0drv-linux.c: In function 
‘VBoxGuest_RTMemContFree’:
| /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:314:47: error: implicit 
declaration of function ‘set_pages_nx’; did you mean ‘set_page_node’? 
[-Werror=implicit-function-declaration]
|  # define MY_SET_PAGES_NOEXEC(pPages, cPages)  set_pages_nx(pPages, cPages)
|^
| /tmp/vbox.0/r0drv/linux/alloc-r0drv-linux.c:492:13: note: in expansion of 
macro ‘MY_SET_PAGES_NOEXEC’
|  MY_SET_PAGES_NOEXEC(&paPages[iPage], 1);
|  ^~~
| cc1: some warnings being treated as errors
| /usr/src/linux-headers-4.14.0-2-common/scripts/Makefile.build:319: recipe for 
target '/tmp/vbox.0/r0drv/linux/alloc-r0drv-linux.o' failed
| make[4]: *** [/tmp/vbox.0/r0drv/linux/alloc-r0drv-linux.o] Error 1
| /usr/src/linux-headers-4.14.0-2-common/Makefile:1522: recipe for target 
'_module_/tmp/vbox.0' failed
| make[3]: *** [_module_/tmp/vbox.0] Error 2
| Makefile:146: recipe for target 'sub-make' failed
| make[2]: *** [sub-make] Error 2
| Makefile:8: recipe for target 'all' failed
| make[1]: *** [all] Error 2
| /tmp/vbox.0/Makefile.include.footer:79: recipe for target 'vboxguest' failed
| make: *** [vboxguest] Error 2
| Creating user for the Guest Additions.
| Creating udev rule for the Guest Additions kernel module.
`

Any help on what those indicate needs doing?



Re: old Wheezy will not upgrade linux-kernel

2018-01-08 Thread Roberto C . Sánchez
On Mon, Jan 08, 2018 at 06:38:16AM +, Bonno Bloksma wrote:
> Hi,
> 
> Running al old wheezy system that is up-2-date on patches but
> 
> I am running the v3.2.x kernel 
> # uname -a
> Linux linbobo 3.2.0-4-686-pae #1 SMP Debian 3.2.96-2 i686 GNU/Linux
> 
> After apt-get update I do an upgrade and it seems the kernel package will not 
> install but is held back
> []
> # apt-get upgrade -V
> The following packages have been kept back:
>linux-image-686-pae (3.2+46 => 3.2+46+deb7u1)
> 
>From apt-get(1):

   upgrade
   upgrade is used to install the newest versions of all packages 
currently installed on the
   system from the sources enumerated in /etc/apt/sources.list. 
Packages currently installed
   with new versions available are retrieved and upgraded; under no 
circumstances are
   currently installed packages removed, or packages not already 
installed retrieved and
   installed. New versions of currently installed packages that cannot 
be upgraded without
   changing the install status of another package will be left at their 
current version. An
   update must be performed first so that apt-get knows that new 
versions of packages are
   available.

> Doing a manual install it seems the v3.2.0-4 kernel needs to be upgraded to a 
> v3.2.0.-5 kernel. 
> 
> # apt-get install linux-image-686-pae
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following extra packages will be installed:
>   linux-image-3.2.0-5-686-pae
> Suggested packages:
>   linux-doc-3.2 debian-kernel-handbook
> The following NEW packages will be installed:
>   linux-image-3.2.0-5-686-pae
> The following packages will be upgraded:
>   linux-image-686-pae
> 1 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
> Need to get 23.0 MB of archives.
> After this operation, 80.0 MB of additional disk space will be used.
> Do you want to continue [Y/n]?
> 
> Should that then not simply be a upgrade?
> Is there any reason not to just simply do the apt-get install ?
> 
> I have this "problem" on at least 2 Wheezy machines.  One I cannot upgrade to 
> Lenny. Which is the reason I have at least one other (not critical) machine 
> also at Wheezy so I can compare and test.
> 

The reason that you are encountering this issue is because the changes
to the kernel necessitated an ABI change.  The Linux kernel package name
includes the ABI version to allow you to have multiple versions of the
same kernel with different ABIs.  Plus, it makes it easy to boot back
into the previous version with any custom built modules (e.g., through
DKMS) that may not work or be built for the new kernel ABI.

I recommend that you use dist-upgrade (which will pull in new packages)
or use the install command as you found that also works.

Regards,

-Roberto

-- 
Roberto C. Sánchez



Re: old Wheezy will not upgrade linux-kernel

2018-01-08 Thread Greg Wooledge
On Mon, Jan 08, 2018 at 06:38:16AM +, Bonno Bloksma wrote:
> The following NEW packages will be installed:
>   linux-image-3.2.0-5-686-pae
> The following packages will be upgraded:
>   linux-image-686-pae

> Should that then not simply be a upgrade?

When a new package is required to fulfill a dependency, you have to
use "dist-upgrade" instead of just "upgrade".  The same thing happened
in stretch.



old Wheezy will not upgrade linux-kernel

2018-01-08 Thread Bonno Bloksma
Hi,

Running al old wheezy system that is up-2-date on patches but

I am running the v3.2.x kernel 
# uname -a
Linux linbobo 3.2.0-4-686-pae #1 SMP Debian 3.2.96-2 i686 GNU/Linux

After apt-get update I do an upgrade and it seems the kernel package will not 
install but is held back
[]
# apt-get upgrade -V
The following packages have been kept back:
   linux-image-686-pae (3.2+46 => 3.2+46+deb7u1)

Doing a manual install it seems the v3.2.0-4 kernel needs to be upgraded to a 
v3.2.0.-5 kernel. 

# apt-get install linux-image-686-pae
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  linux-image-3.2.0-5-686-pae
Suggested packages:
  linux-doc-3.2 debian-kernel-handbook
The following NEW packages will be installed:
  linux-image-3.2.0-5-686-pae
The following packages will be upgraded:
  linux-image-686-pae
1 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 23.0 MB of archives.
After this operation, 80.0 MB of additional disk space will be used.
Do you want to continue [Y/n]?

Should that then not simply be a upgrade?
Is there any reason not to just simply do the apt-get install ?

I have this "problem" on at least 2 Wheezy machines.  One I cannot upgrade to 
Lenny. Which is the reason I have at least one other (not critical) machine 
also at Wheezy so I can compare and test.

Bonno Bloksma



Re: CVE-2017-5754 - ETA?

2018-01-08 Thread Tixy
On Mon, 2018-01-08 at 11:36 -0400, francis picabia wrote:
> > The DSA has been (will be shortly?) released for stable. Unstable,
> > testing, and likely oldstable will probably follow soon.
> > https://security-tracker.debian.org/tracker/DSA-4078-1
> >
> >
> >
> Thanks for the response.  I'm looking now and I see stretch and wheezy
> are
> addressed, but not jessie.  Odd.  Why would old-stable be a challenge?

It's a major set of changes that needs to be ported and tested. Perhaps
there we're more companies and distro's working on the 3.2 kernel in
Wheezy compared to 3.16 as used in Jessie. Or perhaps the latter port
hit problems, who knows.

-- 
Tixy



Finding material with F1 or in "The Gnumeric Manual"

2018-01-08 Thread Richard Owlett

On 01/07/2018 11:34 AM, Richard Owlett wrote:

I'm new to gnumeric and have not used any spreadsheet since mid 70's.
I'm running Debian 9.1 with MATE desktop and gnumeric 1.12.32 .



I'm having a different problem now. But I see an common element - not 
efficiently using available documentation.


I have a large rectangular region. I wish, on a per column basis, to 
calculate the average of the values in that column. I found how to get 
the average of a range in a particular column. But I don't see how to 
simply do the same for a region.


TIA





Re: CVE-2017-5754 - ETA?

2018-01-08 Thread Jeroen Mathon
Can't you clone the disk to another machine, then test the stretch
kernel and then run hybrid for a while?

The kernel is just the intermediate between the hardware and userspace,
shoulnd not cause too much trouble, if not you can always test it that way.


On 01/08/2018 04:36 PM, francis picabia wrote:
> On Thu, Jan 4, 2018 at 4:47 PM, Don Armstrong  > wrote:
>
> On Thu, 04 Jan 2018, francis picabia wrote:
> > Redhat, Ubuntu and others have kernel updates available today
> for this
> > kernel patch that has been worked on since November. Normally Debian
> > has been quick out of the gate with security measures.
> >
> > Is there an ETA when Debian will update kernel packages?
>
> The DSA has been (will be shortly?) released for stable. Unstable,
> testing, and likely oldstable will probably follow soon.
> https://security-tracker.debian.org/tracker/DSA-4078-1
> 
>
>
>
> Thanks for the response.  I'm looking now and I see stretch and wheezy are
> addressed, but not jessie.  Odd.  Why would old-stable be a challenge?
>
> I'm concerned because we run a system for students to do programming,
> and there
> is typically one in the crowd who will try out any script kiddies in
> the news.  For
> the time being I've blocked access to the system, but faculty expect it
> will be available for use in a week or so.  I have the option to install
> the stretch kernel and run in a hybrid version for awhile, but I'm not
> sure
> if there will be problems with that workaround.
>
>



signature.asc
Description: OpenPGP digital signature


[semi-OT] temperature/humidity/flood sensor recommendations

2018-01-08 Thread Roberto C . Sánchez
Hi all,

This is semi-OT but I am curious to know what temperature/humidity/flood
sensors everyone out there has experience with.

I am looking for something to use at home, but I would like to stay away
from WiFi and smart home devices.  Basically, I am looking for something
simple, which plugs into Ethernet, and makes its data available via HTTP
and/or telnet (or any other simple text-based protocol).  If it includes
some other fancy features (e.g., sending email alerts, SNMP traps, etc.)
then that is OK too.  I don't care whether it does onboard data storage.

I intend to integrate this with my own existing monitoring solution that
already includes Icinga, some custom scripts, logcheck alerts, and a few
other odds and ends (e.g., email alerts from apcupsd for power outages).

Any suggestions?

Regards,

-Roberto

-- 
Roberto C. Sánchez



Re: CVE-2017-5754 - ETA?

2018-01-08 Thread francis picabia
On Thu, Jan 4, 2018 at 4:47 PM, Don Armstrong  wrote:

> On Thu, 04 Jan 2018, francis picabia wrote:
> > Redhat, Ubuntu and others have kernel updates available today for this
> > kernel patch that has been worked on since November. Normally Debian
> > has been quick out of the gate with security measures.
> >
> > Is there an ETA when Debian will update kernel packages?
>
> The DSA has been (will be shortly?) released for stable. Unstable,
> testing, and likely oldstable will probably follow soon.
> https://security-tracker.debian.org/tracker/DSA-4078-1
>
>
>
Thanks for the response.  I'm looking now and I see stretch and wheezy are
addressed, but not jessie.  Odd.  Why would old-stable be a challenge?

I'm concerned because we run a system for students to do programming, and
there
is typically one in the crowd who will try out any script kiddies in the
news.  For
the time being I've blocked access to the system, but faculty expect it
will be available for use in a week or so.  I have the option to install
the stretch kernel and run in a hybrid version for awhile, but I'm not sure
if there will be problems with that workaround.


Re: Kernel problem?

2018-01-08 Thread tv.deb...@googlemail.com

On 08/01/2018 15:59, Anton Gorlov wrote:

Hi.
Less /usr/share/doc/linux-image-4.9.0-5-amd64/changelog.Debian.gz

- x86/mm: Add the 'nopcid' boot option to turn off PCID
...
- kaiser: add "nokaiser" boot option, using ALTERNATIVE

In debian kernel no option *pti*

08.01.2018 07:14, Rob Hurle пишет:
Thanks to everyone who provided help with this failure of the 
4.9.0-5-686-pae kernel.  I have tried both "nopti" and "pti=off" 
kernel parameters to see if it is the fix for "Meltdown" which is 
causing the problem, but neither parameter changes anything. Since the 
system doesn't even get to the kernel fsck stage, I don't have any 
logs to be able to either report a bug or analyse the problem.  I also 
realise now that auto-update is turned on by default in Stretch, so 
that is how the new kernel became installed.  I have temporarily 
turned auto-update off because I don't want any automatic update to 
clobber my only working kernel - the 4.9.0-4-686-pae.  The updating 
system only seems to keep 2 generations of kernel?


Any further ideas would be very welcome.




Thanks a lot for correcting that, I am running a vanilla kernel from 
kernel.org on main computer. This Debianism is definitly worth a message 
upon install, I didn't see any on machines which run the default Debian 
kernel.




Re: Android Debian - Lets start Debian for Android hw phones

2018-01-08 Thread Stefan Monnier
> ... where Linux (as an OS--yes, I see you coming from here)

We usually call it GNU/Linux,


Stefan



Re: Unable to get the temp for one disk in Stretch

2018-01-08 Thread Daniel Bareiro
Hi, again.

On 08/01/18 10:28, Daniel Bareiro wrote:

>>> I recently updated my firewall from Jessie to Stretch and I realized
>>> that the check_lm_sensors plugin was apparently not working because it
>>> was not possible to get the temperature of one of the disks:
>>>
>>> # /usr/lib/nagios/plugins/check_lm_sensors --list
>>> LM_SENSORS UNKNOWN - Error while executing /usr/sbin/hddtemp -n /dev/sdb
>>>
>>> These are two disks which form several MD arrays.
>>>
>>> # /usr/sbin/hddtemp -n /dev/sda
>>> 44
>>>
>>> # /usr/sbin/hddtemp -n /dev/sdb
>>> WARNING: Drive /dev/sdb doesn't seem to have a temperature sensor.
>>> WARNING: This doesn't mean it hasn't got one.
>>> WARNING: If you are sure it has one, please contact me
>>> (hddt...@guzu.net).
>>> WARNING: See --help, --debug and --drivebase options.
>>> /dev/sdb: WDC WD5000AAKX-60U6AA0:  no sensor

>> It *might* be that the drive database doesn't recognise the drive (it'd
>> be odd for the database to forget about a drive, but accidents happen).
>>
>> Try running "sudo /usr/sbin/update-smart-drivedb" and check again.

> Thanks for your reply and your time.
> 
> It seems that this file is not available:
> 
> ---
> root@alderamin:~# /usr/sbin/update-smart-drivedb
> bash: /usr/sbin/update-smart-drivedb: No existe el fichero o el directorio
> ---
> 
> I looked for it in another path but I did not find it.
> 
> The strange thing is the man page does exist.
> 
> Can someone with Stretch please confirm?

I found this in the smartmontools package documentation:

--
root@alderamin:/usr/share/doc/smartmontools# zcat NEWS.Debian.gz
smartmontools (6.4+svn4214-1) unstable; urgency=medium

  Previous versions of the smartmontools package included a tool
  update-smart-drivedb which downloaded updated drive definitions
  from the smartmontools website and stored them at

  /var/lib/smartmontools/drivedb/drivedb.h

  This tool did not download the definitions in a secure manner and
  so the feature has been removed in this version.  Future drive DB
  updates will be propagated via normal Debian package updates,
  including backports.

  If you already have a drivedb.h file at that location, smartctl
  will continue to use it.

 -- Jonathan Dowland   Mon, 01 Feb 2016 21:19:47 +
(...)
--

The version available in Stretch for smartmontools is 6.5+svn4324-1.

So the update of the disk database would be done automatically when
installing the smartmontools package?

Kind regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: Unable to get the temp for one disk in Stretch

2018-01-08 Thread Daniel Bareiro
Hi, Darac.

On 08/01/18 06:33, Darac Marjal wrote:

>> I recently updated my firewall from Jessie to Stretch and I realized
>> that the check_lm_sensors plugin was apparently not working because it
>> was not possible to get the temperature of one of the disks:
>>
>> # /usr/lib/nagios/plugins/check_lm_sensors --list
>> LM_SENSORS UNKNOWN - Error while executing /usr/sbin/hddtemp -n /dev/sdb
>>
>> These are two disks which form several MD arrays.
>>
>> # /usr/sbin/hddtemp -n /dev/sda
>> 44
>>
>> # /usr/sbin/hddtemp -n /dev/sdb
>> WARNING: Drive /dev/sdb doesn't seem to have a temperature sensor.
>> WARNING: This doesn't mean it hasn't got one.
>> WARNING: If you are sure it has one, please contact me
>> (hddt...@guzu.net).
>> WARNING: See --help, --debug and --drivebase options.
>> /dev/sdb: WDC WD5000AAKX-60U6AA0:  no sensor

> It *might* be that the drive database doesn't recognise the drive (it'd
> be odd for the database to forget about a drive, but accidents happen).
> 
> Try running "sudo /usr/sbin/update-smart-drivedb" and check again.

Thanks for your reply and your time.

It seems that this file is not available:

---
root@alderamin:~# /usr/sbin/update-smart-drivedb
bash: /usr/sbin/update-smart-drivedb: No existe el fichero o el directorio
---

I looked for it in another path but I did not find it.

The strange thing is the man page does exist.

Can someone with Stretch please confirm?


Kind regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: Android Debian - Lets start Debian for Android hw phones

2018-01-08 Thread Richard Owlett

On 01/08/2018 04:52 AM, Curt wrote:

On 2018-01-08, SDA  wrote:

On Wed, Jan 03, 2018 at 12:25:50AM +0100, Anders Andersson wrote:

On Tue, Jan 2, 2018 at 5:50 PM, Samuel  wrote:

could you add a support for wiko
I have a wiko lenny 4 plus


Sure! Probably a small job. I'll submit a patch tomorrow to port
debian to android.



Well, Debian does call itself the 'Universal Operating System'. Maybe that
phrase should be rethought since it doesn't run on all devices. Worthy
thought, but not reality.



I was going to say a while back in yet another tangential digression
that the trend in personal computing (outside of the work environment,
at least) is toward mobile devices (notably smartphones) where Linux (as
an OS--yes, I see you coming from here) is virtually absent.



Are there any mobile devices [ *EXCLUDING* smartphones] in current 
production and available in the US. I know of some crowd funded projects 
in that direction. Some to "be available real soon now" ;/







Re: How to create a PDF-Printer from the command line

2018-01-08 Thread rhkramer
On Sunday, January 07, 2018 03:28:25 PM rhkra...@gmail.com wrote:
> But my statement about variety of programs was more intended to say that
> there are programs like txt2pdf, pdf2txt, html2txt (iirce)--in other
> words, such programs to convert between a variety of formats.

For the sake of (an attempt at) completeness, there are also some similar 
programs that use "to" instead of "2", e.g., pdftotext.  (I don't know if 
there is a texttopdf (or txttopdf).



Re: [OFFTOPIC] Re: "Meltdown" and "Spectre": Every modern processor has unfixable security flaws

2018-01-08 Thread Tom Furie
On Sun, Jan 07, 2018 at 08:32:17PM -0500, SDA wrote:

> Show who you're quoting with an attribution line, please!

With proper attribution, we might know who you are addressing with this
statement...

Cheers,
Tom

-- 
What's the matter with the world?  Why, there ain't but one thing wrong
with every one of us -- and that's "selfishness."
-- The Best of Will Rogers


signature.asc
Description: Digital signature


Re: Android Debian - Lets start Debian for Android hw phones

2018-01-08 Thread Eric S Fraga
On Monday,  8 Jan 2018 at 10:52, Curt wrote:
> I was going to say a while back in yet another tangential digression
> that the trend in personal computing (outside of the work environment,
> at least) is toward mobile devices (notably smartphones) where Linux (as
> an OS--yes, I see you coming from here) is virtually absent.

True but not completely absent.  I've been using my Pandora [1] for
several years now and am looking to upgrade to the Pyra [2] when it
comes out (this year hopefully).

The default OS on the Pandora is Linux based although not Debian;
however, you can install Debian (and other distributions) and I been
using Debian for quite some time now.  With Debian, the system looks
and behaves just like my desktop or laptop.

The Pyra will ship with Debian.


Footnotes:
[1]  https://pyra-handheld.com/boards/pages/pandora/

[2]  https://pyra-handheld.com/boards/pages/pyra/

-- 
Eric S Fraga via Emacs 27.0.50, org 9.1.6


signature.asc
Description: PGP signature


Re: How to create a PDF-Printer from the command line

2018-01-08 Thread Brian
On Mon 08 Jan 2018 at 11:45:40 +0100, john doe wrote:

> On 1/7/2018 9:49 PM, Brian wrote:
> > On Sun 07 Jan 2018 at 21:41:16 +0100, john doe wrote:
> > 
> > > On 1/7/2018 9:01 PM, Brian wrote:
> > > > On Sat 06 Jan 2018 at 21:51:18 +0100, john doe wrote:
> > > > 
> > > > > On 1/6/2018 9:15 PM, Brian wrote:
> > > > > > On Sat 06 Jan 2018 at 05:54:00 +0100, john doe wrote:
> > > > > > 
> > > > > > > On 1/6/2018 4:06 AM, Jason wrote:
> > > > > > > > On a RasperryPi with Raspbian, I would like to create a PDF 
> > > > > > > > Printer to
> > > > > > > > print files to. I only know how to do this with the GUI program
> > > > > > > > system-config-printer but I don't want to install that on this
> > > > > > > > Pi. What shell command do I need to create a PDF printer on the 
> > > > > > > > Pi (or
> > > > > > > > on any Debian, for that matter)?
> > > > > > > > 
> > > > > > > 
> > > > > > > Why do you want to"print" if you can convert to pdf using the 
> > > > > > > command line?
> > > > > > > Based on the original file extension you simply search for a 
> > > > > > > utility that
> > > > > > > will convert your original file to pdf.
> > > > > > 
> > > > > > How does one convert a text file to a PDF using the command line?
> > > > > > 
> > > > > 
> > > > > Using enscript and ps2pdf (goastscript) for example.
> > > > > 
> > > > > https://www.gnu.org/software/enscript/
> > > > > https://www.ghostscript.com/doc/current/Ps2pdf.htm
> > > > > https://askubuntu.com/questions/27097/how-to-print-a-regular-file-to-pdf-from-command-line
> > > > > https://unix.stackexchange.com/questions/17406/how-to-convert-txt-to-pdf
> > > > 
> > > > Thanks, but I should have been clearer and more precise. I was after a
> > > > "one-step" utility which went directly from text to PDF. (cups-pdf gives
> > > > the appearence of doing that but it doesn't). You question its utility;
> > > > if pressed, I could agree with you.
> > > > 
> > > > I don't want to do through the intermediate Postscript production step.
> > > 
> > > Why not (you can run both utilities in one go)?
> > 
> > You have completely missed the point. "one-step" and "directly" were
> > the clues.
> > 
> 
> While I agree that I missunderstood what you were saying; not everyone is
> fully acquainted with the language of Shakespeare even though the list is in
> that language. :)

Fair enough.

> Why would I persuade you to do any thing; there are no good answers except
> the one that suit you.

Ouch! :)

-- 
Brian.



Re: Android Debian - Lets start Debian for Android hw phones

2018-01-08 Thread Curt
On 2018-01-08, SDA  wrote:
> On Wed, Jan 03, 2018 at 12:25:50AM +0100, Anders Andersson wrote:
>> On Tue, Jan 2, 2018 at 5:50 PM, Samuel  wrote:
>> > could you add a support for wiko
>> > I have a wiko lenny 4 plus
>> 
>> Sure! Probably a small job. I'll submit a patch tomorrow to port
>> debian to android.
>>
>
> Well, Debian does call itself the 'Universal Operating System'. Maybe that 
> phrase should be rethought since it doesn't run on all devices. Worthy 
> thought, but not reality. 
>

I was going to say a while back in yet another tangential digression
that the trend in personal computing (outside of the work environment,
at least) is toward mobile devices (notably smartphones) where Linux (as
an OS--yes, I see you coming from here) is virtually absent.



-- 
"An autobiography is only to be trusted when it reveals something disgraceful.
A man who gives a good account of himself is probably lying, since any life
when viewed from the inside is simply a series of defeats."
— George Orwell



Re: Kernel problem?

2018-01-08 Thread Anton Gorlov

Hi.
Less /usr/share/doc/linux-image-4.9.0-5-amd64/changelog.Debian.gz

- x86/mm: Add the 'nopcid' boot option to turn off PCID
...
- kaiser: add "nokaiser" boot option, using ALTERNATIVE

In debian kernel no option *pti*

08.01.2018 07:14, Rob Hurle пишет:
Thanks to everyone who provided help with this failure of the 
4.9.0-5-686-pae kernel.  I have tried both "nopti" and "pti=off" kernel 
parameters to see if it is the fix for "Meltdown" which is causing the 
problem, but neither parameter changes anything. Since the system 
doesn't even get to the kernel fsck stage, I don't have any logs to be 
able to either report a bug or analyse the problem.  I also realise now 
that auto-update is turned on by default in Stretch, so that is how the 
new kernel became installed.  I have temporarily turned auto-update off 
because I don't want any automatic update to clobber my only working 
kernel - the 4.9.0-4-686-pae.  The updating system only seems to keep 2 
generations of kernel?


Any further ideas would be very welcome.




Re: Android Debian - Lets start Debian for Android hw phones

2018-01-08 Thread Jonathan Dowland

On Mon, Jan 08, 2018 at 02:35:02AM +0100, arne wrote:

Debian should run on the Gemini PDA, an Android handhold device.
In dual boot.
It is not ready yet though.
Should be ready this month.


This is a very interesting device (and not a joke as other commenters
might have thought!) for the curious:

   https://www.planetcom.co.uk/


--

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



Re: How to create a PDF-Printer from the command line

2018-01-08 Thread john doe

On 1/7/2018 9:49 PM, Brian wrote:

On Sun 07 Jan 2018 at 21:41:16 +0100, john doe wrote:


On 1/7/2018 9:01 PM, Brian wrote:

On Sat 06 Jan 2018 at 21:51:18 +0100, john doe wrote:


On 1/6/2018 9:15 PM, Brian wrote:

On Sat 06 Jan 2018 at 05:54:00 +0100, john doe wrote:


On 1/6/2018 4:06 AM, Jason wrote:

On a RasperryPi with Raspbian, I would like to create a PDF Printer to
print files to. I only know how to do this with the GUI program
system-config-printer but I don't want to install that on this
Pi. What shell command do I need to create a PDF printer on the Pi (or
on any Debian, for that matter)?



Why do you want to"print" if you can convert to pdf using the command line?
Based on the original file extension you simply search for a utility that
will convert your original file to pdf.


How does one convert a text file to a PDF using the command line?



Using enscript and ps2pdf (goastscript) for example.

https://www.gnu.org/software/enscript/
https://www.ghostscript.com/doc/current/Ps2pdf.htm
https://askubuntu.com/questions/27097/how-to-print-a-regular-file-to-pdf-from-command-line
https://unix.stackexchange.com/questions/17406/how-to-convert-txt-to-pdf


Thanks, but I should have been clearer and more precise. I was after a
"one-step" utility which went directly from text to PDF. (cups-pdf gives
the appearence of doing that but it doesn't). You question its utility;
if pressed, I could agree with you.

I don't want to do through the intermediate Postscript production step.


Why not (you can run both utilities in one go)?


You have completely missed the point. "one-step" and "directly" were
the clues.



While I agree that I missunderstood what you were saying; not everyone 
is fully acquainted with the language of Shakespeare even though the 
list is in that language. :)
Why would I persuade you to do any thing; there are no good answers 
except the one that suit you.


--
John Doe



Re: [OFFTOPIC] Re: "Meltdown" and "Spectre": Every modern processor has unfixable security flaws

2018-01-08 Thread Curt
On 2018-01-08, SDA  wrote:



> Show who you're quoting with an attribution line, please!
>

Tit for tat, unintended irony, blatant hypocrisy, or something else (I'm
leaning toward the foremost, but you never know)?

Apropos, as revealed in another thread, I'm dying to learn why SM never
includes an attributive prefacing line (while *signing* his own posts at
the bottom so we're absolutely clear about who *he* is), but you've
eliminated that interrogative step and gone directly to demanding
corrective measures.

-- 
"An autobiography is only to be trusted when it reveals something disgraceful.
A man who gives a good account of himself is probably lying, since any life
when viewed from the inside is simply a series of defeats."
— George Orwell



Re: T570 Powerkey doesn't work

2018-01-08 Thread Floris

Op Sun, 07 Jan 2018 15:11:54 +0100 schreef Floris :

Op Thu, 04 Jan 2018 22:42:34 +0100 schreef Markus Grunwald  
:



Hello,

as far as I understand, pressing the power key on my Lenovo T570 should
produce some output in the journal like this:

Mär 31 18:04:47 my_computer systemd-logind[1402]: Power key pressed.

On my laptop, this doesn't work - I see nothing in the journal.
Hibernating doesn't work, neither but that's the reason, I think...

Is there something special that I have to do?

cu


Can you find the Powerkey with evtest?

[NumLock example]

sudo evtest /dev/input/event12
...
Event: time 1434666536.001123, type 4 (EV_MSC), code 4 (MSC_SCAN), value  
70053
Event: time 1434666536.001123, type 1 (EV_KEY), code 69 (KEY_NUMLOCK),  
value 0

Event: time 1434666536.001123, -- EV_SYN 




from mar...@the-grue.de

I see this in /dev/input/event3

Input driver version is 1.0.1
Input device ID: bus 0x19 vendor 0x0 product 0x1 version 0x0
Input device name: "Power Button"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
Event code 116 (KEY_POWER)
Properties:
Testing ... (interrupt to exit)

But nothing happens when I push the button

Neither does it on any of the other /dev/input/event*

cu


The power button is recognized by the kernel. Does systemd also recognize  
the button?	

$ udevadm info /dev/input/event3
Look for a "E: TAGS=:power-switch:" line
P: /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input11/event3
...
E: SUBSYSTEM=input
E: TAGS=:power-switch:
...
$ loginctl seat-status seat0
...
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input11
input:input11 "Power Button"
...
Is the power button inhibit by a DE?
$ systemd-inhibit
...
Who: Debian-gdm (UID 111/Debian-gdm, PID 1535/gsd-media-keys)
What: handle-power-key:handle-suspend-key:handle-hibernate-key
Why: GNOME handling keypresses
Mode: block
...



Re: How to create a PDF-Printer from the command line

2018-01-08 Thread Curt
On 2018-01-08, David Wright  wrote:
>> 
>> Which txt2pdf? I tried the DFSG free one at
>> 
>> https://github.com/baruchel/txt2pdf
>> 
>> Not in Debian, AFAICT, but download, put in /usr/local/bin and install
>> python-reportlab. Gives searchable PDFs, fonts can be selected more
>> easily than with cupsfilter or cups-pdf and it has UTF-8 support. Looks
>> useful.
>
> Indeed. It seems a lot faster than paps+ps2pdf too. I can see myself
> using this, though I'll keep my paps function as well, as it appears
> to be able to make substitutions for missing glyphs. It's handy to
> have a function that prints *something* at every position (except
> the strip at 0x80), with those little blobs containing 4 hex chars
> where there's no glyph. paps also does columns.
>
> The default fault in txt2pdf is Courier→Nimbus Mono AFAICT, which is
> very limited. The unifont TTF font has far more characters, but
> the quality is very poor (deliberately, but looks like a bitmapped font).
> I also haven't figured out line-numbering: I'll have to study the script.
> Searchability is a useful extra (I'm used to just searching the original
> text source file).

It seems very swift. I tried line-numbering with the '--line-numbers'
argument, but got no line numbers (which is not what I was expecting).

Then I tried the '--page-numbers' argument, expecting to see page
numbers (and I did, centered at the bottom).

You can change the default font ('--font' or '-f' ,
but I'm sure you know that already).

> BTW a2ps, suggested earlier, is another that failed to move to Unicode
> AIUI. A shame as it had lots of useful column/custom heading stuff.
>
> Cheers,
> David.
>
>


-- 
"An autobiography is only to be trusted when it reveals something disgraceful.
A man who gives a good account of himself is probably lying, since any life
when viewed from the inside is simply a series of defeats."
— George Orwell



Re: Unable to get the temp for one disk in Stretch

2018-01-08 Thread Darac Marjal

On Sun, Jan 07, 2018 at 03:08:48PM -0300, Daniel Bareiro wrote:

Hi all!

I recently updated my firewall from Jessie to Stretch and I realized
that the check_lm_sensors plugin was apparently not working because it
was not possible to get the temperature of one of the disks:

# /usr/lib/nagios/plugins/check_lm_sensors --list
LM_SENSORS UNKNOWN - Error while executing /usr/sbin/hddtemp -n /dev/sdb

These are two disks which form several MD arrays.

# /usr/sbin/hddtemp -n /dev/sda
44

# /usr/sbin/hddtemp -n /dev/sdb
WARNING: Drive /dev/sdb doesn't seem to have a temperature sensor.
WARNING: This doesn't mean it hasn't got one.
WARNING: If you are sure it has one, please contact me (hddt...@guzu.net).
WARNING: See --help, --debug and --drivebase options.
/dev/sdb: WDC WD5000AAKX-60U6AA0:  no sensor


It *might* be that the drive database doesn't recognise the drive (it'd 
be odd for the database to forget about a drive, but accidents happen).


Try running "sudo /usr/sbin/update-smart-drivedb" and check again.



In fact, not even smartctl is able to see the temperature:

# smartctl -a /dev/sda | grep Temperature_Celsius
194 Temperature_Celsius 0x0022   099   090   000Old_age   Always
 -   44

# smartctl -a /dev/sdb | grep Temperature_Celsius
#

It's weird because in Jessie I do not remember having this problem. I
can even find smartd entries in the syslog before doing the update:

# grep smart syslog
Jan  7 06:52:27 alderamin smartd[438]: Device: /dev/sdb [SAT], SMART
Usage Attribute: 190 Airflow_Temperature_Cel changed from 60 to 61
Jan  7 10:52:27 alderamin smartd[438]: Device: /dev/sdb [SAT], SMART
Usage Attribute: 190 Airflow_Temperature_Cel changed from 61 to 60
Jan  7 11:22:27 alderamin smartd[438]: Device: /dev/sda [SAT], SMART
Usage Attribute: 194 Temperature_Celsius changed from 102 to 101
Jan  7 12:22:28 alderamin smartd[438]: Device: /dev/sda [SAT], SMART
Usage Attribute: 194 Temperature_Celsius changed from 101 to 100
Jan  7 12:22:28 alderamin smartd[438]: Device: /dev/sdb [SAT], SMART
Usage Attribute: 190 Airflow_Temperature_Cel changed from 60 to 59
Jan  7 13:52:27 alderamin smartd[438]: Device: /dev/sda [SAT], SMART
Usage Attribute: 194 Temperature_Celsius changed from 100 to 99
Jan  7 14:22:27 alderamin smartd[438]: Device: /dev/sdb [SAT], SMART
Usage Attribute: 190 Airflow_Temperature_Cel changed from 59 to 58

So I'm not sure where the problem may be. If it is in smartd (and
hddtemp is based on smartd) or maybe in some kernel module.

Any thoughts will be greatly appreciated.

Thanks in advance.


Kind regards,
Daniel






--
For more information, please reread.


signature.asc
Description: PGP signature