* [gentoo-user] Use Flags and Updating @ 2014-05-20 11:37 Hunter Jozwiak 2014-05-20 11:43 ` Alexander Kapshuk 2014-05-20 11:47 ` Stephan Müller 0 siblings, 2 replies; 18+ messages in thread From: Hunter Jozwiak @ 2014-05-20 11:37 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 182 bytes --] Hi all. How do I get Portage to update all software to use my new USE flags? I made some modifications to the variable, and I want to make sure that all packages can use the flags. [-- Attachment #2: Type: text/html, Size: 1718 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Use Flags and Updating 2014-05-20 11:37 [gentoo-user] Use Flags and Updating Hunter Jozwiak @ 2014-05-20 11:43 ` Alexander Kapshuk 2014-05-20 11:40 ` Hunter Jozwiak 2014-05-20 11:47 ` Stephan Müller 1 sibling, 1 reply; 18+ messages in thread From: Alexander Kapshuk @ 2014-05-20 11:43 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 263 bytes --] On 05/20/2014 02:37 PM, Hunter Jozwiak wrote: > > Hi all. How do I get Portage to update all software to use my new USE > flags? I made some modifications to the variable, and I want to make > sure that all packages can use the flags. > emerge(1) -N -- --newuse [-- Attachment #2: Type: text/html, Size: 1895 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* RE: [gentoo-user] Use Flags and Updating 2014-05-20 11:43 ` Alexander Kapshuk @ 2014-05-20 11:40 ` Hunter Jozwiak 2014-05-20 11:49 ` Alexander Kapshuk 0 siblings, 1 reply; 18+ messages in thread From: Hunter Jozwiak @ 2014-05-20 11:40 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 458 bytes --] From: Alexander Kapshuk [mailto:alexander.kapshuk@gmail.com] Sent: Tuesday, May 20, 2014 7:44 AM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Use Flags and Updating On 05/20/2014 02:37 PM, Hunter Jozwiak wrote: Hi all. How do I get Portage to update all software to use my new USE flags? I made some modifications to the variable, and I want to make sure that all packages can use the flags. emerge(1) -N -- --newuse Thank you. [-- Attachment #2: Type: text/html, Size: 3051 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Use Flags and Updating 2014-05-20 11:40 ` Hunter Jozwiak @ 2014-05-20 11:49 ` Alexander Kapshuk 2014-05-20 19:13 ` Matti Nykyri 2014-05-20 20:56 ` yac 0 siblings, 2 replies; 18+ messages in thread From: Alexander Kapshuk @ 2014-05-20 11:49 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 925 bytes --] On 05/20/2014 02:40 PM, Hunter Jozwiak wrote: > > > > > > *From:*Alexander Kapshuk [mailto:alexander.kapshuk@gmail.com] > *Sent:* Tuesday, May 20, 2014 7:44 AM > *To:* gentoo-user@lists.gentoo.org > *Subject:* Re: [gentoo-user] Use Flags and Updating > > > > On 05/20/2014 02:37 PM, Hunter Jozwiak wrote: > > Hi all. How do I get Portage to update all software to use my new > USE flags? I made some modifications to the variable, and I want > to make sure that all packages can use the flags. > > emerge(1) > -N -- --newuse > > Thank you. > No worries. Here's what I usually run when updating the world. Long version: emerge --ask --update --deep --with-bdeps=y --newuse @world With '--with-bdeps=y' set in the file shown below: grep bdeps /etc/portage/make.conf EMERGE_DEFAULT_OPTS="--with-bdeps=y" Short version: emerge -avuND @world -a [--ask] -v [--verbose] -u [--update] -N [--newuse] -D [--deep] [-- Attachment #2: Type: text/html, Size: 4182 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Use Flags and Updating 2014-05-20 11:49 ` Alexander Kapshuk @ 2014-05-20 19:13 ` Matti Nykyri 2014-05-21 13:49 ` Alexander Kapshuk 2014-05-20 20:56 ` yac 1 sibling, 1 reply; 18+ messages in thread From: Matti Nykyri @ 2014-05-20 19:13 UTC (permalink / raw To: gentoo-user@lists.gentoo.org [-- Attachment #1: Type: text/plain, Size: 1179 bytes --] On May 20, 2014, at 14:49, Alexander Kapshuk <alexander.kapshuk@gmail.com> wrote: > On 05/20/2014 02:40 PM, Hunter Jozwiak wrote: >> >> >> From: Alexander Kapshuk [mailto:alexander.kapshuk@gmail.com] >> Sent: Tuesday, May 20, 2014 7:44 AM >> To: gentoo-user@lists.gentoo.org >> Subject: Re: [gentoo-user] Use Flags and Updating >> >> On 05/20/2014 02:37 PM, Hunter Jozwiak wrote: >> Hi all. How do I get Portage to update all software to use my new USE flags? I made some modifications to the variable, and I want to make sure that all packages can use the flags. >> emerge(1) >> -N -- --newuse >> >> Thank you. >> > No worries. > > Here's what I usually run when updating the world. > Long version: emerge --ask --update --deep --with-bdeps=y --newuse @world > With '--with-bdeps=y' set in the file shown below: > grep bdeps /etc/portage/make.conf > EMERGE_DEFAULT_OPTS="--with-bdeps=y" > > Short version: emerge -avuND @world > -a [--ask] > -v [--verbose] > -u [--update] > -N [--newuse] > -D [--deep] And how to remember this... Make it a name: emerge -DuvaN @world Human mind is a complex organ ;) -- -Matti [-- Attachment #2: Type: text/html, Size: 4781 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Use Flags and Updating 2014-05-20 19:13 ` Matti Nykyri @ 2014-05-21 13:49 ` Alexander Kapshuk 2014-05-22 2:10 ` ny6p01 0 siblings, 1 reply; 18+ messages in thread From: Alexander Kapshuk @ 2014-05-21 13:49 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1441 bytes --] On 05/20/2014 10:13 PM, Matti Nykyri wrote: > On May 20, 2014, at 14:49, Alexander Kapshuk > <alexander.kapshuk@gmail.com <mailto:alexander.kapshuk@gmail.com>> wrote: > >> On 05/20/2014 02:40 PM, Hunter Jozwiak wrote: >>> >>> >>> >>> >>> >>> *From:*Alexander Kapshuk [mailto:alexander.kapshuk@gmail.com] >>> *Sent:* Tuesday, May 20, 2014 7:44 AM >>> *To:* gentoo-user@lists.gentoo.org >>> *Subject:* Re: [gentoo-user] Use Flags and Updating >>> >>> >>> >>> On 05/20/2014 02:37 PM, Hunter Jozwiak wrote: >>> >>> Hi all. How do I get Portage to update all software to use my >>> new USE flags? I made some modifications to the variable, and I >>> want to make sure that all packages can use the flags. >>> >>> emerge(1) >>> -N -- --newuse >>> >>> Thank you. >>> >> No worries. >> >> Here's what I usually run when updating the world. >> Long version: emerge --ask --update --deep --with-bdeps=y --newuse @world >> With '--with-bdeps=y' set in the file shown below: >> grep bdeps /etc/portage/make.conf >> EMERGE_DEFAULT_OPTS="--with-bdeps=y" >> >> Short version: emerge -avuND @world >> -a [--ask] >> -v [--verbose] >> -u [--update] >> -N [--newuse] >> -D [--deep] > > And how to remember this... Make it a name: > > emerge -DuvaN @world > > Human mind is a complex organ ;) > > -- > -Matti I just put this into a shell function. sed -n '/chkupd/,/}/p' .bash_profile chkupd(){ emerge --sync && emerge -avuND @world } [-- Attachment #2: Type: text/html, Size: 6123 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Use Flags and Updating 2014-05-21 13:49 ` Alexander Kapshuk @ 2014-05-22 2:10 ` ny6p01 2014-05-22 3:11 ` Rich Freeman 0 siblings, 1 reply; 18+ messages in thread From: ny6p01 @ 2014-05-22 2:10 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1856 bytes --] On Wed, May 21, 2014 at 04:49:57PM +0300, Alexander Kapshuk wrote: > On 05/20/2014 10:13 PM, Matti Nykyri wrote: > > On May 20, 2014, at 14:49, Alexander Kapshuk > > <alexander.kapshuk@gmail.com <mailto:alexander.kapshuk@gmail.com>> wrote: > > > >> On 05/20/2014 02:40 PM, Hunter Jozwiak wrote: > >>> > >>> > >>> > >>> > >>> > >>> *From:*Alexander Kapshuk [mailto:alexander.kapshuk@gmail.com] > >>> *Sent:* Tuesday, May 20, 2014 7:44 AM > >>> *To:* gentoo-user@lists.gentoo.org > >>> *Subject:* Re: [gentoo-user] Use Flags and Updating > >>> > >>> > >>> > >>> On 05/20/2014 02:37 PM, Hunter Jozwiak wrote: > >>> > >>> Hi all. How do I get Portage to update all software to use my > >>> new USE flags? I made some modifications to the variable, and I > >>> want to make sure that all packages can use the flags. > >>> > >>> emerge(1) > >>> -N -- --newuse > >>> > >>> Thank you. > >>> > >> No worries. > >> > >> Here's what I usually run when updating the world. > >> Long version: emerge --ask --update --deep --with-bdeps=y --newuse @world > >> With '--with-bdeps=y' set in the file shown below: > >> grep bdeps /etc/portage/make.conf > >> EMERGE_DEFAULT_OPTS="--with-bdeps=y" > >> > >> Short version: emerge -avuND @world > >> -a [--ask] > >> -v [--verbose] > >> -u [--update] > >> -N [--newuse] > >> -D [--deep] > > > > And how to remember this... Make it a name: > > > > emerge -DuvaN @world > > > > Human mind is a complex organ ;) > > > > -- > > -Matti > > I just put this into a shell function. > > sed -n '/chkupd/,/}/p' .bash_profile > chkupd(){ > emerge --sync && emerge -avuND @world > } > I run a script that syncs portage, updates @world, depcleans, revdep-rebuild and finally runs dispatch-conf -- about once weekly. Keeps my system in fine trim. :) [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Use Flags and Updating 2014-05-22 2:10 ` ny6p01 @ 2014-05-22 3:11 ` Rich Freeman 2014-05-22 7:54 ` Marc Joliet ` (2 more replies) 0 siblings, 3 replies; 18+ messages in thread From: Rich Freeman @ 2014-05-22 3:11 UTC (permalink / raw To: gentoo-user On Wed, May 21, 2014 at 10:10 PM, <ny6p01@gmail.com> wrote: > I run a script that syncs portage, updates @world, depcleans, revdep-rebuild > and finally runs dispatch-conf -- about once weekly. Keeps my system in fine > trim. :) This one is a gem - I forget where I saw it (likely planet, but maybe it was on a list). Stick it in your crontab. I will warn you that sometimes it chokes on its own output and obviously it can't build binpkgs for anything more than one step down the dependency tree. However, when my weekly chromium build runs at 2AM and I can just install it (with -k) the next morning it is a nice thing indeed. You still get full control over USE flags/etc, but most of the convenience of a binary distro. #!/bin/sh LIST=$(mktemp); emerge -puD --changed-use --color=n --columns --quiet=y --with-bdeps=y world | awk '{print $2}' > ${LIST}; for PACKAGE in $(cat ${LIST}); do printf "Building binary package for ${PACKAGE}... " emerge -uN --quiet-build --quiet=y --buildpkgonly ${PACKAGE}; if [[ $? -eq 0 ]]; then echo "ok"; else echo "failed"; fi done ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Use Flags and Updating 2014-05-22 3:11 ` Rich Freeman @ 2014-05-22 7:54 ` Marc Joliet 2014-05-23 9:22 ` Rich Freeman 2014-06-06 10:44 ` Rich Freeman 2014-05-22 9:37 ` Neil Bothwick 2014-05-22 12:00 ` J. Roeleveld 2 siblings, 2 replies; 18+ messages in thread From: Marc Joliet @ 2014-05-22 7:54 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1714 bytes --] Am Wed, 21 May 2014 23:11:02 -0400 schrieb Rich Freeman <rich0@gentoo.org>: > On Wed, May 21, 2014 at 10:10 PM, <ny6p01@gmail.com> wrote: > > I run a script that syncs portage, updates @world, depcleans, revdep-rebuild > > and finally runs dispatch-conf -- about once weekly. Keeps my system in fine > > trim. :) > > This one is a gem - I forget where I saw it (likely planet, but maybe > it was on a list). Stick it in your crontab. I will warn you that > sometimes it chokes on its own output and obviously it can't build > binpkgs for anything more than one step down the dependency tree. > However, when my weekly chromium build runs at 2AM and I can just > install it (with -k) the next morning it is a nice thing indeed. You > still get full control over USE flags/etc, but most of the convenience > of a binary distro. > > #!/bin/sh > > LIST=$(mktemp); > > emerge -puD --changed-use --color=n --columns --quiet=y --with-bdeps=y > world | awk '{print $2}' > ${LIST}; > > for PACKAGE in $(cat ${LIST}); > do > printf "Building binary package for ${PACKAGE}... " > emerge -uN --quiet-build --quiet=y --buildpkgonly ${PACKAGE}; > if [[ $? -eq 0 ]]; > then > echo "ok"; > else > echo "failed"; > fi > done I think nowadays one would prefer --keep-going, which automatically resumes on failure (and recomputes the dependency tree!), and prints a list of failed packages when it's finished. However its output is more verbose than just "ok" and "failed" (it'll print the build.log if it's only one package, IIRC). -- Marc Joliet -- "People who think they know everything really annoy those of us who know we don't" - Bjarne Stroustrup [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Use Flags and Updating 2014-05-22 7:54 ` Marc Joliet @ 2014-05-23 9:22 ` Rich Freeman 2014-06-06 10:44 ` Rich Freeman 1 sibling, 0 replies; 18+ messages in thread From: Rich Freeman @ 2014-05-23 9:22 UTC (permalink / raw To: gentoo-user On Thu, May 22, 2014 at 3:54 AM, Marc Joliet <marcec@gmx.de> wrote: > I think nowadays one would prefer --keep-going, which automatically resumes on > failure (and recomputes the dependency tree!), and prints a list of failed > packages when it's finished. However its output is more verbose than just "ok" > and "failed" (it'll print the build.log if it's only one package, IIRC). Yup. Upon reflection the whole script can be replaced by: emerge -uvD --changed-use --color=n --with-bdeps=y --quiet-build --buildpkgonly --keep-going world | col -bx | mutt -s "world update" you@example.com That will give you a decent report of what is new, build binary packages, do it in parallel, and not recompute dependencies for every package. Rich ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Use Flags and Updating 2014-05-22 7:54 ` Marc Joliet 2014-05-23 9:22 ` Rich Freeman @ 2014-06-06 10:44 ` Rich Freeman 2014-06-06 23:45 ` Alan McKinnon 1 sibling, 1 reply; 18+ messages in thread From: Rich Freeman @ 2014-06-06 10:44 UTC (permalink / raw To: gentoo-user On Thu, May 22, 2014 at 3:54 AM, Marc Joliet <marcec@gmx.de> wrote: > I think nowadays one would prefer --keep-going, which automatically resumes on > failure (and recomputes the dependency tree!), and prints a list of failed > packages when it's finished. However its output is more verbose than just "ok" > and "failed" (it'll print the build.log if it's only one package, IIRC). Hmm, after using this script for some time I found a problem with this approach. If you use --buildpkgonly and ---keep-going then emerge won't build a single thing if anything in the list is missing a build-time dependency. The script I posted will try to emerge everything individually so at least some of the packages will be compiled. That seems like a bug in --buildpkgonly. If you use it with --keep-going it should at least compile the packages that aren't missing build-time options. I'll file that as a bug if it isn't already there... Rich ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Use Flags and Updating 2014-06-06 10:44 ` Rich Freeman @ 2014-06-06 23:45 ` Alan McKinnon 0 siblings, 0 replies; 18+ messages in thread From: Alan McKinnon @ 2014-06-06 23:45 UTC (permalink / raw To: gentoo-user On 06/06/2014 12:44, Rich Freeman wrote: > On Thu, May 22, 2014 at 3:54 AM, Marc Joliet <marcec@gmx.de> wrote: >> I think nowadays one would prefer --keep-going, which automatically resumes on >> failure (and recomputes the dependency tree!), and prints a list of failed >> packages when it's finished. However its output is more verbose than just "ok" >> and "failed" (it'll print the build.log if it's only one package, IIRC). > > Hmm, after using this script for some time I found a problem with this > approach. If you use --buildpkgonly and ---keep-going then emerge > won't build a single thing if anything in the list is missing a > build-time dependency. The script I posted will try to emerge > everything individually so at least some of the packages will be > compiled. > > That seems like a bug in --buildpkgonly. If you use it with > --keep-going it should at least compile the packages that aren't > missing build-time options. I'll file that as a bug if it isn't > already there... I don't think it's a bug, it's more like a difference in interpretation. From the man page: --buildpkgonly (-B) Creates binary packages for all ebuilds processed without actually merging the packages. This comes with the caveat that all build-time dependencies must already be emerged on the system. --keep-going [ y | n ] Continue as much as possible after an error. When an error occurs, dependencies are recalculated for remaining pack‐ ages and any with unsatisfied dependencies are automati‐ cally dropped. Also see the related --skipfirst option. So, decisions about --buildpkgonly are made at the start of an emerge and --keep-going kicks in only when an error occurs at the end, and the former must have higher precedence than the latter. It doesn't make sense to expect portage to change it's behaviour about it's initial decisions just because you also have an entirely unrelated option set that is only a convenience in the event of a build failure. That seems to me too much of an unexpected side effect -- Alan McKinnon alan.mckinnon@gmail.com ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Use Flags and Updating 2014-05-22 3:11 ` Rich Freeman 2014-05-22 7:54 ` Marc Joliet @ 2014-05-22 9:37 ` Neil Bothwick 2014-05-22 12:00 ` J. Roeleveld 2 siblings, 0 replies; 18+ messages in thread From: Neil Bothwick @ 2014-05-22 9:37 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1289 bytes --] On Wed, 21 May 2014 23:11:02 -0400, Rich Freeman wrote: > This one is a gem - I forget where I saw it (likely planet, but maybe > it was on a list). Stick it in your crontab. I will warn you that > sometimes it chokes on its own output and obviously it can't build > binpkgs for anything more than one step down the dependency tree. > However, when my weekly chromium build runs at 2AM and I can just > install it (with -k) the next morning it is a nice thing indeed. You > still get full control over USE flags/etc, but most of the convenience > of a binary distro. > > #!/bin/sh > > LIST=$(mktemp); > > emerge -puD --changed-use --color=n --columns --quiet=y --with-bdeps=y > world | awk '{print $2}' > ${LIST}; One slight problem, it ignores slotted packages. I realise this is not a big issue as you are simply trying to get the big packages built in advance, If you drop the --columns and replace the awk call with sed 's/.*\] \(\S*\).*/=\1/' you will get properly versioned atoms. Or you could try --keep-going as suggested by Marc - I've no idea whether that will play nicely with --buildpkgonly. Either way, it's an excellent idea and one for the GMN tips thread. -- Neil Bothwick Top Oxymorons Number 14: Temporary tax increase [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Use Flags and Updating 2014-05-22 3:11 ` Rich Freeman 2014-05-22 7:54 ` Marc Joliet 2014-05-22 9:37 ` Neil Bothwick @ 2014-05-22 12:00 ` J. Roeleveld 2 siblings, 0 replies; 18+ messages in thread From: J. Roeleveld @ 2014-05-22 12:00 UTC (permalink / raw To: gentoo-user On Wednesday, May 21, 2014 11:11:02 PM Rich Freeman wrote: > On Wed, May 21, 2014 at 10:10 PM, <ny6p01@gmail.com> wrote: > > I run a script that syncs portage, updates @world, depcleans, > > revdep-rebuild and finally runs dispatch-conf -- about once weekly. Keeps > > my system in fine trim. :) > > This one is a gem - I forget where I saw it (likely planet, but maybe > it was on a list). Stick it in your crontab. I will warn you that > sometimes it chokes on its own output and obviously it can't build > binpkgs for anything more than one step down the dependency tree. > However, when my weekly chromium build runs at 2AM and I can just > install it (with -k) the next morning it is a nice thing indeed. You > still get full control over USE flags/etc, but most of the convenience > of a binary distro. > > #!/bin/sh > > LIST=$(mktemp); > > emerge -puD --changed-use --color=n --columns --quiet=y --with-bdeps=y > world | awk '{print $2}' > ${LIST}; > > for PACKAGE in $(cat ${LIST}); > do > printf "Building binary package for ${PACKAGE}... " > emerge -uN --quiet-build --quiet=y --buildpkgonly ${PACKAGE}; > if [[ $? -eq 0 ]]; > then > echo "ok"; > else > echo "failed"; > fi > done Alternatively, set up a chroot to build the binpackages. I do that for all my machines at home. That runs weekly. -- Joost ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Use Flags and Updating 2014-05-20 11:49 ` Alexander Kapshuk 2014-05-20 19:13 ` Matti Nykyri @ 2014-05-20 20:56 ` yac 2014-05-21 13:55 ` Alexander Kapshuk 1 sibling, 1 reply; 18+ messages in thread From: yac @ 2014-05-20 20:56 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1009 bytes --] On Tue, 20 May 2014 14:49:17 +0300 Alexander Kapshuk <alexander.kapshuk@gmail.com> wrote: > Here's what I usually run when updating the world. > Long version: emerge --ask --update --deep --with-bdeps=y --newuse > @world With '--with-bdeps=y' set in the file shown below: > grep bdeps /etc/portage/make.conf > EMERGE_DEFAULT_OPTS="--with-bdeps=y" > > Short version: emerge -avuND @world > -a [--ask] > -v [--verbose] > -u [--update] > -N [--newuse] > -D [--deep] > > It's also good to use -t --unordered-display to see what pulls what and resolve potential issues. Then --keep-going so the whole thing doesn't fail just because one package fails. Then -k to use already built binary packages where applicable (Actually, I'm not sure why this sometimes gets activated but I see it from time to time) Why do you run the the --width-bdeps=y ? --- Jan Matějka | Developer https://gentoo.org | Gentoo Linux GPG: A33E F5BC A9F6 DAFD 2021 6FB6 3EBF D45B EEB6 CA8B [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 490 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Use Flags and Updating 2014-05-20 20:56 ` yac @ 2014-05-21 13:55 ` Alexander Kapshuk 2014-05-21 16:37 ` Francesco Turco 0 siblings, 1 reply; 18+ messages in thread From: Alexander Kapshuk @ 2014-05-21 13:55 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1943 bytes --] On 05/20/2014 11:56 PM, yac wrote: > On Tue, 20 May 2014 14:49:17 +0300 > Alexander Kapshuk <alexander.kapshuk@gmail.com> wrote: > >> Here's what I usually run when updating the world. >> Long version: emerge --ask --update --deep --with-bdeps=y --newuse >> @world With '--with-bdeps=y' set in the file shown below: >> grep bdeps /etc/portage/make.conf >> EMERGE_DEFAULT_OPTS="--with-bdeps=y" >> >> Short version: emerge -avuND @world >> -a [--ask] >> -v [--verbose] >> -u [--update] >> -N [--newuse] >> -D [--deep] >> >> > It's also good to use -t --unordered-display to see what pulls what and > resolve potential issues. > > Then --keep-going so the whole thing doesn't fail just because one > package fails. > > Then -k to use already built binary packages where applicable > (Actually, I'm not sure why this sometimes gets activated but I see it > from time to time) > > Why do you run the the --width-bdeps=y ? > > --- > Jan Mate(jka | Developer > https://gentoo.org | Gentoo Linux > GPG: A33E F5BC A9F6 DAFD 2021 6FB6 3EBF D45B EEB6 CA8B After reading about the flag in the handbook, I thought I'd use it as well. http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=1 Code Listing 3.11: Updating your system with dependencies # emerge --update --deep @world Still, this doesn't mean all packages: some packages on your system are needed during the compile and build process of packages, but once that package is installed, these dependencies are no longer required. Portage calls those build dependencies. To include those in an update cycle, add --with-bdeps=y: Code Listing 3.12: Updating your entire system # emerge --update --deep --with-bdeps=y @world Since security updates also happen in packages you have not explicitly installed on your system (but that are pulled in as dependencies of other programs), it is recommended to run this command once in a while. What would you recommend? Thanks. [-- Attachment #2: Type: text/html, Size: 3729 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Use Flags and Updating 2014-05-21 13:55 ` Alexander Kapshuk @ 2014-05-21 16:37 ` Francesco Turco 0 siblings, 0 replies; 18+ messages in thread From: Francesco Turco @ 2014-05-21 16:37 UTC (permalink / raw To: gentoo-user > What would you recommend? Thanks. I always use emerge -uDNav @world --with-bdeps=y --keep-going=y, as I want to update *all* packages on my system. What's the point in keeping on the system some packages that are deliberately not updated? ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Use Flags and Updating 2014-05-20 11:37 [gentoo-user] Use Flags and Updating Hunter Jozwiak 2014-05-20 11:43 ` Alexander Kapshuk @ 2014-05-20 11:47 ` Stephan Müller 1 sibling, 0 replies; 18+ messages in thread From: Stephan Müller @ 2014-05-20 11:47 UTC (permalink / raw To: gentoo-user Am 20.05.2014 13:37, schrieb Hunter Jozwiak: > Hi all. How do I get Portage to update all software to use my new USE > flags? I made some modifications to the variable, and I want to make > sure that all packages can use the flags. > Hi, you can use the --newuse option of emerge, like this: # emerge --newuse world you should also take a look at --changed-use. This ignores irrelevant changes since installation. ~frukto ^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2014-06-06 23:46 UTC | newest] Thread overview: 18+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-05-20 11:37 [gentoo-user] Use Flags and Updating Hunter Jozwiak 2014-05-20 11:43 ` Alexander Kapshuk 2014-05-20 11:40 ` Hunter Jozwiak 2014-05-20 11:49 ` Alexander Kapshuk 2014-05-20 19:13 ` Matti Nykyri 2014-05-21 13:49 ` Alexander Kapshuk 2014-05-22 2:10 ` ny6p01 2014-05-22 3:11 ` Rich Freeman 2014-05-22 7:54 ` Marc Joliet 2014-05-23 9:22 ` Rich Freeman 2014-06-06 10:44 ` Rich Freeman 2014-06-06 23:45 ` Alan McKinnon 2014-05-22 9:37 ` Neil Bothwick 2014-05-22 12:00 ` J. Roeleveld 2014-05-20 20:56 ` yac 2014-05-21 13:55 ` Alexander Kapshuk 2014-05-21 16:37 ` Francesco Turco 2014-05-20 11:47 ` Stephan Müller
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox