Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dell Print driver messed up my computer (unresolved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
<3
Veteran
Veteran


Joined: 21 Oct 2004
Posts: 1081

PostPosted: Sat Nov 28, 2015 1:05 am    Post subject: Dell Print driver messed up my computer (unresolved) Reply with quote

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
View user's profile Send private message
<3
Veteran
Veteran


Joined: 21 Oct 2004
Posts: 1081

PostPosted: Sat Nov 28, 2015 3:57 am    Post subject: Reply with quote

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
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Sat Nov 28, 2015 9:06 am    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-p-6721019.html

always check what installer scripts do before using them. regardless if is windi 10 or anything else!
Back to top
View user's profile Send private message
<3
Veteran
Veteran


Joined: 21 Oct 2004
Posts: 1081

PostPosted: Sat Nov 28, 2015 8:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
<3
Veteran
Veteran


Joined: 21 Oct 2004
Posts: 1081

PostPosted: Sun Nov 29, 2015 1:29 am    Post subject: Reply with quote

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
View user's profile Send private message
<3
Veteran
Veteran


Joined: 21 Oct 2004
Posts: 1081

PostPosted: Mon Nov 30, 2015 3:29 am    Post subject: Reply with quote

tw04l124 wrote:
https://forums.gentoo.org/viewtopic-p-6721019.html

always check what installer scripts do before using them. regardless if is windi 10 or anything else!


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
View user's profile Send private message
tomtom69
Apprentice
Apprentice


Joined: 09 Nov 2010
Posts: 245
Location: Bavaria

PostPosted: Tue Dec 01, 2015 8:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
<3
Veteran
Veteran


Joined: 21 Oct 2004
Posts: 1081

PostPosted: Fri Dec 04, 2015 5:16 am    Post subject: Reply with quote

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
View user's profile Send private message
<3
Veteran
Veteran


Joined: 21 Oct 2004
Posts: 1081

PostPosted: Fri Dec 04, 2015 5:20 am    Post subject: Reply with quote

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
View user's profile Send private message
tomtom69
Apprentice
Apprentice


Joined: 09 Nov 2010
Posts: 245
Location: Bavaria

PostPosted: Fri Dec 04, 2015 8:35 am    Post subject: Reply with quote

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
View user's profile Send private message
<3
Veteran
Veteran


Joined: 21 Oct 2004
Posts: 1081

PostPosted: Sat Dec 05, 2015 5:51 am    Post subject: Reply with quote

sorry that is a typo, I do not have another back machine where I can copy system files.
Back to top
View user's profile Send private message
<3
Veteran
Veteran


Joined: 21 Oct 2004
Posts: 1081

PostPosted: Mon Dec 07, 2015 6:57 am    Post subject: Reply with quote

http://www.dell.com/support/home/us/en/19/Drivers/DriversDetails?driverId=30HF8

I was able to find the file still hosted online, if there is anyone who can interpret wtf this file did to my laptop so I can fix it please let me know because as of now I have a dead laptop and if I can't fix this I am going to have to re-install =(
Back to top
View user's profile Send private message
tomtom69
Apprentice
Apprentice


Joined: 09 Nov 2010
Posts: 245
Location: Bavaria

PostPosted: Mon Dec 07, 2015 8:59 am    Post subject: Reply with quote

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
View user's profile Send private message
<3
Veteran
Veteran


Joined: 21 Oct 2004
Posts: 1081

PostPosted: Thu Dec 10, 2015 12:17 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum