View previous topic :: View next topic |
Author |
Message |
<3 Veteran
Joined: 21 Oct 2004 Posts: 1081
|
Posted: Sat Nov 28, 2015 1:05 am Post subject: Dell Print driver messed up my computer (unresolved) |
|
|
After getting tired of having to reboot to Windows in order to print from my Dell B1165nfw printer because none of the FLOSS drivers seem to work with it on linux, I decided to try the Linux drivers provided by dell on their website. I usually avoid installing anything outside of portage on my Gentoo installs but I was tired of rebooting to Windows just to print something so I installed these drivers (boy what a mistake that was) which messed up my computer. Can someone please help me?
The first problem is kde will not start at all, I have openrc set to start xdm on startup with my desktop manager being KDM (KDE SC 4). When KDM starts it crashes and brings me to a console login. If I manually try to load KDE I get this error message
Code: | user@computer #startkde
/usr/bin/kde4-config: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory $DISPLAY is not set or cannot connect to the X server. |
startx works fine though
also when I su as root and try to use portage I get a command not found error
Code: | root@computer #emerge -puDvN world
# bash: emerge: command not found |
Can someone please help me? If there is one thing I dread about Gentoo it is the long install process, I really hope I can salvage this install and don't want to have to reinstall Gentoo over again.
Last edited by <3 on Thu Dec 10, 2015 12:21 am; edited 2 times in total |
|
Back to top |
|
|
<3 Veteran
Joined: 21 Oct 2004 Posts: 1081
|
Posted: Sat Nov 28, 2015 3:57 am Post subject: |
|
|
After googling I found that others are having problems as well but the post does not state how to fix this issue, also it appears that DELL has removed this driver as I can no longer find it online. |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
|
Back to top |
|
|
<3 Veteran
Joined: 21 Oct 2004 Posts: 1081
|
Posted: Sat Nov 28, 2015 8:14 pm Post subject: |
|
|
how can I tell what the script does? I think I've learned my lesson to never install anything outside of portage. |
|
Back to top |
|
|
<3 Veteran
Joined: 21 Oct 2004 Posts: 1081
|
Posted: Sun Nov 29, 2015 1:29 am Post subject: |
|
|
I opened the script in gedit the script is pretty long plus I do not know perl it would be probably easier for me just to reinstall gentoo =( |
|
Back to top |
|
|
<3 Veteran
Joined: 21 Oct 2004 Posts: 1081
|
Posted: Mon Nov 30, 2015 3:29 am Post subject: |
|
|
I just tried that I noticed that python was set to version 3.4 so I set it back to version 2.7. but for some reason the command emerge is not working. Using the locate commands (the database [updatedb] was updated before I installed this dell driver) the command was found at /usr/bin/emerge but when I try to run emerge I get a command not found error as I posted before. going to /usr/bin/ there is no file named emerge. I don't know wtf is going on. |
|
Back to top |
|
|
tomtom69 Apprentice
Joined: 09 Nov 2010 Posts: 245 Location: Bavaria
|
Posted: Tue Dec 01, 2015 8:04 pm Post subject: |
|
|
I would not expect any install script to remove /usr/bin/emerge.
Is it possible that /usr or /usr/bin was replaced by some symlink?
Or do you have /usr or /usr/bin on a different hdd partition that is not mounted any more?
/usr/bin contains a lot of commands normally. Were other commands that are located in /usr/bin also removed, e.g. locale or top?
At my system /usr/bin/emerge is a symlink to ../lib/python-exec/python-exec2. Maybe this symlink is broken? |
|
Back to top |
|
|
<3 Veteran
Joined: 21 Oct 2004 Posts: 1081
|
Posted: Fri Dec 04, 2015 5:16 am Post subject: |
|
|
locate says that /lib64/python-exec/python-exec2 (amd64) should exist but that file is not there. /usr and /usr/bin has not been replaced by a system link |
|
Back to top |
|
|
<3 Veteran
Joined: 21 Oct 2004 Posts: 1081
|
Posted: Fri Dec 04, 2015 5:20 am Post subject: |
|
|
Also I noticed this as was stated in the link I gave above Quote: | It changed the owner of the /usr folder to 8070:9999 (where it should be root:root), and this being a very important folder, broke many other programs |
I changed owner of the entire folder back to root but that didn't seem to help. I am unsure of why a printer driver would do something like that. The driver is no longer on the dell website but I have a copy in case someone knows perl. |
|
Back to top |
|
|
tomtom69 Apprentice
Joined: 09 Nov 2010 Posts: 245 Location: Bavaria
|
Posted: Fri Dec 04, 2015 8:35 am Post subject: |
|
|
Is /lib64/python-exec/python-exec2 a typo?
Here python-exec2 is located in /usr/lib64/python-exec/
python-exec2 is only a small script. Do you have the possibility to just restore it from another machine? |
|
Back to top |
|
|
<3 Veteran
Joined: 21 Oct 2004 Posts: 1081
|
Posted: Sat Dec 05, 2015 5:51 am Post subject: |
|
|
sorry that is a typo, I do not have another back machine where I can copy system files. |
|
Back to top |
|
|
<3 Veteran
Joined: 21 Oct 2004 Posts: 1081
|
|
Back to top |
|
|
tomtom69 Apprentice
Joined: 09 Nov 2010 Posts: 245 Location: Bavaria
|
Posted: Mon Dec 07, 2015 8:59 am Post subject: |
|
|
If only python-exec2 is missing, I can supply the file from my machine here:
http://pastebin.com/tXpuM6NX
Put it into /usr/lib64/python-exec. The file needs group/owner root,root and permission 755 (executable). |
|
Back to top |
|
|
<3 Veteran
Joined: 21 Oct 2004 Posts: 1081
|
Posted: Thu Dec 10, 2015 12:17 am Post subject: |
|
|
Thank you everyone I couldn't get that to work so I just ahead and reinstalled gentoo as I need to have this computer up and running ASAP. Thank you again for your help. |
|
Back to top |
|
|
|