Page 34 of 36

USM bug reports

Posted: 09 Aug 2017, 15:40
by port
bogomips, I don't fully understand your message, my guess is it's working for you 'cause you already have the package while it doesn't work for me because I haven't, is it that way? anyway have you got an idea of the problem in your script?

USM bug reports

Posted: 09 Aug 2017, 21:39
by Bogomips
port wrote:
09 Aug 2017, 15:40
bogomips, I don't fully understand your message, my guess is it's working for you 'cause you already have the package while it doesn't work for me because I haven't, is it that way?
No, turned mouse wheel in a moment of distraction, and it was downloaded along with a lot of indecipherable characters.

Starting from scratch:

Code: Select all

root@porteus:/home/guest# cp $g/usm/funcpackageGet.hic  /usr/share/usm/funcpackageGet   

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

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

1) text2pdf-1.1-x86_64-1_slonly.txz
#? 1

Processing:   text2pdf-1.1-x86_64-1_slonly.txz

=============
HEURISTIC USM
=============


 The following packages are required.
text2pdf-1.1-x86_64-1_slonly.txz [12K] [not installed]

Total size: 12 KB

 Press [r] to remove packages, [q] to quit, or enter to start downloading.
Downloading: text2pdf-1.1-x86_64-1_slonly.txz  DONE

root@porteus:/home/guest# ls -lh $u/usm/text2pdf-1.1-x86_64-1_slonly.txz
-rw-r--r-- 1 root root 8.5K Feb  6  2017 p10/Por/tmp64/usm/text2pdf-1.1-x86_64-1_slonly.txz
anyway have you got an idea of the problem in your script?
So far there is no problem to speak of. The contents of the file used to overwrite /usr/share/usm/funcpackageGet above, were those posted at the bottom of USM Skirting Sync Issue

USM bug reports

Posted: 12 Aug 2017, 17:48
by Ed_P
slackwarepatches is down.

Code: Select all

guest@porteus:~$ USM/safm.sh slackwarepatches 6

Current Mirror: http://ftp.slackware-brasil.com.br/
Alternative Mirrors
Choices Exhausted! Terminating.


guest@porteus:~$ USM/fasm.sh slackwarepatches 6

All Exclusion URLs:
Cmd Line URLs=0		File (.usm/badmirrors.txt) URLs=0	Merged(Unique) URLs=0
Raw Output:	/tmp/main/slackwarepatches.lst
Sorted Output:	
Links=152
Testing http://ftp.cc.swin.edu.au/slackware/ 0.622
 :
 :
Testing ftp://teewurst.cc.columbia.edu/pub/linux/slackware/ 0.764
Mirrors=152		Processed=151		Remaining=1
FMIR=http://teewurst.cc.columbia.edu/pub/linux/slackware/ 0.095
Password: 
Done!
slackwarepatches mirror set to: http://teewurst.cc.columbia.edu/pub/linux/slackware/



root@porteus:/home/guest# usm -u slackwarepatches
 Starting slackwarepatches database update 
Downloading: vercheck.txt  DONE
Downloading: CHECKSUMS.md5  DONE
Downloading: MANIFEST.bz2  DONE
Downloading: PACKAGES.TXT  DONE
Downloading: LIBS.TXT.gz  DONE
 There was a problem downloading the file: 

root@porteus:/home/guest# 
root@porteus:/home/guest# USM/safm.sh slackwarepatches 

Current Mirror: http://teewurst.cc.columbia.edu/pub/linux/slackware/
Alternative Mirrors
1) http://spout.ussg.indiana.edu/linux/slackware/ 0.126
2) http://slackware.mirrors.tds.net/pub/slackware/ 0.128
3) http://mirror.csclub.uwaterloo.ca/slackware/ 0.138
4) http://mirrors.slackware.com/slackware/ 0.141
5) http://mirror.its.dal.ca/slackware/ 0.146
6) http://marmot.tn.utexas.edu/slackware/ 0.187
#? 1
Done!
slackwarepatches mirror set to: http://spout.ussg.indiana.edu/linux/slackware/
Another Alternative? [Y/n]
Terminating.
root@porteus:/home/guest# usm -u slackwarepatches
 Starting slackwarepatches database update 
Downloading: vercheck.txt  DONE
Downloading: CHECKSUMS.md5  DONE
Downloading: MANIFEST.bz2  DONE
Downloading: PACKAGES.TXT  DONE
Downloading: LIBS.TXT.gz  DONE
 There was a problem downloading the file: 

root@porteus:/home/guest# 


USM bug reports

Posted: 12 Aug 2017, 20:03
by Bogomips
Ed_P wrote:
12 Aug 2017, 17:48
slackwarepatches is down.

Code: Select all

root@porteus:/home/guest# USM/safm.sh slackwarepatches 

Current Mirror: http://teewurst.cc.columbia.edu/pub/linux/slackware/
Alternative Mirrors
1) http://spout.ussg.indiana.edu/linux/slackware/ 0.126
2) http://slackware.mirrors.tds.net/pub/slackware/ 0.128
3) http://mirror.csclub.uwaterloo.ca/slackware/ 0.138
4) http://mirrors.slackware.com/slackware/ 0.141
5) http://mirror.its.dal.ca/slackware/ 0.146
6) http://marmot.tn.utexas.edu/slackware/ 0.187
#? 1
Done!
slackwarepatches mirror set to: http://spout.ussg.indiana.edu/linux/slackware/
Another Alternative? [Y/n]
Terminating.
Only tried 1 alternative? Not persistent enough!

And this is thru a vpn

Code: Select all

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

Updating config file

 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
 slackwarepatches  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
 slacky  database updated. 

 Starting salix database update 
Downloading: CHECKSUMS.md5  DONE
Downloading: PACKAGES.TXT  DONE
Downloading: LIBS.TXT.gz  DONE
Downloading: OPTIFEST.gz  DONE
 salix  database updated. 

 Starting alien 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
 alien  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
 ponce  database updated.

 Starting slackonly 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
 slackonly  database updated.

 Starting sbo database update
SLACKBUILDS.TXT.gz
Downloading: SLACKBUILDS.TXT.gz  DONE
 sbo  database updated.


Downloading: extra-deps.txt  DONE
Downloading: ignore-deps.txt  DONE


real    3m59.835s
user    0m22.424s
sys     0m5.877s
Check Repo Mirror

Code: Select all

root@porteus:/home/guest# sh  crm.sh slackwarepatches
SLACKWAREPATCHES
Mirror: http://slackware.mirrorcatalogs.com/
151 Commented Out

USM bug reports

Posted: 12 Aug 2017, 21:32
by Ed_P
Bogomips wrote:
12 Aug 2017, 20:03
Only tried 1 alternative? Not persistent enough!
Actually I tried 2 plus the original.
Check Repo Mirror

Code: Select all

root@porteus:/home/guest# sh  crm.sh slackwarepatches
SLACKWAREPATCHES
Mirror: http://slackware.mirrorcatalogs.com/
151 Commented Out
:shock: crm.sh Another USM script!! And where is it posted?

USM bug reports

Posted: 13 Aug 2017, 04:41
by donald
I would not call this a USM bug.
It was (it's working now) clearly the server who delivered a wrong/corrupted file
and because of rsync every up to date server would have the same.
Changing the server has no advantage in this case.

btw
the default (mirrors-slackwarepatches) is set to Brazil..., personally i set one
near my location -- makes sense, no?

USM bug reports

Posted: 13 Aug 2017, 10:55
by Bogomips
Ed_P wrote:
12 Aug 2017, 21:32
:shock: crm.sh Another USM script!! And where is it posted?
http://forum.porteus.org/viewtopic.php?p=57096#p57096 :)

USM bug reports

Posted: 13 Aug 2017, 11:17
by Bogomips
donald wrote:
13 Aug 2017, 04:41
I would not call this a USM bug.
It was (it's working now) clearly the server who delivered a wrong/corrupted file
and because of rsync every up to date server would have the same.
One would think so, but I"ve had this more than 2 weeks running:

Code: Select all

root@porteus:/home/guest# time usm -u all
 Starting slackware database update
Downloading: vercheck.txt  DONE
Downloading: CHECKSUMS.md5  DONE
Downloading: MANIFEST.bz2  DONE
Downloading: PACKAGES.TXT  DONE
Downloading: LIBS.TXT.gz  DONE
 There was a problem downloading the file:
 
guest@porteus:~$ bash safm.sh slackware

Current Mirror: http://slackware.mirrorcatalogs.com/
Alternative Mirrors
1) http://ftp.nluug.nl/os/Linux/distr/slackware/ 0.088810
2) http://mirror.nl.leaseweb.net/slackware/ 0.089126
3) http://mirror.ovh.net/mirrors/ftp.slackware.com/ 0.100952
4) http://sunsite.informatik.rwth-aachen.de/ftp/pub/comp/Linux/slackware/ 0.111804
5) http://sunsite.icm.edu.pl/packages/linux-slackware/ 0.111877
6) http://mirror.bytemark.co.uk/slackware/ 0.117529
#? 1
Done!
slackware mirror set to: http://ftp.nluug.nl/os/Linux/distr/slackware/
Another Alternative? [Y/n]
Terminating.

root@porteus:/home/guest# time usm -u all
 Starting slackware database update 
...
sbo was updated 191 seconds ago. Skipping.

Downloading: extra-deps.txt  DONE
Downloading: ignore-deps.txt  DONE

You can change the time limit for skipping in: /etc/usm/usm.conf
The default is 3 hours

real    2m9.971s
user    0m22.043s
sys     0m5.894s

Conclusion to be drawn is that for some reason the mirror for slackware on the server has been clobbered, as can be seen that the xame mirror works for slackwarepatches.

USM bug reports

Posted: 13 Aug 2017, 13:53
by Ed_P
Bogomips wrote:
13 Aug 2017, 10:55
Ed_P wrote:
12 Aug 2017, 21:32
:shock: crm.sh Another USM script!! And where is it posted?
http://forum.porteus.org/viewtopic.php?p=57096#p57096 :)
Actually it's at http://forum.porteus.org/viewtopic.php?p=55998#p55998.

USM bug reports

Posted: 13 Aug 2017, 13:55
by Ed_P
donald wrote:
13 Aug 2017, 04:41
and because of rsync every up to date server would have the same.
Changing the server has no advantage in this case.
Unless you find one that hasn't been updated, which I eventually did. And I wondered about that. :)

USM bug reports

Posted: 16 Aug 2017, 04:41
by Ed_P
Not resolving missing files.

Code: Select all

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

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

1) keepassx-0.4.4-x86_64-1gv.txz	3) keepassx-2.0.3-x86_64-1alien.tgz
2) keepassx-2.0.2-x86_64-1_slonly.txz	4) keepassxc-2.2.0-x86_64-2_slonly.txz
#? 1

Processing:   keepassx-0.4.4-x86_64-1gv.txz 
Ignored libraries: 

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



=============
HEURISTIC USM
=============


 The following packages are required. 
keepassx-0.4.4-x86_64-1gv.txz [726K] [not installed]

Total size: 726 KB
 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: keepassx-0.4.4-x86_64-1gv.txz  DONE

 Commencing package conversion ... 
Verifying package keepassx-0.4.4-x86_64-1gv.txz.
Installing package keepassx-0.4.4-x86_64-1gv.txz:
PACKAGE DESCRIPTION:
# keepassx (personal data management application)
# 
# KeePassX saves many different information e.g. user names, passwords,
# urls, attachments and comments in one single database. For a better
# management user-defined titles and icons can be specified for each
# single entry. Furthermore the entries are sorted in groups, which are
# customizable as well. The integrated search function allows to search
# in a single group or the complete database. KeePassX offers a little
# utility for secure password generation.
# 
/sbin/ldconfig: /usr/lib/libv4lconvert.so.0 is not a symbolic link

/sbin/ldconfig: /usr/lib/libv4l2.so.0 is not a symbolic link

/sbin/ldconfig: /usr/lib/libv4l1.so.0 is not a symbolic link

Executing install script for keepassx-0.4.4-x86_64-1gv.txz.
Package keepassx-0.4.4-x86_64-1gv.txz installed.

Creating /tmp/usm/keepassx-0.4.4-x86_64-1gv.xzm

 Enter a custom path to install packages to or press enter to install to the system: 
>
Installing to system

+==============================================================================
| Installing new package /tmp/usm/keepassx-0.4.4-x86_64-1gv.txz
+==============================================================================

Verifying package keepassx-0.4.4-x86_64-1gv.txz.
Installing package keepassx-0.4.4-x86_64-1gv.txz:
PACKAGE DESCRIPTION:
# keepassx (personal data management application)
# 
# KeePassX saves many different information e.g. user names, passwords,
# urls, attachments and comments in one single database. For a better
# management user-defined titles and icons can be specified for each
# single entry. Furthermore the entries are sorted in groups, which are
# customizable as well. The integrated search function allows to search
# in a single group or the complete database. KeePassX offers a little
# utility for secure password generation.
# 
/sbin/ldconfig: /usr/lib/libv4lconvert.so.0 is not a symbolic link

/sbin/ldconfig: /usr/lib/libv4l2.so.0 is not a symbolic link

/sbin/ldconfig: /usr/lib/libv4l1.so.0 is not a symbolic link

Executing install script for keepassx-0.4.4-x86_64-1gv.txz.
Package keepassx-0.4.4-x86_64-1gv.txz installed.


>> Used Nemo and activated the /tmp/usm/keepassx-0.4.4-x86_64-1gv.xzm module <<


root@porteus:/home/guest# keepassx
keepassx: error while loading shared libraries: libQtXml.so.4: cannot open shared object file: No such file or directory
root@porteus:/home/guest# usm -g libQtXml.so.4

 Nothing found for:  libQtXml.so.4 

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

 Nothing found for:  libQtXml 

root@porteus:/home/guest# 

/usr/share/usm/funcpackageGet has been updated with funcpackageGet.hic

:(

USM bug reports

Posted: 16 Aug 2017, 05:35
by Ed_P
And

Code: Select all

guest@porteus:~$ su
Password: 
root@porteus:/home/guest# USM/crm.sh slackwarepatches
SLACKWAREPATCHES
Mirror: http://slackware.mirrorcatalogs.com/
152 Commented Out
root@porteus:/home/guest# usm -u all
slackware was updated 2955 seconds ago. Skipping.
 Starting slackwarepatches database update 
Downloading: vercheck.txt  DONE
Downloading: CHECKSUMS.md5  DONE
Downloading: MANIFEST.bz2  DONE
Downloading: PACKAGES.TXT  DONE
Downloading: LIBS.TXT.gz  DONE
 There was a problem downloading the file: 

root@porteus:/home/guest# 
slackwarepatches is down. :evil:

USM bug reports

Posted: 16 Aug 2017, 05:42
by donald
Use the -s switch when looking for a library.. ;)

Code: Select all

root@porteus:/home/guest# usm -s libQtXml.so.4

 ----------------------------- 
 Are you searching for a library file? 

libQtXml.so.4, it seems a library.
Would you like to find the package for it? [y/n]

 libQtXml.so.4  was found in   qt-4.8.7-i586-4.txz 
EDIT
--> slackware patches <--
The server itself is running - look into /var/usm/slackwarepatches/ - you get files
but the md5sum does not match (MANIFEST.bz2 <=> CHECKSUMS.md5)
hence "There was a problem downloading the file"

USM bug reports

Posted: 16 Aug 2017, 06:03
by Ed_P
Thank you donald. :friends:

Unfortunately it didn't help. :(

Code: Select all

guest@porteus:~$ su
Password: 
root@porteus:/home/guest# usm -s libQtXml.so.4

 ----------------------------- 
 Are you searching for a library file? 

libQtXml.so.4, it seems a library.
Would you like to find the package for it? [y/n]

 libQtXml.so.4  was found in   copasi-4.20.158-x86_64-1_slonly.txz 

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

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

1) copasi-4.20.158-x86_64-1_slonly.txz
#? 1

Processing:   copasi-4.20.158-x86_64-1_slonly.txz 
Ignored libraries: 

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



=============
HEURISTIC USM
=============


 The following packages are required. 
copasi-4.20.158-x86_64-1_slonly.txz [29640K] [not installed]

Total size: 29 MB
 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.
Downloading: copasi-4.20.158-x86_64-1_slonly.txz  DONE

 Commencing package conversion ... 
Verifying package copasi-4.20.158-x86_64-1_slonly.txz.
Installing package copasi-4.20.158-x86_64-1_slonly.txz:
PACKAGE DESCRIPTION:
# copasi (tool for modeling and simulation of biochemical networks)
#
# COPASI is a stand-alone program that simulates models of biochemical
# networks using ODE solvers or Gillespie's stochastic simulation
# algorithm. COPASI is compatible with models in SBML format. It also
# performs several analyses: stability, parameter sensitivity,
# elementary modes, Lyapunov exponents, optimization, and parameter
# estimation. Data can be visualized in plots, histograms and animations
# of network diagrams. Both GUI and a command line version are included.
#
# Homepage: http://www.copasi.org/
/sbin/ldconfig: /usr/lib/libv4lconvert.so.0 is not a symbolic link

/sbin/ldconfig: /usr/lib/libv4l2.so.0 is not a symbolic link

/sbin/ldconfig: /usr/lib/libv4l1.so.0 is not a symbolic link

Executing install script for copasi-4.20.158-x86_64-1_slonly.txz.
Package copasi-4.20.158-x86_64-1_slonly.txz installed.

Creating /tmp/usm/copasi-4.20.158-x86_64-1_slonly.xzm

 Enter a custom path to install packages to or press enter to install to the system: 
>
Installing to system

+==============================================================================
| Installing new package /tmp/usm/copasi-4.20.158-x86_64-1_slonly.txz
+==============================================================================

Verifying package copasi-4.20.158-x86_64-1_slonly.txz.
Installing package copasi-4.20.158-x86_64-1_slonly.txz:
PACKAGE DESCRIPTION:
# copasi (tool for modeling and simulation of biochemical networks)
#
# COPASI is a stand-alone program that simulates models of biochemical
# networks using ODE solvers or Gillespie's stochastic simulation
# algorithm. COPASI is compatible with models in SBML format. It also
# performs several analyses: stability, parameter sensitivity,
# elementary modes, Lyapunov exponents, optimization, and parameter
# estimation. Data can be visualized in plots, histograms and animations
# of network diagrams. Both GUI and a command line version are included.
#
# Homepage: http://www.copasi.org/
/sbin/ldconfig: /usr/lib/libv4lconvert.so.0 is not a symbolic link

/sbin/ldconfig: /usr/lib/libv4l2.so.0 is not a symbolic link

/sbin/ldconfig: /usr/lib/libv4l1.so.0 is not a symbolic link

Executing install script for copasi-4.20.158-x86_64-1_slonly.txz.
Package copasi-4.20.158-x86_64-1_slonly.txz installed.



root@porteus:/home/guest# keepassx
keepassx: error while loading shared libraries: libQtXml.so.4: cannot open shared object file: No such file or directory
root@porteus:/home/guest# 

USM bug reports

Posted: 16 Aug 2017, 07:48
by donald
Ed, why you choose 0.4.4 newest one is 2.0.3

IMPORTANT - bear in mind that i'm on 32 Bit not 64 Bit
so folders might be named lib64 in your case.

However, what i had to do to get keepassx running:
Link the missing files

Code: Select all

root@porteus:/usr/lib# ln -s /usr/share/copasi/lib/libQtXml.so.4 libQtXml.so.4
root@porteus:/usr/lib# ln -s /usr/share/copasi/lib/libQtGui.so.4 libQtGui.so.4
root@porteus:/usr/lib# ln -s /usr/share/copasi/lib/libQtCore.so.4 libQtCore.so.4
after that, another file was missing -> libpng12.so.0
so the libpng-legacy12-1.2.57-i486-1_slonly package was needed.

now keepassx runs