Create Debian 9 (Stretch) minimal ISO similar to DebianDog

A home for all kinds of Puppy related projects
Message
Author
step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#1541 Post by step »

Issue report:
I downloaded the latest 64-bit appimage and tried to build a 32-bit (forced) openbox_lx conf. I ticked the "Open Xterm" option. The build aborted with an error message about not finding the terminal (see log below). System: Fatdog64; shell: sh; xterm is installed; defaultterm is urxvt in /usr/bin/urxvt; customization: another urxvt is installed in /usr/local/bin/urxvt (comes first in $PATH) and environment variable TERM is set to reflect its capability (see log). Look at the log tail first - the head is just to provide some context.

I need to build a 32-bit minimal system with mpv to run on an Atom N270 with 1GB RAM. Which kit would be the best choice for this project? I understand it's tentative given the very minimal hardware.
If mpv isn't available I could probably do with Firefox but I fear that system resources would not suffice for FF.

Thanks

Code: Select all

# ./mklive-stretch64 -gui
...
Setting up xserver-xorg-legacy (2:1.19.2-1+deb9u5) ...
setting xserver-xorg-legacy/xwrapper/allowed_users from configuration file
Processing triggers for menu (2.1.47+b1) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Processing triggers for initramfs-tools (0.130) ...
Errors were encountered while processing:
 keyboard-configuration
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
apt-utils is already the newest version (1.4.9).
dbus is already the newest version (1.10.28-0+deb9u1).
gnupg is already the newest version (2.1.18-8~deb9u4).
live-boot is already the newest version (1:20170112).
menu is already the newest version (2.1.47+b1).
wget is already the newest version (1.18-5+deb9u3).
xserver-xorg-legacy is already the newest version (2:1.19.2-1+deb9u5).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up keyboard-configuration (1.164) ...
Error opening terminal: rxvt-unicode-256color.
debconf: dialog output the above errors, giving up!
dpkg: error processing package keyboard-configuration (--configure):
 subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
 keyboard-configuration
E: Sub-process /usr/bin/dpkg returned an error code (1)
FAILED
Unmounting mount binds in chroot
# echo $TERM
rxvt-unicode-256color
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#1542 Post by rcrsn51 »

The 32bit build of the Stretch Starter Kit is still available here. It will run fine on your hardware.

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#1543 Post by step »

Thank you rcrsn51, this looks very interesting. I downloaded it and I'm taking a walk-around in QEMU.

ok - update packages w/ synaptic
ok - install and run mpv
ok - install peasyport and yassm
ok - port-scan 10.0.2.4:139 the built-in QEMU host share
-- - mount it with yassm (I didn't expect it would work but I tried)
ok - port-scan 10.0.2.2:139 real samba server running in the host network
ok - mount it with yassm

Overall pre-flight checklist passed, so I'm going to test it on the N270 hardware, hopefully audio will be OK (I didn't test audio in QEMU).
Thanks again.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#1544 Post by step »

Report: I used the stretch-live-frugal-install script successfully on Fatdog64 with one exception; copying grldr to the USB target failed with no GUI warning. I copied grldr manually all is well now, I can boot from the resulting USB key. If you want to change your code to support installing from Fatdog64 too, I believe it should be enough to change line 84

Code: Select all

cp $(find /usr/lib -name "grldr") /mnt/data
to take into account the locations where Fatdog64 keeps grldr. These are:

Code: Select all

# find /usr/lib -name "grldr"
# find /usr/lib64 -name "grldr"
# find /usr/share -name "grldr"
/usr/share/grub4dos/grldr
/usr/share/grub4dos-0.4.5c/grldr
The first one is newer. Both locations are included in the base system. Thank you for the script.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#1545 Post by fredx181 »

step wrote:I downloaded the latest 64-bit appimage and tried to build a 32-bit (forced) openbox_lx conf. I ticked the "Open Xterm" option. The build aborted with an error message about not finding the terminal (see log below). System: Fatdog64
Hi step, I see you found solution with the stretch-starter-kit, so fine with me if you ignore the following.

Anyway, I was curious and tested first on Fatdog (older version, I think 710) and could not reproduce the issue, all went fine (forced 32-bit), also opening xterm.
It looks like there was for you also a problem with keyboard -configuration package, no idea why.

Second test on Fatdog 810 went fine for me too, except that xterm didn't run, error message:

Code: Select all

Warning: This program is an suid-root program or is being run by the root user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
xterm: Xt error: Can't open display: %s
Looks like 810 has different xterm than 710

Fred

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#1546 Post by step »

I Fred, thanks for testing. I use 810, never mind 710. My guess is that you got that error message on 810 because the starter kit (or the appImage) doesn't like when root starts a terminal?
Back to the error I got, my guess is that it depends on my specific configuration. Try

Code: Select all

export TERM=rxvt-unicode-256color
./mklive-stretch64
That setting is sensible if package rxvt-unicode_perl_true_color_256-9.22_2019.09.17_dda8c82-x86_64-191214-1.txz is installed using the Fatdog package manager (I'm not saying you should install it. I'm just giving you more context).
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#1547 Post by fredx181 »

*** Addition and updates in custom Stretchdog repository ***

-Added package: takeashot, (Take A Shot) advanced screen capture utility (by SFR, see here: http://murga-linux.com/puppy/viewtopic.php?t=84528
One nice thing about it is that it can create an animated gif, depends on ffmpeg.
See also here: http://murga-linux.com/puppy/viewtopic. ... 03#1054503

-Updated:
- touchpad and p910nd-print-server (by rcrsn51) Touchpad P910nd Print Server
- mm-view (v 0.28, 'a universal file viewer' by Mochimoppel, see here: http://murga-linux.com/puppy/viewtopic.php?t=109573)
- youtube-viewer (v 3.7.4) (if straw-viewer is installed, it will be replaced by youtube-viewer (and vice versa))

Install with synaptic or apt.

Fred

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

#1548 Post by dancytron »

Fred, bill or anyone,

I noticed this script in the Puppy Newsletter on how to use VLC as Personal Video Recorder for over the air TV.

http://smokey01.com/newsletters/2018/Au ... 018.html#7

Would it be easy to get this to work in Debian Dog?

The first issue is that instead of channels.conf, later versions of VLC use a *.xfpf file. Mine is called "OTA_TV.xspf". It is really just a play list of channels. I think a search and replaceof channels.conf to OTA_TV.xspf might have fixed that.

The second issue is that I can't seem to figure out how to get it to use cron and I can't figure out how to get that working or maybe anacron is something different??

Any guidance would be appreciated.

Dan

see also http://murga-linux.com/puppy/viewtopic. ... 14#1056514

ras
Posts: 96
Joined: Thu 31 Oct 2019, 00:07

#1549 Post by ras »

The second issue is that I can't seem to figure out how to get it to use cron and I can't figure out how to get that working or maybe anacron is something different??
I have had to make cron call for cvlc in the past.
RAS

Post Reply