IMHO that was the 'bundles' project, or am I missing something here? On another note, has your friend Dan got deep pockets?donald wrote: So yes,(imo) he wants a single (merged) module for every app,containing everything
needed to run this app.So one can hand it over to another PC, and it will still work.
(like .exe files,or when you build the module in AF mode)
Fine tuning of usm for newcomers: your suggestions
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: Fine tuning of usm for newcomers: your suggestions
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
- Ed_P
- Contributor
- Posts: 8601
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: Fine tuning of usm for newcomers: your suggestions
The situation I am referring to is where the new module would be in the download folder but the active version would be in the porteus/modules folder. Not as rare as you may think imo.brokenman wrote:Good question. Rare scenario because if the module is found already in the download folder it won't download it again,Will this handle when like named modules are already active?
Oh! So I would have to compile it!! Ok, I'm not sure I'm to that level yet. Thanks.brokenman wrote:Perhaps you are not familiar with the concept of github. It is not sourceforge where the packages are hosted but rather a development version control system. If you're not sure then I would say just wait until the next update becomes available from within USM.Am I missing something?
If you want to play with it then download the zip file from here: https://github.com/brokenman/usm
Then (in always fresh mode) unzip it change into the directory with the files and install it with as root: make install
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: Fine tuning of usm for newcomers: your suggestions
At end of dependency processing unresolved dependencies now flagged, together with colorised warning! Thanks.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
-
- Full of knowledge
- Posts: 2084
- Joined: 17 Jun 2013, 13:17
- Distribution: Porteus 3.2.2 XFCE 32bit
- Location: Germany
Re: Fine tuning of usm for newcomers: your suggestions
@ Bogomips
The "bundles project"...is it alive?...where are these bundles?
hmmm..
I have been told that it is better not to use/install software
not coming from the official Repositories.
as a reminder:
If you install other peoples software,you shortly give them root privileges on the computer.
--security risk--
btw
--> has your friend Dan got deep pockets? <--
I read the text, but I do not understand the meaning.
is it a saying?..
The "bundles project"...is it alive?...where are these bundles?
hmmm..
I have been told that it is better not to use/install software
not coming from the official Repositories.
as a reminder:
If you install other peoples software,you shortly give them root privileges on the computer.
--security risk--
btw
--> has your friend Dan got deep pockets? <--
I read the text, but I do not understand the meaning.
is it a saying?..
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: Fine tuning of usm for newcomers: your suggestions
If there is an 'active' version in the porteus modules folder then it would have been mounted at boot time. Therefore the libraries would be processed by USM and the same module would not be downloaded again, hence never making it into the download folder.The situation I am referring to is where the new module would be in the download folder but the active version would be in the porteus/modules folder. Not as rare as you may think imo.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- Ed_P
- Contributor
- Posts: 8601
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: Fine tuning of usm for newcomers: your suggestions
I'm confused. I'm not seeing it that way.brokenman wrote:If there is an 'active' version in the porteus modules folder then it would have been mounted at boot time. Therefore the libraries would be processed by USM and the same module would not be downloaded again, hence never making it into the download folder.
Code: Select all
guest@porteus:~$ cat /mnt/live/memory/images/*firefox*
cat: /mnt/live/memory/images/mozilla-firefox-31.5.0esr-x86_64-1_slack14.1.xzm: Is a directory
>>> firefox is mounted
guest@porteus:~$ su
Password:
root@porteus:/home/guest# usm -g mozilla-firefox
The following items were found.
Choose an number to confirm.
ctrl+c to quit
1) mozilla-firefox-24.1.0esr-x86_64-1.txz
2) mozilla-firefox-31.5.0esr-x86_64-1_slack14.1.txz
3) mozilla-firefox-31.6.0esr-x86_64-1gv.txz
#? 3
>>> usm finds multiple firefox modules including the same one mounted
Processing: mozilla-firefox-31.6.0esr-x86_64-1gv.txz
Ignored libraries:
Libraries required: 39
Libraries found in system: 39
Libraries to resolve: 0
The following packages are required.
mozilla-firefox-31.6.0esr-x86_64-1gv.txz [33192K] [upgrade]
Total size: 33 MB
Would you like to install the package/s? (custom paths are supported) [y/n]
>>>> usm is going to download the new version of firefox
- francois
- Contributor
- Posts: 6445
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Fine tuning of usm for newcomers: your suggestions
EDIT:
I added the following configs to the config file. Available in GUI now.
# Convert all slackware packages that are downloaded
# to porteus modules.
MODULES=true
# Activate modules after downloading them
ACTIVATEMOD=true
# Remove slackware packages after downloading
REMOVETXZ=false
Thanks for these swift modifications. I have the impression that newcomers, especially those less familiar with Linux, will this way be introduced more easily to the porteus way.
I added the following configs to the config file. Available in GUI now.
# Convert all slackware packages that are downloaded
# to porteus modules.
MODULES=true
# Activate modules after downloading them
ACTIVATEMOD=true
# Remove slackware packages after downloading
REMOVETXZ=false
Thanks for these swift modifications. I have the impression that newcomers, especially those less familiar with Linux, will this way be introduced more easily to the porteus way.
Prendre son temps, profiter de celui qui passe.
- francois
- Contributor
- Posts: 6445
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Fine tuning of usm for newcomers: your suggestions
@ed:
git is really not complicated, see:
viewtopic.php?f=75&t=3040&start=165
1.0 install the git package with USM and get the devel.xzm package for current porteus. There are no other dependencies. 8)
2.0
git is really not complicated, see:
viewtopic.php?f=75&t=3040&start=165
1.0 install the git package with USM and get the devel.xzm package for current porteus. There are no other dependencies. 8)
2.0
Code: Select all
root@porteus:~# git clone https://github.com/brokenman/usm.git
root@porteus:~#
Prendre son temps, profiter de celui qui passe.
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: Fine tuning of usm for newcomers: your suggestions
I will just add that after you clone the git repository you change into the directory and run make.
If you want to create a module.
This will overwrite your current USM if you are saving changes.
Code: Select all
cd usm
make STRIP_COMMENTS=false install
Code: Select all
mkdir /tmp/mynewusm
make DESTDIR=/tmp/mynewusm install
dir2xzm /tmp/mynewusm /tmp/mynewusm.xzm
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: Fine tuning of usm for newcomers: your suggestions
Ok I see the confusion. I am talking about modules with the same name. No, it won't deactivate a module with a different name. It will simply activate the new module over the old one.Will usm deactivate the mounted version prior to usm activating the new download?
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: Fine tuning of usm for newcomers: your suggestions
usm -g <package> depth=n
Would it present much difficulty to have the normal closing sequencewhen depth n is reached?
At the moment it is something like this:The option of downloading packages found up to this point could have been quite beneficial in certain instances, which had previously arisen.
Would it present much difficulty to have the normal closing sequence
Code: Select all
Multiple packages were detected.
Would you like to merge the packages into one module? [y/n]
Would you like to create a subfolder for the files? [y/n]
Would you like to install the package/s? (custom paths are supported) [y/n]
Press [r] to remove packages, [q] to quit, or enter to start downloading.
At the moment it is something like this:
Code: Select all
root@porteus:/home/guest# usm -g gimp depth=3
The following items were found.
Choose an number to confirm.
ctrl+c to quit
1) gimp-2.8.6-i486-1.txz
#? 1
Processing: gimp-2.8.6-i486-1.txz
Ignored libraries:
Libraries required: 95
Libraries found in system: 80
Libraries to resolve: 15
...
Processing: aalib-1.4rc5-i486-5.txz
Ignored libraries:
Libraries required: 10
Libraries found in system: 9
Libraries to resolve: 1
Processing library: libaa.so.1
...
Processing: babl-0.1.10-i486-1.txz
Ignored libraries:
Libraries required: 3
Libraries found in system: 2
Libraries to resolve: 1
Processing library: libbabl-0.1.so.0
...
Processing: gegl-0.2.0-i486-2.txz
Ignored libraries:
Libraries required: 66
Libraries found in system: 58
Libraries to resolve: 8
...
Processing: ghostscript-9.07-i486-2.txz
Ignored libraries:
Libraries required: 72
Libraries found in system: 69
Libraries to resolve: 3
Processing library: libcups.so.2
More than one package contains: libcups.so.2
cups-1.5.4-i486-3.txz 1856K slackware
aaa_elflibs-14.1-i486-3.txz 4708K slackware
The following items were found.
Choose an number to confirm.
ctrl+c to quit
1) cups-1.5.4-i486-3.txz
2) aaa_elflibs-14.1-i486-3.txz
#? 2
Processing library: libcupsimage.so.2
Processing library: libgs.so.9
Depth 5 of resolution reached. Exiting.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: Fine tuning of usm for newcomers: your suggestions
I don't think it would be too difficult. Just a matter of checking for 'n' and then adding a return command. I will check it out. Thanks for the suggestion.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- francois
- Contributor
- Posts: 6445
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Fine tuning of usm for newcomers: your suggestions
Your closing sequence makes a lot more sense.
Interesting suggestion bogomips, so depth = number of maximum packages to look for as dependencies?
Note: this post was corrected hoping to make more sense.
Interesting suggestion bogomips, so depth = number of maximum packages to look for as dependencies?
Note: this post was corrected hoping to make more sense.
Prendre son temps, profiter de celui qui passe.
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: Fine tuning of usm for newcomers: your suggestions
If I understand you correctly, then I think I would be right in asserting that: depth!=max number of packages, if that was your presumption.francois wrote:Interesting suggestion bogomips, so depth would be the number of maximum packages to look for as dependencies? And your closing sequence makes a lot more sense.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
- francois
- Contributor
- Posts: 6445
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Fine tuning of usm for newcomers: your suggestions
I hope that my wording express my thoughts better in the above post.
Prendre son temps, profiter de celui qui passe.