Solved:LxQt /porteus/base (listed @ /var/log/packages)

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
User avatar
blue4meridian
Shogun
Shogun
Posts: 279
Joined: 29 Sep 2014, 05:58
Distribution: 64bit LxQt (Plastique/Mikachu)
Location: Jersey City N.J. USA

Solved:LxQt /porteus/base (listed @ /var/log/packages)

Post#1 by blue4meridian » 24 Mar 2015, 11:29

Salutations... :good:

I'm interested in a copy :Search: (...of the "packages" preferably in separate folders for each "bundle"... eg. core.xzm)...

...of all the "packages" listed in each bundles /var/log/packages folder,
...for all the "bundles" in /porteus/base folder.

Best Regards... :beer:
Last edited by blue4meridian on 28 Mar 2015, 17:44, edited 10 times in total.

User avatar
libernux
White ninja
White ninja
Posts: 28
Joined: 01 Nov 2011, 17:36
Distribution: porteus v3.1 32bit XFCE
Location: Netherlands

Re: LxQt "Base" Folder (.../var/log/packages)

Post#2 by libernux » 24 Mar 2015, 13:55

Look in

Code: Select all

/mnt/live/memory/images
I was born with nothing and I still got most of it.

User avatar
blue4meridian
Shogun
Shogun
Posts: 279
Joined: 29 Sep 2014, 05:58
Distribution: 64bit LxQt (Plastique/Mikachu)
Location: Jersey City N.J. USA

Re: LxQt "Base" Folder (.../var/log/packages)

Post#3 by blue4meridian » 24 Mar 2015, 16:44

Salutations... :good:

Read the post carefully... :no:

I know where the "base" is and where it's tree is (which can also be located by extracting the "base" modules).
I'm interested in the "PACKAGES"!!! :wall: that were used to make the "base" bundle tree so I can create a custom /porteus/base.

Best Regards... :beer:
Last edited by blue4meridian on 24 Mar 2015, 23:29, edited 1 time in total.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5588
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: LxQt /porteus/base "modules" (listed @ /var/log/packages

Post#4 by fanthom » 24 Mar 2015, 21:51

get packages from slackware + pkgs.org then convert them to modules.
please mind that with this method you'll get Slackware live rather than Porteus live (some Porteus specific cheatcodes and features will be missing).

or better:
- unpack core module
- run 'ROOT=/path/unpacked_module removepkg some_pkg' and the same for installpkg

reference:
http://www.fiveanddime.net/man-pages/installpkg.8.html
Please add [Solved] to your thread title if the solution was found.

User avatar
blue4meridian
Shogun
Shogun
Posts: 279
Joined: 29 Sep 2014, 05:58
Distribution: 64bit LxQt (Plastique/Mikachu)
Location: Jersey City N.J. USA

Re: LxQt /porteus/base "modules" (listed @ /var/log/packages

Post#5 by blue4meridian » 24 Mar 2015, 23:28

Salutations... :good:

I know where to get binary packages. I've noted the locations in numerous threads.
I'm interested in the "packages" that the devs used for LxQt Porteus
(I'm assuming thats how they made the "base" bundles).
A link (or ftp?) to those "packages" would save me countless hours of downloading from repos.

I assume one possible reason the devs used "base" bundles instead of modules is so n00bs won't brick the distro.
IMHO... I'm not a n00b and in any case I backup so bricking is moot.
If I break it I just fix it and reboot. That's why I switched from Android ( :evil: "rooting" hell?) to Porteus.

Whether USM or pkgs.org... (unlike a zip file containing ALL packages)
there is lots of entry... search... point... click... and download involved.

Based on the current LxQt loadout that's 454 downloads on a 25mbps netbook wifi (slower?) connection... :wall:

My goal is to tear the "base" to pieces and reconstruct it with drop-ins... eg. "useless daemon"... :evil:

Best Regards... :beer:
Last edited by blue4meridian on 28 Mar 2015, 17:51, edited 3 times in total.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5588
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: LxQt /porteus/base "packages" (listed @ /var/log/package

Post#6 by fanthom » 25 Mar 2015, 21:35

I assume one possible reason the devs used "base" bundles instead of modules is so n00bs won't brick the distro.
IMHO... I'm not a n00b and in any case I backup so bricking is moot.

this is correct.

please contact me through fanthom@porteus.org and i will upload what i have for you. please mind that i wont provide ANY support for this and for the custom Porteus build you make. i simply have no time for this - sorry about that.
Please add [Solved] to your thread title if the solution was found.

neko
DEV Team
DEV Team
Posts: 2082
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: LxQt /porteus/base "packages" (listed @ /var/log/package

Post#7 by neko » 26 Mar 2015, 02:12

@blue4meridian

I separate a module roughly into packages depending on the information of "/var/log/packages"
by the following script.
The unseparated results (symbolic linkages, etc.,) are separated manually.

#================================================================================
#! /bin/sh
move()
{
for DIR in `cat all/var/log/packages/$1 | sed -n '/^FILE LIST:$/,//p' | grep -v '^FILE LIST:$' | tr ' ' '!' `
do
if [ $DIR = "./" ]
then
continue
fi
DIR=`echo $DIR | tr '!' ' ' `
if [ -d "all/$DIR" ]
then
if [ ! -h "all/$DIR" ]
then
mkdir -p "pkg/$1/$DIR"
if [ "${DIR:0:10}" = "home/guest" ]
then
chown guest pkg/$1/$DIR
chgrp guest pkg/$1/$DIR
fi
continue
fi
fi
mv "all/$DIR" "pkg/$1/$DIR" 2>/dev/null
done
mkdir -p pkg/$1/var/log/packages
mv all/var/log/packages/$1 pkg/$1/var/log/packages/. 2>/dev/null
}

mkdir -p pkg
for PKG in `ls all/var/log/packages` ;
do
echo $PKG
move $PKG
done
#================================================================================

User avatar
blue4meridian
Shogun
Shogun
Posts: 279
Joined: 29 Sep 2014, 05:58
Distribution: 64bit LxQt (Plastique/Mikachu)
Location: Jersey City N.J. USA

Re: LxQt /porteus/base "packages" (listed @ /var/log/package

Post#8 by blue4meridian » 28 Mar 2015, 17:36

Salutations... :good:

Solved... I've given the issue careful thought. :oops: Maybe the best solution is uninstallment of the offending packages.
The posted command line approach sounds like a winner. The simplest approach is the one I'll sign up for.
If it's not posted then maybe it should be. @ fanthom... many thanks. You can remove the Kiosk "core" .tar server link.

Best Regards... :beer:

User avatar
Ed_P
Contributor
Contributor
Posts: 7671
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.0 ISO
Location: Western NY, USA

Re: Solved:LxQt /porteus/base (listed @ /var/log/packages)

Post#9 by Ed_P » 28 Mar 2015, 19:52

A very impressive script neko. Thank you for sharing it. Image
Ed

Post Reply