LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   New chromebook lost/deleted linux file after 2 weeks (https://www.linuxquestions.org/questions/linux-distributions-5/new-chromebook-lost-deleted-linux-file-after-2-weeks-4175657820/)

wade22 07-21-2019 07:07 PM

New chromebook lost/deleted linux file after 2 weeks
 
Hi all, I have tried about 3 forums now with no luck to my problem. But then someone pointed me to y'all, so here goes.

2 week old chromebook running chrome beta with linux. I bought the chromebook only to use the application anki (flashcard program) on. I installed anki 2.1.14 and it worked fine til 2 days ago where anki would no longer open but rather just have a spinning wheel forever. I uninstalled everything, powerwashed chromebook, and reinstalled 2.1.14 (tried with 2.1.18 also) and when I get to the last step "type anki to run" and I do, it gives me the following error:

Traceback (most recent call last):
File "runanki", line 3, in <module>
File "/home/dae/Local/py512/lib/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.py", line 627, in exec_module
File "aqt/__init__.py", line 14, in <module>
File "/home/dae/Local/py512/lib/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.py", line 627, in exec_module
File "aqt/qt.py", line 16, in <module>
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
[1449] Failed to execute script runanki


The website is ankiweb. And I used a reddit post for step by step instructions on how to install the file and it worked flawlessly for 2 weeks.
I have no idea how a file could get deleted after just 2 weeks. I don't know how I can restore the missing files. I really did buy the chromebook just for the anki application + ease of light weight travel. If anyone could help me I would be so thankful. Thank you.

BW-userx 07-21-2019 08:34 PM

I'd do a find on that file just by looking for libGL* in the libs dir and maybe a lib64 if there is one. or the entire system, if not found then look into how to install GL

https://dri.freedesktop.org/wiki/libGL/

If this is chromebook os, I have no experience in that OS, but the above should still be relevant.

wade22 07-21-2019 09:04 PM

Quote:

Originally Posted by BW-userx (Post 6017381)
I'd do a find on that file just by looking for libGL* in the libs dir and maybe a lib64 if there is one. or the entire system, if not found then look into how to install GL

https://dri.freedesktop.org/wiki/libGL/

If this is chromebook os, I have no experience in that OS, but the above should still be relevant.


First off, thank you so much for your time and help. So I did what you said and it got rid of that file error and gave me another lib file I was missing. So I did the same again, and then again with a 3rd lib file. However, now I'm stuck on my 4th lib file... libxcomposite.so.1

I have found packages with that file. I installed them. Yet it keeps saying I'm missing that exact file still. Thoughts?

BW-userx 07-21-2019 09:11 PM

It looks like its needing all of its dependencies re-installed.

you need to know the versions, but do you have a libxcomposite.0 or any thing like that, sometimes all that is done is create a symlink from the lib to reflect the name it is looking for.
Code:

ls -la
in your lib dir you may see some pointing to the same lib by a different name ending. IE in my lib dir here is one.
Code:

  lrwxrwxrwx  1 root root      19 May 23 07:50 p11-kit-proxy.so -> libp11-kit.so.0.3.0
therefore, you can try creating a symlink from the orginal lib file, to the file name it is looking for, in you same lib dir. if it does not work, then just delete the symlink not the file it is linked to.

That is for the ones you know are installed, and correct version, usually the current version. you can try creating a symlink by that lib name it says is missing.

wade22 07-21-2019 09:49 PM

Quote:

Originally Posted by BW-userx (Post 6017389)
It looks like its needing all of its dependencies re-installed.

you need to know the versions, but do you have a libxcomposite.0 or any thing like that, sometimes all that is done is create a symlink from the lib to reflect the name it is looking for.
Code:

ls -la
in your lib dir you may see some pointing to the same lib by a different name ending. IE in my lib dir here is one.
Code:

  lrwxrwxrwx  1 root root      19 May 23 07:50 p11-kit-proxy.so -> libp11-kit.so.0.3.0
therefore, you can try creating a symlink from the orginal lib file, to the file name it is looking for, in you same lib dir. if it does not work, then just delete the symlink not the file it is linked to.

That is for the ones you know are installed, and correct version, usually the current version. you can try creating a symlink by that lib name it says is missing.


Awesome, I will try this tomorrow. Last question for the night, I promise: If all else fails, since I literally only use this Chromebook for the Anki app and have nothing else saved on it, could I just factory reset my Chromebook and re-install the chrome os? Would this reset all the Linux files? Like I said, the Anki app worked great for 2 weeks, no idea why it randomly stopped.

BW-userx 07-22-2019 07:31 AM

I am not Chromebook savvy, the only thing I looked into about a Chromebook is how easy would it be to wipe it out and install Linux on it. It looked to be too cumbersome compared to a reg laptop. So I just got a reg IBM clone laptop.

Though on the basic restoring of an Operating System, Chromebooks which is some Google Android variation, from what I know. So restoring that is not the same as Linux, so I'd say no Linux/GNU OS or its applications would be restored, just Chromebook's.

rokytnji 07-22-2019 07:45 AM

Washing a chromebook is like setting it up before you bought it.

Code:

harry@biker:~
$ inxi -M
Machine:
  Type: Desktop System: Google product: Parrot v: 1.0 serial: <root required>
  Mobo: Google model: Parrot v: 1.0 serial: <root required> BIOS: coreboot
  v: 4.0-6588-g4acd8ea-dirty date: 09/04/2014

Any changes after you bought it. Say bye bye if you wash it. Software wise that is.

wade22 07-22-2019 02:45 PM

Quote:

Originally Posted by BW-userx (Post 6017498)
I am not Chromebook savvy, the only thing I looked into about a Chromebook is how easy would it be to wipe it out and install Linux on it. It looked to be too cumbersome compared to a reg laptop. So I just got a reg IBM clone laptop.

Though on the basic restoring of an Operating System, Chromebooks which is some Google Android variation, from what I know. So restoring that is not the same as Linux, so I'd say no Linux/GNU OS or its applications would be restored, just Chromebook's.

I got it to work, thanks to your help! You rock!

BW-userx 07-22-2019 04:46 PM

keew beans , mark solved and happy chromebooking


All times are GMT -5. The time now is 06:54 PM.