View previous topic :: View next topic |
Author |
Message |
ir_i_s_h n00b

Joined: 16 Dec 2002 Posts: 5
|
Posted: Mon Dec 16, 2002 8:08 am Post subject: I screwed up some ebuild files... |
|
|
I just installed gentoo this weekend for the first time. In a futile effort to change an imap dependency for mod_php from uw-imap to courier-imap (I have a USE imap flag set), I screwed up the ebuild files. So I did what anybody in my shoes would do, I rm -rf'd the /usr/portage/dev-php/mod_php dir then did an emerge sync. It copied the new files over my edited ones, however I still get errors when I try to install it. The error shows a portion of the ebuild file that I edited before (but no longer exists) and talks of masked dependency errors. I checked packages.mask and a few other files to no avail. I now know how I could have achieved what I was attempting to do, but I can't seem to fix those errors. Does anybody know what I'm rambling on about? My brazen attitude with a text editor never ceases to amaze me.
To summarize, I edited *.ebuild files in /usr/portage/dev-php/mod_php tried to emerge (failed), deleted those ebuild files, performed a sync and now get those same errors. What other files perform masking? |
|
Back to top |
|
 |
pjp Administrator


Joined: 16 Apr 2002 Posts: 20589
|
Posted: Mon Dec 16, 2002 8:11 am Post subject: |
|
|
You might try removing the /var/tmp/portage/mod_php directory. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
 |
ir_i_s_h n00b

Joined: 16 Dec 2002 Posts: 5
|
Posted: Mon Dec 16, 2002 8:29 am Post subject: tried deleting /var/tmp/portage/mod_php |
|
|
Thanks for the quick response wolf.
I went ahead and tried it. Still shows me a masked dependency error. Have no idea where it is pulling that from. How many files can a ">=net-mail/courier-imap-1.6.1" mask from an ebuild edit be in? |
|
Back to top |
|
 |
rac Bodhisattva


Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Dec 16, 2002 8:39 am Post subject: |
|
|
Does "emerge unmerge mod_php" help? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
 |
ir_i_s_h n00b

Joined: 16 Dec 2002 Posts: 5
|
Posted: Mon Dec 16, 2002 8:47 am Post subject: no it doesnt. |
|
|
It hasnt successfully installed yet, so it just returns nothing matches mod_php. I have looked through this forum for the messages dealing with masks. I think I have looked through them all, but nothing turns up for a case like this. What happens when you edit a *.ebuild file and try to merge? |
|
Back to top |
|
 |
ir_i_s_h n00b

Joined: 16 Dec 2002 Posts: 5
|
Posted: Mon Dec 16, 2002 9:01 am Post subject: not to drag this out but... |
|
|
I'm a little unclear as to what's happening with masking. But I'll have to leave that for another day. I went ahead and just emerged the .ebuild file directly for now.
Thanks for the timely responses. |
|
Back to top |
|
 |
|