USM Unified Slackware Package Manager
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: USM Unified Slackware Package Manager
Thanks roadie. Will add check for older file and overwrite it.
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: 6301
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: USM Unified Slackware Package Manager
I think that the packages provided by the studioware site on multimedia: audio, video and photo, could be a great asset to porteus in particular and slackware in general. Could they be integrated to the usm database?
Thanks.
Thanks.
Prendre son temps, profiter de celui qui passe.
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: USM Unified Slackware Package Manager
I've pondered this for a while. I prefer to have only major slackware repositories (5 is enough to maintain) for a number of reasons. The additions would be fantastic but after extensive testing I've found that many of the dependencies are not being resolved. This means I would need to go through and manually check the packages and add a manual dependencies list for them. Also if a repository goes down it will break the update system. This is bad planning on my part which will be fixed in a future release. Ultimately I am going for stability. I have too much to do and really want to automate and minimize any maintenance required.
I have a copy of USM here right now that includes Freestyler's repository (he has most of the studioware stuff) which I can make available to you if you want.
Adding a repository is not as easy as just putting the link to it as the standard for slackware repositories is not being followed by their respective maintainers.
I have a copy of USM here right now that includes Freestyler's repository (he has most of the studioware stuff) which I can make available to you if you want.
Adding a repository is not as easy as just putting the link to it as the standard for slackware repositories is not being followed by their respective maintainers.
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: 6301
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: USM Unified Slackware Package Manager
I understand and support this clear and wise position of yours.
Thanks.
Thanks.
Prendre son temps, profiter de celui qui passe.
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: USM Unified Slackware Package Manager
New release v3.1.3
+-------------------------
Tue Jul 29 21:12:32 UTC 2014
Fixed merge modules name (thanks Ed_P)
Sent edit config GUI to background (thanks Bogomips)
Fixed system libs report malfunction (thanks Bogomips)
Added GUI option for no prompts
Fixed set path option (thanks Tome)
Remove old updates before install (thanks roadie)
You can update through the update menu in USM (requires application restart afterwards)
Download package - http://sourceforge.net/projects/usm/fil ... z/download
Download module - http://sourceforge.net/projects/usm/fil ... m/download
Let's see if I haven't broken anything.
+-------------------------
Tue Jul 29 21:12:32 UTC 2014
Fixed merge modules name (thanks Ed_P)
Sent edit config GUI to background (thanks Bogomips)
Fixed system libs report malfunction (thanks Bogomips)
Added GUI option for no prompts
Fixed set path option (thanks Tome)
Remove old updates before install (thanks roadie)
You can update through the update menu in USM (requires application restart afterwards)
Download package - http://sourceforge.net/projects/usm/fil ... z/download
Download module - http://sourceforge.net/projects/usm/fil ... m/download
Let's see if I haven't broken anything.
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.
-
- White ninja
- Posts: 18
- Joined: 02 Aug 2014, 02:22
- Distribution: Porteus 3 and pclinuxOS
- Location: usa
Re: USM Unified Slackware Package Manager
hi 
i'm getting an error when i do 'update all'
/usr/share/usm/funcupdateDatabase; line 296: [: 140729: unary operator expected

i'm getting an error when i do 'update all'
/usr/share/usm/funcupdateDatabase; line 296: [: 140729: unary operator expected
-
- White ninja
- Posts: 18
- Joined: 02 Aug 2014, 02:22
- Distribution: Porteus 3 and pclinuxOS
- Location: usa
Re: USM Unified Slackware Package Manager
and then on next and subsequent system reboot, usm wont run at all
- Ed_P
- Contributor
- Posts: 7671
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.0 ISO
- Location: Western NY, USA
Re: USM Unified Slackware Package Manager
router, are you running with the cheatcode changes=EXIT?
Ed
-
- White ninja
- Posts: 18
- Joined: 02 Aug 2014, 02:22
- Distribution: Porteus 3 and pclinuxOS
- Location: usa
Re: USM Unified Slackware Package Manager
i am, and a 5 minutely cron dump-session. shall i try without that cheatcode?
i'm new to porteus, very new, but i'd appreciate any info about these things that can be given so i learn not just what to do or not but the reasons.
edited to add, i've now seen the discussion in the USM bugs thread, the info about whiteout files is beyond my current grasp of how Porteus works but i gather enough from context that the net result is a save-state with inconsistencies. let me be silent here and i'll post there if i have something of relevance, or questions, as i think this should be clean and more for "new version is ready, get it here" kind of things.
i'm new to porteus, very new, but i'd appreciate any info about these things that can be given so i learn not just what to do or not but the reasons.

edited to add, i've now seen the discussion in the USM bugs thread, the info about whiteout files is beyond my current grasp of how Porteus works but i gather enough from context that the net result is a save-state with inconsistencies. let me be silent here and i'll post there if i have something of relevance, or questions, as i think this should be clean and more for "new version is ready, get it here" kind of things.
- Ed_P
- Contributor
- Posts: 7671
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.0 ISO
- Location: Western NY, USA
Re: USM Unified Slackware Package Manager
We were all new at one point, myself included, and I still am.router wrote:i'm new to porteus, very new, but i'd appreciate any info about these things
Copy and paste this script into your /home/guest folder.
Code: Select all
#!/bin/sh
# http://forum.porteus.org/viewtopic.php?f=81&t=3501&p=25182#p25178
# http://forum.porteus.org/viewtopic.php?f=81&t=3501&p=25151#p25162
# http://forum.porteus.org/viewtopic.php?f=81&t=3501&p=25151#p25178
# mloop requires changes= cheatcodes not be used (Always Fresh mode)
if [ `whoami` != "root" ]; then
ktsuss "$0"
exit
fi
if [ -f /mnt/live/memory/images/changes ]; then
SPACEDATDIR=/mnt/live/memory/images/changes
else
mloop /mnt/sda5/porteus/changes/porteussave.dat
SPACEDATDIR=/mnt/loop
fi
echo find ${SPACEDATDIR} -name .wh.*
find ${SPACEDATDIR} -name .wh.*
echo
echo Enter to delete, Ctrl+C to exit.
read
echo "find ${SPACEDATDIR} -name .wh.* | xargs rm"
find ${SPACEDATDIR} -name ".wh.*" | xargs rm
echo
echo find ${SPACEDATDIR} -name .wh.*
find ${SPACEDATDIR} -name .wh.*
read
if [ -f /mnt/live/memory/images/changes ]; then
exit
else
uloop
fi
exit
I save the file as savedatremovewhfiles.sh and run it with:
Code: Select all
sh savedatremovewhfiles.sh
This is a known bug and will be fixed in the not too distant future.
http://forum.porteus.org/viewtopic.php? ... =90#p26629
Last edited by Ed_P on 02 Aug 2014, 19:51, edited 1 time in total.
Ed
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: USM Unified Slackware Package Manager
Router, no need to use any scripts or delete any file (please). Don't mess around with the .wh files at all. Just download the new initrd.xz and replace the one in your current porteus install. It is located in: /mnt/sdxY/boot/syslinux/initrd.xz (where sdxY is the location of your porteus install.)
The error message will still appear but won't affect the functioning of Porteus in any way. It is a USM error that will be fixed in the next update.
EDIT: You may need to start your savefile.dat again from scratch but it beats getting into to trouble with .wh files in the future and compounding the problem. Kill it at the root and use the new initrd.xz.
The error message will still appear but won't affect the functioning of Porteus in any way. It is a USM error that will be fixed in the next update.
EDIT: You may need to start your savefile.dat again from scratch but it beats getting into to trouble with .wh files in the future and compounding the problem. Kill it at the root and use the new initrd.xz.
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: 7671
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.0 ISO
- Location: Western NY, USA
Re: USM Unified Slackware Package Manager
Instead just...brokenman wrote:Router, no need to use any scripts or delete any file
delete everything.start your savefile.dat again from scratch

But it is an option and I've been there and done that, many times. Thus I have a script for that too. What I do is create a backup of my current save.dat file, then create a new save.dat file, reboot and use this script to copy my pertinent files from my backup to my new system.
Code: Select all
#!/bin/sh
# 1. Create a new save.dat file. menu > System Tools > Porteus save file manager
# 2. Exit Porteus and reboot to Windows or Porteus Always Fresh mode
# 3. Backup save.dat to save.dat.zxm
# 4. Rename save.dat to save-1.dat
# 5. Rename save-2.dat to save.dat
# 6. Reboot Porteus. It will appear as an Always Fresh mode boot.
# 7. Run this script. sh /mnt/sda5/porteus/Guest/RebuildSavedat.sh
if [ `whoami` != "root" ]; then
ktsuss "$0"
exit
fi
echo
echo Before starting:
echo
echo Be sure to verify the SAVEDATBKUP file\'s name and location.
echo
echo "Set the Time Zone to US/Eastern to correct Date & Time for saved files."
echo "Menu > System Tools > Porteus Settings Centre > System Settings > Time Config"
echo
echo Run this script from LXterminal else SpaceFM bookmarks will not be restored.
echo Run the wmWeather.sh script and Firefox to initialize their folders.
echo And set width of the this window to be 130+.
echo
read
SAVEDATBKUP=/mnt/sda5/porteus/modsavedat/porteussave.dat.xzm
mloop $SAVEDATBKUP
cp -r -d /mnt/loop/home/guest/* /home/guest/
cp -r -d /mnt/loop/home/guest/.asoundrc /home/guest/
cp -r -d -v /mnt/loop/home/guest/.config/lxterminal/* /home/guest/.config/lxterminal/
cp -r -d -v /mnt/loop/home/guest/.config/keepassx/* /home/guest/.config/keepassx/
cp -r -d -v /mnt/loop/home/guest/.config/spaceFM/bookmarks /home/guest/.config/spacefm/
cp -r -d -v /mnt/loop/home/guest/.config/wmWeather/* /home/guest/.wmweather/
# disables the Acer's touchpad's jumping
# http://forum.porteus.org/viewtopic.php?f=81&t=1955&start=45#p13596
cp -a /home/guest/syndaemon.desktop /home/guest/.config/autostart
# No sound - on an Acer 722 netbook
# http://forum.porteus.org/viewtopic.php?f=81&t=2926#p20365
cp -a /home/guest/asound.conf /etc/
/etc/rc.d/rc.alsa restart
cp -r -d -v /mnt/loop/etc/NetworkManager/system-connections/* /etc/NetworkManager/system-connections/
echo
# http://forum.porteus.org/viewtopic.php?f=117&t=3551&p=25812#p25812
cp -r -d -v /mnt/loop/etc/localtime /etc/
# http://forum.porteus.org/viewtopic.php?f=123&t=3265&p=26041#p26008
cp -r -d -v /mnt/loop/etc/profile.d/add-z-dot* /etc/profile.d/
echo
echo Be sure Firefox is closed, then press Enter to continue.
read
cp -r -d -v /mnt/loop/home/guest/.mozilla/firefox/c3pp43bg.default/places.sqlite /home/guest/.mozilla/firefox/c3pp43bg.default/
cp -r -d -v /mnt/loop/home/guest/.mozilla/firefox/c3pp43bg.default/prefs.js /home/guest/.mozilla/firefox/c3pp43bg.default/
cp -r -d -v /mnt/loop/home/guest/.mozilla/firefox/c3pp43bg.default/signons.sql* /home/guest/.mozilla/firefox/c3pp43bg.default/
echo
ls /home/guest/.mozilla/firefox/c3pp43bg.default/
echo
echo Press Enter to restore USM files.
read
cp -r -d -v /mnt/loop/usr/bin/usm* /usr/bin/
cp -r -d -v /mnt/loop/usr/bin/packagetools /usr/bin/
cp -r -d -v /mnt/loop/usr/share/applications/usm.desktop /usr/share/applications/
cp -r -d -v /mnt/loop/usr/share/icons/hicolor/48x48/apps/usm*.png /usr/share/icons/hicolor/48x48/apps/
cp -r -d -v /mnt/loop/etc/usm/* /etc/usm/
cp -r -d -v /mnt/loop/usr/share/usm/* /usr/share/usm/
cp -r -d -v /mnt/loop/usr/man/man8/usm.8* /usr/man/man8/
cp -r -d /mnt/loop/var/usm/* /var/usm/
ls /var/usm/
echo
echo Press Enter to continue.
read
uloop
echo
echo "Use Preferences > Razor-qt settings > Razor Autosuspend to set Lid Closed to Sleep"
echo " and Power Low to Shutdown."
echo "Use Accessories > HP Device Manager > Setup Device to activate Network HP printer."
echo "Use Porteus > Preferences > Java to change Security settings for Java games."
echo
echo Open FireFox to verify History Preferences.
echo " Edit>Preferences>Privacy>History>Use custom settings for history:"
echo " Accept cookies, Accept third-party cookies, Keep until: I close FF, Clear history"
echo " and change browser.bookmarks.max_backups setting to 4 {about:config}."
echo
echo Recreate the porteussave.dat.xzm file.
echo
exit
And if it doesn't work you can always
brokenman wrote:start your savefile.dat again from scratch
Last edited by Ed_P on 04 Aug 2014, 04:44, edited 1 time in total.
Ed
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: USM Unified Slackware Package Manager
Yeah you're probably right. Listen to the pro router.But it is an option and I've been there and done that, many times.
For the record of not being quoted out of context. I believe I said ... " You may need to start your savefile.dat again from scratch". I assume since you've just installed Porteus that it is not a big deal.
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.
-
- White ninja
- Posts: 18
- Joined: 02 Aug 2014, 02:22
- Distribution: Porteus 3 and pclinuxOS
- Location: usa
Re: USM Unified Slackware Package Manager
well i'm using kde anyway not lxde
and yes at this point i'm just playing with things, i dont have that much of importance to be bothered much about clean start, and i've anyway managed to hose my install with something i did unrelated to usm, in attempting to make a module of an application work
this application has in its own file structure the folders /etc and /lib and since i made the module a bit wrong, it overlaid the 'real' /etc and /lib with its own

edit to add, by the way that initrd.xz is in a 64 bit folder on your repo, is there a 32 bit one or does it matter?
and yes at this point i'm just playing with things, i dont have that much of importance to be bothered much about clean start, and i've anyway managed to hose my install with something i did unrelated to usm, in attempting to make a module of an application work
this application has in its own file structure the folders /etc and /lib and since i made the module a bit wrong, it overlaid the 'real' /etc and /lib with its own


edit to add, by the way that initrd.xz is in a 64 bit folder on your repo, is there a 32 bit one or does it matter?
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: USM Unified Slackware Package Manager
+-------------------------
Thu Jul 31 18:05:13 UTC 2014
Added some checks to sbo build
Fixed warning message on update
Added skip update if updated less than 24 hours ago
Added support for authenticated proxy (Thanks Blaze)
+-------------------------
Tue Jul 29 21:12:32 UTC 2014
Fixed merge modules name (thanks Ed_P)
Sent edit config GUI to background (thanks Bogomips)
Fixed system libs report malfunction (thanks Bogomips)
Added GUI option for no prompts
Fixed set path option (thanks Tome)
Remove old updates before install (thanks roadie)
Updated to 3.1.4 which will be included in next Porteus release. Fixes harmless warning when updating. Adds support for authenticated proxy. Also pushed database update.
Thu Jul 31 18:05:13 UTC 2014
Added some checks to sbo build
Fixed warning message on update
Added skip update if updated less than 24 hours ago
Added support for authenticated proxy (Thanks Blaze)
+-------------------------
Tue Jul 29 21:12:32 UTC 2014
Fixed merge modules name (thanks Ed_P)
Sent edit config GUI to background (thanks Bogomips)
Fixed system libs report malfunction (thanks Bogomips)
Added GUI option for no prompts
Fixed set path option (thanks Tome)
Remove old updates before install (thanks roadie)
Updated to 3.1.4 which will be included in next Porteus release. Fixes harmless warning when updating. Adds support for authenticated proxy. Also pushed database update.
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.