Linux - Distributions This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
07-21-2019, 07:07 PM
|
#1
|
LQ Newbie
Registered: Jul 2019
Posts: 4
Rep: 
|
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
|
|
|
07-21-2019, 08:34 PM
|
#2
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
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.
|
|
|
07-21-2019, 09:04 PM
|
#3
|
LQ Newbie
Registered: Jul 2019
Posts: 4
Original Poster
Rep: 
|
Quote:
Originally Posted by BW-userx
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?
|
|
|
07-21-2019, 09:11 PM
|
#4
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
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.
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.
Last edited by BW-userx; 07-21-2019 at 09:27 PM.
|
|
|
07-21-2019, 09:49 PM
|
#5
|
LQ Newbie
Registered: Jul 2019
Posts: 4
Original Poster
Rep: 
|
Quote:
Originally Posted by BW-userx
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.
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.
|
|
|
07-22-2019, 07:31 AM
|
#6
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
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.
|
|
1 members found this post helpful.
|
07-22-2019, 07:45 AM
|
#7
|
LQ Veteran
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,296
|
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.
|
|
|
07-22-2019, 02:45 PM
|
#8
|
LQ Newbie
Registered: Jul 2019
Posts: 4
Original Poster
Rep: 
|
Quote:
Originally Posted by BW-userx
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!
|
|
|
07-22-2019, 04:46 PM
|
#9
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
keew beans , mark solved and happy chromebooking
|
|
|
All times are GMT -5. The time now is 10:36 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|