View previous topic :: View next topic |
Author |
Message |
Deech n00b
Joined: 17 Apr 2002 Posts: 51 Location: The Netherlands
|
Posted: Tue Jun 04, 2002 6:47 pm Post subject: emerge question |
|
|
hi,
when using emerge, i usually copy the source files from cd to /usr/distfiles before i give the emerge command. Works great...but....i forgot to copy a file. So portage tried to download it for me, but failed since i don't have a connection.
So I copied the missing source file from cd to /usr/distfiles, and tried to emerge again. But whenever i try to emerge , portage keeps trying to download it (resume download)....Where does portage keep these settings of previous emerge attempts. Can i change these settings, so portage won't try to download?
Thanx for your tips....
greetz,
deech |
|
Back to top |
|
|
fghellar Bodhisattva
Joined: 10 Apr 2002 Posts: 856 Location: Porto Alegre, BR
|
Posted: Tue Jun 04, 2002 6:53 pm Post subject: |
|
|
Shouldn't it be /usr/portage/distfiles? Or you changed your config to use /usr/distfiles instead? _________________ | www.gentoo.org | www.tldp.org | www.google.com | |
|
Back to top |
|
|
Deech n00b
Joined: 17 Apr 2002 Posts: 51 Location: The Netherlands
|
Posted: Tue Jun 04, 2002 9:50 pm Post subject: nope, changed it |
|
|
hi fghellar,
nope, dir is changed to /usr/distfiles......checked it in the settingsfile. And it worked fine before.....
deech |
|
Back to top |
|
|
lx Veteran
Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Tue Jun 04, 2002 10:07 pm Post subject: |
|
|
It just continues the download of a file in ${DISTDIR} check the RESUMECOMMAND in /etc/make.globals. Are you sure it isn't downloading another / different source file?. Just checked it and when, I moved file from distdir then emerged the package -> CTRL+C -> moved the original source back and it just uses the original source.
Make sure its the same source file.
Maybe the copied file is corrupted and emerge wants to download the correct one.
Can also try to remove the digest file from the /usr/portage/.../..../files dir and rebuilding it with ebuild /usr/portage/..../..../????.ebuild digest. Maybe the used source is somewhat different.
Hope this get you any further, lX _________________ "Remember there's a big difference between kneeling down and bending over.", Frank Zappa |
|
Back to top |
|
|
rphillips Retired Dev
Joined: 18 Apr 2002 Posts: 92
|
Posted: Tue Jun 04, 2002 10:47 pm Post subject: |
|
|
Packages are downloaded to /usr/portage/distfiles unless you have changed this...
Copy the complete tarball into that directory and it should be installed without downloading it. |
|
Back to top |
|
|
joshua Tux's lil' helper
Joined: 19 Jun 2002 Posts: 134 Location: Wiesbaden
|
Posted: Wed Sep 25, 2002 1:41 pm Post subject: /usr/portage/distfiles ... still trying to resume |
|
|
i've had that too, the following worked for me (assuming the correct archives have already been downloaded to /usr/portage/distfiles):
Code: |
cd /usr/portage/<package>/<app-name>
rm files/digest-<app-name-version>
ebuild <app-name-version>.ebuild digest
emerge <package>/<app-name>
|
|
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Sep 25, 2002 6:59 pm Post subject: Re: /usr/portage/distfiles ... still trying to resume |
|
|
joshua wrote: | i've had that too, the following worked for me (assuming the correct archives have already been downloaded to /usr/portage/distfiles):
Code: |
cd /usr/portage/<package>/<app-name>
rm files/digest-<app-name-version>
ebuild <app-name-version>.ebuild digest
emerge <package>/<app-name>
|
|
I think this is a pretty risky thing to do, in general. You are deliberatly subverting the checksum test - you will be less certain that you don't have a trojaned or corrupted source tarball. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
proxy Apprentice
Joined: 20 Apr 2002 Posts: 260 Location: Chantilly, VA
|
Posted: Thu Sep 26, 2002 1:13 am Post subject: |
|
|
why not just mount the cd into the distfiles directory instead? no ability to forget files then. only time would be when it needs to download a file....but that's not a concern anyway.
proxy |
|
Back to top |
|
|
|