Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
etc-update Fails
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
mjgeiger
n00b
n00b


Joined: 22 Oct 2002
Posts: 11
Location: Richmond, VA

PostPosted: Fri Dec 06, 2002 1:41 pm    Post subject: etc-update Fails Reply with quote

Hi,

I am trying to run etc-update because after I emerge anything I get:

Code:
* IMPORTANT: 17 config files in /etc need updating.


I do run etc-update. I can choose a file to work on. Then I choose any of the four options and I get:

Code:
Please select from the menu above (-1 to ignore this update): 1

/usr/sbin/etc-update: read: 1: syntax error: operand expected (error token is "1")


I don't really know what to do in this case. etc-update has worked before, but I don't want to do any other emerging with this problem overhead.

Any help would be great.

Thanks,
Matt
Back to top
View user's profile Send private message
BonezTheGoon
Bodhisattva
Bodhisattva


Joined: 14 Jun 2002
Posts: 1408
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

PostPosted: Fri Dec 06, 2002 5:15 pm    Post subject: Reply with quote

Follow the directions, read the next line that follows
Code:
* IMPORTANT: 17 config files in /etc need updating.
which should say something like
Code:
* Type emerge --help config to learn how to update config files.
and then you should be fine.

Regards,
BonezTheGoon
Back to top
View user's profile Send private message
mooman
Apprentice
Apprentice


Joined: 06 Nov 2002
Posts: 175
Location: Vancouver, WA

PostPosted: Fri Dec 06, 2002 6:05 pm    Post subject: Reply with quote

Bonez, it sounds like he is running etc-update, but it is throwning an error trying to parse the number he enters (where you pick if you want to keep the orig, merge them, etc)...

That is strange because it's supposed to accept a number there...

I'm just guessing here, but what version of portage do you have? You might see if updating portage resolves this....?
_________________
Linux user off and on since circa 1995
Back to top
View user's profile Send private message
EzInKy
Veteran
Veteran


Joined: 11 Oct 2002
Posts: 1742
Location: Kentucky

PostPosted: Fri Dec 06, 2002 6:50 pm    Post subject: Reply with quote

If your pressing "1" and not a small "L" that is indeed a weird error. Until the problem is resolved you could just edit the files by hand to incorporate any changes.
Back to top
View user's profile Send private message
mjgeiger
n00b
n00b


Joined: 22 Oct 2002
Posts: 11
Location: Richmond, VA

PostPosted: Mon Dec 09, 2002 12:07 pm    Post subject: Reply with quote

I am running 2.0.45-r1 of Portage. But I will just edit these files by hand. There are a few I will just delete, but just one questions: How do you delete a file (command line) with a . in the front of it?

Thanks,
Matt
Back to top
View user's profile Send private message
doug-x07
Tux's lil' helper
Tux's lil' helper


Joined: 16 Nov 2002
Posts: 122
Location: Paris, France

PostPosted: Mon Dec 09, 2002 12:15 pm    Post subject: Reply with quote

Quote:
How do you delete a file (command line) with a . in the front of it?


Just rm .filename like any other file
_________________
#! /usr/bin/perl
if( @first != $succeed ) {
post { $question->forum && eval '$answers' };
try { $again } catch { $problem && $resolve };
bless $posters; }
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