Re: [gentoo-user] Building packages only when doing emerge world
So make a backup first! My system has some (cheap :( ) bays instaled on the front so I don't have to dig the computer out of it's hole, untangle, open, untangle again (so to speak), unscrew drives, c. I just power-off, insert & turn key, pull carrier out, insert different carrier, turn-&-remove key, power-up. Some do not have keys. NEVER trust the 'hot-swap' part of the name! -- always have power off when inserting or removing! If you put two bays in there, you can keep a backup drive in full-time, or better yet, keep #2 pulled just enough out to not be connected :: off, push or pull, (lock,) on. other than shutdown & reboot, 30 seconds *MAX* to add/remove a drive. (Now of course you need a drive big enough to make backups to. Best is two sets; after make #2, delete #1, and keep recycling space between the two sets. I don't particularly like WD drives, but they are cheap & seem to work OK like this.) lol!, rgh. Mike Turcotte wrote: A. Khattri wrote: On Sat, 2 Apr 2005, Nick Rout wrote: I think the problem is that if you build a whole lot of packages only, without installing them, then (because each package is not actually installed on a live filesystem) any package that depends on an earlier one will fail. I know what I'm saying, but it isn't coming out right... No it is, that makes sense. And your advice about moving in small steps was spot on. I would probably do a -uDtpv and emerge the small "subtrees" first and work up to the bigger packages. OK thanks guys, I will give this a shot. This is the first time I have ever updated the world on a gentoo system, so I was not sure what the outcome would be and if there would be any risks in doing so. After reading this, I now feel a lot better. -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Building packages only when doing emerge world
A. Khattri wrote: On Sat, 2 Apr 2005, Nick Rout wrote: I think the problem is that if you build a whole lot of packages only, without installing them, then (because each package is not actually installed on a live filesystem) any package that depends on an earlier one will fail. I know what I'm saying, but it isn't coming out right... No it is, that makes sense. And your advice about moving in small steps was spot on. I would probably do a -uDtpv and emerge the small "subtrees" first and work up to the bigger packages. OK thanks guys, I will give this a shot. This is the first time I have ever updated the world on a gentoo system, so I was not sure what the outcome would be and if there would be any risks in doing so. After reading this, I now feel a lot better. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Building packages only when doing emerge world
On Sat, 2 Apr 2005, Nick Rout wrote: > I think the problem is that if you build a whole lot of packages only, > without installing them, then (because each package is not actually > installed on a live filesystem) any package that depends on an earlier > one will fail. > > I know what I'm saying, but it isn't coming out right... No it is, that makes sense. And your advice about moving in small steps was spot on. I would probably do a -uDtpv and emerge the small "subtrees" first and work up to the bigger packages. -- Aj. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Building packages only when doing emerge world
On Fri, 2005-04-01 at 23:45 -0500, A. Khattri wrote: > On Fri, 1 Apr 2005, Mike Turcotte wrote: > > > So what do I do if something fails when I emerge all this stuff? Is my > > server going to go down? I am just wondering if there is anything I can > > do to protect myself from downtime and errors. > > Im sorry but the previous post already answered the question by quoting > the documentation. > > An emerge that fails does *not* get merged into your file-system and > building binary packages also skips the merge step. (So how would it break > your server if the package never gets merged into your file system?) > > > man emerge I think the problem is that if you build a whole lot of packages only, without installing them, then (because each package is not actually installed on a live filesystem) any package that depends on an earlier one will fail. I know what I'm saying, but it isn't coming out right... > > -- Nick Rout <[EMAIL PROTECTED]> -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Building packages only when doing emerge world
On Fri, 1 Apr 2005, Mike Turcotte wrote: > So what do I do if something fails when I emerge all this stuff? Is my > server going to go down? I am just wondering if there is anything I can > do to protect myself from downtime and errors. Im sorry but the previous post already answered the question by quoting the documentation. An emerge that fails does *not* get merged into your file-system and building binary packages also skips the merge step. (So how would it break your server if the package never gets merged into your file system?) man emerge -- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Building packages only when doing emerge world
On Fri, 2005-04-01 at 22:59 -0500, Mike Turcotte wrote: > So what do I do if something fails when I emerge all this stuff? Is my > server going to go down? I am just wondering if there is anything I can > do to protect myself from downtime and errors. I did a pretend emerge > and there are a TON of dependencies well I am no expert, but if you want to take it one step at a time, how about noting down what emerges portage wants to do (for example emerge -uDp world > ~/portage.todo then manually go through and install one at a time. Don't foprget that if an emerge fails it hasn't removed the old version. The old version isn't removed until after the new one is successfully built. One thing that could happen though is that a library might get updated with a version that is not completely backwards compatible. Then something that depends on the old version doesn't compile cleanly, you are left with the old version of the app, not working because the old library has disappeared. I think at some stage you need to bite the bullet though. A thought: if you installed a GRP, why not update to the latest GRP precompiled stuff, the 2005.0 binaries are pretty new :-) To do that I would do something like this: *download the package .iso for your arch *update portage to the same snapshot as used for the 2005.0 builds *mount the .iso in a known location *point gentoo at that location for its package directory *do an emerge -uDkp world to see what portage wants to do. * those last two can be combined with PKGDIR=/known/location emerge -uDkp world > > > Nick Rout wrote: > > >man emerge > > > >--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. > > > > > >On Fri, 2005-04-01 at 20:51 -0500, Mike Turcotte wrote: > > > > > >>Hello I am updating a server I built some time ago using a GRP install. > >>I want to do an emerge -uD world, but I want to know for sure this is > >>going to work before doing this. Can I tell it somehow to compile all > >>the packages but not install them? > >> > >>-- > >>gentoo-user@gentoo.org mailing list > >> > >> > >> > > -- > gentoo-user@gentoo.org mailing list > -- Nick Rout <[EMAIL PROTECTED]> -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Building packages only when doing emerge world
So what do I do if something fails when I emerge all this stuff? Is my server going to go down? I am just wondering if there is anything I can do to protect myself from downtime and errors. I did a pretend emerge and there are a TON of dependencies Nick Rout wrote: man emerge --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. On Fri, 2005-04-01 at 20:51 -0500, Mike Turcotte wrote: Hello I am updating a server I built some time ago using a GRP install. I want to do an emerge -uD world, but I want to know for sure this is going to work before doing this. Can I tell it somehow to compile all the packages but not install them? -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Building packages only when doing emerge world
man emerge --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. On Fri, 2005-04-01 at 20:51 -0500, Mike Turcotte wrote: > Hello I am updating a server I built some time ago using a GRP install. > I want to do an emerge -uD world, but I want to know for sure this is > going to work before doing this. Can I tell it somehow to compile all > the packages but not install them? > > -- > gentoo-user@gentoo.org mailing list > -- Nick Rout <[EMAIL PROTECTED]> -- gentoo-user@gentoo.org mailing list