Re: [DNG] Official devuan works on raspberry pi 3 B.

2018-01-23 Thread Gregory Nowak
On Tue, Jan 23, 2018 at 10:49:47PM -0500, Hendrik Boom wrote:
> My microSD card is a lot larger than the root partition.

You should be able to resize the file system to take advantage of the
full second partition. I'm not sure what the status of raspiconfig is
in devuan. If that's usable, you should just be able to run that, and
choose the resize option. If that isn't useable, and if

is indeed fixed, then you should be able to run a partitioner like
cfdisk, delete the second partition, recreate it, and run resize2fs on
it. You'll probably want to do this on a pc though. You could of
course create more partitions on the empty sd card space, instead of
resizing root.

> I was thinking of multiple partitions on the microSD card, managed by LLVM.

Last time I checked, the rpi3 kernel shipped with devuan didn't
include lvm support built in. This was a number of months ago, so
things might have changed. If they did, then this should work. If lvm
still isn't built into the kernel, then you can either recompile the
kernel to include lvm in the kernel itself, or use an initrd. You
could again have enough on root to boot, and have the rest besides
root and boot on lvm, which wouldn't require a kernel compile, or initrd.

> How safe is it to do that while the root partition is mounted?

I would advise against that.

> Is there another next to it?  I'd have to check.

The boot partition is first, and root is second.

> 
> If I do that with the microSD card plugged into the USB port of another 
> Linux machine, will I end up messing with the partition identity so the 
> boot process doesn't find it?

If bug 84 is in fact fixed, and you do what I described above, you
should be just fine. Of course if something does go wrong during your
resize, you get to keep the pieces, I'm not responsible.

> 
> How does the boot process find its .boot and other partitions on the 
> Raspberry pi anyway?

From what I understand, and I could be wrong, the GPU searches for the
first partition, which it expects to be fat32. It reads and processes
from that partition config.txt, cmdline.txt, firmware from the
firmware directory, and the kernel image, which is kernel7.img (armhf)
or kernel8.img (arch64). This may not be in that exact order, but the
gist should be close enough.

> 
> Does it use grub?  Or is there something peculiar to ARM processors, 
> like uboot?  What is that anyway.

No, no grub. The heavy lifting during boot is done by the GPU on the
rpi as far as I know. As for uboot:


Hope that helps some what.

Greg


-- 
web site: http://www.gregn.net
gpg public key: http://www.gregn.net/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)
If we haven't been in touch before, e-mail me before adding me to your contacts.

--
Free domains: http://www.eu.org/ or mail dns-mana...@eu.org
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Official devuan works on raspberry pi 3 B.

2018-01-23 Thread Hendrik Boom
On Wed, Jan 24, 2018 at 01:29:30AM +0100, Antony Stone wrote:
> On Wednesday 24 January 2018 at 01:09:39, Hendrik Boom wrote:
> 
> > Worked like a charm.  Now I have a very minimal text console.  I know
> > where to go from here.  My wife has commandeered the HDMI television for
> > the evening.  I'll get on with it tomorrow morning.
> > 
> > Probably start with the upgrade to ascii, then start installing stuff I
> > need.
> > 
> > I'll also be moving /usr and /var off the root partition.  That is
> > going to stay possible in Devuan, isn't it?
> 
> Where are you going to move them to on a Raspberry?

You just released a flood of questions.

My microSD card is a lot larger than the root partition.

> Just multiple partitions on the µSD card, or do you have something more 
> interesting in mind?

I was thinking of multiple partitions on the microSD card, managed by LLVM.
I'm definitely used to have /home separate from the rest.
On other machines I use LLVM to get some flexibility in partitioning.

But perhaps all I need is to enlarge the root partition to become the 
entire microSD card. 

How safe is it to do that while the root partition is mounted?
Is there another next to it?  I'd have to check.

If I do that with the microSD card plugged into the USB port of another 
Linux machine, will I end up messing with the partition identity so the 
boot process doesn't find it?

How does the boot process find its .boot and other partitions on the 
Raspberry pi anyway?

Does it use grub?  Or is there something peculiar to ARM processors, 
like uboot?  What is that anyway.

-- hendrik

> 
> 
> Antony.
> 
> -- 
> "Linux is going to be part of the future. It's going to be like Unix was."
> 
>  - Peter Moore, Asia-Pacific general manager, Microsoft
> 
>Please reply to the list;
>  please *don't* CC me.
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] History function in Synaptic

2018-01-23 Thread golinux

On 2018-01-23 17:17, goli...@dyne.org wrote:

I have a quick Synaptic question . . . when you go to history, do the
directories to the left expand in ascii like they used to in jessie?
They are no longer expanding here. Instead a search field has been
added but you have to specify a specific term to get any results.  I
have not yet found a way to browse history like I have always done.
I'm trying to figure out if this behavior is local, a bug or a new
'feature'?  And is there a way activate the previous behavior?

golinux


Never mind.  Since I had neutered the adwaita icon theme the expansion 
arrows were missing. adwaita is the systemd of the desktop - tentacles 
everywhere.  Stupid gnome strikes again . . .


Sorry for the noise.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Official devuan works on raspberry pi 3 B.

2018-01-23 Thread Antony Stone
On Wednesday 24 January 2018 at 01:09:39, Hendrik Boom wrote:

> Worked like a charm.  Now I have a very minimal text console.  I know
> where to go from here.  My wife has commandeered the HDMI television for
> the evening.  I'll get on with it tomorrow morning.
> 
> Probably start with the upgrade to ascii, then start installing stuff I
> need.
> 
> I'll also be moving /usr and /var off the root partition.  That is
> going to stay possible in Devuan, isn't it?

Where are you going to move them to on a Raspberry?

Just multiple partitions on the µSD card, or do you have something more 
interesting in mind?


Antony.

-- 
"Linux is going to be part of the future. It's going to be like Unix was."

 - Peter Moore, Asia-Pacific general manager, Microsoft

   Please reply to the list;
 please *don't* CC me.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] History function in Synaptic

2018-01-23 Thread golinux
I have a quick Synaptic question . . . when you go to history, do the 
directories to the left expand in ascii like they used to in jessie? 
They are no longer expanding here. Instead a search field has been added 
but you have to specify a specific term to get any results.  I have not 
yet found a way to browse history like I have always done.  I'm trying 
to figure out if this behavior is local, a bug or a new 'feature'?  And 
is there a way activate the previous behavior?


golinux
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] raspberry pi 3 -- dependency hell

2018-01-23 Thread J. Fahrner

Am 2018-01-23 21:32, schrieb J. Fahrner:

But what is xserver-xorg-video-fbturbo? Is that from rpi packages?


You can try adding Debian Multimedia:
https://www.deb-multimedia.org/dists/sid/main/binary-arm64/package/xserver-xorg-video-fbturbo
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] raspberry pi 3 -- dependency hell

2018-01-23 Thread J. Fahrner

Am 2018-01-23 19:35, schrieb Hendrik Boom:

To get X working on my Devuanized reespberry pi I need to install
xserver-xorg-video-fbdev and -fbturbo.


Debian Stretch has xserver-xorg-video-fbdev:
https://packages.debian.org/de/stretch/xserver-xorg-video-fbdev

But what is xserver-xorg-video-fbturbo? Is that from rpi packages?


These packages depend on xorg-video-abi-20, which
is provided by xserver-xorg-core 2:1.18.4-2rpi1.


Debian has v23, but no v20.

If the PI needs some special xorg packages which are only available 
through rpi repository, then you cannot mix that with Debian or Devuan.


I use my PIs only for headless server applications, so I cannot help you 
here with Xorg.


Jochen
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] raspberry pi 3 -- dependency hell

2018-01-23 Thread KatolaZ
On Tue, Jan 23, 2018 at 03:10:41PM -0500, Hendrik Boom wrote:
> On Tue, Jan 23, 2018 at 08:03:11PM +, KatolaZ wrote:
> > On Tue, Jan 23, 2018 at 02:36:08PM -0500, Hendrik Boom wrote:
> > 
> > [cut]
> > 
> > > 
> > > That jessie rpi image -- I presume you are talking about a devuan jessie 
> > > rpi image, and not Raspbian's jessie. 
> > >
> > > How do find that Devuan rpi image?  So far I haven't been able to find 
> > > it, and Google seemed not to be helpful a few days ago.
> > 
> > http://files.devuan.org
> > 
> > under devuan_jessie/embedded
> 
> I guess I never thought of Raspbrry pi as being embedded.
> 
> Yes, there they are!  There are two for Raspberry pi 3:  raspi2 and 
> raspi3.  Do I conclude that raspi2 is 32-bit and raspi3 is 64-bit?  Does 
> the raspbrry 3 B even have enough RAM to need to be addressed with a 
> 64-bit address?  Or is it a matter of speed?
> 

if you have an rpi3, you should use the rpi3 which is an arm64.


> And they are .xz files.  Do they need to be decompressed before dd?  Or 
> are they already ready for dd? 
>

decompress and then dd...



-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[ "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[   @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[ @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]


signature.asc
Description: Digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] raspberry pi 3 -- dependency hell

2018-01-23 Thread Hendrik Boom
On Tue, Jan 23, 2018 at 08:03:11PM +, KatolaZ wrote:
> On Tue, Jan 23, 2018 at 02:36:08PM -0500, Hendrik Boom wrote:
> 
> [cut]
> 
> > 
> > That jessie rpi image -- I presume you are talking about a devuan jessie 
> > rpi image, and not Raspbian's jessie. 
> >
> > How do find that Devuan rpi image?  So far I haven't been able to find 
> > it, and Google seemed not to be helpful a few days ago.
> 
> http://files.devuan.org
> 
> under devuan_jessie/embedded

I guess I never thought of Raspbrry pi as being embedded.

Yes, there they are!  There are two for Raspberry pi 3:  raspi2 and 
raspi3.  Do I conclude that raspi2 is 32-bit and raspi3 is 64-bit?  Does 
the raspbrry 3 B even have enough RAM to need to be addressed with a 
64-bit address?  Or is it a matter of speed?

And they are .xz files.  Do they need to be decompressed before dd?  Or 
are they already ready for dd? 

-- hendrik
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] raspberry pi 3 -- dependency hell

2018-01-23 Thread KatolaZ
On Tue, Jan 23, 2018 at 02:36:08PM -0500, Hendrik Boom wrote:

[cut]

> 
> That jessie rpi image -- I presume you are talking about a devuan jessie 
> rpi image, and not Raspbian's jessie. 
>
> How do find that Devuan rpi image?  So far I haven't been able to find 
> it, and Google seemed not to be helpful a few days ago.

http://files.devuan.org

under devuan_jessie/embedded

> 
> And how do I install it?  Do I just dd it to my 32G microsd card on 
> another machine?  Or is there a way to tell NOOBS about it?
> 

Just dd.

HND

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[ "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[   @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[ @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]


signature.asc
Description: Digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] raspberry pi 3 -- dependency hell

2018-01-23 Thread Hendrik Boom
On Tue, Jan 23, 2018 at 07:05:53PM +, KatolaZ wrote:
> On Tue, Jan 23, 2018 at 01:35:06PM -0500, Hendrik Boom wrote:
> > To get X working on my Devuanized reespberry pi I need to install 
> > xserver-xorg-video-fbdev and -fbturbo.
> > 
> > These packages depend on xorg-video-abi-20, which 
> > is provided by xserver-xorg-core 2:1.18.4-2rpi1.
> > 
> > What's installed is xserver-xorg-core 2:1.19.2-1+deb
> >   presumably from devuan's repository.
> > 
> > How do I get it to install an older-looking package?
> > 
> 
> You shouldn't mix repos, and it seems that this is what you are
> doing. In particular, raspbian repos should be enabled only if
> something very specific to rpi is necessary (e.g., a new version of
> firmware), and then disabled again.

Yes, that's what I did, on the advice of another Devuan respbrry pi 
enthusiast on this thread.  It seemed to wok for Jessie, but not for 
ascii.

> 
> [cut]
> 
> > Is there an actual Devuan raspbeery pi release?  How do I install it?
> >  
> 
> You just install the jessie rpi image, and then upgrade to ascii.

That jessie rpi image -- I presume you are talking about a devuan jessie 
rpi image, and not Raspbian's jessie. 

How do find that Devuan rpi image?  So far I haven't been able to find 
it, and Google seemed not to be helpful a few days ago.

And how do I install it?  Do I just dd it to my 32G microsd card on 
another machine?  Or is there a way to tell NOOBS about it?

And above all, is this documented somewhere?

-- hendrik
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] raspberry pi 3 -- dependency hell

2018-01-23 Thread KatolaZ
On Tue, Jan 23, 2018 at 01:35:06PM -0500, Hendrik Boom wrote:
> To get X working on my Devuanized reespberry pi I need to install 
> xserver-xorg-video-fbdev and -fbturbo.
> 
> These packages depend on xorg-video-abi-20, which 
> is provided by xserver-xorg-core 2:1.18.4-2rpi1.
> 
> What's installed is xserver-xorg-core 2:1.19.2-1+deb
>   presumably from devuan's repository.
> 
> How do I get it to install an older-looking package?
> 

You shouldn't mix repos, and it seems that this is what you are
doing. In particular, raspbian repos should be enabled only if
something very specific to rpi is necessary (e.g., a new version of
firmware), and then disabled again.

[cut]

> Is there an actual Devuan raspbeery pi release?  How do I install it?
>  

You just install the jessie rpi image, and then upgrade to ascii.

My2Cents

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[ "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[   @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[ @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]


signature.asc
Description: Digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] raspberry pi 3 -- dependency hell

2018-01-23 Thread Hendrik Boom
To get X working on my Devuanized reespberry pi I need to install 
xserver-xorg-video-fbdev and -fbturbo.

These packages depend on xorg-video-abi-20, which 
is provided by xserver-xorg-core 2:1.18.4-2rpi1.

What's installed is xserver-xorg-core 2:1.19.2-1+deb
  presumably from devuan's repository.

How do I get it to install an older-looking package?



I managed to get aptitude to do that as a proposed fixup to another 
problem.

The root problem seemd to be that the raspberry pi package for 
xserver-xorg-core 2.1.18.4-2rpi1 comes from oldstable, which matched 
jessie, whereas the other devuan packages I have come from ascii, which 
matches stretch, which is presumably curren stable.

I suspect the solution, sad though it be, is to reinstall raspbian 
jessie, and possibly crossgrade to Devuan jessie, and leave everything 
there.

I'm in mixed-distro dependeny hell.

Is there an actual Devuan raspbeery pi release?  How do I install it?
 
-- hendrik
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] ascii on raspberry pi 3 -- trouble with X

2018-01-23 Thread Hendrik Boom
On Mon, Jan 22, 2018 at 11:17:13PM -1000, Joel Roth wrote:
> On Tue, Jan 23, 2018 at 03:30:44AM -0500, Hendrik Boom wrote:
> > > Then used aptitude to install golang  Althout it had complained about 
> > > only a fe packages, it ended up installing a very large number of 
> > > packages -- hundreds.  I consider this suspicious.
> > > 
> > > THen I had it install golang and its dependencies.  It seemed to e doing 
> > > that, but then the system crashed -- went to a state with a blank screen 
> > > and a blinking cursor in the top left corner, completely unrsponsive to 
> > > keyboard and mouse.
> 
> This would be a time to use Ctrl-Alt-Backspace to kill your
> X server.  Likely your display manager (xdm and friends)
> will restart the X server.  If you get a console (as you did
> later) or you can try starting your window manager from the
> command line with `startx`.


I wonder if I still even *have* a display manager.  But that's probably 
a secondary concern.  Best put off until startx works.

> 
> If that fails, from the terminal, remove golang and install
> Xorg, and maybe your preferred window manager or DE.  
> 
> However, Debian changed the default of X not to respond
> to Ctrl-Alt-Backspace. You may have to customize your
> X keyboard setup (typically placing it in file ~/.xinitrc) stuff such as: 
> 
>   # allow Ctrl-Alt-BackSpace to kill X server
>   # Use CapsLock as Ctrl 
>   setxkbmap -option ctrl:nocaps,terminate:ctrl_alt_bksp
> 
>   # Don't beep
>   xset b off
> 
>   # Disable PrintScreen (by mapping it to BackSpace)
>   xmodmap -e 'keysym Print = BackSpace'
> 
> 
> > So why would using aptitude to install golang sabotage X?
> 
> I think it could come in part from mixed up or conflicting
> dependencies of the packages themselves. If aptitude offers
> you a solution to a conflict, it should list in full what
> it is one Enter keyclick away from clobbering. 

Looking at the aptitude log, installing golang did nothing at all to the 
packages relating to X.  So the damage, whatever it was, will have to 
have happened earlier, with some kind of delayed effect.  Perhaps xorg 
had previously been changed on disk while it was running, and finally, 
when it needed to read some library or other, a version skew hit hard? 

> 
> Sabotage suggests a malevolent intent, which is not at all 
> a good first guess, if you want to keep your feet on the
> ground and solve  your problems.

Sabotage is an overstatement.

> 
> I've never, ever used aptitude myself, having found 
> apt-get and friends 
> dpkg
> dpkg-reconfigure
> apt-cache search
> apt-cache showpkg
> apt-cache show
>  
> to be sufficient.
> 
> > It did go to dead X while installing golang, before I rebooted.  Might 
> > it have rebooted while I wasn't looking?  Why would aptitude do that?
> > 
> > Or did it sabotage the desktop or window manager?  The so-called GOSFUI?  
> > (is that what Steve Litt called it?)
> > 
> > It seems I have a working, but incomplete system.
> 
> To have a working console is such a amazing place to be,
> and just a few steps away from bringing back, by waving the 
> magic wand of apt-get (or even aptitude) to reinstall Xorg
> and friends who were removed. 

I'll tried startx:
the X server did not start up.  The (EE) entries in the log
(1) complained that systemd-logind failed to get a session.
Of course.  There's no systemd.  I'm not planning to change that.
(2) complained that it could not load module "fbdev" because the module 
does not exist
(3) complained that it could not open /dev/dri/card0: no such file or 
directory.

Is just reinstalling xorg going to fix this, or will I have to identify 
just which device drivers, xorg modules, and mesa components are 
appropriate for the Raspberry pi's graphics chip, whatever that is.  

There must be a way to figure this out.

I am looking for support for at least opengl 3.3, because that's what 
Raspbian can handle, and that's also what I need.

> 
> But then you would probably lose golang, so that still sucks.

Not likely to happen.  Golang installed, as far as I can tell, without 
affecting *any* packages not obviously belonging to golang.  Except for 
installing python3-serial and updating man-db.

> 
> You can inspect the dependencies of individual packages with apt-cache show 
> and apt-cache showpkg. Or record the conflicts listed by
> package manager for golang without installing, and file
> a bug report with the package maintainer. 
> 
> Have fun (and hopefully a somewhat working package dependency system)

What impresses me about the Raspberry pi is that it isn't a 
stripped-down system to be used in schools.  It's a real, complex 
system, with all the bells and whistles and warts a full-grown 
professional system would have.  Lovely.
> 
> Joel
> 
>  
> > -- hendrik
> > 
> > > 
> > > 
> > > Any ideas?  Tomorrow I'll start fro scratch again unless someon has a 
> > > better idea.  I could put 

[DNG] Intel Says you Should Not Install its Meltdown Firmware Fixes

2018-01-23 Thread Tom Cassidy
https://soylentnews.org/breakingnews/article.pl?sid=18/01/22/218258

Looks like Intel is saying to hold off on the microcode updates for the moment.___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] raspberry pi 3 -- trouble.

2018-01-23 Thread Joel Roth
On Tue, Jan 23, 2018 at 03:30:44AM -0500, Hendrik Boom wrote:
> Might  it have rebooted while I wasn't looking?  Why would aptitude do that?

Unlikely, even if the package manager installs a new kernel,
I believe Debian does not allow it to reboot a system
that could have important services running.

-- 
Joel Roth
  

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] raspberry pi 3 -- trouble.

2018-01-23 Thread Joel Roth
On Tue, Jan 23, 2018 at 03:30:44AM -0500, Hendrik Boom wrote:
> > Then used aptitude to install golang  Althout it had complained about 
> > only a fe packages, it ended up installing a very large number of 
> > packages -- hundreds.  I consider this suspicious.
> > 
> > THen I had it install golang and its dependencies.  It seemed to e doing 
> > that, but then the system crashed -- went to a state with a blank screen 
> > and a blinking cursor in the top left corner, completely unrsponsive to 
> > keyboard and mouse.

This would be a time to use Ctrl-Alt-Backspace to kill your
X server.  Likely your display manager (xdm and friends)
will restart the X server.  If you get a console (as you did
later) or you can try starting your window manager from the
command line with `startx`.

If that fails, from the terminal, remove golang and install
Xorg, and maybe your preferred window manager or DE.  

However, Debian changed the default of X not to respond
to Ctrl-Alt-Backspace. You may have to customize your
X keyboard setup (typically placing it in file ~/.xinitrc) stuff such as: 

# allow Ctrl-Alt-BackSpace to kill X server
# Use CapsLock as Ctrl 
setxkbmap -option ctrl:nocaps,terminate:ctrl_alt_bksp

# Don't beep
xset b off

# Disable PrintScreen (by mapping it to BackSpace)
xmodmap -e 'keysym Print = BackSpace'


> So why would using aptitude to install golang sabotage X?

I think it could come in part from mixed up or conflicting
dependencies of the packages themselves. If aptitude offers
you a solution to a conflict, it should list in full what
it is one Enter keyclick away from clobbering. 

Sabotage suggests a malevolent intent, which is not at all 
a good first guess, if you want to keep your feet on the
ground and solve  your problems.

I've never, ever used aptitude myself, having found 
apt-get and friends 
dpkg
dpkg-reconfigure
apt-cache search
apt-cache showpkg
apt-cache show
 
to be sufficient.

> It did go to dead X while installing golang, before I rebooted.  Might 
> it have rebooted while I wasn't looking?  Why would aptitude do that?
> 
> Or did it sabotage the desktop or window manager?  The so-called GOSFUI?  
> (is that what Steve Litt called it?)
> 
> It seems I have a working, but incomplete system.

To have a working console is such a amazing place to be,
and just a few steps away from bringing back, by waving the 
magic wand of apt-get (or even aptitude) to reinstall Xorg
and friends who were removed. 

But then you would probably lose golang, so that still sucks.

You can inspect the dependencies of individual packages with apt-cache show 
and apt-cache showpkg. Or record the conflicts listed by
package manager for golang without installing, and file
a bug report with the package maintainer. 

Have fun (and hopefully a somewhat working package dependency system)

Joel

 
> -- hendrik
> 
> > 
> > 
> > Any ideas?  Tomorrow I'll start fro scratch again unless someon has a 
> > better idea.  I could put the microsd card in an adaptor in my laptop's  
> > USB slot and see if I can see anything in the file system.
> > 
> > I could, of course, sk it to install a stretch version of Rapbian 
> > straightway and ignore the switch to Devuan.
> > 
> > -- hendrik
> > 
> > > 
> > > Fine. And don't forget to change
> > > 
> > > deb http://mirrordirector.raspbian.org/raspbian/ jessie  rpi
> > > 
> > > into
> > > 
> > > deb http://mirrordirector.raspbian.org/raspbian/ stretch  rpi
> > 
> > Yes, I did that.
> > 
> > > 
> > > You can see the available dists here:
> > > 
> > > http://mirrordirector.raspbian.org/raspbian/dists/
> > > 
> > > Jochen
> > > ___
> > > Dng mailing list
> > > Dng@lists.dyne.org
> > > https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
> > ___
> > Dng mailing list
> > Dng@lists.dyne.org
> > https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

-- 
Joel Roth
  

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] raspberry pi 3 -- trouble.

2018-01-23 Thread Hendrik Boom
On Mon, Jan 22, 2018 at 11:01:08PM -0500, Hendrik Boom wrote:
> On Mon, Jan 22, 2018 at 08:13:34AM +0100, J. Fahrner wrote:
> > Am 2018-01-21 22:19, schrieb Hendrik Boom:
> > >/etc/apt/sources.list shows mine is based on jessie.  That's pretty
> > >definitive.
> > >
> > >I think I'll cross over to Devuan first, then upgrade to ascii.
> 
> OK.  Did that. everything seemed fine after three dist-upgrades.
> 
> Then used aptitude to install golang.  When I started aptitude 
> interactively, it found a few other packages that needed fixing.  I let 
> it do that before installing golang.  Althout it had complained about 
> only a fe packages, it ended up installing a very large number of 
> packages -- hundreds.  I consider this suspicious.
> 
> THen I had it install golang and its dependencies.  It seemed to e doing 
> that, but then the system crashed -- went to a state with a blank screen 
> and a blinking cursor in the top left corner, completely unrsponsive to 
> keyboard and mouse.
> 
> Evidently everything wasn't OK yet.
> 
> Rebooting didn't help; it rebooted I got the long list of messages as 
> init put the system up, then back to the blank screen and a blinking 
> cursor.

Ah.  I should have figured it out already.  It booted, tried to start X, 
and failed.   Control-alt-F1 and I get a text-only login prompt. 

So why would using aptitude to install golang sabotage X?

It did go to dead X while installing golang, before I rebooted.  Might 
it have rebooted while I wasn't looking?  Why would aptitude do that?

Or did it sabotage the desktop or window manager?  The so-called GOSFUI?  
(is that what Steve Litt called it?)

It seems I have a working, but incomplete system.

-- hendrik

> 
> 
> Any ideas?  Tomorrow I'll start fro scratch again unless someon has a 
> better idea.  I could put the microsd card in an adaptor in my laptop's  
> USB slot and see if I can see anything in the file system.
> 
> I could, of course, sk it to install a stretch version of Rapbian 
> straightway and ignore the switch to Devuan.
> 
> -- hendrik
> 
> > 
> > Fine. And don't forget to change
> > 
> > deb http://mirrordirector.raspbian.org/raspbian/ jessie  rpi
> > 
> > into
> > 
> > deb http://mirrordirector.raspbian.org/raspbian/ stretch  rpi
> 
> Yes, I did that.
> 
> > 
> > You can see the available dists here:
> > 
> > http://mirrordirector.raspbian.org/raspbian/dists/
> > 
> > Jochen
> > ___
> > Dng mailing list
> > Dng@lists.dyne.org
> > https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng