Light-Debian-Core-Live-CD-Wheezy + Porteus-Wheezy

For talk and support relating specifically to Puppy derivatives
Message
Author
User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#3821 Post by fredx181 »

Hi Toni,
Gnome-icon-theme is dependency of gdebi which I had installed in the save file.
I suggest stop making more deb packages from puppy applications till we find safe way to do it and follow some safe procedure in the future. We also need to test/check all available packages. Any suggestion how to do it are welcome. The list for fixing gets longer with every new package we make.
Hmm... yes, probably when a user installs gnome-icon-theme on DebianDog the same conflict with sns will occur.
Ok, maybe /usr/share/pixmaps as path for the icons in case of sns could solve it, but I'm not sure, should be tested.
Shall we divide tasks to test all these? (although I don't exactly know how to do it yet, Debian package management is very complex, we underestimated things)
It could be that there are tools to check if files belong to a package, I'll try to find out about that in the next days.

Edit: First find: apt-file

Code: Select all

apt-get install apt-file
apt-file update # Creates database
# Search for /usr/share/icons/gnome/16x16/actions/help-about.png
root@dog:~# apt-file search /usr/share/icons/gnome/16x16/actions/help-about.png
gnome-icon-theme: /usr/share/icons/gnome/16x16/actions/help-about.png
root@dog:~# 
Ok, that's just one file but I'm almost sure it should be possible (by making script or not) to find out about a whole filelist of a package

I've read about dpkg can do such task also, I'll investigate further.

Fred
Last edited by fredx181 on Sun 26 Oct 2014, 19:43, edited 1 time in total.

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#3822 Post by saintless »

Hi, Fred.

See my edit2 in previous post - result for help-about.png
Lets think a day or two and suggest some procedure for safe making deb package. Then we will post the package list for me and you to edit when we have time. The important thing is not to duplicate work and to fix already included packages in DebianDog for the next update.

Toni

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

#3823 Post by fredx181 »

Hi Toni,

Attached script: apt-file-deb should do it but it's very slow. I'm not surprised about that though, I guess apt-file needs to scan all existing Debian packages for every file from a package.
Depends on apt-file and the apt-file database ('apt-file update' see my previous post)
Usage:

Code: Select all

apt-file-deb /path/<package>.deb
In case you interrupt the script make sure to remove /tmp/filelist before running it again.
I can make it later more advanced, this is just try-out.

Output of frisbee and sns (frisbee showing no results so should be Ok):
(sns has virus :twisted: :) )

Code: Select all

root@dog:~# /root/Desktop/apt-file-deb /media/frisbee_1.2-20140602_i386.deb
root@dog:~# /root/Desktop/apt-file-deb /opt/apps/sns_2.1.1-1.deb
gnome-icon-theme: /usr/share/icons/gnome/48x48/places/network-workgroup.png
gnome-icon-theme: /usr/share/icons/gnome/48x48/actions/help-about.png
gnome-icon-theme: /usr/share/icons/gnome/16x16/places/network-workgroup.png
gnome-icon-theme: /usr/share/icons/gnome/16x16/actions/help-about.png
dhcpcd5: /lib/dhcpcd/dhcpcd-run-hooks
dhcpcd5: /lib/dhcpcd/dhcpcd-hooks/10-mtu
dhcpcd5: /lib/dhcpcd/dhcpcd-hooks/20-resolv.conf
dhcpcd5: /lib/dhcpcd/dhcpcd-hooks/29-lookup-hostname
dhcpcd5: /lib/dhcpcd/dhcpcd-hooks/30-hostname
dhcpcd5: /lib/dhcpcd/dhcpcd-hooks/02-dump
dhcpcd5: /lib/dhcpcd/dhcpcd-hooks/01-test
dhcpcd5: /etc/dhcpcd.conf
root@dog:~# 
So we can check to know at least which packages are clean or not.

Edit: Re-uploaded apt-file-deb.tar.gz, more advanced and a fix:
- Scans symlinks inside package also now.
Different output for frisbee and sns (apparently frisbee has also conflicting file from dhcpcd5):

Code: Select all

root@dog:~# /root/Desktop/apt-file-deb /media/sda3/01-included/frisbee_1.2-20140602_i386.deb
Scanning filelist... Please wait.
If there is no output, the package is 'clean'.
dhcpcd5: /lib/dhcpcd/dhcpcd-run-hooks
root@dog:~# /root/Desktop/apt-file-deb /media/sda3/01-included/sns_2.1.1-1.deb
Scanning filelist... Please wait.
If there is no output, the package is 'clean'.
dhcpcd5: /etc/dhcpcd.conf
dhcpcd5: /lib/dhcpcd/dhcpcd-hooks/01-test
dhcpcd5: /lib/dhcpcd/dhcpcd-hooks/02-dump
dhcpcd5: /lib/dhcpcd/dhcpcd-hooks/30-hostname
dhcpcd5: /lib/dhcpcd/dhcpcd-hooks/29-lookup-hostname
dhcpcd5: /lib/dhcpcd/dhcpcd-hooks/20-resolv.conf
dhcpcd5: /lib/dhcpcd/dhcpcd-hooks/10-mtu
dhcpcd5: /lib/dhcpcd/dhcpcd-run-hooks
gnome-icon-theme: /usr/share/icons/gnome/16x16/actions/help-about.png
gnome-icon-theme: /usr/share/icons/gnome/16x16/places/network-workgroup.png
gnome-icon-theme: /usr/share/icons/gnome/48x48/actions/help-about.png
gnome-icon-theme: /usr/share/icons/gnome/48x48/places/network-workgroup.png
gnome-icon-theme: /usr/share/icons/gnome/16x16/actions/gtk-about.png
gnome-icon-theme: /usr/share/icons/gnome/16x16/places/gtk-network.png
gnome-icon-theme: /usr/share/icons/gnome/48x48/actions/gtk-about.png
gnome-icon-theme: /usr/share/icons/gnome/48x48/places/gtk-network.png
root@dog:~# 
Edit2: although the attached script works well, there's a faster way instead, just as reliable, using this apt-file command only:

Code: Select all

apt-file -D search /path/<package>.deb
Fred[/code]
Attachments
apt-file-deb.tar.gz
New apt-file-deb scanning for symlinks also now
(471 Bytes) Downloaded 270 times
Last edited by fredx181 on Wed 29 Oct 2014, 22:12, edited 4 times in total.

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#3824 Post by saintless »

fredx181 wrote:Attached script: apt-file-deb should do it but it's very slow. I'm not surprised about that though, I guess apt-file needs to scan all existing Debian packages for every file from a package.
Thanks, Fred :)
It will be much easier this way. Lets think also about adding missing dependencies and conflictiong packages and anything else we could find as potential problem. Then we can start editing existing packages and test them.

Toni

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

#3825 Post by fredx181 »

Hi, Toni,
It will be much easier this way. Lets think also about adding missing dependencies and conflictiong packages and anything else we could find as potential problem.
Yes, Ok.

Attached scan results for included packages.
From what I see only sns and obshutdown have problem files belonging to other package.
(I thought I fixed obshutdown long time ago, just one .desktop file needs renamed)
Note: Sometimes it gives results from other packages with similar name, e.g in case of xdm it shows xdms and xdms is not really in the deb package xdm.
Same for rox > roxterm

Fred
Attachments
results-included.tar
scan results for included packages (remove dummy .tar)
(19.04 KiB) Downloaded 279 times

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#3826 Post by saintless »

fredx181 wrote:Attached scan results for included packages.
Thanks, Fred :)
I don't have much time for testing today but I will check this soon as I can.
If we choose some standard for making deb packages we need to change also make-deb-package and pet2deb scripts (at least with changes or adding more information while creating Control file).

Toni

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

#3827 Post by fredx181 »

Hi Toni,
I don't have much time for testing today but I will check this soon as I can.
Test only when you have time, re-uploaded apt-file-deb, see for more info my Edit here:
http://murga-linux.com/puppy/viewtopic. ... 360#805360
Frisbee is not 'clean' also, I suggest adding dhcpcd5 to 'Conflicts' and 'Replaces' line in control file.

Also fixed this:
Note: Sometimes it gives results from other packages with similar name, e.g in case of xdm it shows xdms and xdms is not really in the deb package xdm.
Shows now only results from package files itself (using --fixed-string option for apt-file)

Edit: Started off with new sns deb, removed /usr/share/icons/gnome (icons moved to /usr/share/pixmaps) and added 'dhcpcd5' to 'Replaces' and 'Conflicts' line in control file.
Tested this by replacing frisbee with sns and works fine here.

https://googledrive.com/host/0ByBgCDlZZ ... .1.1-1.deb

Fred

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#3828 Post by saintless »

Thank you, Fred! I will test sns and new apt-file-deb tonight.

Lets make some sort of instruction for making deb package and then we can start editing/testing the existing packages.
I suggest we add to frisbee dependencies also pppoe and wireless-tools.

For example:

1. Check the conflicting files with apt-to-file and move/rename the conflicting files. In case we can not rename them or move them we can point the icon path to existing /usr/share/pixmaps icon. Or use existing debian icons package as dependency. Or create such package with Puppy icons for DebianDog.
2. Check the executable with ldd (if it is dynamic) or some commands inside the script and find the dependency package name with apt-cache search or apt-to-file or with searchmonkey in /var/lib/dpkg/info.
3. Add libc6 as default dependency in every package and make-dep-package and pet2deb (for these two some kind of warning popup window with information the package could include conflicting files could be added).
4. Some more searching for conflicting packages that do the same job (as frisbee and resolvconf for example) - we can't do it proper in each package but at least what we can find can be added as conflicting package.

I'm sure more will be added to this list later.

Toni

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#3829 Post by saintless »

Hi, Fred.

last sns package seems safe to me but lets test more before replacing packages on the site. Maybe we will find more improvements or issues in the next days.

About apt-file-deb - great tool :) Thank you!
I think we should make separate module available for download with apt-file installed and updated, apt-file-deb and maybe aptitude included. It will be very useful for us.
Do you know if adding new repository in sources.list will change the result for apt-file database? I think we have all official debian rpositories but I'm not 100% sure. Maybe adding some more as repositories for yad and skype and others and then updating apt-file database and creating separate module will improve apt-file search output (in case some debs from missing repository have also conflicting files)

Edit - important thing to make clear about editing old and making new deb packages. After adding more dependencies and conflicting files all packages will be more or less compatible with any debian system except the PATH. What are we going to do with /opt/bin -> change it, add symlinks to /usre/local/bin, auto-create/remove symlinks to /usr/local/bin after installing/uninstalling, exporting /opt/bin in PATH after installing, other suggestion...

Toni

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

#3830 Post by fredx181 »

Hi Toni,
1. Check the conflicting files with apt-to-file and move/rename the conflicting files. In case we can not rename them or move them we can point the icon path to existing /usr/share/pixmaps icon. Or use existing debian icons package as dependency. Or create such package with Puppy icons for DebianDog.
2. Check the executable with ldd (if it is dynamic) or some commands inside the script and find the dependency package name with apt-cache search or apt-to-file or with searchmonkey in /var/lib/dpkg/info.
3. Add libc6 as default dependency in every package and make-dep-package and pet2deb (for these two some kind of warning popup window with information the package could include conflicting files could be added).
4. Some more searching for conflicting packages that do the same job (as frisbee and resolvconf for example) - we can't do it proper in each package but at least what we can find can be added as conflicting package.
So far I agree.
Something wrong I found btw with name of package in control file containing upper-case chars.
For example: Resize-Save-File:

Code: Select all

root@dog:~# apt-cache policy Resize-Save-File
N: Unable to locate package Resize-Save-File
root@dog:~# apt-cache policy resize-save-file
resize-save-file:
  Installed: 1.0.0-1
  Candidate: 1.0.0-1
  Version table:
 *** 1.0.0-1 0
        100 /var/lib/dpkg/status
root@dog:~#
 root@dog:~# apt-cache search Resize-Save-File
resize-save-file - utility
So it seems the upper-case has been converted to lowercase (and registered like that)
Now when custom saintless repository enabled in sources.list:

Code: Select all

root@dog:~# apt-cache search Resize-Save-File
Resize-Save-File - utility
resize-save-file - utility
root@dog:~# apt-cache policy Resize-Save-File
Resize-Save-File:
  Installed: (none)
  Candidate: 1.0.0-1
  Version table:
     1.0.0-1 0
        500 http://www.smokey01.com/saintless/DebianDog/Packages/Included/ ./ Packages
root@dog:~# apt-cache policy resize-save-file
resize-save-file:
  Installed: 1.0.0-1
  Candidate: 1.0.0-1
  Version table:
 *** 1.0.0-1 0
        100 /var/lib/dpkg/status
It seems double registered as installed and uninstalled.
So I'm not sure what's happening but better use lower-case name is my conclusion.
Do you know if adding new repository in sources.list will change the result for apt-file database?
I've just tried adding Skype repo from ubuntu and from debian and both didn't work as being registered by apt-file.

Edit: apt-file cache used is in /var/cache/apt/apt-file/
Edit - important thing to make clear about editing old and making new deb packages. After adding more dependencies and conflicting files all packages will be more or less compatible with any debian system except the PATH. What are we going to do with /opt/bin -> change it, add symlinks to /usre/local/bin, auto-create/remove symlinks to /usr/local/bin after installing/uninstalling, exporting /opt/bin in PATH after installing, other suggestion...
I can't really decide on that yet. Some time ago Terry wrote that symlinks inside a package is bad practice (not sure why though).
So maybe best to move the binaries to /usr/local/bin in the packages.
Still then there could be dependencies on scripts or binaries in /opt/bin so I'd say better move everything to /usr/local/bin (also in iso)
But again, I'm not sure yet.

Edit2: Just found out that although the script apt-file-deb works, it's overcomplicated and slow.
Just use apt-file only, in terminal:

Code: Select all

apt-file -D search /path/<packagename>.deb
Reliable and much faster!

Fred

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#3831 Post by saintless »

Hi, Fred.
fredx181 wrote:Something wrong I found btw with name of package in control file containing upper-case chars.
For example: Resize-Save-File:
...........................................................
It seems double registered as installed and uninstalled.
So I'm not sure what's happening but better use lower-case name is my conclusion.
Yes, I agree. I will change it while editing all other things inside.
I've just tried adding Skype repo from ubuntu and from debian and both didn't work as being registered by apt-file.
OK, then I will make and upload separate with updated apt-file database module apt-file+apt-file-deb+aptitude on the site. It will be mostly for us but it is good to have it available for download.
Some time ago Terry wrote that symlinks inside a package is bad practice (not sure why though).
I do not see a problem since official debian packages contain symlinks included. For example iceweasel has symlink /usr/bin/iceweasel
This is easy and sure way to auto-add/remove the links installing/uninstalling the package.
So maybe best to move the binaries to /usr/local/bin in the packages.
Still then there could be dependencies on scripts or binaries in /opt/bin so I'd say better move everything to /usr/local/bin (also in iso)
But again, I'm not sure yet.
Jwm version menu changing depends on /opt/bin first in PATH. Also I'm not sure how many scripts and desktop files depend in /opt/bin as full PATH to the executable script. I do not like to move all from /opt/bin and I think this will create much more troubles for me in Jwm version. On page 27 Terry suggested to use /opt directory - I prefer not to change it now.

My suggestion is to keep what we have now in /opt/bin as it is.
In all included packages to keep also /opt/bin (for older DD versions compatibality) and add symlinks to /usr/local/bin
In all not included (extra, testing) packages to change the location to /usr/local/bin
For all new packages we make to use /usr/local/bin.
Edit2: Just found out that although the script apt-file-deb works, it's overcomplicated and slow.
Just use apt-file only, in terminal:

Code: Select all

apt-file -D search /path/<packagename>.deb
Reliable and much faster!
OK, Fred. I will use it this way.

BTW roxterm-gtk2 deb will be removed from included on the site. I will add the official version in Jwm. DebianDog has alsmost all dependencies included now and it adds almost nothing. No need to keep moded package instead.

Toni

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

#3832 Post by fredx181 »

Hi, Toni,
Quote:
I've just tried adding Skype repo from ubuntu and from debian and both didn't work as being registered by apt-file.

OK, then I will make and upload separate with updated apt-file database module apt-file+apt-file-deb+aptitude on the site. It will be mostly for us but it is good to have it available for download.
Please include attached apt-file-debdir instead of apt-file-deb, it can scan whole folder + subfolders containing .deb and is much faster.
Usage:

Code: Select all

apt-file-debdir /path/directory-containing-deb-files
It creates a file: results-<name-of-folder-used> in HOME.
I do not see a problem since official debian packages contain symlinks included. For example iceweasel has symlink /usr/bin/iceweasel
This is easy and sure way to auto-add/remove the links installing/uninstalling the package.
Yes, I see, then adding symlinks in /usr/local/bin is Ok.

As you said, to avoid duplicate effords, I'm planning today to scan all .deb packages in
http://www.smokey01.com/saintless/DebianDog/Packages/ and its subfolders.
I also found some workaround to compare with each other which is a little difficult to explain, so I better do it.
I'll post the results if you agree.

Fred
Attachments
apt-file-debdir.tar.gz
Scan directory containing .deb packages, results file in ~/
(377 Bytes) Downloaded 252 times

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#3833 Post by saintless »

Hi, Fred.
fredx181 wrote:As you said, to avoid duplicate effords, I'm planning today to scan all .deb packages in
http://www.smokey01.com/saintless/DebianDog/Packages/ and its subfolders.
I also found some workaround to compare with each other which is a little difficult to explain, so I better do it.
I'll post the results if you agree.
Great, thank you! :)
Can you also post a list of packages you like to edit? I will take some of the others. I suggest we start modding only /packages/included for now. We need more testing with included if we are going to replace them for the next version.
Extra, testing and new packages we will change to /usr/local/bin to avoid syminking in the future.
Then we can create some procedure post how to make further packages in howto thread.

Here is 09-find-file-debdir-aptitude module (use right click -> Save link as):
http://smokey01.com/saintless/DebianDog ... e.squashfs
Your scripts are in /usr/local/bin and apt-file is updated. Aptitude included in case we have troubles resolving some problem with apt-get.

Toni

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

#3834 Post by fredx181 »

Hi Toni,
Here is 09-find-file-debdir-aptitude module (use right click -> Save link as):
http://smokey01.com/saintless/DebianDog ... e.squashfs
Thanks!, it will be useful.

Here are the results from... 4 ways of scanning the DD .deb packages.
Maybe it's overdone but I modified the apt-file cache for some of the scans.
See inside attached archive the files:
- results-excluding-DD-pkgs-in-cache, normal scan without modifying cache.
- results-Included_folder_only-excluding-DD-pkgs-in-cache, normal as above but only the 'Included' folder from the site.
- results-including-DD-pkgs-in-cache, modified the cache so files from DD-packages are included/added in the cache.
- results-DD-pkgs-compared, modified the cache including only files from DD-packages, nothing else, for easy comparing and see if there are overlapping files between DD-packages.
Indeed let's concentrate on 'Included' and study first a bit on these results.
Maybe later you can edit first half of debs in Included and I do second half.

Fred
Attachments
4-scan-results.tar.gz
(19.86 KiB) Downloaded 244 times

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#3835 Post by saintless »

Thanks, Fred!

Much information to explore proper but from quick reading we can mark this changes:

1. Adding links (included or from postinst and prerm scriptrs) from /opt/bin to /usr/local/bin and from /opt/lib to /usr/local/lib in all included.
2. All extra and new builded packages with /usr/local/bin
3. Adding libc6 as dependency in each package.
4. Searching for dependencies with ldd or separate searching the command names inside the script.
5. Adding popup message possible conflicting packages are not covered in make-deb-package and pet2deb.
6. Done. roxterm-gtk2_2.6.5-1_i386-old.deb and roxterm-gtk2_2.6.5-1_i386.deb - will be removed from the site and official deb installed with all dependencies.
7. Done. ffconvert_1.4.2_i386.deb (with included probepart) will be removed from the site.
8. New conflicting packages to be added inside Control:
a. frisbee -> conflicts with sns, xpns-tool, dhcpcd5
b. sns -> conflicts with frisbee, xpns-tool, dhcpcd5
c. xpns-tool -> conflicts with frisbee, sns, dhcpcd5
d. obshutdown -> conflicts with xfce4-session (same somehow to be added in 021-apps-porteus.squashfs - it updates status from lines in mountlink).
e. gnome-mplayer-1.0.7 - conflicts with gmplayer-portable
f. gmplayer-portable - conflicts with gnome-mplayer-1.0.7
(gmplayer-portable is here and also wxhexeditor (from Sid) is compatible with wheezy version. Maybe I should move/copy them in wheezy extra packages).

9. Resize-Save-File changed in Control with lower-case.
10. Done. alsa-equalizer-fix (it is testing package only partly solving the problem as far as I remember - maybe will be best to remove it).
11. Remove the deb package Change-Jwm-Theme. - done
12. Inside the scripts gsu line changed to:

Code: Select all

if [ -z `which gsu` ]; then
[ "`whoami`" != "root" ] && exec gksu ${0} "$@"
else
[ "`whoami`" != "root" ] && exec gsu ${0} "$@"
fi
13. If script contains gsu line add dependencies in Control gsu | gksu
14. In case symlinking /opt/lib to /usr/local/lib add ldconfig in postinst script.
15. Find different way to make x11-xserver-utils and xdm not upgradable. changing the version number as it is now cheats standard Debian to upgrade both.
16. For packages with Conflicts: line in Control add the conflicting packages in Replaces: line too. Otherwise dpkg -i and Synaptic will give broken package message.


I will edit this post with the changes found later from you and me (like next changes post).

=========================================

Testing moded packages repository here:
http://smokey01.com/saintless/DebianDog ... sting/tmp/

Problems found in DebianDog:

===========================

Problems found in standard Gnome Debian:

1. desktop-editor - menumaker does not start - FIXED.
2. ffconvert exits with segmentation fault - FIXED.
3. Seems /usr/local/lib links need fixing. Not sure how exactly yet - FIXED by adding ldconfig in postinst.
4. x11-xserver-utils and xdm moded for DebianDog - see 15.

=====================================

Toni
Last edited by saintless on Thu 18 Dec 2014, 19:43, edited 12 times in total.

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

#3836 Post by fredx181 »

Hi Toni,
Much information to explore proper but from quick reading we can mark this changes:
...........
Good summary, you have organizing talent! (but I've noticed that already before :) )
d. obshutdown -> conflicts with xfce4-session (same somehow to be added in 021-apps-porteus.squashfs - it updates status from lines in mountlink).
I'm a little confused about how this works ('/opt/bin/0-21-update-dpkg-porteus' and mountlink).
I think it's enough to:
- rename 'xfce4-session-logout.desktop' to 'logout.desktop' in 021-apps-porteus.squashfs and
- edit 021-apps-porteus.squashfs/var/lib/dpkg/info/obshutdown-porteuswheezy.list (change also name 'xfce4-session-logout.desktop' to 'logout.desktop').
10. alsa-equalizer-fix (it is testing package only partly solving the problem as far as I remember - maybe will be best to remove it) - to solve the conflicting /etc/asound.conf with debian-edu-config.
Yes, I already thought the same, let's remove it then.

Fred

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#3837 Post by saintless »

fredx181 wrote:I'm a little confused about how this works ('/opt/bin/0-21-update-dpkg-porteus' and mountlink).
I think it's enough to:
- rename 'xfce4-session-logout.desktop' to 'logout.desktop' in 021-apps-porteus.squashfs and
- edit 021-apps-porteus.squashfs/var/lib/dpkg/info/obshutdown-porteuswheezy.list (change also name 'xfce4-session-logout.desktop' to 'logout.desktop').
Thanks, Fred, I will do it this way.
Just for information - mountlink starts /opt/bin/0-21-update-dpkg-porteus and then removes the update line from mountlink. In case remaster is made it has obshutdown included in dpkg database.
0-21-update-dpkg-porteus adds the entry for obshutdown in status and available and auto-removes /opt/bin/0-21-update-dpkg-porteus, /var/lib/dpkg/0-21-available.porteus and /var/lib/dpkg/0-21-status.porteus

Edit: The packages from 6, 7 and 10 removed.

Toni

User avatar
Locky
Posts: 23
Joined: Wed 01 Mar 2006, 11:23

a few newbie questions re: remastering

#3838 Post by Locky »

Hi,

I hope that I am not posting in the wrong place here...

I want to run this version of puppy linux from a slightly memory constrained laptop. Eeepc 1015BX with 2 x 1000 Mhz processors and 1 GB of ram (soldered to the main board :twisted: )...

Anyway what attracted me was the apt-get support and the ability to run in ram and have some decent performance for word processing and web browsing on the go.

So...

Now I have managed to boot and make quite a few changes installed aptitude removed some stuff and installed tint2 and intend to make it as similar to #! crunchbang as possible but FAST with the system in ram.

Now for the questions...

1) After making my changes how do I make sure that they are persistent? Is it best to remaster? (and what does this mean specifically? do I then have to copy the iso to a USB again?)

2) Is there an easy to understand explanation of what the remaster process is somewhere? (tried searching but there are so many puppy variants that I wasn't sure what was what...)

3) Can I install to my hard drive and then run everything in ram? Does that then mean that I have to save changes at log out?

A bit confused... sorry 'bout that, :shock:

Cheers

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

Re: a few newbie questions re: remastering

#3839 Post by saintless »

Hi. Locky.
Posting questions here is fine, but a little bit more information is needed.
What is the version you use? DebianDog or Porteus-Wheezy? Link to the iso will do the job.
Porteus-Wheezy has only porteus-boot method.
For DebianDog we have three different boot methods.
1) After making my changes how do I make sure that they are persistent? Is it best to remaster? (and what does this mean specifically? do I then have to copy the iso to a USB again?)
You can use safe file, safe folder, save partition, save changes in separate sfs module, remaster. Save options are different for each boot method (porteus-boot is more pupy-like):
http://www.murga-linux.com/puppy/viewto ... 571#771571
Remastering keeps the system size smaller (without need to keep your changes in save file). Since some programs are uninstalled I think the best way to go is remastering.
2) Is there an easy to understand explanation of what the remaster process is somewhere? (tried searching but there are so many puppy variants that I wasn't sure what was what...)
RemasterDog instruction you can find here:
http://www.murga-linux.com/puppy/viewto ... 212#773212
3) Can I install to my hard drive and then run everything in ram? Does that then mean that I have to save changes at log out?
You can use frugal or full install.
With frugal install you still need to use save file/folder/partition to save changes.
With full install no need to use save file to save the changes.
DebianDog frugall and full installer instruction (you can install it on usb or hdd ext2,3,4 partition):
http://www.murga-linux.com/puppy/viewto ... 207#773207

I guess it is still not clear enough but after posting the iso download link (and if you can also the boot code you use) - I will try to explain better.

Toni

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#3840 Post by saintless »

Hi, Fred!

I suggest to add also in field Description: if the package is suitable or not with standard Debian.This description is visible after running:

Code: Select all

apt-cache search package-name
For example change-jwm-theme is only DebianDog compatible (unless I add postinst script to replace ~/.jwmrc theme part with include /path-to-theme-file line). This will need much testing first so I prefer to describe it as incompatible with standard Debian for now.

Toni

Post Reply