Re: emacs menu line disappeared

2016-05-14 Thread Jörg-Volker Peetz
I've filed a bug already (#822944) without remedy so far. It's due to changes in
gtk-3. That's also the reason why the firefox package got back to link against 
gtk2.
I downgraded gtk-3 to 3.18 on my system.

Regards,
jvp.




Debian Stretch package conflicts... libnettle4 libarchive13 libgnutls-deb0-28 libgnutls30

2016-05-14 Thread Rick Thomas
Hi,

When I try to do aptitude full-upgrade on my Stretch Apple G4 PowerMac, I get 
conflicts.

These do not seem to be transient — they have been there for several days.

Anybody know what’s going on?

Thanks!
Rick

> The following NEW packages will be installed:
> libnettle4{a} 
> The following packages will be upgraded:
> gir1.2-packagekitglib-1.0 libarchive13 libasyncns0 libavcodec57 libavfilter6 
> libavformat57 libavresample3 libavutil55 
> libc-bin libc-l10n libc6 libkpathsea6 libpackagekit-glib2-18 libpam-systemd 
> libpostproc54 libptexenc1 librest-0.7-0 
> libswresample2 libswscale4 libsynctex1 libsystemd0 libtexlua52 libtexluajit2 
> libudev1 libx264-148 locales 
> multiarch-support mythes-en-us packagekit packagekit-tools systemd 
> systemd-sysv texlive-base texlive-binaries 
> texlive-fonts-recommended texlive-fonts-recommended-doc texlive-latex-base 
> texlive-latex-base-doc udev x11-apps 
> x11-xkb-utils 
> 41 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> Need to get 442 kB/104 MB of archives. After unpacking 16.6 MB will be freed.
> The following packages have unmet dependencies:
> libgnutls-deb0-28 : Conflicts: libnettle4 but 2.7.1-5+deb8u1 is to be 
> installed
> libgnutls30 : Conflicts: libnettle4 but 2.7.1-5+deb8u1 is to be installed
> open: 45; closed: 112; defer: 39; conflict: 46
> 
> The following actions will resolve these dependencies:
> 
>Keep the following packages at their current version:
> 1) libarchive13 [3.1.2-11+b1 (now, testing, unstable)]
> 2) libnettle4 [Not Installed] 
> 



Guidelines for allocating system resources for VMs?

2016-05-14 Thread Albin Otterhäll
I want to use virtual machines for my everyday work on my laptop (with a
Intel Core i5-3320M @ 2.60 GHz * 4 and 16GB RAM), using KVM on Debian as
my hypervisor.

But I can't find any general guidelines for how much system resources to
"give" to a VM. How many logical cores? How much RAM? Note that the
primary OS only should act as a hypervisor.

I will primarily use a Debian VM (i.e. Debian VM on Debian), but I also
want to be able to run a Windows 10 VM (Windows VM on Debian). It's not
necessary for both VMs to run simultaneously.
-- 
Regards,
Albin



Re: Anytime I touch a print function, get error but it works

2016-05-14 Thread Gene Heskett
On Saturday 14 May 2016 02:15:30 cbannis...@slingshot.co.nz wrote:

> On Fri, May 13, 2016 at 04:23:16PM -0400, Gene Heskett wrote:
> > Fixed it right up, thank you very much, Curt.  Since it had to
> > create that path in /etc from scratch, is there a way to ask dpkg
> > what provides this file so that I can make the mental connection to
> > something I have installed recently?
>
> Yes, I use:
>
> dpkg -S /path/to/file/filename

Which returns gnome-keyring if I search for gnome-keyring-module
and nothing if I search for gnome-keyring.module
so this name miss-match has existed since 2012? Boggles my mind.

Shirley I am not the only possessor of a smart card socket on the 
planet...  At least I guess thats what one of the 4 sockets on the front 
of a Brother MFC-J6920DW printer/scanner/fax combo is. Not that I'd ever 
plug a phone cable into it since a fax machine also collects spam.

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



Re: Guidelines for allocating system resources for VMs?

2016-05-14 Thread Martin Read

On 14/05/16 10:05, Albin Otterhäll wrote:

I want to use virtual machines for my everyday work on my laptop (with a
Intel Core i5-3320M @ 2.60 GHz * 4 and 16GB RAM), using KVM on Debian as
my hypervisor.

But I can't find any general guidelines for how much system resources to
"give" to a VM. How many logical cores? How much RAM? Note that the
primary OS only should act as a hypervisor.


How much RAM and how many cores do you think the work in question needs?

Answer that, and you have the basis for your answer.



Re: Debian Stretch package conflicts... libnettle4 libarchive13 libgnutls-deb0-28 libgnutls30

2016-05-14 Thread Dutch Ingraham
On Fri, May 13, 2016 at 06:43:11PM -0700, Rick Thomas wrote:
> Hi,
> 
> When I try to do aptitude full-upgrade on my Stretch Apple G4 PowerMac, I get 
> conflicts.
> 
> These do not seem to be transient — they have been there for several days.
> 
> Anybody know what’s going on?
> 
> Thanks!
> Rick
> 
> > The following NEW packages will be installed:
> > libnettle4{a} 
> > The following packages will be upgraded:
> > gir1.2-packagekitglib-1.0 libarchive13 libasyncns0 libavcodec57 
> > libavfilter6 libavformat57 libavresample3 libavutil55 
> > libc-bin libc-l10n libc6 libkpathsea6 libpackagekit-glib2-18 libpam-systemd 
> > libpostproc54 libptexenc1 librest-0.7-0 
> > libswresample2 libswscale4 libsynctex1 libsystemd0 libtexlua52 
> > libtexluajit2 libudev1 libx264-148 locales 
> > multiarch-support mythes-en-us packagekit packagekit-tools systemd 
> > systemd-sysv texlive-base texlive-binaries 
> > texlive-fonts-recommended texlive-fonts-recommended-doc texlive-latex-base 
> > texlive-latex-base-doc udev x11-apps 
> > x11-xkb-utils 
> > 41 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> > Need to get 442 kB/104 MB of archives. After unpacking 16.6 MB will be 
> > freed.
> > The following packages have unmet dependencies:
> > libgnutls-deb0-28 : Conflicts: libnettle4 but 2.7.1-5+deb8u1 is to be 
> > installed
> > libgnutls30 : Conflicts: libnettle4 but 2.7.1-5+deb8u1 is to be installed
> > open: 45; closed: 112; defer: 39; conflict: 46
> > 
> > The following actions will resolve these dependencies:
> > 
> >Keep the following packages at their current version:
> > 1) libarchive13 [3.1.2-11+b1 (now, testing, unstable)]
> > 2) libnettle4 [Not Installed] 
> > 
> 
I used to use aptitudee full-upgrade until I started having the same
problem as you - wanting to remove huge lists of essential applications
(like bash, etc.)  There is a long thread regarding this on the forums
(which I can't find right now.)

I don't know why aptitude is doing this, but switching to apt-get
dist-upgrade solved the problem and I haven't had any issues in ~8
months.



Re: Debian Stretch package conflicts... libnettle4 libarchive13 libgnutls-deb0-28 libgnutls30

2016-05-14 Thread Sven Joachim
On 2016-05-13 18:43 -0700, Rick Thomas wrote:


> When I try to do aptitude full-upgrade on my Stretch Apple G4 PowerMac, I get 
> conflicts.
>
> These do not seem to be transient — they have been there for several days.
>
> Anybody know what’s going on?
>
>> The following NEW packages will be installed:
>> libnettle4{a} 
>> The following packages will be upgraded:
>> gir1.2-packagekitglib-1.0 libarchive13 libasyncns0 libavcodec57
>> libavfilter6 libavformat57 libavresample3 libavutil55
>> libc-bin libc-l10n libc6 libkpathsea6 libpackagekit-glib2-18 libpam-systemd 
>> libpostproc54 libptexenc1 librest-0.7-0 
>> libswresample2 libswscale4 libsynctex1 libsystemd0 libtexlua52 libtexluajit2 
>> libudev1 libx264-148 locales 
>> multiarch-support mythes-en-us packagekit packagekit-tools systemd 
>> systemd-sysv texlive-base texlive-binaries 
>> texlive-fonts-recommended texlive-fonts-recommended-doc texlive-latex-base 
>> texlive-latex-base-doc udev x11-apps 
>> x11-xkb-utils 
>> 41 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
>> Need to get 442 kB/104 MB of archives. After unpacking 16.6 MB will be freed.
>> The following packages have unmet dependencies:
>> libgnutls-deb0-28 : Conflicts: libnettle4 but 2.7.1-5+deb8u1 is to be 
>> installed
>> libgnutls30 : Conflicts: libnettle4 but 2.7.1-5+deb8u1 is to be installed
>> open: 45; closed: 112; defer: 39; conflict: 46
>> 
>> The following actions will resolve these dependencies:
>> 
>>Keep the following packages at their current version:
>> 1) libarchive13 [3.1.2-11+b1 (now, testing, unstable)]
>> 2) libnettle4 [Not Installed] 

The problem is that libarchive13 has a higher version in stable-security
than in testing, and that version is not installable in Stretch:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823984.

If you desperately need a fixed libarchive, there's a patch at the end
of that bug report which you could apply.  Otherwise use
"aptitude safe-upgrade" instead of "aptitude full-upgrade".

Cheers,
   Sven



Re: Guidelines for allocating system resources for VMs?

2016-05-14 Thread Albin Otterhäll
Martin Read:
> On 14/05/16 10:05, Albin Otterhäll wrote:
>> I want to use virtual machines for my everyday work on my laptop (with a
>> Intel Core i5-3320M @ 2.60 GHz * 4 and 16GB RAM), using KVM on Debian as
>> my hypervisor.
>>
>> But I can't find any general guidelines for how much system resources to
>> "give" to a VM. How many logical cores? How much RAM? Note that the
>> primary OS only should act as a hypervisor.
> 
> How much RAM and how many cores do you think the work in question needs?
> 
> Answer that, and you have the basis for your answer.
> 
> 
The thing is that I don't know (don't know how to access the necessary
information either), and assigning as much as possible would probably be
the best solution.

I plan in the future buy a GPU and use PCI passthrough to use a VM for
gaming, and then I would need to assign as much resources as possible.

-- 
Regards,
Albin



Re: Multiple live iso's on a single bootable flash drive?

2016-05-14 Thread Richard Owlett

On 5/3/2016 8:37 AM, Lisi Reisz wrote:

On Tuesday 03 May 2016 11:11:45 Richard Owlett wrote:

I hope the result will be a document aimed at the beginner but
not the picture book style that seems prevalent at that level.
Much Linux documentation is written by experts for experts.


Or by "experts" for (those they consider) Noddies.  Power to your elbow!!  I
hope you will post or publish the result.

Lisi




It may have been already done. Replying to my "Creating a home 
network" thread mett mentioned a page of 
http://www.aboutdebian.com/index.htm . From a brief browse it 
looks good.






Re: Creating a home network

2016-05-14 Thread Richard Owlett

On 5/12/2016 6:23 PM, メット wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512



On 2016年5月13日 3:03:06 JST, Richard Owlett  wrote:

On 5/12/2016 9:20 AM, mett wrote:

[snip]

did u see debian wiki about creating a router with a pc?


No. I did a "title" search for "router" got 3 hits (all
relevant). A "full text" search yields > 200 hits. A DuckDuckGo
search with more restrictive keywords yielded a couple dozen
links. I've lots of reading to do ;) What article were you
referring to?

I think I'll need to reread the rest of your post a few times also.
Thanks.


Ohayo!

Below are the 2 links which start everything for me.

Like i said previously, the 1st step would be to check if u can  reach the net 
from a debian box with the usb from t-mobile.

ifconfig should show 2 interfaces once u have connect the t-mobile usb
(If u had only one previously, oc).
Try ‘ifconfig' as root from a terminal,
and check the current state.

http://www.aboutdebian.com/network.htm

https://debian-administration.org/article/23/Setting_up_a_simple_Debian_gateway

HTH


Those do look good. When you had said "debian wiki", I went to 
http://wiki.debian.org .





festival -- text to speech software

2016-05-14 Thread Alan McConnell
Assembled Wisdom!

'festival' is speech-synthesized software that has been around for
over 15 years, and I have installed it from my Debian jessie DVDs.
It worked splendidly for a while, but I have tried to install
new 'voices' and I have run into the following error;  I get
   {FND} Feature Token_Method not defined
when I try the simplest festival command.  I expect that there are
path difficulties involved . . .

Any help/suggestion provided will be greatly appreciated!

Alan

-- 
Alan McConnell :  http://globaltap.com/~alan/
"Laughter is the closest distance between two people."(V. Borge)
Religions revolve madly around sexual questions.



Can Debian do multi-core "MY WAY"?

2016-05-14 Thread Richard Owlett
I date from era when when "memory banks" were switched via 
contents of a I/O port ;/

Anyone remember era when 8085 was "state of the art" ;/

I envision
  core A using memory range X
  core B using memory range Z

My individual tasks could be handled by a 2MHz Z80

Can Debian do it on GHz machine?





Re: Can Debian do multi-core "MY WAY"?

2016-05-14 Thread John Hasler
Richard Owlett writes:
> Anyone remember era when 8085 was "state of the art" ;/

I remember when the 8080 was "state of the art".

> I envision
>  core A using memory range X
>  core B using memory range Z

> My individual tasks could be handled by a 2MHz Z80

> Can Debian do it on GHz machine?

That's low-level kernel hacking.

-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: Can Debian do multi-core "MY WAY"?

2016-05-14 Thread Martin Read

On 14/05/16 18:31, Richard Owlett wrote:

I envision
   core A using memory range X
   core B using memory range Z

My individual tasks could be handled by a 2MHz Z80

Can Debian do it on GHz machine?


Maybe.

Debian (and the Linux kernel) has a bewildering array of tools and 
options that *might* be applicable to the tasks you're carrying out. 
You'd need to tell us at least a little bit more about what you want to 
do. Obvious questions to ask would include:


* What kind of processor are you intending to run this on?

* Are you addressing peripheral devices or just system RAM?

* Is the requirement for the different tasks to be running on different 
physical cores absolute?





Re: Can Debian do multi-core "MY WAY"?

2016-05-14 Thread Joe
On Sat, 14 May 2016 12:31:28 -0500
Richard Owlett  wrote:

> I date from era when when "memory banks" were switched via 
> contents of a I/O port ;/
> Anyone remember era when 8085 was "state of the art" ;/
> 
> I envision
>core A using memory range X
>core B using memory range Z
> 
> My individual tasks could be handled by a 2MHz Z80
> 
> Can Debian do it on GHz machine?
> 
> 
> 

It isn't clear why you would need user control at this level, why the
processor and memory allocation systems of the OS will not meet your
needs.

The last time I saw this done was in driving a Solidisk sideways RAM
board on the BBC Micro, and that was done only because the processor
had a very limited addressing capability. It was done very badly...

-- 
Joe



Re: Can Debian do multi-core "MY WAY"?

2016-05-14 Thread Gene Heskett
On Saturday 14 May 2016 13:31:28 Richard Owlett wrote:

> I date from era when when "memory banks" were switched via
> contents of a I/O port ;/
> Anyone remember era when 8085 was "state of the art" ;/

How about building a tv production tool out of an RCA 1802?  There was a 
time when that puppy was state of the art.

> I envision
>core A using memory range X
>core B using memory range Z
>
> My individual tasks could be handled by a 2MHz Z80
>
> Can Debian do it on GHz machine?


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



Re: Can Debian do multi-core "MY WAY"?

2016-05-14 Thread Gene Heskett
On Saturday 14 May 2016 13:42:51 John Hasler wrote:

> Richard Owlett writes:
> > Anyone remember era when 8085 was "state of the art" ;/
>
> I remember when the 8080 was "state of the art".
>
> > I envision
> >  core A using memory range X
> >  core B using memory range Z
> >
> > My individual tasks could be handled by a 2MHz Z80
> >
> > Can Debian do it on GHz machine?
>
> That's low-level kernel hacking.

And you can download a pre-hacked version based on wheezy that can run 
machinery with sub-micron accuracy, far better than the average machine 
can do, as its subject to thermals etc that limit it to perhaps a 
thousandth of an inch in everyday use. From linuxcnc.org today and 
everyday.  Free every day.  I have 4 copies of it running here.  On the 
right board and cpu, this software can send a step pulse to a stepper 
motor driver every 25 microseconds.  Thats 40 kilohertz, not the stepper  
motors top speed, so if you really want to move fast, a 90 dollar card 
can take you to the limits of the opto-isolaters in those drivers at 
somewhere above 200 kilohertz.  Using that card allows one to be a whole 
lot less picky about the board and cpu.

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



Re: -Re: configuring softwarecollections.org repository on debian jessie

2016-05-14 Thread Andrew M.A. Cater
On Sat, May 14, 2016 at 01:13:02AM +0200, Rodary Jacques wrote:
> Le jeudi 12 mai 2016, 21:55:24 Liam O'Toole a écrit :
> > On 2016-05-12, soko.tica  wrote:
> > > --001a1146456672df2d0532a72b01
> > > Content-Type: text/plain; charset=UTF-8
> > > 
> > > Hello list,
> > > 
> > > I need to install a package (php54) on a VM running debian jessie (Here is
> > > why https://www.virtualmin.com/documentation/web/multiplephp ). I have
> > > managed to install rhscl-php54-epel-6-x86_64-1-2.noarch.rpm through alien
> > > package, but don't know how to isntall
> > > php54 php54-php-mysqlnd. Repo rhscl isn't in /etc/apt/sources.list but in
> > > /etc/yum.repos.d/ and I wasn't able to find php54 php54-php-mysqlnd. Any
> > > help will be appreciated. Thanks in advance.
> > 
> > You are trying to install Red Hat packages on a Debian OS. What's more,
> > you are tring to install packages from Red Hat Software Collections,
> > which require manipulation of their environment to run properly. You'd
> > be much better off doing that on a CentOS machine.
> > 
> > Otherwise, prepare to enter a world of pain. :)
>   If alien (which is a Debian software, isn't it) says you can, why not? 
> You just need to 
> be careful, trying a fake install first (dpkg --noinstall --no-act). I 
> switched to Debian for that kind 
> of safety, being tired to note all my changes and go back painfully 
> afterwards. I remember 
> (1998-99) when I installed gnome-0.nn ten times! But I can't live without 
> BSD-games ( try "cal 
> 09 1752" (even MacOsX has it) and "pom 2712" it's unforgettable) nor without 
> xanim to read 
> old Quicktime CDs from an USB stick! I don't think Debian needs worship!
>   Jacques

Alien is a last resort: if you have any other way to do this, do it.

RH SCL is also a repository to add things to Red Hat Enterprise Linux that are 
more up to date because RHEL is intended to be unconditionally 
stable and unchanging. Installing SCL packages on RHEL is not guaranteed to be 
tested or to work well: this is intended for developers who
absolutely, positively have to get something that is more up to date to build 
other software.

Apt and yum are orthogonal - so /etc/yum/repos.d created by yum utilities 
inside Debian is not guaranteed to work. Likewise, anything installed
through alien may conflict with corresponding Debian versions since alien 
doesn't necessarily inform apt and vice versa.

CentOS 6 is also now stable with no further development: so php 5.4 on CentOS 6 
is not going forward because there will be no change in CentOS 6
as it goes into extended support.

PHP 5.6 is current in Debian Jessie. Having checked Virtualmin's install script 
- just use their installer for goodness sake: it sorts out
the dependencies you need. If you really, really must reverse engineer this 
sort of stuff, do it in a CentOS VM on your Debian machine.

Actually take the time and read Virtualmin's install.sh - it's a shell script: 
learn from it?

All the best,

AndyC



Re: Can Debian do multi-core "MY WAY"?

2016-05-14 Thread John Hasler
Gene Heskett writes:
> How about building a tv production tool out of an RCA 1802?  There was
> a time when that puppy was state of the art.

Yes.  I wrote applications for it in hex, helped design a single board
computer using it, and helped write an 8 bit version of FORTH for it (it
was eminently suited for the task).
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: Can Debian do multi-core "MY WAY"?

2016-05-14 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, May 14, 2016 at 12:31:28PM -0500, Richard Owlett wrote:
> I date from era when when "memory banks" were switched via contents
> of a I/O port ;/
> Anyone remember era when 8085 was "state of the art" ;/
> 
> I envision
>   core A using memory range X
>   core B using memory range Z

What you are describing is called "non uniform memory access" aka
NUMA [1] these days and yes, the Linux kernel takes into account
that different parts of memory have different "distances" to each
processor (e.g. by assigning process "affinities" to each CPU.

To a lesser extent, CPU caches do this too.

This is'nt surprising, since CPU bandwidth has outrun memory
bandwith significantly across the last 20-30 years. If a CPU
had to wait for every byte to arrive from main memory, they'd
be slower by a huge amount [2].

So in some way the answer is; yes, your PC and your OS is probably
doing it already :-)

regards

[1] https://en.wikipedia.org/wiki/Non-Uniform_Memory_Access
[2] http://gameprogrammingpatterns.com/data-locality.html

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

iEYEARECAAYFAlc3j6QACgkQBcgs9XrR2kYjngCZAe7J7DfWSa87aRlA1vmhNCN+
Nq4An1WjmIBDCmJvahR2j5ITl1965uLu
=/ElI
-END PGP SIGNATURE-



Re: Debian Stretch package conflicts... libnettle4 libarchive13 libgnutls-deb0-28 libgnutls30

2016-05-14 Thread Rick Thomas

On May 14, 2016, at 3:52 AM, Sven Joachim  wrote:

> On 2016-05-13 18:43 -0700, Rick Thomas wrote:
> 
> 
>> When I try to do aptitude full-upgrade on my Stretch Apple G4 PowerMac, I 
>> get conflicts.
>> 
>> These do not seem to be transient — they have been there for several days.
>> 
>> Anybody know what’s going on?
>> 
>>> The following NEW packages will be installed:
>>> libnettle4{a} 
>>> The following packages will be upgraded:
>>> gir1.2-packagekitglib-1.0 libarchive13 libasyncns0 libavcodec57
>>> libavfilter6 libavformat57 libavresample3 libavutil55
>>> libc-bin libc-l10n libc6 libkpathsea6 libpackagekit-glib2-18 libpam-systemd 
>>> libpostproc54 libptexenc1 librest-0.7-0 
>>> libswresample2 libswscale4 libsynctex1 libsystemd0 libtexlua52 
>>> libtexluajit2 libudev1 libx264-148 locales 
>>> multiarch-support mythes-en-us packagekit packagekit-tools systemd 
>>> systemd-sysv texlive-base texlive-binaries 
>>> texlive-fonts-recommended texlive-fonts-recommended-doc texlive-latex-base 
>>> texlive-latex-base-doc udev x11-apps 
>>> x11-xkb-utils 
>>> 41 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
>>> Need to get 442 kB/104 MB of archives. After unpacking 16.6 MB will be 
>>> freed.
>>> The following packages have unmet dependencies:
>>> libgnutls-deb0-28 : Conflicts: libnettle4 but 2.7.1-5+deb8u1 is to be 
>>> installed
>>> libgnutls30 : Conflicts: libnettle4 but 2.7.1-5+deb8u1 is to be installed
>>> open: 45; closed: 112; defer: 39; conflict: 46
>>> 
>>> The following actions will resolve these dependencies:
>>> 
>>>   Keep the following packages at their current version:
>>> 1) libarchive13 [3.1.2-11+b1 (now, testing, unstable)]
>>> 2) libnettle4 [Not Installed] 
> 
> The problem is that libarchive13 has a higher version in stable-security
> than in testing, and that version is not installable in Stretch:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823984.
> 
> If you desperately need a fixed libarchive, there's a patch at the end
> of that bug report which you could apply.  Otherwise use
> "aptitude safe-upgrade" instead of "aptitude full-upgrade".
> 
> Cheers,
>   Sven

Thanks, Sven!

I’m glad to hear that it’s a known bug.  I’m perfectly happy to accept the 
“actions will resolve these dependencies” for the time being.  I guess that’s 
why they call it “testing”.

I assume that, if I’m patient, a fix will evolve?

Enjoy!
Rick



Re: Debian Stretch package conflicts... libnettle4 libarchive13 libgnutls-deb0-28 libgnutls30

2016-05-14 Thread Rick Thomas

On May 14, 2016, at 3:45 AM, Dutch Ingraham  wrote:

> On Fri, May 13, 2016 at 06:43:11PM -0700, Rick Thomas wrote:
>> Hi,
>> 
>> When I try to do aptitude full-upgrade on my Stretch Apple G4 PowerMac, I 
>> get conflicts.
>> 
>> These do not seem to be transient — they have been there for several days.
>> 
>> Anybody know what’s going on?
>> 
>> Thanks!
>> Rick
>> 
>>> The following NEW packages will be installed:
>>> libnettle4{a} 
>>> The following packages will be upgraded:
>>> gir1.2-packagekitglib-1.0 libarchive13 libasyncns0 libavcodec57 
>>> libavfilter6 libavformat57 libavresample3 libavutil55 
>>> libc-bin libc-l10n libc6 libkpathsea6 libpackagekit-glib2-18 libpam-systemd 
>>> libpostproc54 libptexenc1 librest-0.7-0 
>>> libswresample2 libswscale4 libsynctex1 libsystemd0 libtexlua52 
>>> libtexluajit2 libudev1 libx264-148 locales 
>>> multiarch-support mythes-en-us packagekit packagekit-tools systemd 
>>> systemd-sysv texlive-base texlive-binaries 
>>> texlive-fonts-recommended texlive-fonts-recommended-doc texlive-latex-base 
>>> texlive-latex-base-doc udev x11-apps 
>>> x11-xkb-utils 
>>> 41 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
>>> Need to get 442 kB/104 MB of archives. After unpacking 16.6 MB will be 
>>> freed.
>>> The following packages have unmet dependencies:
>>> libgnutls-deb0-28 : Conflicts: libnettle4 but 2.7.1-5+deb8u1 is to be 
>>> installed
>>> libgnutls30 : Conflicts: libnettle4 but 2.7.1-5+deb8u1 is to be installed
>>> open: 45; closed: 112; defer: 39; conflict: 46
>>> 
>>> The following actions will resolve these dependencies:
>>> 
>>>   Keep the following packages at their current version:
>>> 1) libarchive13 [3.1.2-11+b1 (now, testing, unstable)]
>>> 2) libnettle4 [Not Installed] 
>>> 
>> 
> I used to use aptitude full-upgrade until I started having the same
> problem as you - wanting to remove huge lists of essential applications
> (like bash, etc.)  There is a long thread regarding this on the forums
> (which I can't find right now.)
> 
> I don't know why aptitude is doing this, but switching to apt-get
> dist-upgrade solved the problem and I haven't had any issues in ~8
> months.

Thanks for the pointer…  I tried apt-get dist-upgrade.  It gave essentially the 
same results — used different words but the intent was clearly the same.

Sven pointed out that this is a known problem with a version mismatch between 
Stretch and Jessie security.

Enjoy!
Rick



Re: Network manager (again)

2016-05-14 Thread David Wright
On Sat 14 May 2016 at 05:27:06 (+0200), Bhasker C V wrote:
>   I am finding it difficult to settle on a good network manager which
> can work for my case
> 
> 1. My home dir is luks/ext4 and mounted manually after logging in for
> the first time
> 2. My GUI is started after mounting my home dir and by manual startx only
> 
> I could never get my network manager to store passwords in the user dir.
> I do not like the passwords stored in
> /etc/NeworkManager/sytem-connections with plain passwords visible so
> anybody can open them if they have physical access to the machine/disk
> (usb live stick etc., )
> 
> If I pull up the properties of nm-applet and change the option to 
> "Store password only for this user", nm-applet does not connect since
> the keyring is no automatically unlocked due to startx
> 
> Can anyone help me with fixing this network-manager so the passwords are
> stored per-user in my luks home rather than /etc/...  OR tell me how to
> enable nm-applet to automatically trigger opening gnome-keyring ?

Like Hans, I use wicd (wicd-curses) because I only run a window manager.
These suggestions are completely untested but might be worth a shot.
You could create /home/wicd/ and copy /etc/wicd/* into it, then move
/etc/wicd to /etc/wicd-preserve and create a symlink /etc/wicd -> /home/wicd
If it all still works like that, shred and remove /etc/wicd-preserve.

The main issue AFAICT is making the wicd-daemon start only after /home
is mounted (and stop appropriately if you want to unmount it again).
I don't know systemd well enough to know if that's trivial or hard.
But the main thing is that it puts wicd/*.conf safely onto your
encrypted /home.

You might be able to coerce NM in the same way; I have no idea.

Cheers,
David.



Google Authenticator

2016-05-14 Thread Laurens Blankers
Hi all,

Two days ago an article was posted on Linux.com about setting up
2-factor authentication using the libpam-google-authenticator package [1].

Looking at the Debian package [2] I noticed it was last updated August
2013, however the source at GitHub has been updated as recently as 2
days ago. Browsing through the commit log [3] indicates lots of issues
related to memcpy, malloc, and SIGSEGV have been fixed since 2013.

How do I determine whether whether this package is safe to use?

Thanks,

Laurens

[1]
https://www.linux.com/learn/how-set-2-factor-authentication-login-and-sudo
[2] https://packages.qa.debian.org/g/google-authenticator.html
[3] https://github.com/google/google-authenticator/commits/master