[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 to be pretty similar.


Thread replies: 8
Thread images: 1

File: kevin_pikachu.jpg (268KB, 600x400px) Image search: [Google] [Yandex] [Bing]
kevin_pikachu.jpg
268KB, 600x400px
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
[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.
If a post contains illegal content, please click on its [Report] button and follow the instructions.
This is a 4chan archive - all of the content originated from them. If you need information for a Poster - you need to contact them.
This website shows only archived content and is not affiliated with 4chan in any way.
If you like this website please support us by donating with Bitcoin at 1XVgDnu36zCj97gLdeSwHMdiJaBkqhtMK