Create Debian 9 (Stretch) minimal ISO similar to DebianDog

A home for all kinds of Puppy related projects
Message
Author
User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#701 Post by fredx181 »

backi wrote:Hi Fred !
Just a quick Test .
Tried with a new/fresh Openbox/Xfce full Dog .....followed procedure above ....
did not encounter this type of Problems belham described .

Regards !
Thanks backi !
I like to be sure, so I ask:
You installed xfce4-whiskermenu-plugin-mod, but did you also load in on the panel ? (and did some configuration changes, right-click icon > properties)

Btw, in the meantime I tested again few times and also on another computer without experiencing any problems, so it's a mystery for me why belham's report was so bad...

Fred

belham2
Posts: 1715
Joined: Mon 15 Aug 2016, 22:47

#702 Post by belham2 »

fredx181 wrote:
backi wrote:Hi Fred !
Just a quick Test .
Tried with a new/fresh Openbox/Xfce full Dog .....followed procedure above ....
did not encounter this type of Problems belham described .

Regards !
Thanks backi !
I like to be sure, so I ask:
You installed xfce4-whiskermenu-plugin-mod, but did you also load in on the panel ? (and did some configuration changes, right-click icon > properties)

Btw, in the meantime I tested again few times and also on another computer without experiencing any problems, so it's a mystery for me why belham's report was so bad...

Fred

And I have found the culprit!

It's all Backi's fault!! :twisted: :!:

When I had made that duplicate copy of my DDog-XFCE64-build in another 'frugal' folder, I had absentmindedly used SpaceFM to do it. Had walked away for a minute, came back, and it was done with none of those "stalled" errors SpaceFM has been showing that Backi & me have seen. So I "ass"-umed everything was okey-dokey.

To be sure I was remembering it right, I made another frugal folder copy this morning of DDog-XFCE64, and I used Thunar. Booted up, and did everything like I did yesterday. No nuclear bomb! Uber whisker-mod by Freddo works as advertised, and the additional buttons are really nice & welcome, thread.

Moral of story: never TRUST Backi! LOL....no, no, moral of story is be careful of SpaceFM when making big copies of anything. That program has a demon-bug in its source code when it comes to copying.

Next question, Fred----can I put this "whickermenu-plugin-mod" in all my pups that have XFCE? I mean, if I download it separately, then install it, and just change some of the targets of the buttons to what is existing on that pup? Or is this not a good idea? You know me, I'll try anything, careless as a bear trapped in a cave full of honey & thinking there's no way I could eat myself to death :wink:

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

#703 Post by fredx181 »

belham wrote:And I have found the culprit!
...
...
OK, that's good news, Ooohh.. backi strikes again :lol:
@backi, no, no, good old belham dropped a virtual nuclear bomb on holland !! :roll:
Next question, Fred----can I put this "whickermenu-plugin-mod" in all my pups that have XFCE? I mean, if I download it separately, then install it, and just change some of the targets of the buttons to what is existing on that pup? Or is this not a good idea? You know me, I'll try anything, careless as a bear trapped in a cave full of honey & thinking there's no way I could eat myself to death
You can try, but probably it won't work in all pups (e.g. dependencies should fit and also glibc version)
I wonder if it's useful since this mod is specially made for openbox_xfce-jwm variant (with default buttons start-jwm, start-slim, dog-ctrl-center, obshutdown)
Btw, it took me a while to find out, the profile picture can be easily changed by manually adding a picture named .face in /root (no need for "mugshot" which is the default for changing profile picture in the standard whisker-menu-plugin)

Fred

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

#704 Post by fredx181 »

Hi all, rcrsn51,

Made a small change to peasywifi package, by modyfing /etc/pwf/udhcpc/default.script to display notify splash-message

EDIT: Removed from repos now, shouldn't have messed with someone else's program.

Fred
Last edited by fredx181 on Sat 14 Oct 2017, 08:40, edited 2 times in total.

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

#705 Post by rcrsn51 »

If you are going to start adding useless window-dressing, fork the project and give it a different name.

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

#706 Post by fredx181 »

Hi rcrsn51,

OK, fair enough, I just thought it would be ok because I didn't change the peasywifi code itself, sorry, shouldn't have done that, so removed from repos (latest is 4.5-1 again now)

Fred

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#707 Post by backi »

Hi !
I have some (maybe naive ) Questions.

Created a Openbox/Jwm Full with mklive-stretch a while ago .Placed the content of Isodata live Folder to Usb Stick to make a frugal install.
If i now create this same Openbox/jwm Full NOW again with mklive-stretch ........replace the old 01-filesystem.squashfs on my USB Stick with the now NEW created 1-filesystem.squashfs (and of course the zz_openbox_lx-jwm_firefox.squashfs too),
would this cause some kind of (alternative) update/upgrade ,instead of updating/upgrading via Synaptic-PPM?

Thanks in Advance .

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

#708 Post by fredx181 »

Hi backi,

When you do a new build, all the latest package versions will be installed, if older build is a while back, probably there are updates available, so: yes, as you say, it would indeed cause some kind of (alternative) update/upgrade.

Fred

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#709 Post by backi »

O.k. Fred !

Thanks .......and get well !

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

#710 Post by rcrsn51 »

Here is the lastest version of apulse needed to play Youtube audio in some browsers. The package contains a menu entry that runs:

Code: Select all

apulse /opt/firefox/firefox
You can customize this for your own setup by editing the .desktop file in /usr/share/applications.

However, the new Firefoxes require a patch:
For example, Firefox now have a sandbox, that blocks file access. It has
predefined list of allowed paths, but ALSA devices are not included by
default. Fortunately, it's possible to add those path by hand. Add "/dev/snd/"
to "security.sandbox.content.write_path_whitelist" parameter in
`about:config`. Note that trailing slash in "/dev/snd/" is required.
Update: OscarTalks has found a simpler solution. Set security.sandbox.content.level to 0.

These packages are now available in the repo under the name "apulse".

------------------
Last edited by rcrsn51 on Thu 23 Nov 2017, 00:19, edited 3 times in total.

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#711 Post by backi »

Regarding updating/upgrading Deb Dog via creating a new build and replacing old live Folder content with new live Folder content .
When you do a new build, all the latest package versions will be installed, if older build is a while back, probably there are updates available, so: yes, as you say, it would indeed cause some kind of (alternative) update/upgrade.
But when then looking into Synaptic Packet-Manager ........they are not shown as updated .Still shown as up-datable and upgradable .
What about this ?what does it mean ?

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

#712 Post by dancytron »

backi wrote:Regarding updating/upgrading Deb Dog via creating a new build and replacing old live Folder content with new live Folder content .
When you do a new build, all the latest package versions will be installed, if older build is a while back, probably there are updates available, so: yes, as you say, it would indeed cause some kind of (alternative) update/upgrade.
But when then looking into Synaptic Packet-Manager ........they are not shown as updated .Still shown as up-datable and upgradable .
What about this ?what does it mean ?
Did you delete the /stretch folder before you ran mklive-stretch or did you let the script delete it? If you didn't delete it before you ran the script, maybe try that.

I know in an effort to save download that the downloaded packages don't get deleted. I wonder if they get checked to see if they are up to date?

The script tells you that when it says:
Working directory 'stretch' already exists \n To be able to continue, contents need to be removed first\n All files inside will be deleted, except the apt cache in chroot
"Are you sure to delete contents of directory stretch ? (Enter=yes) (Y/n)?"
Fred said he had the flu, I'm sure when he feels better he'll chime in.

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#713 Post by backi »

Hi Dancytron !

Thanks for reply .
Yes i deleted the old stretch folder before i did a new build .

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

#714 Post by fredx181 »

Hi backi, dancytron,

...slowly feeling better now, short reply for now, will investigate more later if needed.
But when then looking into Synaptic Packet-Manager ........they are not shown as updated .Still shown as up-datable and upgradable .
What about this ?what does it mean ?
When I make new build, the only upgradable version I see in Synaptic is "firefox-esr=45.9.0esr-1" which is on purpose, to have the latest in the build, change to just "firefox-esr" in the config (see pic).
@backi, which packages you see more than firefox as upgradable?
I know in an effort to save download that the downloaded packages don't get deleted. I wonder if they get checked to see if they are up to date?
The older packages are kept in the local cache, but if newer available, they will be chosen to be installed.

Fred
Attachments
firefox-older-version.png
(17.69 KiB) Downloaded 1024 times

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#715 Post by backi »

Hi Fred !
So i try to explain.
1. Replaced my "older" live folder with a fresh created one without including firefox-esr (kept my old save Folder ).....
2. booted into " new/fresh " created Deb Dog using my"old" save Folder.
3. Instantly started Synaptic >reload>Mark All Upgrades>Apply>Download

Summary
1 newpackage will be installed
49 packages will be upgraded
74,8 kb extra space will be freed
68,5 MB have to be downloaded

apt (version 1.4.7) will be upgraded to version 1.4.8
apt-transport-https (version 1.4.7) will be upgraded to version 1.4.8
apt-utils (version 1.4.7) will be upgraded to version 1.4.8
dbus (version 1.10.18-1) will be upgraded to version 1.10.22-0+deb9u1
dbus-x11 (version 1.10.18-1) will be upgraded to version 1.10.22-0+deb9u1
file (version 1:5.30-1) will be upgraded to version 1:5.30-1+deb9u1
gnupg (version 2.1.18-6) will be upgraded to version 2.1.18-8~deb9u1
gnupg-agent (version 2.1.18-6) will be upgraded to version 2.1.18-8~deb9u1
gpgv (version 2.1.18-6) will be upgraded to version 2.1.18-8~deb9u1
jwmconf (version 0.0.4) will be upgraded to version 0.0.5
libapt-inst2.0 (version 1.4.7) will be upgraded to version 1.4.8
libapt-pkg5.0 (version 1.4.7) will be upgraded to version 1.4.8
libatspi2.0-0 (version 2.22.0-6) will be upgraded to version 2.22.0-6+deb9u1
libcurl3-gnutls (version 7.52.1-5) will be upgraded to version 7.52.1-5+deb9u1
libdb5.3 (version 5.3.28-12+b1) will be upgraded to version 5.3.28-12+deb9u1
libdbus-1-3 (version 1.10.18-1) will be upgraded to version 1.10.22-0+deb9u1
libgdk-pixbuf2.0-0 (version 2.36.5-2) will be upgraded to version 2.36.5-2+deb9u1
libgdk-pixbuf2.0-common (version 2.36.5-2) will be upgraded to version 2.36.5-2+deb9u1
libgnutls30 (version 3.5.8-5+deb9u2) will be upgraded to version 3.5.8-5+deb9u3
libgs9 (version 9.20~dfsg-3.2) will be upgraded to version 9.20~dfsg-3.2+deb9u1
libgs9-common (version 9.20~dfsg-3.2) will be upgraded to version 9.20~dfsg-3.2+deb9u1
libgssapi-krb5-2 (version 1.15-1) will be upgraded to version 1.15-1+deb9u1
libhogweed4 (version 3.3-1+b1) will be upgraded to version 3.3-1+b2
libidn2-0 (version 0.16-1) will be upgraded to version 0.16-1+deb9u1
libk5crypto3 (version 1.15-1) will be upgraded to version 1.15-1+deb9u1
libkrb5-3 (version 1.15-1) will be upgraded to version 1.15-1+deb9u1
libkrb5support0 (version 1.15-1) will be upgraded to version 1.15-1+deb9u1
libldap-2.4-2 (version 2.4.44+dfsg-5) will be upgraded to version 2.4.44+dfsg-5+deb9u1
libldap-common (version 2.4.44+dfsg-5) will be upgraded to version 2.4.44+dfsg-5+deb9u1
libmagic-mgc (version 1:5.30-1) will be upgraded to version 1:5.30-1+deb9u1
libmagic1 (version 1:5.30-1) will be upgraded to version 1:5.30-1+deb9u1
libncurses5 (version 6.0+20161126-1) will be upgraded to version 6.0+20161126-1+deb9u1
libncursesw5 (version 6.0+20161126-1) will be upgraded to version 6.0+20161126-1+deb9u1
libnettle6 (version 3.3-1+b1) will be upgraded to version 3.3-1+b2
libnss3 (version 2:3.26.2-1.1) will be upgraded to version 2:3.26.2-1.1+deb9u1
libselinux1 (version 2.6-3+b1) will be upgraded to version 2.6-3+b3
libtinfo5 (version 6.0+20161126-1) will be upgraded to version 6.0+20161126-1+deb9u1
libxfont2 (version 1:2.0.1-3) will be upgraded to version 1:2.0.1-3+deb9u1
linux-image-4.9.0-3-686-pae (version 4.9.30-2+deb9u3) will be upgraded to version 4.9.30-2+deb9u5
ncurses-base (version 6.0+20161126-1) will be upgraded to version 6.0+20161126-1+deb9u1
ncurses-bin (version 6.0+20161126-1) will be upgraded to version 6.0+20161126-1+deb9u1
peasywifi (version 4.4-0) will be upgraded to version 4.5-1
perl-base (version 5.24.1-3+deb9u1) will be upgraded to version 5.24.1-3+deb9u2
quick-remaster (version 1.1.0) will be upgraded to version 1.1.3
uextract (version 1.0.1) will be upgraded to version 1.0.1
xkb-data (version 2.19-1) will be upgraded to version 2.19-1+deb9u1
xserver-common (version 2:1.19.2-1+deb9u1) will be upgraded to version 2:1.19.2-1+deb9u2
xserver-xorg-core (version 2:1.19.2-1+deb9u1) will be upgraded to version 2:1.19.2-1+deb9u2
xserver-xorg-legacy (version 2:1.19.2-1+deb9u1) will be upgraded to version 2:1.19.2-1+deb9u2
porteusbootscripts (version 0.0.4) will be installed

Made a cleansing with bleachbit which removed 147 MB space.
Then wanted to save but because of 474 MB of savings could not save ....only 234 MB Space left omn my Usb-Stick.

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

#716 Post by fredx181 »

Hi backi, thanks for the info.

Aah, using old save folder, I think that explains it.
You see, the config files that are part of the package management (in your save folder) still contain the older versions info, so it *thinks* they need upgraded, but in fact they are already.
You can check that by booting without the changes=... parameter, and you'll see that there are no upgrades available then.

I would love if there's a possible way to keep using old save, but I'm afraid there isn't, sorry. :(
(we can call that a downside of the very strict Debian package management maybe)

One thing you may want to do is to boot without changes, go into your save folder and delete everything except /root, and reboot with changes enabled, then at least you have kept your personal changes, e.g. palemoon settings in ~/.moonchild productions or firefox settings in ~/.mozilla.

Fred

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#717 Post by backi »

Hi Fred !
I did the following (instead of deleting everything except /root) .......
Deleted in my changes Folder..-- /etc/apt and /var
Mounted 01-filesystem.squash.fs of the new created build .....and
copied over> apt and var > to my changes Folder -----
After replacing these folders ....i booted to System ....immediately reloaded Synaptic and found it almost completely updated/upgraded .
...Except .....:

libcurl3-gnutls (version 7.52.1-5) will be upgraded to version 7.52.1-5+deb9u1
porteusbootscripts (version 0.0.4) will be installed

Summary
1 new package will be installed
1 package will be upgraded

57,3 kB of extra space will be used
362 kB have to be downloaded

Conclusion (or not ):
Seems to work ( almost ) as a kind of alternate method for updating/upgrading .
If there is any usefulness in it ?
Maybe ......or maybe not......who knows ...

But i was anyway not in a sentimental.... but in an experimental mood....so i just did it .

So thanks Fred... for lending me your ear .......and get well :) :) :)

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

#718 Post by fredx181 »

backi wrote:Hi Fred !
I did the following (instead of deleting everything except /root) .......
....
....
Hi backi, maybe it should be written in the documentation that "using old save file/folder is not supported, unless you are very creative like backi" :lol:

Looks good how you did!
Conclusion (or not ):
Seems to work ( almost ) as a kind of alternate method for updating/upgrading .
If there is any usefulness in it ?
Maybe ......or maybe not......who knows ...

But i was anyway not in a sentimental.... but in an experimental mood....so i just did it .
Yes, but all together I'd recommend to just remaster with all upgraded packages and personal changes, instead of making new build and doing all the tricks you did, anyway if you're just basically using the same type of build.
So thanks Fred... for lending me your ear .......and get well Smile Smile Smile
Thanks! anyway I can pretend for a while now that I'm better :D

Fred

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

#719 Post by fredx181 »

rcrsn51 wrote:Here is the lastest version of apulse needed to play Youtube audio in some browsers. The package contains a menu entry that runs:
Code:
apulse /usr/lib/firefox/firefox

However, the new Firefoxes require a patch:
Quote:
For example, Firefox now have a sandbox, that blocks file access. It has
predefined list of allowed paths, but ALSA devices are not included by
default. Fortunately, it's possible to add those path by hand. Add "/dev/snd/"
to "security.sandbox.content.write_path_whitelist" parameter in
`about:config`. Note that trailing slash in "/dev/snd/" is required.
This definitely works, thanks!
(with the change in about:config)

However I have my doubts about the menu entry that runs "apulse /usr/lib/firefox/firefox"
As far as I know there's no Stretch firefox that installs to /usr/lib/firefox
I tested with the "firefox-mozilla-build" version 56 from repository:

Code: Select all

deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main
Above repo is included when making newer build with mklive-stretch, so I installed and ran firefox:

Code: Select all

apulse /opt/firefox/firefox
EDIT: rcrsn51 has modified the packages to use "apulse /opt/firefox/firefox" in menu entry:
http://murga-linux.com/puppy/viewtopic. ... 420#971420
Added apulse packages to repos now.
So, installing "firefox-mozilla-build" combined with the change in about:config that menu entry should work for audio on YouTube.

Fred
Last edited by fredx181 on Sat 21 Oct 2017, 17:49, edited 2 times in total.

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

#720 Post by rcrsn51 »

fredx181 wrote:However I have my doubts about the menu entry that runs "apulse /usr/lib/firefox/firefox"
As far as I know there's no Stretch firefox that installs to /usr/lib/firefox
[Edit] /opt would probably be a better choice.

[Edit] I made this change and re-posted the packages above with more instructions.
Last edited by rcrsn51 on Sat 21 Oct 2017, 11:56, edited 2 times in total.

Post Reply