Page 8 of 36

Re: USM bug reports

Posted: 01 Aug 2014, 00:02
by brokenman
So you have no whiteout-base file in the root of your changes (.wh..wh.aufs)?

No I didn't check with changes=EXIT code. Will check that shortly.

Lastly, what is with the odd file path (/mnt/live/memory/images/changes) ?
It should be /mnt/live/memory/images and /mnt/live/memory/changes with a standard set up. The /images/ directory contains aufs mounts of the module system. The /changes/ directory contains everything that changed. Do you perhaps have a module (with no extension) or a changes file in your modules folder?

Re: USM bug reports

Posted: 01 Aug 2014, 01:22
by Ed_P
brokenman wrote:So you have no whiteout-base file in the root of your changes (.wh..wh.aufs)?
I guess so.
Lastly, what is with the odd file path (/mnt/live/memory/images/changes) ?
It is the path fathom gave me a while back (http://forum.porteus.org/viewtopic.php? ... 099#p25097) that allows me to check the space and etc of my changes file without having to reboot to Always Fresh mode to do it.

Code: Select all

guest@porteus:~$ bootmode.sh
quiet from=/ISOs/Porteus-RazorQT-v3.0-x86_64.iso changes=EXIT:/porteus/changes/porteussave.dat extramod=/mnt/sda5/porteus/modules volume=40  

guest@porteus:~$ ls /mnt/sda5/porteus/modules
001-core_fixes-20140408-x86_64-1prt.xzm*   jre-7u55-x86_64-1.xzm*
07-printing.xzm*                           keepassx-0.4.3-x86_64-2dj.xzm*
PlayOnLinux-4.2.4-x64-1.xzm*               samba-4.1.9-x86_64-1_slack14.1.xzm*
Wine-1.7.22-x64-GeckoMono-1.xzm*           testdisk-6.14-x86_64-2sl.xzm*
flash-plugin-11.2.202.350-x86_64-1gv.xzm*  wmweather-2.4.5-x86_64-1ponce.xzm*

guest@porteus:~$ ls /mnt/live/memory/images
000-kernel.xzm/
001-core.xzm/
001-core_fixes-20140408-x86_64-1prt.xzm/
002-xorg.xzm/
003-razor.xzm/
04-firefox.xzm/
07-printing.xzm/
PlayOnLinux-4.2.4-x64-1.xzm/
Wine-1.7.22-x64-GeckoMono-1.xzm/
changes/
flash-plugin-11.2.202.350-x86_64-1gv.xzm/
jre-7u55-x86_64-1.xzm/
keepassx-0.4.3-x86_64-2dj.xzm/
samba-4.1.9-x86_64-1_slack14.1.xzm/
testdisk-6.14-x86_64-2sl.xzm/
wmweather-2.4.5-x86_64-1ponce.xzm/
guest@porteus:~$ 

-- update --

As for .wh. files on my live system:

Code: Select all

guest@porteus:~$ su
Password: 
root@porteus:/home/guest# find /mnt/live/memory/changes -name .wh.*
/mnt/live/memory/changes/.wh..wh.orph
/mnt/live/memory/changes/.wh..wh.plnk
/mnt/live/memory/changes/.wh..wh.aufs
/mnt/live/memory/changes/home/guest/.mozilla/firefox/c3pp43bg.default/bookmarkbackups/.wh.bookmarks-2014-07-27.json
/mnt/live/memory/changes/home/guest/.mozilla/firefox/c3pp43bg.default/bookmarkbackups/.wh.bookmarks-2014-07-26.json
/mnt/live/memory/changes/home/guest/.cache/mozilla/firefox/c3pp43bg.default/safebrowsing/.wh..wh..opq
/mnt/live/memory/changes/home/guest/.macromedia/Flash_Player/macromedia.com/support/flashplayer/sys/.wh..wh..opq
/mnt/live/memory/changes/home/guest/.PlayOnLinux/tmp/.wh..wh..opq

Re: USM bug reports

Posted: 01 Aug 2014, 14:13
by brokenman
Ok, this path appears when you are usinga save.dat file changes=EXIT. It should contain the white base, orph and plnk files though. Testing now.

Confirmed (as fanthom stated previously) that the bug is in the changes=EXIT code (doesn't happen with normal changes). Probably related to removepkg creating whiteout files. I will create a new thread for this to gather info.

Re: USM bug reports

Posted: 01 Aug 2014, 15:03
by Ed_P
brokenman wrote:Lastly, what is with the odd file path (/mnt/live/memory/images/changes) ?
It should be /mnt/live/memory/images and /mnt/live/memory/changes with a standard set up. The /images/ directory contains aufs mounts of the module system. The /changes/ directory contains everything that changed. Do you perhaps have a module (with no extension) or a changes file in your modules folder?
Ya kno this got me thinking. All my focus has been on the save.dat file, before doing the USM update, after the update and after rebooting. Looking at the white files in the live changes before and after the update could prove enlightening.

While my white file removal process removes all .wh. files in the save.dat file it doesn't impact white base, orph and plnk files in the live changes directory so they would be readded to save.dat the next time I exit Porteus. Right?





hmmmm I think we cross posted. Your last paragraph wasn't there initially.

Re: USM bug reports

Posted: 01 Aug 2014, 16:18
by brokenman
I've emailed fanthom with some questions about linuxrc.

Re: USM bug reports

Posted: 01 Aug 2014, 17:05
by fanthom
please try this initrd which fixes usm update problem with 'changes=EXIT:' cheatcode:
http://ponce.cc/porteus/x86_64/testing/initrd.xz
hopefully it wont break anything else :crazy:

please let me know about any the troubles you experience when using it.

thanks

Re: USM bug reports

Posted: 01 Aug 2014, 17:14
by Blaze
brokenman wrote:Add support for authenticated proxy.
On the job i use straight proxy. Thanks.

I'm promotion Porteus on my job...
Developer of http://www.keysystems.ru/ working on client Budget-SMART for Linux (Russian name is Бюджет-СМАРТ под Linux) Gtk, mono.

Translate from Google
Appointment
The software package "Budget-Smart" is designed to automate the compilation, analysis and execution of the budget entity and municipal budgets.

The complex is a multi-user system that has flexible settings to the individual requirements of organizations and allow you to work remotely on the Internet / Intranet communication channels. In this software package "Budget-Smart" provides a complete client application that resides on the user's computer.

The software package "Budget-SMART" operates in the mode of absence due to the financial body and is built on three-tier architecture (client application - the application server - database server) on the basis of object kernel application software "Budget-KS" operated in the territorial and municipal financial institutions. Inherits a powerful help system and a convenient system administration, has full compatibility format of data transmitted.
At my request, modules for Prtreus added to the repository keysystems.ru
Now Porteus is support Budget-SMART for Linux :friends:

http://keysystems.ru/files/web/INSTALL/ ... epository/

Cheers,
Blaze

Re: USM bug reports

Posted: 01 Aug 2014, 18:46
by brokenman
Fanthom yes this resolves the problem. Thanks very much.

Blaze, that's excellent news!

Re: USM bug reports

Posted: 01 Aug 2014, 21:49
by Ed_P
fanthom wrote:please try this initrd which fixes usm update problem with 'changes=EXIT:' cheatcode:
http://ponce.cc/porteus/x86_64/testing/initrd.xz
hopefully it wont break anything else :crazy:
Ok. But what do I do with this .xz file? Put it in my modules directory? Put it's name in a cheatcode?
please let me know about any the troubles you experience when using it.
Ok. What type of troubles should I look for? What does initrd.xz do?
thanks
Actually thank you fathom. :beer:

Re: USM bug reports

Posted: 02 Aug 2014, 03:12
by Ed_P
Ok, so initrd.xz is a boot module. As in:

Code: Select all

initrd /boot/syslinux/initrd.xz
But I boot from an ISO with the Grub4DOS boot manager.

Code: Select all

title Porteus 3.0  changes=      \n 213MB\n Porteus-RazorQT-v3.0-x86_64.iso 
find --set-root                       /ISOs/Porteus-RazorQT-v3.0-x86_64.iso
map --heads=0 --sectors-per-track=0   /ISOs/Porteus-RazorQT-v3.0-x86_64.iso (0xff) 
map --hook
root (0xff)
kernel /boot/syslinux/vmlinuz    from=/ISOs/Porteus-RazorQT-v3.0-x86_64.iso changes=EXIT:/porteus/changes/porteussave.dat extramod=/mnt/sda5/porteus/modules volume=40  
initrd /boot/syslinux/initrd.xz
To test this module do I make the initrd line

Code: Select all

initrd /mnt/sda5/porteus/testing/initrd.xz
??

Re: USM bug reports

Posted: 02 Aug 2014, 11:22
by fanthom
What type of troubles should I look for? What does initrd.xz do?
.wh..wh.orph files are no longer copied to rw branch by linuxrc which means then does not play a role when changes=EXIT is used.
i have no idea what it may cause but initial testing went fine (maybe because changes=EXIT: works different than normal changes=)
To test this module do I make the initrd line
initrd /mnt/sda5/porteus/testing/initrd.xz
yes - this should be good.

in case of other queries please start new thread as this discussion in not USM related.

Re: USM bug reports

Posted: 02 Aug 2014, 14:10
by Ed_P
My USM 3.1.3 update using the testing initrd.xz module.

Code: Select all

-- Booted --  with the testing initrd.xz file.
initrd (hd0,4)/porteus/testing/initrd.xz


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

 You are using USM version:  3.1.2

root@porteus:/home/guest# find /mnt/live/memory/changes -name .wh.*
/mnt/live/memory/changes/.wh..wh.orph
/mnt/live/memory/changes/.wh..wh.plnk
/mnt/live/memory/changes/.wh..wh.aufs
/mnt/live/memory/changes/home/guest/Backups/FireFox/.wh.bookmarks-2014-07-30.json
/mnt/live/memory/changes/home/guest/.mozilla/firefox/c3pp43bg.default/bookmarkbackups/.wh.bookmarks-2014-07-27.json
/mnt/live/memory/changes/home/guest/.mozilla/firefox/c3pp43bg.default/bookmarkbackups/.wh.bookmarks-2014-07-26.json

root@porteus:/home/guest# find /mnt/live/memory/images/changes -name .wh.*
/mnt/live/memory/images/changes/home/guest/Backups/FireFox/.wh.bookmarks-2014-07-30.json
/mnt/live/memory/images/changes/home/guest/.mozilla/firefox/c3pp43bg.default/bookmarkbackups/.wh.bookmarks-2014-07-27.json
/mnt/live/memory/images/changes/home/guest/.mozilla/firefox/c3pp43bg.default/bookmarkbackups/.wh.bookmarks-2014-07-26.json
/mnt/live/memory/images/changes/home/guest/.cache/mozilla/firefox/c3pp43bg.default/safebrowsing/.wh..wh..opq
/mnt/live/memory/images/changes/home/guest/.macromedia/Flash_Player/macromedia.com/support/flashplayer/sys/.wh..wh..opq
/mnt/live/memory/images/changes/home/guest/.PlayOnLinux/tmp/.wh..wh..opq

root@porteus:/home/guest# echo Using USM's GUI to update USM and DBs
> 
> ^C

root@porteus:/home/guest# usm -v

 You are using USM version:  3.1.3

root@porteus:/home/guest# find /mnt/live/memory/changes -name .wh.*
/mnt/live/memory/changes/usr/src/po/.wh..wh..opq
/mnt/live/memory/changes/usr/share/usm/.wh..wh..opq
/mnt/live/memory/changes/usr/lib64/.wh.libapm.so.1
/mnt/live/memory/changes/var/log/packages/.wh.usm-3.1.2-noarch-1
/mnt/live/memory/changes/var/log/packages/.wh.usm-3.1.0-noarch-2
/mnt/live/memory/changes/etc/usm/.wh..wh..opq
/mnt/live/memory/changes/.wh..wh.orph
/mnt/live/memory/changes/.wh..wh.plnk
/mnt/live/memory/changes/.wh..wh.aufs
/mnt/live/memory/changes/home/guest/Backups/FireFox/.wh.bookmarks-2014-07-30.json
/mnt/live/memory/changes/home/guest/.mozilla/firefox/c3pp43bg.default/bookmarkbackups/.wh.bookmarks-2014-07-27.json
/mnt/live/memory/changes/home/guest/.mozilla/firefox/c3pp43bg.default/bookmarkbackups/.wh.bookmarks-2014-07-26.json

root@porteus:/home/guest# echo Will now reboot, saving changes, and try USM.
Will now reboot, saving changes, and try USM.

root@porteus:/home/guest# 


-- Rebooted --  with the testing initrd.xz again.
initrd (hd0,4)/porteus/testing/initrd.xz


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

 You are using USM version:  3.1.3

root@porteus:/home/guest# find /mnt/live/memory/changes -name .wh.*
/mnt/live/memory/changes/.wh..wh.orph
/mnt/live/memory/changes/.wh..wh.plnk
/mnt/live/memory/changes/.wh..wh.aufs
/mnt/live/memory/changes/var/log/packages/.wh.usm-3.1.2-noarch-1
/mnt/live/memory/changes/var/log/packages/.wh.usm-3.1.0-noarch-2
/mnt/live/memory/changes/usr/lib64/.wh.libapm.so.1
/mnt/live/memory/changes/home/guest/Backups/FireFox/.wh.bookmarks-2014-07-30.json
/mnt/live/memory/changes/home/guest/.mozilla/firefox/c3pp43bg.default/bookmarkbackups/.wh.bookmarks-2014-07-27.json
/mnt/live/memory/changes/home/guest/.mozilla/firefox/c3pp43bg.default/bookmarkbackups/.wh.bookmarks-2014-07-26.json

root@porteus:/home/guest# find /mnt/live/memory/images/changes -name .wh.*
/mnt/live/memory/images/changes/etc/usm/.wh..wh..opq
/mnt/live/memory/images/changes/home/guest/Backups/FireFox/.wh.bookmarks-2014-07-30.json
/mnt/live/memory/images/changes/home/guest/.mozilla/firefox/c3pp43bg.default/bookmarkbackups/.wh.bookmarks-2014-07-27.json
/mnt/live/memory/images/changes/home/guest/.mozilla/firefox/c3pp43bg.default/bookmarkbackups/.wh.bookmarks-2014-07-26.json
/mnt/live/memory/images/changes/home/guest/.cache/mozilla/firefox/c3pp43bg.default/safebrowsing/.wh..wh..opq
/mnt/live/memory/images/changes/home/guest/.macromedia/Flash_Player/macromedia.com/support/flashplayer/sys/.wh..wh..opq
/mnt/live/memory/images/changes/home/guest/.PlayOnLinux/tmp/.wh..wh..opq
/mnt/live/memory/images/changes/usr/lib64/.wh.libapm.so.1
/mnt/live/memory/images/changes/usr/share/usm/.wh..wh..opq
/mnt/live/memory/images/changes/usr/src/po/.wh..wh..opq
/mnt/live/memory/images/changes/var/log/packages/.wh.usm-3.1.2-noarch-1
/mnt/live/memory/images/changes/var/log/packages/.wh.usm-3.1.0-noarch-2
root@porteus:/home/guest# 

It works for me.  :-)  Yeah!!!   Thanks guys.
:good:

Re: USM bug reports

Posted: 02 Aug 2014, 22:11
by Bogomips

Code: Select all

root@porteus:/home/guest# usm -u all
 Starting alien database update 
Downloading: vercheck.txt  DONE
Downloading: extra-deps.txt  DONE
Downloading: CHECKSUMS.md5.gz  DONE
Downloading: MANIFEST.bz2  DONE
Downloading: PACKAGES.TXT.gz  DONE
Downloading: LIBS.TXT.gz  DONE
File verification was good.
Optimizing manifest
/usr/share/usm/funcupdateDatabase: line 296: [: 140729: unary operator expected
 alien  database updated. 
...
 Starting sbo database update 
SLACKBUILDS.TXT.gz
Downloading: SLACKBUILDS.TXT.gz  DONE
/usr/share/usm/funcupdateDatabase: line 296: [: 140729: unary operator expected
 sbo  database updated. 
Still getting the error messages all day (after updating once more at end of day). :Search:

Re: USM bug reports

Posted: 02 Aug 2014, 23:02
by brokenman
Ignore the warning message. It doesn't affect anything and will be fixed in next update. It is just complaining about a number.

Re: USM bug reports

Posted: 05 Aug 2014, 00:18
by Bogomips
Conundrum
  1. Code: Select all

    root@porteus:/home/guest# usm -u all
     Starting alien database update 
    Downloading: vercheck.txt  DONE
    Downloading: extra-deps.txt  DONE
    Downloading: CHECKSUMS.md5.gz  DONE
    Downloading: MANIFEST.bz2  DONE
    Downloading: PACKAGES.TXT.gz  DONE
    Downloading: LIBS.TXT.gz  DONE
    File verification was good.
    Optimizing manifest
    /usr/share/usm/funcupdateDatabase: line 296: [: 140729: unary operator expected
     alien  database updated. 
    
     Starting salix database update 
    Downloading: CHECKSUMS.md5  DONE
    Downloading: PACKAGES.TXT  DONE
    Downloading: LIBS.TXT.gz  DONE
    Downloading: OPTIFEST.gz  DONE
    Downloading: MANIFEST.bz2  DONE
    /usr/share/usm/funcupdateDatabase: line 296: [: 140729: unary operator expected
     salix  database updated. 
    
     Starting slacky database update 
    Downloading: CHECKSUMS.md5.gz  DONE
    Downloading: MANIFEST.bz2  DONE
    Downloading: PACKAGES.TXT.gz  DONE
    Downloading: LIBS.TXT.gz  DONE
    File verification was good.
    Optimizing manifest
    /usr/share/usm/funcupdateDatabase: line 296: [: 140729: unary operator expected
     slacky  database updated. 
    
     Starting ponce database update 
    Downloading: CHECKSUMS.md5.gz  DONE
    Downloading: MANIFEST.bz2  DONE
    Downloading: PACKAGES.TXT.gz  DONE
    Downloading: LIBS.TXT.gz  DONE
    Optimizing manifest
    /usr/share/usm/funcupdateDatabase: line 296: [: 140729: unary operator expected
     ponce  database updated. 
    
     Starting slackware database update 
    Downloading: CHECKSUMS.md5  DONE
    Downloading: MANIFEST.bz2  DONE
    Downloading: PACKAGES.TXT  DONE
    Downloading: LIBS.TXT.gz  DONE
    File verification was good.
    Optimizing manifest
    /usr/share/usm/funcupdateDatabase: line 296: [: 140729: unary operator expected
     slackware  database updated. 
    
     Starting slackwarepatches database update 
    Downloading: CHECKSUMS.md5  DONE
    Downloading: MANIFEST.bz2  DONE
    Downloading: PACKAGES.TXT  DONE
    Downloading: LIBS.TXT.gz  DONE
    File verification was good.
    Optimizing manifest
    /usr/share/usm/funcupdateDatabase: line 296: [: 140729: unary operator expected
     slackwarepatches  database updated. 
    
     Starting sbo database update 
    SLACKBUILDS.TXT.gz
    Downloading: SLACKBUILDS.TXT.gz  DONE
    /usr/share/usm/funcupdateDatabase: line 296: [: 140729: unary operator expected
     sbo  database updated. 
    
  2. Code: Select all

    root@porteus:/home/guest# usm -g vlc  | tee u_v 2>> u_v
    
     The following items were found.
     Choose an number to confirm. 
     ctrl+c to quit
    1) vlc-2.1.2-i486-1sl.txz      3) vlc-2.1.4-i486-1alien.txz
    2) vlc-2.1.2-i686-1dj.txz      4) vlc-qt-0.10.0-i486-1sl.txz
    #? 
    3
    
    Processing:   vlc-2.1.4-i486-1alien.txz 
    
    Libraries required:  187
    Libraries found in system: 117
    Libraries to resolve: 70
    
    Processing library: libCHARSET3.so
    
     More than one package contains:  libCHARSET3.so
    samba-4.1.11-i486-1_slack14.1.txz  9844K  slackwarepatches
    samba-4.1.0-i486-2.txz             9760K  slackware
    
     The following items were found.
     Choose an number to confirm. 
    1) samba-4.1.11-i486-1_slack14.1.txz
    2) samba-4.1.0-i486-2.txz
    #?  ctrl+c to quit
    
    1
    Processing library: libaa.so.1
    Processing library: libaddns.so
    Processing library: libasn1-samba4.so.8
    Processing library: libasn1util.so
    Processing library: libauth_sam_reply.so
    Processing library: libauthkrb5.so
    Processing library: libcaca.so.0
    Processing library: libccan.so
    Processing library: libcli-ldap-common.so
    Processing library: libcli-nbt.so
    Processing library: libcli_cldap.so
    Processing library: libcli_smb_common.so
    Processing library: libcliauth.so
    Processing library: libdbwrap.so
    Processing library: libdcerpc-binding.so.0
    Processing library: libdcerpc-samba.so
    Processing library: liberrors.so
    Processing library: libflag_mapping.so
    Processing library: libgensec.so.0
    Processing library: libgse.so
    Processing library: libgssapi-samba4.so.2
    Processing library: libhcrypto-samba4.so.5
    Processing library: libheimbase-samba4.so.1
    Processing library: libhx509-samba4.so.5
    Processing library: libinterfaces.so
    Processing library: libkrb5-samba4.so.26
    Processing library: libkrb5samba.so
    Processing library: libldb.so.1
    Processing library: libldbsamba.so
    Processing library: liblibcli_lsa3.so
    Processing library: liblibsmb.so
    Processing library: libmsrpc3.so
    Processing library: libndr-krb5pac.so.0
    Processing library: libndr-nbt.so.0
    Processing library: libndr-samba.so
    Processing library: libndr-standard.so.0
    Processing library: libndr.so.0
    Processing library: libntdb.so.0
    Processing library: libreplace.so
    Processing library: libroken-samba4.so.19
    Processing library: libsamba-credentials.so.0
    Processing library: libsamba-hostconfig.so.0
    Processing library: libsamba-modules.so
    Processing library: libsamba-security.so
    Processing library: libsamba-sockets.so
    Processing library: libsamba-util.so.0
    Processing library: libsamba3-util.so
    Processing library: libsamdb-common.so
    Processing library: libsamdb.so.0
    Processing library: libsecrets3.so
    Processing library: libserver-role.so
    Processing library: libsmb_transport.so
    Processing library: libsmbclient.so.0
    Processing library: libsmbconf.so.0
    Processing library: libsmbd_shim.so
    Processing library: libsmbregistry.so
    Processing library: libtalloc.so.2
    Processing library: libtdb-wrap.so
    Processing library: libtdb.so.1
    Processing library: libtevent-util.so.0
    Processing library: libtevent.so.0
    Processing library: libutil_cmdline.so
    Processing library: libutil_ntdb.so
    Processing library: libutil_reg.so
    Processing library: libutil_setid.so
    Processing library: libutil_tdb.so
    Processing library: libwbclient.so.0
    Processing library: libwinbind-client.so
    Processing library: libwind-samba4.so.0
    
    
    Processing:   samba-4.1.11-i486-1_slack14.1.txz 
              
    
    ==============================================================================
    WARNING!        WARNING!        WARNING!        WARNING!        WARNING!
    ==============================================================================
    One or more errors occurred while usm was running:                       
     
    FATAL ERROR!
     resolve_deps 382
    Could not find: LIBS.TXT
     
    ============================================================================== 
    
  3. Code: Select all

    root@porteus:/home/guest# usm -g vlc  | tee u_vq 2>> u_vq
    
     The following items were found.
     Choose an number to confirm. 
    1) vlc-2.1.2-i486-1sl.txz      3) vlc-2.1.4-i486-1alien.txz
    2) vlc-2.1.2-i686-1dj.txz      4) vlc-qt-0.10.0-i486-1sl.txz
    #?  ctrl+c to quit
    
    4
    
    Processing:   vlc-qt-0.10.0-i486-1sl.txz 
    
    Libraries required:  8
    Libraries found in system: 7
    Libraries to resolve: 1
    
    Processing library: libvlc-qt.so.0.10
    
    
     The following packages are required. 
    vlc-qt-0.10.0-i486-1sl.txz [200K]
    
    Total size: 200 KB
    
     Press [r] to remove packages, [q] to quit, or enter to start downloading.
    Downloading: vlc-qt-0.10.0-i486-1sl.txz  DONE
    
:unknown: