[SOLVED] New chromebook lost/deleted linux file after 2 weeks
Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
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.
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.
Last edited by wade22; 07-21-2019 at 07:10 PM.
Reason: extra info
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
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
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?
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.
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.
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.
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.
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 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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.