USM GUI & USM Folder Somehow Deleted

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
jimwg
Shogun
Shogun
Posts: 322
Joined: 09 Oct 2013, 18:15
Distribution: porteus
Location: NYC

USM GUI & USM Folder Somehow Deleted

Post#1 by jimwg » 23 Jun 2015, 23:59

Greetings!

While trying to find a way to install a GUI for my XFCE USM in place its pop-up command line on a new 3.1 32bit flash this opened up:

bash: /usr/sbin/usm: No such file or directory
root@porteus:~#

How go I correct this and fix my initial problem?

Thanks!

Jim in NYC

User avatar
Rava
Contributor
Contributor
Posts: 1319
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 3.1.0 x86-64 XFCe
Location: Germany

Re: USM GUI & USM Folder Somehow Deleted

Post#2 by Rava » 24 Jun 2015, 04:46

I run 3.1 x86-64 but the path should be the same:

Code: Select all

root@porteus:/mnt# file /usr/sbin/usm
/usr/sbin/usm: ERROR: cannot open `/usr/sbin/usm' (No such file or directory)
root@porteus:/mnt# fw usm
/usr/bin/usm: Bourne-Again shell script, ASCII text executable
HTH!

(What is fw, you might ask? It's a script of mine doing this:)

Code: Select all

#!/bin/bash
VERSION="0.3"
MYNAME="fw (file-which)"

if [ $# -ne 1 ]; then
    echo -e $MYNAME V$VERSION
    echo -e "You must specify *one* filename for which!"
    exit 1
else
    file `which "$1"` 2>/dev/null
    errorcode=$?
    if [ $errorcode -ne 0 ]; then
        echo -e $MYNAME V$VERSION
	echo -e "Errorcode $errorcode returned!
(Errormessage of \`file\` is suppressed)"
	exit 2
    fi
fi

exit 0
Cheers!
Yours Rava

jimwg
Shogun
Shogun
Posts: 322
Joined: 09 Oct 2013, 18:15
Distribution: porteus
Location: NYC

Re: USM GUI & USM Folder Somehow Deleted

Post#3 by jimwg » 24 Jun 2015, 10:57

Okay Rava, I'll try that out soon! Thanks!!

Jim in NYC

User avatar
Ed_P
Contributor
Contributor
Posts: 3162
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: USM GUI & USM Folder Somehow Deleted

Post#4 by Ed_P » 25 Jun 2015, 05:14

jimwg wrote:While trying to find a way to install a GUI for my XFCE USM
!!
How go I correct this and fix my initial problem?
?? What was the "initial problem"?

To download the current 3.1.7 app and reinstall it see this link:
http://sourceforge.net/projects/usm/files/
Ed

jimwg
Shogun
Shogun
Posts: 322
Joined: 09 Oct 2013, 18:15
Distribution: porteus
Location: NYC

Re: USM GUI & USM Folder Somehow Deleted

Post#5 by jimwg » 01 Jul 2015, 07:41

Ed_P wrote:
jimwg wrote:While trying to find a way to install a GUI for my XFCE USM
!!
How go I correct this and fix my initial problem?
?? What was the "initial problem"?

To download the current 3.1.7 app and reinstall it see this link:
http://sourceforge.net/projects/usm/files/

Thanks!!!

Jim in NYC

Post Reply