Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 07-14-2005, 05:22 PM   #16
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51

The normal way to mess the files like that is to install a bad made package. I remember seeing that behaviour, I don't remember if it was using rpm2tgz with my user instead of root.

Last edited by gbonvehi; 07-14-2005 at 05:31 PM.
Old 07-16-2005, 06:50 PM   #17
Registered: Jun 2005
Location: Florida, USA
Distribution: ~~~Slackware~~~
Posts: 86

Rep: Reputation: 15
Maybe when you uninstalled dependencies with installing/removing/deleting g-wrap.

WARNING: making your own slackware tgz binary packages can cause severe damage if you do not understand the "*pkg" tools well. When you make these packages by your self, 'makepkg' works without errors, but 'installpkg' may overwrite important directories such as /bin/, /usr/ and so on when you install packages. When done incorrectly it puts all files and directories on '/' instead of /usr/bin, /usr/sbin/, and or /usr/lib when done as root. I did that once, and I was one sad Mofo.

Make a backup of your '~/' directory if you think that your box might drop dead any minute from a "race-condition error". Smart Linuxers always have a rescue system handy, mines is Knoppix.

Last edited by tmantist; 07-16-2005 at 07:00 PM.
Old 07-18-2005, 04:27 PM   #18
Registered: Jun 2005
Location: Fullerton, CA
Distribution: Arch 0.7.1 (laptop) / Slack 10.2 (desktop)
Posts: 41

Original Poster
Rep: Reputation: 15
Okay, after restoring all the permissions in /usr everything works, but now my sound doesn't work. When gnome starts up, volume control gives an error. alsaconf says this:
Loading driver...
Loading ALSA mixer settings:  /usr/sbin/alsactl restore
/usr/sbin/alsactl: load_state:1267: No soundcards found...
Loading OSS compatibility modules for ALSA.
Setting default volumes...
alsamixer: function snd_ctl_open failed for default: No such file or directory
My sound card is: "00:08.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)" and it worked fine before this, I never even had any trouble with it I just ran alsaconf and it worked. Any suggestions?
Old 02-28-2006, 05:22 PM   #19
LQ Newbie
Registered: Feb 2006
Posts: 1

Rep: Reputation: 0
Hello *!

I have the same problem! But i run: chmod +xr on /usr /usr/lib /usr/doc /usr/share and the problem dont be ok.

I run:

echo $PATH

bash-3.00# startx
/usr/X11R6/bin/startx: line 132: xauth: command not found
/usr/X11R6/bin/startx: line 133: xauth: command not found
/usr/X11R6/bin/startx: line 132: xauth: command not found
/usr/X11R6/bin/startx: line 133: xauth: command not found
/usr/X11R6/bin/startx: line 141: xinit: command not found
/usr/X11R6/bin/startx: line 144: xauth: command not found

I have xauth,xinit in /usr/X11R6/bin and permission is OK!

Any help to me?

Thanks in advance!
Old 03-01-2006, 11:15 AM   #20
Registered: Mar 2005
Posts: 130

Rep: Reputation: 17
Anyone know how those permissions could have gotten messed up in the first place?

Most likely trying to install a redhat version with alien, whatever that is.
One of the things an installation program does is install directories and set their permissions as it is installing the program. Since redhat is somewhat different from Slackware it most likely set the permissions that would be used in redhat.

I never use redhat packages to install a program on my system. NEVER,NEVER,NEVER!!!

Anyway from now on when you get warnings and errors while trying to install an app on Slackware, instead of giving up, come here or search the web for answers so you can learn how to take care of your system. You were probably just missing some really simple dependancies and needed to install them so your app would build.
And most times you can ignore warnings.

Better luck next time.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
WHY should I type startx twice to startx? hiux Debian 6 09-09-2005 09:12 AM
startx doesn't startx for user vdemuth Mandriva 10 11-08-2004 07:41 PM
Bug / Xwindows / startx : xinit works but startx crash Linux - Software 4 10-17-2004 08:06 AM
startx vs startx -- :2 (font dimension is different!!) moly82 Linux - General 7 09-15-2003 12:11 PM
Can not startx ol' digital Linux - Newbie 3 02-06-2003 04:47 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration