Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132068 - etc-update fail to make diff on sys-apps/portage-2.1_pre9-r5
Summary: etc-update fail to make diff on sys-apps/portage-2.1_pre9-r5
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-02 16:03 UTC by Magno Alexandre Torres
Modified: 2006-05-03 10:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Magno Alexandre Torres 2006-05-02 16:03:29 UTC
Guys

I solved this problem (i am using the package portage with package.keyworks) appling this lines:

magno ~ # diff /usr/sbin/etc-update etc-update
145,148d144
<                       if [ -z "$input" ]
<                       then
<                               input=0
<                       fi
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2006-05-03 01:05:21 UTC
what problem? the summary is too generic to understand what the problem is. can you please elaborate a bit?
Comment 2 Magno Alexandre Torres 2006-05-03 10:51:39 UTC
Sorry.

The real problem was, when you execute etc-update, an error happened if you press ENTER, because variable input is null and the script fail.
But it was solved in new version of portage ( emerge sync is a friend :) )