Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 14 Nov 2018, 05:04
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
A Debian-Stretch-Live Starter Kit
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 13 of 14 [199 Posts]   Goto page: Previous 1, 2, 3, ..., 11, 12, 13, 14 Next
Author Message
dcung

Joined: 13 Jul 2018
Posts: 229
Location: Down Under - 3rd rock from Sun.

PostPosted: Tue 11 Sep 2018, 18:49    Post subject:  

fredx181 wrote:
If you want lid close to execute shutdown, change to:
Code:
HandleLidSwitch=poweroff


I tried that on 3 laptops (Stretch Starter Kit 64bit).
Lenovo/Thinkpad Mini 10
Dell Vostro 1510
Dell Latitude D630

All 3 shutdown properly when lid is closed. ๐Ÿ‘

I have not tried acpid to fix 'suspend' yet.

Thank you Fred.
Back to top
View user's profile Send private message 
dcung

Joined: 13 Jul 2018
Posts: 229
Location: Down Under - 3rd rock from Sun.

PostPosted: Tue 11 Sep 2018, 21:19    Post subject:  

I use loadmodule to load sfs in startup.

Is there a way to suppress the 'success' message/popup?
So I don't have to click 'close'.

I tried redirecting to /dev/null or piping <enter>. Didn't work, maybe I used wrong syntax (?).
Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 1152

PostPosted: Tue 11 Sep 2018, 21:30    Post subject:  

dcung wrote:
I use loadmodule to load sfs in startup.

Is there a way to suppress the 'success' message/popup?
So I don't have to click 'close'.

I tried redirecting to /dev/null or piping <enter>. Didn't work, maybe I used wrong syntax (?).


You don't need to use loadmodule. Just put them in the /live folder. To control the order they load, prefix them in alpha-numeric order.

e.g.
01-filesystem.squashfs
66-vlc.squashfs
77-prboom.squashfs
Back to top
View user's profile Send private message 
dcung

Joined: 13 Jul 2018
Posts: 229
Location: Down Under - 3rd rock from Sun.

PostPosted: Tue 11 Sep 2018, 21:59    Post subject:  

dancytron wrote:
You don't need to use loadmodule. Just put them in the /live folder. To control the order they load, prefix them in alpha-numeric order.


We have been thru this dancytron...not suitable for my need... Smile
http://www.murga-linux.com/puppy/viewtopic.php?t=113210&start=457

So I used Fred's suggestion back then. Just want to 'improve' it, if possible..๐Ÿ™‚
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3528
Location: holland

PostPosted: Wed 12 Sep 2018, 05:09    Post subject:  

dcung wrote:
I use loadmodule to load sfs in startup.

Is there a way to suppress the 'success' message/popup?
So I don't have to click 'close'.

I tried redirecting to /dev/null or piping <enter>. Didn't work, maybe I used wrong syntax (?).


Only way I can think of is to comment out the yad message in /usr/local/bin/loadmodule, probably line 171, so becomes:
Code:
# yad --title="LoadModule" --center --width="400" --text=" SUCCESS: Module '$BUNDLE' activated " --button="gtk-close:0" &


Or add a timeout:
Code:
yad --title="LoadModule" --center --width="400" --text=" SUCCESS: Module '$BUNDLE' activated " --button="gtk-close:0" --timeout=5 &


Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
dcung

Joined: 13 Jul 2018
Posts: 229
Location: Down Under - 3rd rock from Sun.

PostPosted: Wed 12 Sep 2018, 16:46    Post subject:  

fredx181 wrote:
Or add a timeout:
Code:
yad --title="LoadModule" --center --width="400" --text=" SUCCESS: Module '$BUNDLE' activated " --button="gtk-close:0" --timeout=5 &



I opted the timeout option, and timeout set to 1 instead. This way, I get to see it but don't have to click to close the popup.

Thank you Fred.๐Ÿ™‚
Back to top
View user's profile Send private message 
dcung

Joined: 13 Jul 2018
Posts: 229
Location: Down Under - 3rd rock from Sun.

PostPosted: Wed 12 Sep 2018, 20:25    Post subject:  

I thought I check if there's 'working' wine in Stretch Dog (64 bit) thru repo.

These are applicable to both Starter Kit and Stretch Dog, since they're 'twin/sibling'.
I start from "Fresh" and update database for each testing.

'OOTB' there's wine 1.8.7 -> doesn't install/work.

I followed link below since Stretch is one of 'supported' distro.
https://wiki.winehq.org/Debian
Not too difficult to follow.

After following the guide, ie adding release key, list of packages, enable 386 architecture, etc.
all sorts 'additional' of wine packages appear in synaptic.

I tried Wine 3.0.2 (wine-stable) install using apt-get as per guide. Installing 'missing' dependency one after another until it won't go further, citing 'broken' package.

So, I re-start Fresh, and using 'synaptic' route.
Well, it does not go very far.
Any wine (3.0.2) you selected, can not start/proceed install.
'Broken' package 'OOTB'. And using broken filter, it shows wine is broken.

This need someone with more expertise than me to look into...๐Ÿ™‚

Probably a known issue solved in other thread? Sorry if I missed it.

Code:

The following information may help to resolve the situation:
The following packages have unmet dependencies:
 wine-stable-i386:i386 : Depends: libgphoto2-6:i386 (>= 2.5.10) but it is not going to be installed
                         Depends: libxml2:i386 (>= 2.9.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@dstretch-sh:~/wine3#
snappie.png
 Description   
 Filesize   102.66 KB
 Viewed   364 Time(s)

snappie.png

Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3528
Location: holland

PostPosted: Thu 13 Sep 2018, 08:51    Post subject:  

Hi dcung, have to say sorry again, another bug.

Quote:
wine-stable-i386:i386 : Depends: libgphoto2-6:i386 (>= 2.5.10) but it is not going to be installed
Depends: libxml2:i386 (>= 2.9.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


libxml2 is pinned in /etc/apt/preferences.
Never caused that a problem, but obviously it is now (when adding i386 arch and installing i386 packages)
Most easy to do solution:
Code:
mv -f /etc/apt/preferences /etc/apt/preferences.bak

And then:
Code:
apt-get install winehq-stable


EDIT: Fixed this by editing preferences file (to be copied from github when doing a build with mklive-stretch), so doing a new build with mklive-stretch will not cause this problem.

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12324
Location: Stratford, Ontario

PostPosted: Thu 13 Sep 2018, 15:43    Post subject:  

rcrsn51 wrote:
dcung wrote:
I added broadcom driver.
PeasyWifi - wlan0 not activated/detected.

This is probably an rfkill block. Clicking the Status button would confirm that.

The latest version of PWF has code to auto-clear the block.


Any update on this? I checked and Broadcom wifi definitely works with PWF in the 32bit Starter Kit.
Back to top
View user's profile Send private message 
dcung

Joined: 13 Jul 2018
Posts: 229
Location: Down Under - 3rd rock from Sun.

PostPosted: Thu 13 Sep 2018, 16:55    Post subject:  

rcrsn51 wrote:
rcrsn51 wrote:
dcung wrote:
I added broadcom driver.
PeasyWifi - wlan0 not activated/detected.

This is probably an rfkill block. Clicking the Status button would confirm that.

The latest version of PWF has code to auto-clear the block.


Any update on this? I checked and Broadcom wifi definitely works with PWF in the 32bit Starter Kit.


I did reinstall PWF 4.6.2 thru synaptic after your posting. It was working (and yes it was rfkill), but not consistent. I was getting 50/50 out of 4 reboots.
Since HP Mini was a slow box (and I didn't invest SSD on this one), I didn't try too many times. I reverted to frisbee again.

I know PWF definitely works with Broadcom wifi. All my other Dell's are using PWF with Starter Kit. When it works, I prefer PWF since it obtained DHCP address quicker than frisbee.
Back to top
View user's profile Send private message 
dcung

Joined: 13 Jul 2018
Posts: 229
Location: Down Under - 3rd rock from Sun.

PostPosted: Thu 13 Sep 2018, 19:24    Post subject:  

fredx181 wrote:

Code:
mv -f /etc/apt/preferences /etc/apt/preferences.bak

And then:
Code:
apt-get install winehq-stable


Thanks Fred.
Confirmed.
snappie.png
 Description   
 Filesize   61.12 KB
 Viewed   215 Time(s)

snappie.png

Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 1152

PostPosted: Thu 13 Sep 2018, 19:48    Post subject:  

fredx181 wrote:
Hi dcung, have to say sorry again, another bug.

Quote:
wine-stable-i386:i386 : Depends: libgphoto2-6:i386 (>= 2.5.10) but it is not going to be installed
Depends: libxml2:i386 (>= 2.9.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


libxml2 is pinned in /etc/apt/preferences.
Never caused that a problem, but obviously it is now (when adding i386 arch and installing i386 packages)
Most easy to do solution:
Code:
mv -f /etc/apt/preferences /etc/apt/preferences.bak

And then:
Code:
apt-get install winehq-stable


EDIT: Fixed this by editing preferences file (to be copied from github when doing a build with mklive-stretch), so doing a new build with mklive-stretch will not cause this problem.

Fred


So to fix in existing version, just delete:

Quote:
Package: libxml2
Pin: version 2.9.1+dfsg1-5+deb8u4
Pin-Priority: 1001

Package: libxml2-dev
Pin: version 2.9.1+dfsg1-5+deb8u4
Pin-Priority: 1001


from existing /etc/apt/preferences?
Back to top
View user's profile Send private message 
dcung

Joined: 13 Jul 2018
Posts: 229
Location: Down Under - 3rd rock from Sun.

PostPosted: Fri 14 Sep 2018, 05:04    Post subject:  

dcung wrote:
fredx181 wrote:

Code:
mv -f /etc/apt/preferences /etc/apt/preferences.bak

And then:
Code:
apt-get install winehq-stable


Thanks Fred.
Confirmed.


Hi Fred,

I only tested Starter Kit 64 this morning.

This afternoon, I tested StretchDog64.
The above worked on Starter Kit but not on Stretch Dog.
Stretch Dog comes up with another broken packages.

Code:
root@live:~# apt-get install winehq-stable
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 winehq-stable : Depends: wine-stable (= 3.0.2~stretch)
E: Unable to correct problems, you have held broken packages.
root@live:~# apt-get install wine-stable
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine-stable : Depends: wine-stable-i386 (= 3.0.2~stretch)
E: Unable to correct problems, you have held broken packages.
root@live:~# apt-get install wine-stable-i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine-stable-i386:i386 : Depends: libasound2-plugins:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@live:~#
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3528
Location: holland

PostPosted: Fri 14 Sep 2018, 07:39    Post subject:  

Hi dcung, dancytron,

dancytron wrote:
So to fix in existing version, just delete:

Quote:
Package: libxml2
Pin: version 2.9.1+dfsg1-5+deb8u4
Pin-Priority: 1001

Package: libxml2-dev
Pin: version 2.9.1+dfsg1-5+deb8u4
Pin-Priority: 1001

from existing /etc/apt/preferences?


Yes, but I think it's required that there's only one empty line between the pinned sections, not 2 or 3.
And, for safety, better remove wget section also, after all it appeared to be not a good idea to pin these packages.
(it was done to make the ISO smaller because the newer versions need more dependencies)


@dcung
Well... the addition of i386 architecture seems to give more problems, it has been very little tested, but now you do, thanks again for reporting !
The problem on Stretchdog should be solved now (the real source was because of gnome-mplayer package, added new version to repo with fixed dependencies)
This same problem should have been on the starter-kit also if it would include gnome-mplayer , btw.

As I said, should be fixed (tested once) but now testing again I get another problem:
Code:
Err:1 https://dl.winehq.org/wine-builds/debian stretch/main i386 wine-stable-i386 i386 3.0.3~stretch
  404  Not Found
Err:2 https://dl.winehq.org/wine-builds/debian stretch/main amd64 wine-stable amd64 3.0.3~stretch
.....
.....

No idea what's wrong, getting this on the Starter-kit and on Stretchdog, maybe in time it will solve itself.

EDIT: Above errors do not appear anymore for me, so was temporary problem.

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
dcung

Joined: 13 Jul 2018
Posts: 229
Location: Down Under - 3rd rock from Sun.

PostPosted: Fri 14 Sep 2018, 17:04    Post subject:  

fredx181 wrote:
This same problem should have been on the starter-kit also if it would include gnome-mplayer , btw.

Understandably the 'lighter' Starter Kit had less (potential) conflicts.

I have re-tested both Starter Kit & Stretch Dog, twice each OOTB.
And it seems that you have resolved 'all' the issues.

Your 'temporary' problem, I would guess that it was related to changes in WineHQ.
In between of our tests, there appears to be upgrade of Wine happening. v3.0.2 -> v3.0.3

Hope there's no more conflicts. But never-mind if there is. Such is the nature of the game, Fred...๐Ÿ™‚
2018-09-15-063442_412x475_scrot.png
 Description   
 Filesize   66.35 KB
 Viewed   125 Time(s)

2018-09-15-063442_412x475_scrot.png

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 13 of 14 [199 Posts]   Goto page: Previous 1, 2, 3, ..., 11, 12, 13, 14 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1882s ][ Queries: 12 (0.0408s) ][ GZIP on ]