Re: E: Unable to locate package zimlib . . .

2019-01-15 Thread Tom Bachreier
Hi!

Jan 16, 2019, 8:00 AM by lbrt...@gmail.com:

> Why is it I can't install zimlib?
>

I don't know what zimlib is but you mean maybe libzim? In stretch is libzim0v5:
 


Tom





Re: E: Unable to locate package zimlib . . .

2019-01-15 Thread Albretch Mueller
 https://packages.debian.org/sid/xz-utils

 seems to be what I actually needed in order to decompress zim files



Re: E: Unable to locate package zimlib . . .

2019-01-15 Thread Steve Kemp
>  Why is it I can't install zimlib?

  Because there is no package named zimlib available:

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

  You probably want libzim-dev, which does exist:

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

  Note that libzim 2.x is only available for sid / Debian unstable.

Steve
-- 



E: Unable to locate package zimlib . . .

2019-01-15 Thread Albretch Mueller
 Why is it I can't install zimlib?

# apt-get install zimlib
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package zimlib

# apt-get update
Get:1 http://deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Ign:2 http://deb.debian.org/debian stretch InRelease
Hit:3 http://deb.debian.org/debian stretch Release
Get:4 http://deb.debian.org/debian stretch-updates/main amd64 Packages [5,152 B]
Get:6 http://deb.debian.org/debian stretch-updates/main Translation-en [4,512 B]
Fetched 101 kB in 0s (185 kB/s)
Reading package lists... Done

# apt-get install zimlib
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package zimlib



$ ls -l /etc/apt/sources.list
-rw-r--r-- 1 root root 787 Jan 16 01:53 /etc/apt/sources.list
$ cat /etc/apt/sources.list
#

# deb cdrom:[Official Debian GNU/Linux Live 9.4.0 kde
2018-03-10T11:41]/ stretch main

#deb cdrom:[Official Debian GNU/Linux Live 9.4.0 kde
2018-03-10T11:41]/ stretch main

# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/debian-security stretch/updates main
# Line commented out by installer because it failed to verify:
#deb-src http://security.debian.org/debian-security stretch/updates main

# stretch-updates, previously known as 'volatile'
# A network mirror was not selected during install.  The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
deb http://deb.debian.org/debian/ stretch-updates main
# deb-src http://deb.debian.org/debian/ stretch-updates main
$



Re: APT candidate does not match package on Debian repo

2019-01-15 Thread plataleas plataleas
 Hello

With rmadison we can see that 4.9.144 is available on the mirrors, but not
yet „active“ in the stable
distribution:

$ rmadison linux-image-4.9.0-8-amd64
linux-image-4.9.0-8-amd64 | 4.9.130-2 | stable   | amd64
linux-image-4.9.0-8-amd64 | 4.9.144-1 | proposed-updates | amd64

Where the information is stored on the repository specifying a package as
stable?

In the file packages.xz we see only linux-image-4.9.0-7:

$ xzgrep linux-image  debian/dists/stable/main/binary-amd64/Packages.xz |
grep Filename
Filename: pool/main/l/linux/linux-image-4.9.0-7-amd64_4.9.110-1_amd64.deb
Filename:
pool/main/l/linux/linux-image-4.9.0-7-amd64-dbg_4.9.110-1_amd64.deb
Filename: pool/main/l/linux/linux-image-4.9.0-7-rt-amd64_4.9.110-1_amd64.deb
Filename:
pool/main/l/linux/linux-image-4.9.0-7-rt-amd64-dbg_4.9.110-1_amd64.deb
Filename: pool/main/l/linux-latest/linux-image-amd64_4.9+80+deb9u5_amd64.deb
Filename:
pool/main/l/linux-latest/linux-image-amd64-dbg_4.9+80+deb9u5_amd64.deb
Filename:
pool/main/l/linux-latest/linux-image-rt-amd64_4.9+80+deb9u5_amd64.deb
Filename:
pool/main/l/linux-latest/linux-image-rt-amd64-dbg_4.9+80+deb9u5_amd64.deb

Thanks!
Martin


Re: Need help making new boot vol

2019-01-15 Thread Jimmy Johnson

On 01/15/2019 02:56 PM, Dennis Wicks wrote:

buster i386



The installer has a repair option, I've used it in the past and it 
works, it goes like you're doing a install before it gets to the repair 
part. Use the buster iso and make a boot-disc and then choose the repair 
option from the menu, I think it's in the advanced menu.

--
Jimmy Johnson

Slackware64 14.2 - KDE 4.14.32 - AMD A8-7600 - EXT4 at sda9
Registered Linux User #380263



Re: Need help making new boot vol

2019-01-15 Thread Andy Smith
Hi Dennis,

On Tue, Jan 15, 2019 at 04:56:31PM -0600, Dennis Wicks wrote:
> I have copied my boot, root and home partitions to a larger
> device but I think I need to run grub to actually make the
> disk boot.

# dpkg-reconfigure grub-pc

will normally take care of that.

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting



Re: Why choose Debian on server

2019-01-15 Thread David Wright
On Wed 09 Jan 2019 at 20:43:19 (+), Brian wrote:
> On Wed 09 Jan 2019 at 12:47:42 -0600, David Wright wrote:
> > On Mon 07 Jan 2019 at 23:51:36 (+), Brian wrote:
> > > On Mon 07 Jan 2019 at 14:37:30 -0600, David Wright wrote:
> > > > On Mon 07 Jan 2019 at 18:21:07 (+), Brian wrote:
> > > > > On Sun 06 Jan 2019 at 18:13:58 -0600, David Wright wrote:
> > > > > 
> > > > > [...]
> > > > > 
> > > > > > BTW if this Screenshot method is meant to yield a "printable"
> > > > > > document, I haven't yet figured out how to print it sensibly.
> > > > > > $ lp -d PDF very-long-image.png   gives me the image on one page,
> > > > > > and looks, as it happens, like the sort of output that FF sometimes
> > > > > > gives when printing articles: a narrow column of minute text.
> > > > > 
> > > > > To nitpick, the claim was that the Raspberry Pi Stack Exchange page
> > > > > was printable. Whether the marks on paper satisfied a user in all
> > > > > regards wasn't touched on until now.
> > > > 
> > > > I think it's reasonable to demand a certain level of legibility.
> > > 
> > > Indeed. That is why I am looking at printouts from Firefox and lp which
> > > nobody with reasonable eyesight would have any trouble reading.
> > > 
> > > > > For me, printing the screen image obtained from my chosen page from
> > > > > the Print Preview of FireFox gave an acceptable output with a Custom
> > > > > Scale. It helped to choose Landscape mode.
> > 
> > I think I see what you're doing now: you take the snapshot in FF, then
> > open the snapshot in FF again and then use Print Preview to set the
> > scaling factor before you print it.
> 
> That's spot-on, but do not think I am wedded to this technique. If I had
> a desperate to print a one-off (like the originator of this sub-thread)
> I would use it but would be cogniscent of its limitations. Manipulating
> images within the printing system is fraught as far as I am concerned.

I have discovered, through using this Take a Screenshot command (sort
of in anger), that it pays to hit End (or scroll there) before taking
the shot. When imaging this page (which prints poorly here)
https://www.howtogeek.com/112888/3-ways-to-access-your-linux-partitions-from-windows/
the shot was, at first, taken before all the diagrams had been fully
rendered.

> Curt informatively posted:
> 
>   https://lists.debian.org/debian-user/2019/01/msg00447.html
> 
> A twist with the page he refers to is that getting the whole page with a
> right click is not possible at this site.

Confirmed here.

> > > > The landscape mode changes the output from a very tall image printed
> > > > on a portrait page to the same image printed across it instead,
> > > > reducing the scale by the golden proportion.
> > > > 
> > > > > 'lp -d.' benefits from fiddling with the scaling= option and from
> > > > > orientation-requested=4.
> > > > 
> > > > This gets very involved. Having tried feeding convert with the image,
> > > > I see that it can produce a pretty faithful PDF which suffers only
> > > > from the usual problem of being overtall.
> > > 
> > > Printing from Firefox is hardly involved. Basically, choose the scaling.
> > > Forget about lp; most people never use it directly.
> > 
> > Well, I couldn't see any scaling options in lp except fit-to-page
> > which would be fighting what one is trying to do.
> 
> CUPS itself has removed or deprecated such options:
> 
>   https://github.com/apple/cups/issues/4010
> 
> It is cups-filters which carries the flag now.
> 
> > > > If I was going to indulge in this very often (which I'm not) I think
> > > > it would be worth writing a script to run convert on page-size slices
> > > > of the image, outputting them as PDFs, and collate them into a
> > > > conventional multipage document with pdftk. It would be fairly simple
> > > > to compute the y-size by ratioing the x-size according to the paper
> > > > regime, and even allow for some overlap between pages (because one
> > > > doesn't know where to slice in between lines of text).
> > > 
> > > Sounds more involved than using lp.
> > 
> > I've found that the package posterazor can split the FF image and,
> > trying it out, it seemed to be able to fit-to-width. It can also
> > yield overlapping pages so you don't get lines of print split across
> > pages as with your method.
> > 
> > But again, if I were having to do this regularly, I would prefer to
> > write a script rather than have to go through its 5-step interactive
> > dialogue on each occasion. Most of the degrees of freedom given by
> > posterazor are unnecessary because the values can all be computed
> 
> An ordinary user shouldn't have to do this. OTOH, an ordinary user
> should not feel it is acceptable to impute motives and spread false
> information. A skilled user (such as the starter of this sub-thread)
> could have copied and pasted or used 'lynx -dump ." to get what
> was wanted.
> 
> It's a pain, But needs must on occasion.

A fairly simple script: read the ima

Need help making new boot vol

2019-01-15 Thread Dennis Wicks
Greetings;

I have copied my boot, root and home partitions to a larger
device but I think I need to run grub to actually make the
disk boot. All of the writeups that I can find are way too
old or just old enough that the file names for a lot of
things aren't the same as what I have.

I am running buster i386. Does anyone know of an up-to-date
recipe for doing this?

Many TIA!
Dennis



Re: Migrate Stretch to New UEFI Build?

2019-01-15 Thread Patrick Bartek
On Mon, 14 Jan 2019 23:41:03 +0100
deloptes  wrote:

> Patrick Bartek wrote:
> 
> >> Patrick Bartek wrote:
> >>   
> >> > I never could understand that type of "reasoning." With me, if there's
> >> > no NEED, it's not done. I'm very much the pragmatist. Always have
> >> > been even as a child, and never likely to change.  
> >> 
> >> you need it but you don't know yet  
> > 
> > Unlikely.  Haven't needed LVM (or RAID for that matter) in the almost 20
> > years Linux has been my personal OS.
> >   
> 
> For your private use, it might be OK, but when you need flexibility, you
> understand what you were missing. And mostly you start thinking from there
> and decide if it is worth implementing.

In my responses, I was referring to a "private" system -- mine: a box
under the desk and only one user, me.  Now if it had mulitple users or
it was a server, even a family only one, it's configuration with future
expansions in mind would be different tailored to the vagaries of users.

It's not that I reject LVM out of hand.  I researched it some years
ago.  Even set up a VM LVM system with 2 virtual drives to learn the
basics.  For my new system, I revisited LVM as an option because I had
added a new criteria to the system -- more than basic video editing, but
after some thought discovered a simplier solution that didn't need RAID
or LVM. Although, I'll set up the new system to make adding LVM easier,
if the need every arises. 


> >> For example I leave some percentage of the disc unused and can increase
> >> the any partition when needed - because I do not know which one will get
> >> filled first. Now this can be challengeing without lvm and lvm does not
> >> come with significant overhead. So why not?!  
> > 
> > I'm VERY diligent about pruning and deleting old or unneed files, data,
> > apps, etc.  For example, my Wheezy install which I used for 5 years
> > (until support was dropped): / 16GB 45% full; /home 207GB 43% full. I'm
> > not a gamer.  So, no humongous installs there.  I have no music, video
> > or movies taking up space. I don't even use a desktop environment.
> > Window manager and a single panel only. And I'm the only user of the
> > system.  My Stretch install (about 6 months old) has even lower
> > percentages, but that's to be expected.
> > 
> > Obviously, how and what you use for system for are very different from
> > mine.  
> 
> Obviously, but even for a smaller system it does not hurt to use LVM.

Even if the overhead is low, why use it if there's no real need? Kinda
like snow tires on your car, and you live in Florida. ;-)

B



Re: php7.3-fpm segfaults

2019-01-15 Thread Lucio

Il 15/01/19 13:43, Curt ha scritto:

Is this related?

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



Might be, thanks for the pointer. BTW, I've just realized it segfaults 
on both systems of mine, not just the notebook. Moreover it does not 
segfault immediately, but it actually runs some of the WP code and some 
of my WP plugin code, but I've not managed to bisect the exact line yet. 
There must be some code path in my WP plugin that leads to the segfault.


Maybe my code has something in common with the Cacti poller, so that bug 
applies to me too.


I'll post here (and/or in the bug report) as soon as I have new findings.



Re: /dev/disk/by-id/ in testing

2019-01-15 Thread Vincent Lefevre
On 2019-01-14 20:20:49 +0100, Pascal Hambourg wrote:
> Le 14/01/2019 à 11:09, Vincent Lefevre a écrit :
> > On 2019-01-14 11:06:01 +0100, Vincent Lefevre wrote:
> > > On 2019-01-08 20:12:43 +0100, Pascal Hambourg wrote:
> > > > This issue is not specific to lilo. It would affect grub-pc updates too,
> > > > because the boot device is specified by device id.
> > > > 
> > > > For example on my system :
> > > > $ debconf-show grub-pc
> > > > (...)
> > > > * grub-pc/install_devices: /dev/disk/by-id/ata-WDC_WD1200BEVE-00WZT0_...
> > > > 
> > > > The issue would happen less often - only when updating the grub-pc
> > > > package instead of on any kernel update - but it would still happen.
> > > 
> > > ... which was what happened to me a few days ago!
> > 
> > BTW, a display bug in the terminal made the problem worse, because
> > I could not select a device for GRUB installation. So, currently,
> > new GRUB versions are no longer installed.
> 
> Which display bug ?

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

> During the system installation ?

During grub upgrade, when (re-)configuring due to the udev bug.

> You can install new versions of GRUB by hand with
> 
> # grub-install /dev/disk/by-id/...

Yes, but one issue is one may not know where GRUB was installed
in the first place (ditto with the other methods).

> Or you can reconfigure grub-pc with
> 
> # dpkg-reconfigure grub-pc

which yields the display issue... unless I increase the terminal
window size *before* I run this command.

> If the display bug is still present in the default "dialog" (curses-like)
> front-end, you can try to use the "readline" (command line-like) front-end
> with "--frontend=readline" when running dpkg-reconfigure.

OK, thanks, I didn't know.

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



Re: php7.3-fpm segfaults

2019-01-15 Thread Curt
On 2019-01-13, Roberto C  Sánchez  wrote:
> On Sun, Jan 13, 2019 at 09:13:24AM -0500, Roberto C. Sánchez wrote:
>> On Sun, Jan 13, 2019 at 01:31:07PM +0100, Lucio wrote:
>> > Il 13/01/19 01:36, Roberto C. Sánchez ha scritto:
>> > > Are there corresponding entries in the Apache log?
>> > 
>> > Not much to care about actually, because Apache is configured as reverse
>> > proxy for php-fpm. Even raising log level I only get details about what
>> > Apache is doing, not about what PHP is doing.
>> > 
>> > However here is the Apache error log at debug level, just in case I'm 
>> > wrong:
>> > 
>> > https://t2m.io/82KHik8J
>> > 
>> 
>> I agree that there is nothing much interesting there.
>> 
> I forgot to add that the persistent segfault looks like it could be
> either a defect in php-fpm or a hardware problem (faulty memory).  Given
> the absence of similar reports (which would indicate software as the
> more likely culprit), I would lean toward hardware.  Have you considered
> running memtest on your system?

Is this related?

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

(where it's suggested to install php7.3-fpm-dbgsym)

If not, mille excuses.

> Regards,
>
> -Roberto
>


-- 
He used sentences differently from any other prose writer. He always sounded
like a slightly drunk man who is very melancholy, who has no illusions about
life, who is very strong but whose strength is entirely unnecessary.
--Krasznahorkai on Krúdy



Re: We've got a problem. Debian "Jessie" box won't launch X or Tomcat, and USB drive won't mount

2019-01-15 Thread Richard Hector
On 15/01/19 12:24 PM, Dan Ritter wrote:
> USB for backups: the hard drive is dead. Get a new one. Test it.

I had one that appeared to die (WD 1TB IIRC) - I cut it open, and the
sata drive inside works fine, it was just the usb interface that had died.

Richard




signature.asc
Description: OpenPGP digital signature