[solved] Re: need audacity, but usm looks broken, actually

Post here if you are a new Porteus member and you're looking for some help.
MacGuges
White ninja
White ninja
Posts: 14
Joined: 12 Aug 2014, 21:59
Distribution: Porteus 3
Location: Rochester, NY

[solved] Re: need audacity, but usm looks broken, actually

Post#1 by MacGuges » 24 Oct 2014, 22:20

I've been trying to install audacity today, but been frustrated in each of my diverse attempts. Apparently I'm missing a low-level audio library, but it's not at all clear what I need to install to provide it.

Most recently I downloaded the package from http://porteus-apps.org/slackware/slack ... are/audio/, converting that txz package to a xzm, and when libid3tag was reported missing I built it from source (ftp://ftp.mars.org/pub/mpeg/). However, audacity continues to report this library is missing.

I've also tried studiopkg, recommended in another thread in these forums, http://forum.porteus.org/viewtopic.php?f=39&t=3323, but after running studiopkg -q audio I had also received the same error,

Code: Select all

audacity: error while loading shared libraries: libid3tag.so.0: cannot open shared object file: No such file or directory
I'm perplexed that I could be having so much difficulty installing a common application. Earlier I had tried building from source, but building wxGTK3 failed on a type mismatch error, so for now I'm focusing on installing a binary executable.
Last edited by MacGuges on 30 Oct 2014, 17:14, edited 2 times in total.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: need audacity, but dependencies remain missing

Post#2 by Bogomips » 24 Oct 2014, 23:30

Code: Select all

root@porteus:/home/guest# usm -s libid3tag.

libid3tag-0.15.1b-i486-4.txz was found in slackware [not installed]
Packages found:   1 

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

root@porteus:/home/guest# usm -g libid3tag.

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

1) libid3tag-0.15.1b-i486-4.txz
#? 1

Processing:   libid3tag-0.15.1b-i486-4.txz 
Ignored libraries: 

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

 The following packages are required. 
libid3tag-0.15.1b-i486-4.txz [36K] [not installed]

Total size: 36 KB
 Would you like to install the package/s? (custom paths are supported) [y/n]

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

donald
Full of knowledge
Full of knowledge
Posts: 2065
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: need audacity, but dependencies remain missing

Post#3 by donald » 24 Oct 2014, 23:50


User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: need audacity, but dependencies remain missing

Post#4 by brokenman » 25 Oct 2014, 01:23

Please try using the package manager. It pulls packages from across 5 different slackware repositories. Open a terminal and elevate to root: su (password is toor)

Code: Select all

usm -g audacity
This was the final output on a vanilla 32bit xfce install:

Code: Select all


The following packages are required. 
audacity-2.0.5-i486-1sl.txz [3362K] [not installed]
celt-0.11.3-i486-1ponce.txz [64K] [not installed]
jack-audio-connection-kit-0.124.1-i486-2ponce.txz [376K] [not installed]
libid3tag-0.15.1b-i486-4.txz [36K] [not installed]
libmspack-0.4alpha-i486-1ponce.txz [160K] [not installed]
soundtouch-1.7.1-i486-1gv.txz [57K] [not installed]
vamp-plugin-sdk-2.2.1-i486-3sl.txz [245K] [not installed]
wxGTK-2.8.12-i486-3sl.txz [3551K] [not installed]

Total size: 7 MB

 Multiple packages were detected.
 Would you like to merge the packages into one module? [y/n]
How do i become super user?
Wear your underpants on the outside and put on a cape.

MacGuges
White ninja
White ninja
Posts: 14
Joined: 12 Aug 2014, 21:59
Distribution: Porteus 3
Location: Rochester, NY

Re: need audacity, but usm looks broken, actually

Post#5 by MacGuges » 25 Oct 2014, 03:41

brokenman wrote:Please try using the package manager. It pulls packages from across 5 different slackware repositories. Open a terminal and elevate to root: su (password is toor)

Code: Select all

usm -g audacity
Thank you for bringing up usm. If I hadn't usually been successful with building from source or converting packages I found from pkgs.org, I would have reported the "not at all working" status of the package manager earlier. Here's what I see when I attempt to install audacity:

Code: Select all

root@porteus:~# usm -g audacity
/usr/bin/usm: line 133: [: too many arguments
/usr/bin/usm: line 169: [: too many arguments

 Nothing found for:  audacity 

root@porteus:~# Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.
and here's what I get when I search for libid3tag:

Code: Select all

root@porteus:~# usm -s libid3tag
/usr/bin/usm: line 133: [: too many arguments
/usr/bin/usm: line 169: [: too many arguments

awk: fatal: cannot open file `/var/usm/sbo/SLACKBUILDS.TXT' for reading (No such file or directory)
Nothing found for libid3tag
Running usm always produces some errors.

Code: Select all

root@porteus:~# usm -v
/usr/bin/usm: line 133: [: too many arguments
 You are using USM version:  3.1.7
Updating a database produces lots of errors, mostly missing files:

Code: Select all

root@porteus:~# usm -u slackware
/usr/bin/usm: line 133: [: too many arguments
/usr/bin/usm: line 169: [: too many arguments
 Starting slackware database update 
awk: fatal: cannot open file `/vercheck.txt' for reading (No such file or directory)
Downloading: CHECKSUMS.md5  DONE
Downloading: MANIFEST.bz2  DONE
Downloading: PACKAGES.TXT  DONE
Downloading: LIBS.TXT.gz  DONE
awk: fatal: cannot open file `/var/usm/slackware/CHECKSUMS.md5' for reading (No such file or directory)
md5sum: /var/usm/slackware/MANIFEST.bz2: No such file or directory
File verification was good.
Optimizing manifest
egrep: /var/usm/slackware/MANIFEST: No such file or directory
rm: cannot remove ‘/var/usm/slackware/MANIFEST’: No such file or directory
grep: /var/usm/slackware/LIBS.TXT: No such file or directory
sed: can't read /var/usm/slackware/LIBS.TXT: No such file or directory
grep: /var/usm/slackware/LIBS.TXT: No such file or directory
sed: can't read /var/usm/slackware/LIBS.TXT: No such file or directory
awk: fatal: cannot open file `/var/usm/slackware/PACKAGES.TXT' for reading (No such file or directory)
 slackware  database updated. 

This weekend I urgently need to get audacity working, to help a friend. Let's begin by attempting to repair usm (it will be several hours before I can respond to any new suggestions). Perhaps some essential files were clobbered since I installed Porteus 3.0.

Thank you for your help!

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: need audacity, but usm looks broken, actually

Post#6 by brokenman » 25 Oct 2014, 20:33

Are you using any changes= cheatcodes? If so try booting into 'Always fresh' mode and see if it works.

Also please update usm to the latest version by downloading the slackware package here and installing it with: installpkg /path/to/usm-latest-0.0-noarch-1.txz

You should also note that Porteus-v3.1rc1 is now available which contains the latest package. http://build.porteus.org/rc
How do i become super user?
Wear your underpants on the outside and put on a cape.

MacGuges
White ninja
White ninja
Posts: 14
Joined: 12 Aug 2014, 21:59
Distribution: Porteus 3
Location: Rochester, NY

Re: need audacity, but usm looks broken, actually

Post#7 by MacGuges » 28 Oct 2014, 03:22

I finally found some time to work on this problem, and I've got some results!
brokenman wrote:Are you using any changes= cheatcodes? If so try booting into 'Always fresh' mode and see if it works.
Yeah, I use changes=/porteus/porteus. Once I booted into 'Always fresh' I confirmed that "usm -u all" works just fine. No errors.

(I've further modified my porteus.cfg to not include my optional modules, in case any of them could involved. That leaves three modules in /porteus/porteus/modules: nVidia, keepassx and qt. Logging back in, I confirmed that "usm -u all" remains broken.)
brokenman wrote:Also please update usm to the latest version by downloading the slackware package here and installing it with: installpkg /path/to/usm-latest-0.0-noarch-1.txz
FYI, I did this first of all.

Code: Select all

# usm -v
/usr/bin/usm: line 133: [: too many arguments
 You are using USM version:  3.1.7
ATM I need to sleep. Thank you for your assistance and I look forward to any new advice or questions you may have.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: need audacity, but usm looks broken, actually

Post#8 by brokenman » 29 Oct 2014, 00:10

awk: fatal: cannot open file `/vercheck.txt' for reading (No such file or directory)
This is the problem. Something in your changes is making USM not see the variable $CONFDIR. This path should be /etc/usm/vercheck.txt.
Without seeing your changes file I am unable to offer any further advice.
How do i become super user?
Wear your underpants on the outside and put on a cape.

MacGuges
White ninja
White ninja
Posts: 14
Joined: 12 Aug 2014, 21:59
Distribution: Porteus 3
Location: Rochester, NY

Re: need audacity, but usm looks broken, actually

Post#9 by MacGuges » 29 Oct 2014, 17:16

brokenman wrote:awk: fatal: cannot open file `/vercheck.txt' for reading (No such file or directory)
This is the problem. Something in your changes is making USM not see the variable $CONFDIR. This path should be /etc/usm/vercheck.txt.
Without seeing your changes file I am unable to offer any further advice.
Thank you for that observation, but I'm afraid that sharing my changes directory with you would be impractical. (FYI: /mnt/sdb1 is a ext4 filesystem.)

Code: Select all

root@porteus:/mnt/sdb1/porteus/porteus# du -s changes/
28399764	changes/

MacGuges
White ninja
White ninja
Posts: 14
Joined: 12 Aug 2014, 21:59
Distribution: Porteus 3
Location: Rochester, NY

Re: need audacity, but usm looks broken, actually

Post#10 by MacGuges » 29 Oct 2014, 17:36

brokenman wrote:awk: fatal: cannot open file `/vercheck.txt' for reading (No such file or directory)
This is the problem. Something in your changes is making USM not see the variable $CONFDIR. This path should be /etc/usm/vercheck.txt.
Without seeing your changes file I am unable to offer any further advice.
I've found that the usm script has been testing a RECALL variable, generating an error, which may be blocking essential setup actions.

Code: Select all

## Set temporary directory and error log
## If tagfile exists then we are re-calling a CLI part of this
## script from the GUI so we don't want to rerun the setup
RECALL=`find /tmp -type f -name ".tag"`
if [ -z $RECALL ]; then

Code: Select all

## Prepare the system for takeoff
## If tagfile exists then we are re-calling a CLI part of this
## script from the GUI so we don't want to rerun the setup
[ -z $RECALL ] && [ -z $skipsetup ] && system_setup
unset skipsetup

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: need audacity, but usm looks broken, actually

Post#11 by francois » 29 Oct 2014, 22:19

Please try with a new changes directory, for example /porteus/porteus2. And see if you solve the problem.
Prendre son temps, profiter de celui qui passe.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: need audacity, but usm looks broken, actually

Post#12 by brokenman » 30 Oct 2014, 00:42

Thanks. Will alter the tag file search. Are there any files in /tmp that may be causing this result? Any files with the string 'tag'?
TBO I had forgotten about this tagfile search.
How do i become super user?
Wear your underpants on the outside and put on a cape.

MacGuges
White ninja
White ninja
Posts: 14
Joined: 12 Aug 2014, 21:59
Distribution: Porteus 3
Location: Rochester, NY

Re: need audacity, but usm looks broken, actually

Post#13 by MacGuges » 30 Oct 2014, 17:14

brokenman wrote:Thanks. Will alter the tag file search. Are there any files in /tmp that may be causing this result? Any files with the string 'tag'?
TBO I had forgotten about this tagfile search.
Yes indeed there were. (Unfortunately, after I'd composed a post this morning I deleted them, and I've discovered this post did not survive to the forum, so I cannot reproduce the same variable expansion I got for $RECALL now.) $RECALL expanded to numerous lines of paths to a leftover work directory under /tmp for a qt4 build I'd run several weeks ago.

After deleting this old temporary work directory, usm now runs correctly. I've just now been able to update the databases and install audacity through usm. Thanks!

Post Reply