Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge question
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
Deech
n00b
n00b


Joined: 17 Apr 2002
Posts: 51
Location: The Netherlands

PostPosted: Tue Jun 04, 2002 6:47 pm    Post subject: emerge question Reply with quote

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
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Tue Jun 04, 2002 6:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Deech
n00b
n00b


Joined: 17 Apr 2002
Posts: 51
Location: The Netherlands

PostPosted: Tue Jun 04, 2002 9:50 pm    Post subject: nope, changed it Reply with quote

hi fghellar,

nope, dir is changed to /usr/distfiles......checked it in the settingsfile. And it worked fine before.....

deech
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Tue Jun 04, 2002 10:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
rphillips
Retired Dev
Retired Dev


Joined: 18 Apr 2002
Posts: 92

PostPosted: Tue Jun 04, 2002 10:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
joshua
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2002
Posts: 134
Location: Wiesbaden

PostPosted: Wed Sep 25, 2002 1:41 pm    Post subject: /usr/portage/distfiles ... still trying to resume Reply with quote

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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Wed Sep 25, 2002 6:59 pm    Post subject: Re: /usr/portage/distfiles ... still trying to resume Reply with quote

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
View user's profile Send private message
proxy
Apprentice
Apprentice


Joined: 20 Apr 2002
Posts: 260
Location: Chantilly, VA

PostPosted: Thu Sep 26, 2002 1:13 am    Post subject: Reply with quote

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
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