LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-21-2007, 11:53 PM   #1
cowyn
Member
 
Registered: Oct 2006
Location: Hangzhou, China
Distribution: Slackware
Posts: 49

Rep: Reputation: 15
console login error message after upgrading to current


I just installed 12.0 and upgraded to current on a thinkpad laptop.
When log in as root, after the mail check and fortune message, the console gives me:

-bash: /bin: is a direcrory
-bash: */: No such file or directory

and then follows PS1.

When as a normal user log in, the console gives me:

-bash: /bin: is a direcrory
-bash: bin/: is a direcrory

and then follows PS1.

All things I did were installation, upgrading(used slackpkg, and overwrite old files), then removed *.orig files.
I also checked /etc/profile, /etc/login.defs, etc. files, and searched the web, found nothing

Could anyone please guide me?
Thanks~
 
Old 11-22-2007, 04:10 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
first question: What's the reason for you to upgrade to -Current?
It's a development phase, where things might get broken and you should be prepared to fix things on your own risk

second question: what package did you install? (can you list them?)

My advice: check your .bashrc and .bash_profile (if any)
 
Old 11-22-2007, 07:10 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Quote:
Originally Posted by willysr View Post
first question: What's the reason for you to upgrade to -Current?
It's a development phase, where things might get broken and you should be prepared to fix things on your own risk
A lot of people just don't read;

Quote:
Slackware ChangeLogs banner;

The latest happenings in Slackware development can be seen by looking at the ChangeLogs in the various distribution trees. For your bleeding edge enjoyment, we are providing the ChangeLogs for the -current development tree as well as the latest stable release on the web site. The latest ChangeLogs can always be found on ftp://ftp.slackware.com We are updating this page every two hours, so they will remain fairly current. But the truly bleeding edge will want to leave an ftp session open to ftp://ftp.slackware.com and less the ChangeLog every 5 minutes.
It's not called bleeding edge for nothing!
 
Old 11-22-2007, 07:37 PM   #4
cowyn
Member
 
Registered: Oct 2006
Location: Hangzhou, China
Distribution: Slackware
Posts: 49

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by willysr View Post
first question: What's the reason for you to upgrade to -Current?
It's a development phase, where things might get broken and you should be prepared to fix things on your own risk
Yeah, I know.
I'd like to keep the newest things, so upgraded to current.

Quote:
second question: what package did you install? (can you list them?)
I followed these two guides, exactly.
ftp://ftp.slackware.com/pub/slackwar...nt/UPGRADE.TXT
ftp://ftp.slackware.com/pub/slackwar..._AND_HINTS.TXT

Quote:
My advice: check your .bashrc and .bash_profile (if any)
But under /root/ there is neither .bashrc nor .bash_profile, .profile.
I checked the login process scripts, found nothing.
There must be something missing.
 
Old 11-22-2007, 08:08 PM   #5
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
There's neither .bashrc nor .bash_profile under /root/ or ~/ ... in a default Slackware install, unless you create them.

Perhaps offering some factual, or technical, help is better than offering unfounded criticism. This is FUD, eh?

There's nothing wrong, IMO, with running -current if you want to test software, and/or help Pat. My test box triple boots Slackware-current, Slackware-stable, and one of those poorly coded OSes from Washington, USA. Some people complain when software isn't updated as soon as they prefer in Slackware, but never do one thing to help debug or build new software.

Cherife, I don't have any answers. I have one Slackware machine running -current. The way I install is to rsync -current from Oregon State University Open Source Lab to my server, then I use the Slackware-stable CD1 to boot the computer and do a network install.

You would need a little less than 4 GB area to save -current. If you have a fileserver you can use, I'll give you a script to rsync -current. If you don't have a server, but have the space available, you can rsync -current and make CD/DVD iso images, then burn whichever one you need. Either way, you're probably better off with a fresh install of -current. For this test box, I don't even use the ~/. files from my previous install.

My present Slackware -current machine is the latest, as of Wed Nov 21 00:11:24 CST 2007. I've not had that issue with BASH -- the only problem is that KDE crashes every time it's shutdown, but that doesn't seem to effect anything else, and is the type of thing I've come to expect from KDE.

Last edited by Bruce Hill; 11-22-2007 at 08:09 PM.
 
Old 11-23-2007, 08:56 AM   #6
cowyn
Member
 
Registered: Oct 2006
Location: Hangzhou, China
Distribution: Slackware
Posts: 49

Original Poster
Rep: Reputation: 15
Thanks, Bruce.

Finally, I found it is my fault, sorry to post this before completely checking.

I added
Quote:
/*
...
*/
to /etc/profile.d/lang.sh and didn't notice "/*","*/"

Sorry guys
 
Old 11-24-2007, 06:14 PM   #7
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
me too are running -Current both on my laptop and desktop and i never had this bash problem before and it's quite stable for me (well, up to now)
 
  


Reply



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
X Error After Upgrading to -Current willysr Slackware 4 03-25-2007 08:58 PM
error after upgrading to current o2bfishn Slackware 6 04-18-2006 02:54 PM
Error message upgrading to Sarge Junior Hacker Debian 7 05-09-2005 06:26 PM
Error message right after login screen. Alexander.s Fedora 2 09-06-2004 12:47 PM
error message at login jackopa Linux - General 0 04-13-2003 10:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:28 AM.

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