LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 12-23-2017, 04:28 PM   #1
starrfleat
Member
 
Registered: Nov 2012
Posts: 38

Rep: Reputation: Disabled
Fruho Installed Won't Work


I have Mint 17.3 on an Acer V3-551 laptop. Have Fruho installed. Clicking the Fruho icon goes nowhere. If I run it from terminal, I get the error:

couldn't load file "/tmp/tcl_pQYj03": /tmp/tcl_pQYj03: failed to map segment from shared object: Operation not permitted
while executing
"tls::initlib /usr/local/bin/fruho.bin/lib/tls-1.6.7.1 libtls1.6.7.1.so"
("package ifneeded tls 1.6.7.1" script)
invoked from within
"package require tls"
(file "/usr/local/bin/fruho.bin/main.tcl" line 14)

I think I have the standard tls packages installed.
I've tried reinstalling Fruho 0.024 from a .deb file. I get a software index broken error. Trying the fix broken option in Synaptic yields nada, as does following the instructions in the error message for software index broken. This message refers to etc/apt/sources.list which I think was replaced by sources.list.d . Appreciate any suggestions.
 
Old 12-24-2017, 01:51 AM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Operation not permitted means two thing. it isn't executable or you do not have permission to run it.
that does not look like a certified deb package.
Quote:
why is it running out of /tmp/
 
Old 12-24-2017, 03:23 PM   #3
starrfleat
Member
 
Registered: Nov 2012
Posts: 38

Original Poster
Rep: Reputation: Disabled
Well, I have it running on another laptop

I have another laptop running Mint 17.3, and don't get this error when starting Fruho. I'm running it right now.
I think perhaps the software index broken error may be the problem. I got the .deb file from the central web site for Fruho, and the same version is installed on the laptop I'm currently on. I've got that program installed on that laptop which lets you access the windows partition within linux, and run windows progs, etc. Wouldn't think that's a prob, tho.
 
Old 12-24-2017, 03:30 PM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
It sounds as if Fruho isn't the problem.

Can you run the following commands and let us know if there is any significant output:

Code:
dpkg --audit

apt check
The first checks for broken packages, the second for broken dependencies.
 
1 members found this post helpful.
Old 12-24-2017, 03:32 PM   #5
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
I ran it . i get a log issue do to I need set up a place for the log.

you run as sudo.?
I would look at the PyQt issue. apt-get it. It is calling on python.
Quote:
ldd /usr/local/bin/fruho.bin
see what the feed back is.
 
Old 12-24-2017, 03:36 PM   #6
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Quote:
Originally Posted by hydrurga View Post
It sounds as if Fruho isn't the problem.

Can you run the following commands and let us know if there is any significant output:

Code:
dpkg --audit

apt check
The first checks for broken packages, the second for broken dependencies.
I uncompressed the tarball deb. And the thing is as on the git hub reads. It is static.
the problem is making dialog.
 
Old 12-24-2017, 03:41 PM   #7
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
/etc/init.d/fruhod to start services when a user starts up.
Code:
!/bin/sh

### BEGIN INIT INFO
# Provides:          fruhod
# Required-Start:    $network $remote_fs $syslog
# Required-Stop:     $network $remote_fs $syslog
# Should-Start:      network-manager
# Should-Stop:       network-manager
# X-Start-Before:    $x-display-manager gdm kdm xdm wdm ldm sdm nodm
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Fruho VPN client daemon
# Description: This script will start Fruho VPN client background service
### END INIT INFO

# Works only on Linux systems since it uses the /proc filesystem. 
# TODO Consider using kill -0 instead, not sure if POSIX

EXEC=/usr/local/sbin/fruhod.bin
PIDFILE=/var/run/fruhod.pid
LOGFILE=/var/log/fruhod.log
export PATH=$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin


#TODO this check should be only for start/stop. Allow check status for regular users
touch $LOGFILE >> /dev/null 2>&1
OUT=$?
if [ "$OUT" -ne "0" ]; then
    echo "You need to be root. Try with sudo."
    exit 1
fi


case "$1" in
    start)
        if [ -f $PIDFILE ]; then
            echo "$PIDFILE exists, process is already running or crashed"
        else
            nohup $EXEC > $LOGFILE 2>&1 &
            for i in 1 2 3 4; do
                sleep 1
                if [ -f $PIDFILE ]; then
                    PID=$(cat $PIDFILE)
                    #TODO consider using kill -0 instead
                    if [ -x /proc/${PID} ]; then
                        echo "fruhod started"
                        exit 0
                    fi
                fi
            done
            echo "Could not start fruhod. See $LOGFILE"
        fi
        ;;
    stop)
        if [ ! -f $PIDFILE ]; then
            echo "$PIDFILE does not exist, process is not running"
        else
            PID=$(cat $PIDFILE)
            kill $PID
            for i in 1 2 3 4; do
                sleep 1
                #TODO consider using kill -0 instead
                if [ ! -x /proc/${PID} ]; then
                    echo "fruhod stopped"
                    exit 0
                fi
            done
            echo "Could not stop fruhod. See $LOGFILE"
        fi
        ;;
    restart)
        $0 stop
        $0 start
        ;;
    force-reload)
        $0 stop
        $0 start
        ;;
    #TODO provide restart/cleanup
    #TODO provide status
    #TODO provide version
    *)
        echo "Please use start or stop as first argument"
        ;;
esac
 
Old 12-25-2017, 02:51 AM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by starrfleat View Post
I think perhaps the software index broken error may be the problem.
i agree.
do what hydrurga asked.

in addition, i must say that some gui apps are not meant to be run as root and behavior may be erratic. also dangerous. your choice (kali).
 
Old 12-25-2017, 01:34 PM   #9
starrfleat
Member
 
Registered: Nov 2012
Posts: 38

Original Poster
Rep: Reputation: Disabled
Narrowing it down ?

hydrurga My first run of $sudo dpkg –audit got notices that google-chrome-beta:I386 was missing the list control file in the database, and needed to be reinstalled, as well as linux-image-3.19.0-32-generic Linux kernel image for version 3.19.0 on 64 bit .
I uninstalled google-chrome-beta:I386, and replaced it with the 64 bit version in Synaptic.
However, running it again gets
$sudo dpkg --audit
The following packages are missing the list control file in the
database, they need to be reinstalled:
linux-image-3.19.0-32-generic Linux kernel image for version 3.19.0 on 64 bit

The following packages are missing the md5sums control file in the
database, they need to be reinstalled:
linux-image-3.19.0-32-generic Linux kernel image for version 3.19.0 on 64 bit

Now, do I just uninstall and reinstall that? Is that the proper image file for Linux Mint 17.3?
OR, uninstall all 3.19.0-32 headers and then run
sudo apt install linux-headers-generic for the latest and greatest?

Last edited by starrfleat; 12-25-2017 at 04:12 PM.
 
Old 12-25-2017, 05:26 PM   #10
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
For info, since you are running Mint, you should be able to see the installed and currently active kernel versions in the Update Manager (View->Linux Kernels) and install/remove kernel images from there. I hope that this facility also existed in the older version 17.3 which you are running as it can be easier to manage your kernels through that interface. If it is, please let us know which kernel versions are installed and which is active.

If the above is not available, use the following to determine the currently-active kernel release:

Code:
uname -r
and also run the following (expand your terminal window as large as you can before you run the command so that we can pick up all the output):

Code:
dpkg -l *linux-image*
Many thanks.
 
1 members found this post helpful.
Old 12-26-2017, 02:09 PM   #11
starrfleat
Member
 
Registered: Nov 2012
Posts: 38

Original Poster
Rep: Reputation: Disabled
Trying to open Update Manager got a permission denied error. Here's my output from the terminal commands:

$ uname -r
3.19.8-992-generic

$ dpkg -l *linux-image*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++
un linux-image <none> <none> (no description available)
un linux-image-3.0 <none> <none> (no description available)
ii linux-image-3.13.0-24-generic 3.13.0-24.47 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.19.0-32-generic 3.19.0-32.37~14.04.1 amd64 Linux kernel image for version 3.19.0 on 64 bit x86 SMP
ii linux-image-3.19.8-992-generic 3.19.8-992.201605312242 amd64 Linux kernel image for version 3.19.8 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-24-generic 3.13.0-24.47 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP

Last edited by starrfleat; 12-27-2017 at 03:12 PM.
 
Old 12-26-2017, 05:57 PM   #12
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Thanks starrfleat. There's some messiness there - out of interest, have you been manually installing kernels from non-Ubuntu sources?

But anyway, let's digress to look at that Update Manager problem as it sounds as if it may be important.

When you double click on the Update Manager icon in the system tray, what exactly happens?

By the way, could you please edit your previous post and remove some of the '='s, so that we won't have a very wide window for this thread. Thanks.
 
Old 12-27-2017, 03:35 PM   #13
starrfleat
Member
 
Registered: Nov 2012
Posts: 38

Original Poster
Rep: Reputation: Disabled
Update Manager, etc.

Tried to overcame my Update Manager problem by clicking Refresh. It doesn't show kernal headers in 17.3, however. Error not overcome.
I got my current kermal from Ubuntu; didn't go elsewhere.
Every time I click on Update Manager by clicking Menu, Administration, Update Manager it yields a screen with this error in the middle:


Could not refresh the list of updates. (Below a smiley with a frown and grin linked together)

Opening /etc/apt/sources.list.d/getdeb.list - ifstream::ifstream (13: Permission denied)

I'm curious whether all of this might clear by deleting all headers from the command line or within Synaptic, then executing from the command line:

sudo apt install linux-headers-generic
 
Old 12-27-2017, 04:01 PM   #14
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Thanks. There appear to be multiple problems in play here. I'd suggest not touching the kernel until we can get the others sorted.

Let's have a look at your sources.

Please run

Code:
inxi -r
and paste the output here.
 
Old 12-28-2017, 01:01 PM   #15
starrfleat
Member
 
Registered: Nov 2012
Posts: 38

Original Poster
Rep: Reputation: Disabled
Had to key in sudo inxi -r
output was:

Repos: Active apt sources in file: /etc/apt/sources.list.d/google-chrome-beta.list
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
Active apt sources in file: /etc/apt/sources.list.d/google-chrome-unstable.list
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
Active apt sources in file: /etc/apt/sources.list.d/google-talkplugin.list
deb http://dl.google.com/linux/talkplugin/deb/ stable main
Active apt sources in file: /etc/apt/sources.list.d/maarten-baert-simplescreenrecorder-trusty.list
deb http://ppa.launchpad.net/maarten-bae...ecorder/ubuntu trusty main
deb-src http://ppa.launchpad.net/maarten-bae...ecorder/ubuntu trusty main
Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
deb http://packages.linuxmint.com rosa main upstream import
deb http://extra.linuxmint.com rosa main
deb http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ trusty partner
Active apt sources in file: /etc/apt/sources.list.d/opera-developer.list
deb https://deb.opera.com/opera-developer/ stable non-free #Opera Browser (final releases)
Active apt sources in file: /etc/apt/sources.list.d/videolan-stable-daily-trusty.list
deb http://ppa.launchpad.net/videolan/stable-daily/ubuntu trusty main
deb-src http://ppa.launchpad.net/videolan/stable-daily/ubuntu trusty main
Active apt sources in file: /etc/apt/sources.list.d/vivaldi-snapshot.list
deb http://repo.vivaldi.com/snapshot/deb/ stable main
Active apt sources in file: /etc/apt/sources.list.d/vivaldi.list
deb http://repo.vivaldi.com/stable/deb/ stable main
Active apt sources in file: /etc/apt/sources.list.d/wallch-wallch-4_0-trusty.list
deb http://ppa.launchpad.net/wallch/wallch-4.0/ubuntu trusty main
deb-src http://ppa.launchpad.net/wallch/wallch-4.0/ubuntu trusty main
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installed Fedora 3, now CD and DVD won't work remfire Linux - Newbie 1 02-14-2006 12:41 PM
Installed Xorg... Mouse won't work nenyo Linux - Software 3 07-11-2005 01:23 AM
Installed Slack 10.0 and Mouse won't work at all Chris Andreae Linux - Newbie 7 03-17-2005 03:24 PM
Steam - Fonts won't work but they are installed! Carl-Fredrik Slackware 3 09-28-2004 09:40 AM
My mouse won't work having installed Mandrake 9 m175400 Linux - Hardware 0 04-21-2004 03:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 08:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration