francois wrote:It thought that the dependencies could be used for future packages needing them at the time of their installation. Even though the original package package could be could be stored in /porteus/optional.
What do you propose?
Propose that when default is 'no modules', there should be an option to request a module. This will then be consistent with the present options. As it stands at the moment, if there is more than one package the option to make a module is there, but if there is only one package the option to override the default and make a module is missing. Such an option would be helpful within the procedure being used to resolve non-slackware dependencies.
At present If there is more than one package, in the first USM pass of the procedure one collects them in a subfolder, and in second USM pass the option to merge into one module chosen. Thereafter packages once more downloaded, and then the module made up from these packages has to be separately activated. Further down the line these modules are usually dispensed with, and only their constituent packages are needed to create resultant module bundle.
Proposal
- Packages should not need to be downloaded more than once. If default is 'no modules', there should be a 'module' option available at the end.
- And if this option is taken, then packages in subfolder should be used to make module, should subfolder have been requested earlier on.
- If 'module' option taken, an activation option should then be made available, once module is made.
Present Situation
After selecting merge into module, all other options suppressed, so no go:
Code: Select all
root@porteus:/home/guest# usm -g openjre
The following items were found.
Choose an number to confirm.
ctrl+c to quit
1) openjre-7u51_b31-i486-2gv.txz 3) openjre-7u85_b01-i486-1alien.txz
2) openjre-7u79_b14-i486-2sl.txz
#? 3
Processing: openjre-7u85_b01-i486-1alien.txz
The following packages are required.
openjre-7u85_b01-i486-1alien.txz [43916K] [not installed]
rhino-1_7R4-i486-3sl.txz [1351K] [not installed]
Total size: 45 MB
Multiple packages were detected.
Would you like to merge the packages into one module? [y/n]
Press [r] to remove packages, [q] to quit, or enter to start downloading.
First USM Pass, Request subfolder for packages:
Code: Select all
root@porteus:/home/guest# usm -g openjre
The following items were found.
Choose an number to confirm.
ctrl+c to quit
1) openjre-7u51_b31-i486-2gv.txz 3) openjre-7u85_b01-i486-1alien.txz
2) openjre-7u79_b14-i486-2sl.txz
#? 3
Processing: openjre-7u85_b01-i486-1alien.txz
The following packages are required.
openjre-7u85_b01-i486-1alien.txz [43916K] [not installed]
rhino-1_7R4-i486-3sl.txz [1351K] [not installed]
Total size: 45 MB
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.
Updates are available.
Program update: not required
Database update: available
Please run: usm -u all and/or usm -u usm
This message can be disabled in /etc/usm/usm.conf
###############################
Downloading: openjre-7u85_b01-i486-1alien.txz DONE
Downloading: rhino-1_7R4-i486-3sl.txz DONE
root@porteus:/home/guest# ls /tmp/usm/openjre-7u85_b01/
openjre-7u85_b01-i486-1alien.txz rhino-1_7R4-i486-3sl.txz
Second USM Pass. Request module from Packages. Packages once more downloaded:
Code: Select all
root@porteus:/home/guest# usm -g openjre
The following items were found.
Choose an number to confirm.
ctrl+c to quit
1) openjre-7u51_b31-i486-2gv.txz 3) openjre-7u85_b01-i486-1alien.txz
2) openjre-7u79_b14-i486-2sl.txz
#? 3
Processing: openjre-7u85_b01-i486-1alien.txz
The following packages are required.
openjre-7u85_b01-i486-1alien.txz [43916K] [not installed]
rhino-1_7R4-i486-3sl.txz [1351K] [not installed]
Total size: 45 MB
Multiple packages were detected.
Would you like to merge the packages into one module? [y/n]
Press [r] to remove packages, [q] to quit, or enter to start downloading.
Updates are available.
Program update: not required
Database update: available
Please run: usm -u all and/or usm -u usm
This message can be disabled in /etc/usm/usm.conf
###############################
Downloading: openjre-7u85_b01-i486-1alien.txz DONE
Downloading: rhino-1_7R4-i486-3sl.txz DONE
openjre-7u85_b01-i486-1alien: JavaTM Platform Standard Edition Runtime E [77M]
rhino-1_7R4-i486-3sl: javascript library for java [9.2M]
Parallel mksquashfs: Using 1 processor
Creating 4.0 filesystem on /tmp/usm/openjre-7u85_b01-i486-bundle.xzm, block size 262144.
[=========================================================================|] 1121/1121 100%
Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144
compressed data, compressed metadata, compressed fragments, compressed xattrs
duplicates are removed
Filesystem size 46678.54 Kbytes (45.58 Mbytes)
52.95% of uncompressed filesystem size (88156.76 Kbytes)
Inode table size 7732 bytes (7.55 Kbytes)
24.78% of uncompressed inode table size (31204 bytes)
Directory table size 9234 bytes (9.02 Kbytes)
47.24% of uncompressed directory table size (19546 bytes)
Number of duplicate files found 26
Number of inodes 932
Number of files 832
Number of fragments 46
Number of symbolic links 10
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 90
Number of ids (unique uids + gids) 1
Number of uids 1
root (0)
Number of gids 1
root (0)
/tmp/usm/openjre-7u85_b01-i486-bundle.xzm is ready.
root@porteus:/home/guest# ls /tmp/usm/openjre-7u85_b01-i486-
openjre-7u85_b01-i486-1alien.txz openjre-7u85_b01-i486-bundle.xzm
root@porteus:/home/guest# ls -lh /tmp/usm/rhino-1_7R4-i486-3sl.txz
-rw-r--r-- 1 root root 1.4M Jan 7 2014 /tmp/usm/rhino-1_7R4-i486-3sl.txz
Capability of USM
Code: Select all
Found Slackware Package Versions
Slacky: Slackware 13.37
libgdata-0.6.6-i486-1sl 0.6.6-1
Slacky: Slackware 14.0
libgdata-0.12.0-i486-1sl 0.12.0-1
Salix: Slackware 14.0
libgdata-0.12.0-i486-1gv 0.12.0-1
Desirable to have USM being able to process Slackware 14.0 Package (non-latest Package) when no 14.1 Package available.
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