[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
So I just moved from Ubuntu to Gentoo. Updating my packages seems
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 8
Thread images: 1
File: kevin_pikachu.jpg (268 KB, 600x400) Image search: [Google]
kevin_pikachu.jpg
268 KB, 600x400
So I just moved from Ubuntu to Gentoo. Updating my packages seems to be pretty similar. I used to type
apt-get update
apt-get upgrade

now I type
emerge --sync
emerge -uDU --with-bdeps=y @world

The first command makes perfect sense to me, but what the hell does "-uDU --with-bdeps=y @world" mean? I looked at the man page entries but I'm still lost.

What do each of these do, and why do I need them?
>>
>>53756414
You fell for the meme m8
>>
>>53756646
Huh? I like gentoo, I'm just trying to learn and understand portage better.
>>
>>53756414
Okay... So I think I figured it out

@world is the thing being updated. I could put a single package here or the @world set (which should be all my installed and system packages)

-u means update those packages to the best version.

-D and --with-bdeps=y mean look deeply, look at dependencies, update those too. (though I'm not sure why that is necessary, shouldn't those be under @world?)
>help pls /g/

-U doesn't do anything
>>
>>53757110
>-U doesn't do anything

whoops! Never mind. It rebuilds packages that have had their USE flags changed
>>
>>53756414
uninstall gentoo
>>
>>53757110
No, you shouldn't be manually specifying all your dependencies in @world. Even if you tried to do so, dependencies change across versions, so you'd still get new ones from time to time.

--with-bdeps=y means you'll also be checking for updates to build-time dependencies, which aren't necessarily going to be included in @world and won't be included transitively by -D.
>>
>>53758082
thanks! I added it to default opts in make.conf
Thread replies: 8
Thread images: 1

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.