View previous topic :: View next topic |
Author |
Message |
evilmegaman n00b
Joined: 03 Oct 2004 Posts: 4 Location: In a nutsack
|
Posted: Tue Oct 05, 2004 1:41 am Post subject: File cannot be found |
|
|
I get a file cannot be found /usr/portage/distfiles//grep-2.5.4.tar.gz
Yes there are two /'s so something's not right.. thanks in advance _________________ My mom says I am special..... Is that a good thing? |
|
Back to top |
|
|
Duck-Billed Platypus Guru
Joined: 30 Jun 2003 Posts: 576 Location: Los Angeles, California, United States of America
|
Posted: Tue Oct 05, 2004 2:05 am Post subject: |
|
|
could you post the ebuild? It's /usr/portage/category/grep/grep-2.5.4.ebuild _________________ Dentists are evil. |
|
Back to top |
|
|
evilmegaman n00b
Joined: 03 Oct 2004 Posts: 4 Location: In a nutsack
|
Posted: Tue Oct 05, 2004 4:40 am Post subject: |
|
|
here you go! http://uoflgaming.dyndns.org/gentoo/ those are the two that I found. though the one it wants has a different name.. _________________ My mom says I am special..... Is that a good thing? |
|
Back to top |
|
|
slycordinator Advocate
Joined: 31 Jan 2004 Posts: 3065 Location: Korea
|
Posted: Tue Oct 05, 2004 5:24 am Post subject: |
|
|
Just to have saved you time all you had to do was this:
emerge grep -p
Part of the output will be "sys-apps/grep-version"
now you cd /usr/portage/sys-apps/grep
and post the ebuild that goes with the version that was outputed. |
|
Back to top |
|
|
slycordinator Advocate
Joined: 31 Jan 2004 Posts: 3065 Location: Korea
|
Posted: Tue Oct 05, 2004 5:27 am Post subject: |
|
|
And the real reason it's saying "file not found" is probably that it failed to fetch that file from the net.
To correct this you can either:
a) try emerging again later
or
b) find the file on your own on the net, download it yourself, move it to /usr/portage/distfiles , and finally emerge again where this time it'll use the file you moved and won't download. |
|
Back to top |
|
|
evilmegaman n00b
Joined: 03 Oct 2004 Posts: 4 Location: In a nutsack
|
Posted: Tue Oct 05, 2004 11:04 pm Post subject: |
|
|
oh I forgot to say one part. file is corrupt or incomplete. digests do not match, and I just did removed the grep file and emerged again. it redownloaded and same thing _________________ My mom says I am special..... Is that a good thing? |
|
Back to top |
|
|
slycordinator Advocate
Joined: 31 Jan 2004 Posts: 3065 Location: Korea
|
Posted: Wed Oct 06, 2004 2:25 am Post subject: |
|
|
There could be a couple different things:
1) Maybe the server you're using to download from has a file that's broken.
If this is the problem it can be easily correct by downloading that same file from somewhere else, placing it in /usr/portage/distfiles, and emerging again (this time it'll use the downloaded file).
If this doesn't work then the problem is likely mentioned in 2).
2) Maybe the digest is wrong (has an incorrect md5sum for the file).
So maybe the file you're downloading is correct and the digest file is messed up. This can be corrected by removing the downloaded file from /usr/portage/distfiles (just to be safe), do an "emerge sync" (now the digest file should be fixed if it was messed up), and then emerge the package again where this time it should work. |
|
Back to top |
|
|
|