View previous topic :: View next topic |
Author |
Message |
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Sat Dec 27, 2003 7:18 pm Post subject: Emerge gnome wants to remerge xfree |
|
|
Hi all,
Have just done a partway LiveCD install (CD 1 only) for Pentium 3...
I figured that I'd get the rest off the 'net, the full LiveCD was just to get started a bit quicker than doing a stage 1, which I have done in the past, but it has more of an achievement value ("hey, look at me - I did a full stage 1!") than anything else for me..
BUT - on the CD was xfree-4.3.0-r2, which I merged with --usepkgonly, all went well, so far so good, right?
Wrong. Next step was to emerge -pv gnome, and guess what - it wants to emerge xfree-4.3.0-r3.
A whopping 8 hour+ build, which is exactly what I was trying to avoid.
Now here's the question:
Why in the world does portage insist on upgrading xfree to a minor version when surely 4.3.0-r2 will do the job just as well - I thought emerge specifically DOESN'T upgrade dependent packages unless I tell it to!
I could be wrong, but it has me stumped.
Am now getting the 2nd LiveCD to force the binary gnome build down its throat, but does this sort of flummery mean I'll have to go through that every time from now on ?
I sure hope not - because if it does, that'll effectively render Gentoo useless from the easy upgrade path perspective.
Also I don't remember these problems with previous (pre-1.4) installs...
Ah well. |
|
Back to top |
|
|
arkhan_jg Apprentice
Joined: 18 Mar 2003 Posts: 199 Location: Dorset, UK
|
Posted: Sat Dec 27, 2003 7:45 pm Post subject: |
|
|
As a temporary measure, you could add xfree-4.3.0-r3 to package.mask, or just
Code: |
emerge inject x11-base/xfree-4.3.0-r3
|
which will fool portage into thinking it's already installed.
Emerging a package will also emerge it's dependencies. Often, those dependencies specify a minimum package version, so it's likely a problem you will encounter every so often, if you don't want to install a particular update.
Don't forget, you can set the nice level of emerge low, so it will take minimum cpu time. Once you have your system setup and running, you can schedule the big compiles for when you're not using the box, or set it at a lot priority when you are. I regularly have compiles going in the background (i'm a sucker for betas), and with the 2.6 kernel and niced to a low priority, i don't even notice when it starts or stops.[/code] _________________ make menuconfig not war |
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
Posted: Sun Dec 28, 2003 12:49 am Post subject: |
|
|
The r2 and r3 4.3.0 Xfree ebuilds are different.
Xfree do not release new versions often, so there are significant changes between the two builds - a cursory diff | wc gives 348 1272 9051, which is more than just a few patches.
Incidentally, etcat -d 'xfree-4.3.0-r3' shows that the package asking for r3 is x11-libs/gtk+-2.2.4-r1, and inspecting the ebuild gives the line:
# Need this specific xfree version to get bugfree xinput support (#20407)
Follow the link to find why this is necessary.
This sort of problem arises when the Live CDs fall significantly behind the stable Portage tree - 1.4 is August, IIRC. But to be honest, building medium size packages like Xfree is part and parcel of using a source based distro. (IOW - get used to it )
It is true that for future installs on other machines, getting them up to a current stable tree will require a new Xfree, at least until a new LiveCD comes out. However if they are the same arch then you need simply build the binary package once and transfer it over, or make your own LiveCD from the current Portage tree. |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Tue Dec 30, 2003 3:55 pm Post subject: |
|
|
Thanks, both.
I understood most of that before I posted, it just seems a major oversight (to me, which may not mean much) that in order to install a newer version of something which has dependencies that I do not have or use, I should be forced to install those dependencies anyway...
Anyways, I totally redid the GRP install (took less time this round, as I had already grokked and installed LVM stuff , and instead of sync'ing, I now installed gnome-2.2.2 completely from the 2nd LiveCD.
However, the same problem keeps occuring, with all sorts of packages.
I am not complaining about specific emerges not working as I expected, but more a sort of overall philosophical block I keep running into.
Maybe I should cut down on the USE flags...
Anyway, thanks again, but I guess I'll be struggling with this for some time - since any emerge world will take a day or 3 on my P3-733. |
|
Back to top |
|
|
|
|
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
|
|