LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 11-06-2004, 05:58 PM   #1
sharky
Member
 
Registered: Oct 2002
Posts: 569

Rep: Reputation: 84
pacman error


Executed pacman -S and I get the following error.

config: line 26: syntax error

It was working until I attempted to upgrade pacman. I guess using pacman to upgrade pacman was a bad Idea.

Any ideas on what I can do now.

Regards
 
Old 11-07-2004, 01:43 PM   #2
TheShemeta
Member
 
Registered: Jun 2003
Location: Austria
Distribution: Archlinux 0.7 + 2.6.9
Posts: 140

Rep: Reputation: 15
actually pacman -S doesn't do anything. you need to run apcman -S foo (foo is for example the name of the program you want to install) or pacman -Syu to upgrade your system. try that.

running pacman -Q pacman will show you if you have pacman installed.

Last edited by TheShemeta; 11-07-2004 at 01:45 PM.
 
Old 11-07-2004, 09:54 PM   #3
sharky
Member
 
Registered: Oct 2002
Posts: 569

Original Poster
Rep: Reputation: 84
Actually I would still get the same error using pacman -S foo. As a matter of fact I got this error returned for any pacman command. I grabbed the tar.gz from archlinux ftp site and did the configure, make, make install thing. This almost fixed it except that the new pacman got installed into /usr/local/bin and the old corrupt version in /usr/bin was not touched. I removed the old version in /usr/bin and created a link point to /usr/local/bin.

That seemed to have fixed the issue.

Regards,
 
Old 11-08-2004, 04:45 AM   #4
TheShemeta
Member
 
Registered: Jun 2003
Location: Austria
Distribution: Archlinux 0.7 + 2.6.9
Posts: 140

Rep: Reputation: 15
for installing pacman in /usr you had to do

Code:
./configure --prefix=/usr
but i am glad you got it solved. have fun 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
pacman alaios Linux - Games 1 08-20-2005 03:34 AM
pacman and proxy authentication jsmarshall85 Arch 1 07-08-2005 02:00 PM
pacman problem, missing current ylikone Arch 3 12-17-2004 05:30 PM
pacman not working correctly! Aman9090 Arch 2 03-26-2004 05:32 AM
What happened to Pacman? jenna_h Linux - Software 2 05-15-2003 10:04 PM

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

All times are GMT -5. The time now is 11:34 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