LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   I goofed! Firefox (https://www.linuxquestions.org/questions/slackware-14/i-goofed-firefox-4175638740/)

Belikewater 09-19-2018 01:09 PM

I goofed! Firefox
 
So, for some reason that my brain cannot register, I installed mozilla-firefox-60.2.0esr-i686-1.txz using upgradepkg --install-new mozilla-firefox-60.2.0esr-i686-1.txz, but this ended up breaking my Firefox (that was available out of the box). When I run firefox, iI get a message KDEinit could not launch /usr/bin/firefox

Any pointers for how I can fix this?

I am attempting to find mozilla-firefox-60.2.0esr-i686-1.txz to remove it to see if that fixes it.

ponce 09-19-2018 01:15 PM

if I wer you first I would open a terminal and see what
Code:

which firefox
outputs, then I would launch
Code:

firefox
from the same terminal and watch the output

Belikewater 09-19-2018 01:22 PM

Thanks. using [which] command it shows /usr/bin/firefox

When i use firefox & the output is no such file /usr/bin/firefox, although the file is there

ponce 09-19-2018 01:32 PM

that's most probably because you installed a 32bit firefox on a 64bit slackware: you can check it basically with two commands
Code:

file -L /usr/bin/firefox
Code:

file /usr/bin/file
the output here is
Code:

# file -L /usr/bin/firefox
/usr/bin/firefox: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=4feae7118b6df7b1b9d87a395db5969971e2239e, stripped
# file /usr/bin/file
/usr/bin/file: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, stripped

in this case doing
Code:

removepkg mozilla-firefox
slackpkg install mozilla-firefox

should be enough.

Belikewater 09-19-2018 01:40 PM

Thanks Ponce. That worked perfectly.


All times are GMT -5. The time now is 10:51 AM.