Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to install Gentoo offline (for security reasons)?
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1951

PostPosted: Fri Sep 01, 2017 12:01 pm    Post subject: Reply with quote

Code:

emerge --verbose --fetchonly --pretend --color n XXX 2>>fail.log | tee -a action.log

might do what you want. I use an awk script to test, fetch or build the packages
I ordinarily use, with a similar command, and it's pretty straightforward.

Will
Back to top
View user's profile Send private message
nokilli
Apprentice
Apprentice


Joined: 25 Feb 2004
Posts: 150

PostPosted: Sun Sep 03, 2017 12:57 pm    Post subject: Reply with quote

John R. Graham wrote:
nokilli wrote:
I'll do that. Take care.

edit: I'll do it later. No obvious place to post feature requests. Feel like I wasted my time registering.

Here's how:
  1. Click the big "File a Bug" button.
  2. In the "Or, use one of the following products" section, select "Portage Development".
  3. In the Component box, select "Enhancement/Feature Request".
  4. Knock yourself out. (It should be obvious from there.)
- John

Yes, I see now. Thanks for the info. Request submitted.

Take care.
_________________
Today is the first day of the rest of your Gentoo installation.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 6148
Location: almost Mile High in the USA

PostPosted: Wed Sep 13, 2017 12:19 am    Post subject: Reply with quote

Since I have an audience here with --fetchonly and --pretend, I bring up an old problem that still seems to show up: the behavior of emerge is different with --fetchonly specified. I mean, it tends to give a different list of warnings and slot/blocker issues when it's being used. It mostly still seems to work however but I get those ugly slot conflicts...

Anyway I ended up writing (a fairly large script) that processes the output of emerge --fetchonly --pretend and wgets them into your /usr/portage/distfiles if you don't already have it. It also handles some of those stupid cases (adobe-flash, firefox-bin) but not other annoying cases (oracle-jdk-bin). I use this to pre-download distfiles that all my computers download from to reduce the number of times I download firefox-52.3.0esr.source.tar.xz through my slow WAN link to 1... pm if interested, not sure if anyone really has the same usage need as I have. I had to make sure I don't download firefox-52.3.0esr.source.tar.xz 5+ times... It's a long script mostly to tell me that I saved 1GB of downloads each time I process a file :)
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 11174

PostPosted: Wed Sep 13, 2017 12:32 am    Post subject: Reply with quote

Based on the requests earlier in the thread, I suspect nokilli would be interested in your script. Other readers who find the thread later might also want to try it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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