Script built Vivaldi installed unintentionally as root with installpkg.
I have very little practical experience with Slackware... I have a new 14.2 install on a laptop. I used a script to build Vivaldi browser and installed it with installpkg:
https://gist.github.com/ruario/dcbba...cc883542ff7ace As I haven't been able to get it to run, I ran an Code:
$ ls -l |
Quote:
Code:
/opt/Vivaldi/vivaldi(executable) Code:
/usr/share/applications Code:
sudo nano Vivaldi.desktop Code:
// here goes the absolute path and executable name Code:
-rwxr-xr-x 1 root root 140748848 Feb 26 2017 /opt/blender/blender everyone can execute a app from /opt/ the x tells you that. owner, group, other are all getting the x |
Quote:
Code:
$ cd /opt ---- Code:
$ vivaldi |
Try
Code:
# ./vivaldi-bin |
Quote:
Code:
# ./vivaldi-bin |
How did you run your script?
Code:
//Step 1 copy script into another file then make it executable you can soft link it to /usr/bin or /usr/local/bin if you want to even. and even put a desktop file for it in ../applications |
Quote:
Code:
# removepkg vivaldi ---- Got it: "vivaldi-stable". |
Quote:
Code:
ls /var/log/packages | grep vivaldi Code:
sudo removepkg the entire file name off of your return anyways .. it wouldn't hurt to remove it then installed right off of slack. It does not take that much time to do. |
New Vivaldi install completed without problems. However:
Code:
$ vivaldi-stable Code:
# slackpkg search NSS Code:
# sbopkg -s NSS I found the answer. I needed to run: Code:
# slackpkg upgrade mozilla-nss-3.31.1 |
Quote:
use lower case in your search. it's probably a lib files there is too many here for me to get a definite idea which to use though. I have to have whatever it needs in nss already installed from something else I have installed on my system. Then again I never looked at my messages after it was done. though I am actually using it right now posting this to you. :D edit I just seen your fix... mozilla |
I just redid it, and did not get any kind of nss errors did see this though,
Code:
8375 2018-02-26 20:17 usr/share/applications/vivaldi-stable.desktop EDIT: I lied due to misinformation. It is not there. It is located here Code:
$ sudo find / -name vivaldi-stable.desktop |
Quote:
The second issue seems to be that you are not keeping your distro up to date and hence had old NSS libs. This is a security issue as well, so you want to keep an eye on that. Perhaps you want to update your first post explaining it was simply a case of installing the wrong architecture and having an outdated system. I suggest this because this thread a very confusing read and generally gives the impression there is something very wrong with my packaging script, when there isn't. While I am here I also want to address some other things. Many of them seem to have been worked out by BW-userx (or you) along the way but just to summerise again to be 100% clear. Quote:
Quote:
Quote:
Quote:
Quote:
It would be the wrong way to start anyway, since you bypass the startup wrapper which does some tests and sets up variables. Quote:
Quote:
Quote:
Code:
$ ls -l /usr/share/applications/vivaldi-stable.desktop |
All times are GMT -5. The time now is 07:48 AM. |