Linux MintThis forum is for the discussion of Linux Mint.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
/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
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.
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):
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.
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)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.