Page 4 of 5

Re: Games: what about your favorite game on linux

Posted: 17 Jun 2015, 14:15
by Ed_P
Wow!! cttan. :shock:

That's an impressive "mod" and an impressive post explaining it. Thank you. :beer:

I wonder if it can be tweaked even further to handle other files, like freestylers?

Re: Games: what about your favorite game on linux

Posted: 17 Jun 2015, 14:21
by Bogomips
@cttan
Just my 2 cents. As a suggestion, could you not make life easier for the 64 bitters by putting all altered/relevant files into a module which can then be activated?

Re: Games: what about your favorite game on linux

Posted: 17 Jun 2015, 17:10
by cttan
@Bogomips
Download link provided in the previous post.

@Ed_P
I have not tried other repo but I think the possibility is great as most Slackware package mirror site have almost the same format.

Re: Games: what about your favorite game on linux

Posted: 17 Jun 2015, 20:31
by Bogomips
@cttan
Unfortunately on wrong architecture. So I'll let someone else give feedback on how it turns out. :wink:

Re: Games: what about your favorite game on linux

Posted: 18 Jun 2015, 02:07
by cttan
Hi Bogomips,

I think slackonly repo is available in 32bit usm.
Pls check.

Re: Games: what about your favorite game on linux

Posted: 18 Jun 2015, 02:38
by Ed_P
cttan wrote:9. Update slackonly database.
usm -u slackonly

You are done. Start downloading from slackonly using CLI.
I tried this using the module you added and got this:

Code: Select all

guest@porteus:~$ su
Password: 
root@porteus:/home/guest# usm -u slackonly

 Use: usm -u <distro> 
 For example: usm -u slackware

root@porteus:/home/guest# ls  -d /mnt/live/memory/images/usm*.xzm
/mnt/live/memory/images/usm-3.1.7-x86_64-slackonly-mod-1tct.xzm/
root@porteus:/home/guest# 
 
I'll let you know when I have tried more tests.

Re: Games: what about your favorite game on linux

Posted: 18 Jun 2015, 03:48
by francois
@bogomips: you are the moderators forking expert. Maybe this could be a very nice howto: Adding repositories to USM. This will be a surprise to brokenman. :wink:

Re: Games: what about your favorite game on linux

Posted: 18 Jun 2015, 14:22
by cttan
@Ed_P
I have uploaded the latest version. Pls download again and try.
When using the xzm module instead of modifiying the script files yourself, it seems like the xzm activation sequence would not replace existing file if any exist.
So I have put in a script to move the current file to .317. So you should see 2 files in the folder like this:-
/etc/usm/usm
/etc/usm/usm.317


I have also included slackonly update(not the latest) in the modded module. So for testing you do not need to do this
usm -u slackonly

@francois
brokenman has built a very robust usm. :good:

Re: Games: what about your favorite game on linux

Posted: 18 Jun 2015, 15:11
by Bogomips
cttan wrote:it seems like the xzm activation sequence would not replace existing file if any exist.
Are you sure? Because the following shows the opposite:

Code: Select all

    guest@porteus:~$ mkdir usmod
    guest@porteus:~$ cp --parents /etc/usm/usm.conf usmod
    guest@porteus:~$ vi usmod/etc/usm/usm.conf   # MODULES <- true

    root@porteus:/home/guest# dir2xzm usmod/ usmod.xzm
    Parallel mksquashfs: Using 1 processor
    Creating 4.0 filesystem on usmod.xzm, block size 262144.
    [===============================================================================|] 1/1 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 2.12 Kbytes (0.00 Mbytes)

    root@porteus:/home/guest# grep MODULES /etc/usm/usm.conf
    MODULES=false

    root@porteus:/home/guest# activate usmod.xzm             
    Updating shared library links:  /sbin/ldconfig
    root@porteus:/home/guest# grep MODULES /etc/usm/usm.conf
    MODULES=true

    root@porteus:/home/guest# deactivate usmod.xzm
    Updating shared library links:  /sbin/ldconfig
    root@porteus:/home/guest# grep MODULES /etc/usm/usm.conf
    MODULES=false
In this example usm.conf was suppressed by file from module.

@cttan Unfortunately my architecture does not permit me to try out your module :(

Re: Games: what about your favorite game on linux

Posted: 18 Jun 2015, 18:36
by Ed_P
cttan wrote:I have uploaded the latest version. Pls download again and try.
And the results are:

Code: Select all

guest@porteus:~$ su
Password: 
root@porteus:/home/guest# usm -v
 You are using USM version:  3.1.7

root@porteus:/home/guest# usm -u slackonly

 Use: usm -u <distro> 
 For example: usm -u slackware

root@porteus:/home/guest# ls -d /mnt/live/memory/images/usm*.xzm
/mnt/live/memory/images/usm-3.1.7-x86_64-slackonly-mod-1tct.xzm/
root@porteus:/home/guest# ls /etc/usm/
extra-deps.txt     mirrors-sbo.txt               suppliment-libs.txt
files.conf         mirrors-slackonly.txt         suppliment-optifest.txt
ignore-deps.txt    mirrors-slackverse.txt        usm.conf
mirrors-alien.txt  mirrors-slackware.txt         version.txt
mirrors-ponce.txt  mirrors-slackwarepatches.txt
mirrors-salix.txt  mirrors-slacky.txt
root@porteus:/home/guest# 
Something isn't clicking. xzm activation usually does replace existing files but in this case the 2 new scripts aren't being added.

I did the usm -u slackonly command just to verify that slackonly was added to usm. And while the -u command failed this one didn't:

Code: Select all

root@porteus:/home/guest# usm -g wireshark

 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) wireshark-1.12.2-x86_64-2_slack.txz
#? ^C
root@porteus:/home/guest#
So something is working. :good:

Re: Games: what about your favorite game on linux

Posted: 18 Jun 2015, 19:27
by Bogomips

Code: Select all

root@porteus:/home/guest# activate usm-3.1.7-x86_64-slackonly-mod-1tct.xzm 
Updating shared library links:  /sbin/ldconfig

root@porteus:/home/guest# usm -u slackonly
 Starting slackonly database update 
Downloading: vercheck.txt  DONE
Downloading: CHECKSUMS.md5.gz  DONE
Downloading: MANIFEST.bz2  DONE
Downloading: PACKAGES.TXT.gz  DONE

gzip: /var/usm/slackonly/CHECKSUMS.md5.gz: unexpected end of file
          

==============================================================================
WARNING!        WARNING!        WARNING!        WARNING!        WARNING!
==============================================================================
One or more errors occurred while usm was running:                       
 
FATAL ERROR!
usm update_database 247
Could not decompress: CHECKSUMS.md5.gz
 
============================================================================== 
Normally get something like this when database out of sync with repo.

Code: Select all

root@porteus:/home/guest# usm -s wireshark

wireshark-1.10.5-i486-1sl.txz was found in slacky [not installed]
Packages found:   1 

Use:   usm -i <package>  for more info
Use:   usm -g <package>  to download

root@porteus:/home/guest# usm -g wireshark

 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) wireshark-1.10.5-i486-1sl.txz
#? 1

Processing:   wireshark-1.10.5-i486-1sl.txz 
Ignored libraries: 

Libraries required:  76
Libraries found in system: 68
Libraries to resolve: 8

Processing library: libGeoIP.so.1
Processing library: libcares.so.2
Processing library: liblua.so
Processing library: libportaudio.so.2

 More than one package contains:  libportaudio.so.2
portaudio-V19-i486-2ponce.txz    100K  ponce
portaudio-20111121-i486-2sl.txz  72K   slacky
portaudio-v19-i486-1dj.txz       70K   salix

 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) portaudio-V19-i486-2ponce.txz    3) portaudio-v19-i486-1dj.txz
2) portaudio-20111121-i486-2sl.txz
#? 1
Processing library: libsmi.so.2
Processing library: libwireshark.so.3
Processing library: libwiretap.so.3
Processing library: libwsutil.so.3


Processing:   GeoIP-1.5.1-i486-1dj.txz 
Ignored libraries: 

Libraries required:  3
Libraries found in system: 1
Libraries to resolve: 2

Processing library: libGeoIP.so.1
Processing library: libGeoIPUpdate.so.0


Processing:   c-ares-1.10.0-i486-1sl.txz 

Processing:   lua-5.1.5-i486-1alien.tgz 
Ignored libraries: 

Libraries required:  5
Libraries found in system: 5
Libraries to resolve: 0



Processing:   portaudio-V19-i486-2ponce.txz 
Ignored libraries: 

Libraries required:  5
Libraries found in system: 5
Libraries to resolve: 0



Processing:   libsmi-0.4.8-i486-6sl.txz 
Ignored libraries: 

Libraries required:  2
Libraries found in system: 1
Libraries to resolve: 1

Processing library: libsmi.so.2


 The following packages are required. 
GeoIP-1.5.1-i486-1dj.txz [617K] [not installed]
c-ares-1.10.0-i486-1sl.txz [122K] [not installed]
libsmi-0.4.8-i486-6sl.txz [1932K] [not installed]
lua-5.1.5-i486-1alien.tgz [412K] [not installed]
portaudio-V19-i486-2ponce.txz [100K] [not installed]
wireshark-1.10.5-i486-1sl.txz [9961K] [not installed]

Total size: 13 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.

Architecture independent. :good: Just have to iron out the glitches :wink:

Code: Select all

otal size: 13 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: GeoIP-1.5.1-i486-1dj.txz  DONE
Downloading: c-ares-1.10.0-i486-1sl.txz  DONE
Downloading: libsmi-0.4.8-i486-6sl.txz  DONE
Downloading: lua-5.1.5-i486-1alien.tgz  DONE
Downloading: portaudio-V19-i486-2ponce.txz  DONE
Downloading: wireshark-1.10.5-i486-1sl.txz  DONE

 Commencing package conversion ... 
Verifying package GeoIP-1.5.1-i486-1dj.txz.
Installing package GeoIP-1.5.1-i486-1dj.txz:
PACKAGE DESCRIPTION:
# GeoIP (GeoIP API and database)
# 
# GeoIP is the proprietary technology that drives MaxMind's IP
# geolocation data and services. GeoIP provides businesses with a
# non-invasive way to determine geographical and other information
# about their Internet visitors in real-time.
# To name a few applications, GeoIP can be used for delivering
# customized content, targeted ads and web log statistics
# 
# Homepage: http://www.maxmind.com/download/geoip/api/c/
# 
Executing install script for GeoIP-1.5.1-i486-1dj.txz.
Package GeoIP-1.5.1-i486-1dj.txz installed.

Creating /tmp/usm/wireshark-1.10.5/GeoIP-1.5.1-i486-1dj.xzm

Verifying package c-ares-1.10.0-i486-1sl.txz.
Installing package c-ares-1.10.0-i486-1sl.txz:
PACKAGE DESCRIPTION:
# C-Ares (DNS Asynchronously Library)
#
# C-Ares is a C library that performs DNS requests and name resolves
# asynchronously.
#
Executing install script for c-ares-1.10.0-i486-1sl.txz.
Package c-ares-1.10.0-i486-1sl.txz installed.

Creating /tmp/usm/wireshark-1.10.5/c-ares-1.10.0-i486-1sl.xzm

Verifying package libsmi-0.4.8-i486-6sl.txz.
Installing package libsmi-0.4.8-i486-6sl.txz:
PACKAGE DESCRIPTION:
# Libsmi (SMI MIB Information Library)
#
# Libsmi allow management applications to access SMI MIB module
# definitions. On top of this library, there are tools to check
# analyze dump, convert, and  compare MIB  definitions. Finally
# the distribution contains a  steadily maintained  and revised
# archive of all IETF and IANA maintained standard MIB  and PIB
# modules.
#
Executing install script for libsmi-0.4.8-i486-6sl.txz.
Package libsmi-0.4.8-i486-6sl.txz installed.

Creating /tmp/usm/wireshark-1.10.5/libsmi-0.4.8-i486-6sl.xzm

Verifying package lua-5.1.5-i486-1alien.tgz.
Installing package lua-5.1.5-i486-1alien.tgz:
PACKAGE DESCRIPTION:
# lua (a powerful, fast, lightweight, embeddable scripting language)
#
# Lua combines simple procedural syntax with powerful data description
# constructs based on associative arrays and extensible semantics.
# Lua is dynamically typed, runs by interpreting bytecode for a
# register-based virtual machine, and has automatic memory management
# with incremental garbage collection, making it ideal for
# configuration, scripting, and rapid prototyping. 
#
# lua home: http://www.lua.org/
#
Executing install script for lua-5.1.5-i486-1alien.tgz.
Package lua-5.1.5-i486-1alien.tgz installed.

Creating /tmp/usm/wireshark-1.10.5/lua-5.1.5-i486-1alien.xzm

Verifying package portaudio-V19-i486-2ponce.txz.
Installing package portaudio-V19-i486-2ponce.txz:
PACKAGE DESCRIPTION:
# PortAudio (portable cross-platform audio API)
#
# PortAudio is a portable API for audio I/O. It allows people writing
# audio programs to easily access the audio devices.
#
Executing install script for portaudio-V19-i486-2ponce.txz.
Package portaudio-V19-i486-2ponce.txz installed.

Creating /tmp/usm/wireshark-1.10.5/portaudio-V19-i486-2ponce.xzm

Verifying package wireshark-1.10.5-i486-1sl.txz.
Installing package wireshark-1.10.5-i486-1sl.txz:
PACKAGE DESCRIPTION:
# WireShark (GTK2+ Network Sniffer)
#
# Wireshark (aka Ethereal) is  a  free  packet  sniffer  computer
# application. It  is  used for network troubleshooting, analysis
# software and communications, protocol development and education
# Wireshark  uses  the  cross-platform  GTK+ widget  toolkit. Its
# powerful  features  make  it  the  tool  of  choice for network
# troubleshooting, protocol development, and education worldwide.
#
Executing install script for wireshark-1.10.5-i486-1sl.txz.
Package wireshark-1.10.5-i486-1sl.txz installed.

Creating /tmp/usm/wireshark-1.10.5/wireshark-1.10.5-i486-1sl.xzm
Having requested a subfolder for the files, got each file turned into xzm and inserted into subfolder:

Code: Select all

guest@porteus:~$ ls -lh /tmp/usm/wireshark-1.10.5/
total 26M
-rw-r--r-- 1 root root 618K Dec 20  2013 GeoIP-1.5.1-i486-1dj.txz
-rw-r--r-- 1 root root 620K Jun 18 21:48 GeoIP-1.5.1-i486-1dj.xzm
-rw-r--r-- 1 root root 123K Jan 21  2014 c-ares-1.10.0-i486-1sl.txz
-rw-r--r-- 1 root root  92K Jun 18 21:48 c-ares-1.10.0-i486-1sl.xzm
-rw-r--r-- 1 root root 1.9M Jan 26  2014 libsmi-0.4.8-i486-6sl.txz
-rw-r--r-- 1 root root 2.3M Jun 18 21:48 libsmi-0.4.8-i486-6sl.xzm
-rw-r--r-- 1 root root 411K Oct 15  2013 lua-5.1.5-i486-1alien.tgz
-rw-r--r-- 1 root root 344K Jun 18 21:48 lua-5.1.5-i486-1alien.xzm
-rw-r--r-- 1 root root  99K Mar 17 09:18 portaudio-V19-i486-2ponce.txz
-rw-r--r-- 1 root root 112K Jun 18 21:48 portaudio-V19-i486-2ponce.xzm
-rw-r--r-- 1 root root 9.8M Jan 29  2014 wireshark-1.10.5-i486-1sl.txz
-rw-r--r-- 1 root root 9.7M Jun 18 21:50 wireshark-1.10.5-i486-1sl.xzm

guest@porteus:~$ grep MODULES /etc/usm/usm.conf 
MODULES=true
Could be USM bug, as normally run without touching MODULES in usm.conf.

But maybe not:

Code: Select all

Total size: 13 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: GeoIP-1.5.1-i486-1dj.txz  DONE
Downloading: c-ares-1.10.0-i486-1sl.txz  DONE
Downloading: libsmi-0.4.8-i486-6sl.txz  DONE
Downloading: lua-5.1.5-i486-1alien.tgz  DONE
Downloading: portaudio-V19-i486-2ponce.txz  DONE
Downloading: wireshark-1.10.5-i486-1sl.txz  DONE
GeoIP-1.5.1-i486-1dj: GeoIP API and database                             [1.6M]
c-ares-1.10.0-i486-1sl: C-Ares DNS Asynchronously Library                [330K]
libsmi-0.4.8-i486-6sl: Libsmi SMI MIB Information Library                [16M] 
lua-5.1.5-i486-1alien: a powerful, fast, lightweight, embeddable scripti [1.0M]
portaudio-V19-i486-2ponce: PortAudio portable cross-platform audio API   [430K]
wireshark-1.10.5-i486-1sl: WireShark GTK2+ Network Sniffer               [52M] 
Parallel mksquashfs: Using 1 processor
Creating 4.0 filesystem on /tmp/usm/wireshark-1.10.5-i486-bundle.xzm, block size 262144.
[=========================================================================|] 1002/1002 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 13286.01 Kbytes (12.97 Mbytes)
...
/tmp/usm/wireshark-1.10.5-i486-bundle.xzm is ready.

 Commencing package conversion ... 
Verifying package GeoIP-1.5.1-i486-1dj.txz.
Installing package GeoIP-1.5.1-i486-1dj.txz:
PACKAGE DESCRIPTION:
...
Creating /tmp/usm/GeoIP-1.5.1-i486-1dj.xzm

Verifying package c-ares-1.10.0-i486-1sl.txz.
Installing package c-ares-1.10.0-i486-1sl.txz:
PACKAGE DESCRIPTION:
...
Creating /tmp/usm/c-ares-1.10.0-i486-1sl.xzm

Verifying package libsmi-0.4.8-i486-6sl.txz.
Installing package libsmi-0.4.8-i486-6sl.txz:
PACKAGE DESCRIPTION:
...
Creating /tmp/usm/libsmi-0.4.8-i486-6sl.xzm

Verifying package lua-5.1.5-i486-1alien.tgz.
Installing package lua-5.1.5-i486-1alien.tgz:
PACKAGE DESCRIPTION:
..
Creating /tmp/usm/lua-5.1.5-i486-1alien.xzm

Verifying package portaudio-V19-i486-2ponce.txz.
Installing package portaudio-V19-i486-2ponce.txz:
PACKAGE DESCRIPTION:
..
Creating /tmp/usm/portaudio-V19-i486-2ponce.xzm

Verifying package wireshark-1.10.5-i486-1sl.txz.
Installing package wireshark-1.10.5-i486-1sl.txz:
PACKAGE DESCRIPTION:
...
Creating /tmp/usm/wireshark-1.10.5-i486-1sl.xzm
As can be seen getting a lot of extra modules which are not needed.

However, the way I normally run:

Code: Select all

root@porteus:/home/guest# rm -r /tmp/usm/wireshark-1.10.5/
root@porteus:/home/guest# ls /tmp/usm/wireshark-1.10.5/   
/bin/ls: cannot access /tmp/usm/wireshark-1.10.5/: No such file or directory

root@porteus:/home/guest# mcedit /etc/usm/usm.conf 
root@porteus:/home/guest# grep MODULES /etc/usm/usm.conf 
MODULES=false
root@porteus:/home/guest# usm -g wireshark
...
Total size: 13 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: GeoIP-1.5.1-i486-1dj.txz  DONE
Downloading: c-ares-1.10.0-i486-1sl.txz  DONE
Downloading: libsmi-0.4.8-i486-6sl.txz  DONE
Downloading: lua-5.1.5-i486-1alien.tgz  DONE
Downloading: portaudio-V19-i486-2ponce.txz  DONE
Downloading: wireshark-1.10.5-i486-1sl.txz  DONE

root@porteus:/home/guest# ls -lh /tmp/usm/wireshark-1.10.5
total 13M
-rw-r--r-- 1 root root 618K Dec 20  2013 GeoIP-1.5.1-i486-1dj.txz
-rw-r--r-- 1 root root 123K Jan 21  2014 c-ares-1.10.0-i486-1sl.txz
-rw-r--r-- 1 root root 1.9M Jan 26  2014 libsmi-0.4.8-i486-6sl.txz
-rw-r--r-- 1 root root 411K Oct 15  2013 lua-5.1.5-i486-1alien.tgz
-rw-r--r-- 1 root root  99K Mar 17 09:18 portaudio-V19-i486-2ponce.txz
-rw-r--r-- 1 root root 9.8M Jan 29  2014 wireshark-1.10.5-i486-1sl.txz
No problem. 8)

P.S. Did xzm2dir to check donloaded module. All files seemed OK as in your example, looked architecture independent, and verified above. :)

P.P.S.

Code: Select all

guest@porteus:~$ xzm2dir usm-3.1.7-x86_64-slackonly-mod-1tct.xzm  usd
guest@porteus:~$ du -sh usd
11M     usd
guest@porteus:~$ tree -d usd
usd
├── etc
│   └── usm
├── usr
│   ├── bin
│   └── share
│       └── usm
└── var
    ├── log
    │   └── scripts
    └── usm
        └── slackonly

11 directories

Re: Games: what about your favorite game on linux

Posted: 18 Jun 2015, 20:28
by Ed_P
Interesting. Image

If I manually deactivate the xzm module and then manually reactivate it I get the:

Code: Select all

root@porteus:/home/guest# usm -u slackonly
 Starting slackonly database update 
Downloading: vercheck.txt  DONE
Downloading: CHECKSUMS.md5.gz  DONE
Downloading: MANIFEST.bz2  DONE
Downloading: PACKAGES.TXT.gz  DONE
File verification was good.
Optimizing manifest
 slackonly  database updated. 


root@porteus:/home/guest# 
to work. And

Code: Select all

root@porteus:/home/guest# usm -g wireshark

 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) wireshark-1.12.2-x86_64-2_slack.txz
#? ^C
root@porteus:/home/guest#
still work.

Re: Games: what about your favorite game on linux

Posted: 18 Jun 2015, 21:02
by Bogomips
Prior to deactivation:

Code: Select all

root@porteus:/home/guest# mcedit /etc/usm/usm.conf 
root@porteus:/home/guest# grep MODULES /etc/usm/usm.conf 
MODULES=false
Then deactivate, followed by activate:

Code: Select all

root@porteus:/home/guest# deactivate usm-3.1.7-x86_64-slackonly-mod-1tct.xzm 
Updating shared library links:  /sbin/ldconfig
root@porteus:/home/guest# activate usm-3.1.7-x86_64-slackonly-mod-1tct.xzm 
Updating shared library links:  /sbin/ldconfig
grep MODULES /etc/usm/usm.conf 
MODULES=false
root@porteus:/home/guest# usm -u slackonly
 Starting slackonly database update 
Downloading: vercheck.txt  DONE
Downloading: CHECKSUMS.md5.gz  DONE
Downloading: MANIFEST.bz2  DONE
Downloading: PACKAGES.TXT.gz  DONE

gzip: /var/usm/slackonly/CHECKSUMS.md5.gz: unexpected end of file
          

==============================================================================
WARNING!        WARNING!        WARNING!        WARNING!        WARNING!
==============================================================================
One or more errors occurred while usm was running:                       
 
FATAL ERROR!
usm update_database 247
Could not decompress: CHECKSUMS.md5.gz
 
============================================================================== 

root@porteus:/home/guest# grep MODULES /etc/usm/usm.conf 
MODULES=false
And it is here that the activation does not suppress the previous file! :unknown:

Presumably once the activated file has been edited, it becomes sort of persistent:

Code: Select all

guest@porteus:~$ mkdir usmod
guest@porteus:~$ cp --parents /etc/usm/usm.conf usmod
guest@porteus:~$ mcedit usmod/etc/usm/usm.conf

guest@porteus:~$ grep MODULES usmod/etc/usm/usm.conf
MODULES=true
guest@porteus:~$ dir2xzm usmod/ usmod.xzm

root@porteus:/home/guest# grep MODULES /etc/usm/usm.conf 
MODULES=false
root@porteus:/home/guest# activate usmod.xzm 
Updating shared library links:  /sbin/ldconfig
root@porteus:/home/guest# grep MODULES /etc/usm/usm.conf 
MODULES=false
Anyway, main thing is it's working after a fashion, and if it opens up the slack only repo to us, well and good.

Update Edit 20-6-15 Terribly annoying. Read slacky as slackonly when doing usm on wireshark. So did not reach slackonly. Too optimistic. Back to drawing board. :(

However did discover something about aufs. Looks like to ensure edit is not persistent, have to effect edit thru another overlay, thus

Code: Select all

root@porteus:/home/guest# ls /mnt/live/memory/images/u*
/bin/ls: cannot access /mnt/live/memory/images/u*: No such file or directory
root@porteus:/home/guest# grep MODULES /etc/usm/usm.conf
MODULES=false
root@porteus:/home/guest# activate usm-3.1.7-x86_64-slackonly-mod-1tct.xzm 
Updating shared library links:  /sbin/ldconfig
root@porteus:/home/guest# grep MODULES /etc/usm/usm.conf
MODULES=true
root@porteus:/home/guest# activate usmod_F.xzm 
Updating shared library links:  /sbin/ldconfig
root@porteus:/home/guest# grep MODULES /etc/usm/usm.conf
MODULES=false
root@porteus:/home/guest# deactivate usmod_F.xzm 
Updating shared library links:  /sbin/ldconfig
root@porteus:/home/guest# grep MODULES /etc/usm/usm.conf
MODULES=true
root@porteus:/home/guest# deactivate usm-3.1.7-x86_64-slackonly-mod-1tct.xzm 
Updating shared library links:  /sbin/ldconfig
root@porteus:/home/guest# grep MODULES /etc/usm/usm.conf
MODULES=false

Re: Games: what about your favorite game on linux

Posted: 11 Jul 2015, 17:27
by francois
Additional games needed. :Yahoo!:

Re: Games: what about your favorite game on linux

Posted: 12 Jul 2015, 09:21
by jimwg
francois wrote:Additional games needed. :Yahoo!:
Eldevin works surprizingly well on Porteus, as a standalone cliient and in browser (kudos to Haunted Cow!) but I can really do with a lot more linux MMOs (wistfully Neverwinter or at leastRegnum graqde!) in general. Steam is no real solution under Porteus because it's reported to take too much memory overhead to also play the games you want, so the story I'm getting on some linux boards is they're concentrating on using PlayOnLinux rather than Q4Wine (?) along with Arc instead, which would also be a memory saver for Porteus I believe IF POL also works in Porteus. I dunno. I just wanna play!

Jim in NYC