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 Fri 16 Nov 2018, 14:15
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How to compare 2 puppies of same tahr flavor? (packages etc)
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [14 Posts]  
Author Message
johnywhy


Joined: 20 Aug 2011
Posts: 872

PostPosted: Sun 12 Aug 2018, 09:57    Post subject:  How to compare 2 puppies of same tahr flavor? (packages etc)  

i need to compare an unmodified x-tahr to a modified x-tahr.

Both are exact same puppy release version.

By "modified", i just mean i removed a bunch of builtin packages, installed a bunch of pets and packages, and tweaked the desktop to my liking.

Remaster fails on the modified puppy, but works on the unmodified puppy.

So i want to determine exactly how the 2 puppies differ.

i get:
Code:
# dpkg -l
dpkg: can't open '/var/lib/dpkg/status': No such file or directory


THX

_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Back to top
View user's profile Send private message 
nic007


Joined: 13 Nov 2011
Posts: 2676
Location: Cradle of Humankind

PostPosted: Sun 12 Aug 2018, 09:59    Post subject:  

I think your savefile is the problem like I've told you before.
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 872

PostPosted: Sun 12 Aug 2018, 10:00    Post subject:  

in what way? that's what i'm trying to determine.

the test you recommended previously (i thought) was to remaster a puppy that didn't have a save file. That worked.

Now i remastered a puppy with a save-file. That worked too.

thx

_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Back to top
View user's profile Send private message 
nic007


Joined: 13 Nov 2011
Posts: 2676
Location: Cradle of Humankind

PostPosted: Sun 12 Aug 2018, 10:18    Post subject:  

You can do remasters without your savefile (that is not customized) but not with that specific savefile of yours. All your tinkering with removing builtin stuff, installing stuff, etc. has an impact (are recorded) in the savefile. Something seems to have gone wrong during these processes which prohibits making a remaster with the savefile loaded. You are looking for answers in all the wrong places, I'm sure it's got something to do with your savefile. Removing the builtin applications with the application from menu does not really remove the applications, they are still in the base sfs but your savefile treats them as so-called "white-out" files which actually just mean that they are "hidden" from view. The only way to actually remove the builtin applications physically is to do a remaster with the savefile running or editing the base sfs file (and making a new one).
Back to top
View user's profile Send private message 
nic007


Joined: 13 Nov 2011
Posts: 2676
Location: Cradle of Humankind

PostPosted: Sun 12 Aug 2018, 10:20    Post subject:  

johnywhy wrote:
in what way? that's what i'm trying to determine.

the test you recommended previously (i thought) was to remaster a puppy that didn't have a save file. That worked.

Now i remastered a puppy with a save-file. That worked too.

thx

Is that the same savefile that you had problems with previously?
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 872

PostPosted: Sun 12 Aug 2018, 10:23    Post subject:  

nic007 wrote:
You can do remasters without your savefile (that is not customized)


and with a savefile (but not customized).

Quote:
but not with that specific savefile of yours. All your tinkering with removing builtin stuff, installing stuff, etc. has an impact (are recorded) in the savefile. Something seems to have gone wrong during these processes which prohibits making a remaster with the savefile loaded.

exactly. You're saying the mods i did are the problem.

Quote:
You are looking for answers in all the wrong places, I'm sure it's got something to do with your savefile.

so the mods i did are not the problem?

_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Back to top
View user's profile Send private message 
nic007


Joined: 13 Nov 2011
Posts: 2676
Location: Cradle of Humankind

PostPosted: Sun 12 Aug 2018, 10:31    Post subject:  

You had a problem with the old big savefile because you couldn't do a remaster whilst running with it. Is that correct? The assistance I was giving, was to try and save all the work you put into the old savefile (all your pet installations, etc.). That's all I'm talking about. If you got rid of the old savefile and are using another one and are able to do a remaster with the new savefile, that's great. Back to your original question - the remaster attempts to update the packages lists as far as I know. Look in /root/.packages if you can find what you are looking for.
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 872

PostPosted: Sun 12 Aug 2018, 11:19    Post subject:  

nic007 wrote:
Look in /root/.packages

in a new x-tahr (with save file), the file woof-installed-packages is empty.

but in my customized x-tahr, woof-installed-packages is loaded with tons of stuff. But not stuff i installed-- it all looks like built-in stuff. So, how is woof-installed-packages file different from the contents of /root/.packages/builtin_files ? Why is it empty on a non-customized puppy?

Sample contents of woof-installed-packages:
Quote:
915resolution-0.5.3-patched20110617|915resolution|0.5.3-patched20110617||BuildingBlock|36K||915resolution-0.5.3-patched20110617.pet||add widescreen resolutions to video bios, intel video chips only||||
acpi|acpi|||BuildingBlock|44K||acpi.pet||no description provided|ubuntu|trusty||
acpid-busibox-4|acpid-busibox|4||BuildingBlock|120K||acpid-busibox-4.pet||acpi deamon with dialog box and lid supend||||
align-1.7.1|align|1.7.1||BuildingBlock|40K||align-1.7.1.pet|+perl_tiny|align text into columns||||
alsa-base_1.0.25+dfsg|alsa-base|1.0.25+dfsg|0ubuntu4|Filesystem;filemanager|502K|pool/main/a/alsa-driver|alsa-base_1.0.25+dfsg-0ubuntu4_all.deb|+module-init-tools&ge3.2.1,+linux-sound-base,+udev|ALSA
etc....

_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Back to top
View user's profile Send private message 
nic007


Joined: 13 Nov 2011
Posts: 2676
Location: Cradle of Humankind

PostPosted: Sun 12 Aug 2018, 11:24    Post subject:  

Because all builtin packages are not woof-installed packages, I think.
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 872

PostPosted: Sun 12 Aug 2018, 12:10    Post subject:  

nic007 wrote:
Because all builtin packages are not woof-installed packages, I think.

i'm seeing the same packages in both places:

/root/.packages/woof-installed-packages

/root/.packages/builtin_files/

_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 1275

PostPosted: Sun 12 Aug 2018, 22:31    Post subject: Re: How to compare 2 puppies of same tahr flavor? (packages etc)  

johnywhy wrote:
i need to compare an unmodified x-tahr to a modified x-tahr.

Both are exact same puppy release version.

By "modified", i just mean i removed a bunch of builtin packages, installed a bunch of pets and packages, and tweaked the desktop to my liking.

Remaster fails on the modified puppy, but works on the unmodified puppy.

So i want to determine exactly how the 2 puppies differ.

i get:
Code:
# dpkg -l
dpkg: can't open '/var/lib/dpkg/status': No such file or directory


THX


If it uses puppies package manager than look under /root/.packages

dpkg is for debian and ubuntu.
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 12972
Location: Gatineau (Qc), Canada

PostPosted: Mon 13 Aug 2018, 00:03    Post subject:  

Hello JohnyWhy.

Please forgive lateness coming to this thread.

If I may suggest something:
From console,
-- unsquash both the remastered Puppy sfs and the original Puppy sfs
in each their own directory with
Code:
unsquashfs -d Directory OriginalPup.sfs
unsquashfs -d OtherDirectory RemasteredPup.sfs

-- then compare the files list with
Code:
diff -r -y Directory OtherDirectory | more

This should give you a somewhat sorted two column listing with
differences shown.

IHTH. Best of luck.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 12972
Location: Gatineau (Qc), Canada

PostPosted: Mon 13 Aug 2018, 21:56    Post subject:  

Addendum:

You could probably do it also by comparing the listing of files in directory
/root/.packages/builtin_files/*
of the original and the remaster.

(I think that a similar procedure has been mentioned above.)

BFN.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 872

PostPosted: Tue 14 Aug 2018, 20:26    Post subject:  

thx s243a and musher0.

Does anyone know:
How is /root/.packages/woof-installed-packages file different from the contents of /root/.packages/builtin_files/ directory ?

Why is woof-installed-packages empty on a non-customized puppy?

THX

_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [14 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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.2280s ][ Queries: 12 (0.1103s) ][ GZIP on ]