Re: [gentoo-user] portage problem
On Sat, 15 Mar 2008 18:54:52 -0400, Chuck Robey wrote: I wasn't even aware of the ask option, It is explained in the emerge man page. I think I realize now, that even thoughthe program name is emeerge, I didn't realize you folks call the job of installing a program, merging As is this. You really need to read man emerge and man portage to understand what you are doing. -- Neil Bothwick If a parsley farmer is sued, can they garnish his wages? signature.asc Description: PGP signature
Re: [gentoo-user] portage problem
On Saturday 15 March 2008, Neil Bothwick wrote: On Sat, 15 Mar 2008 12:13:05 -0400, Chuck Robey wrote: I haven't been able to find any syntax to actually use slots, In general, you don't. Slots are mainly used for libraries and similar programs that are used by other programs. One program needs libfoo 1.x,another needs libfoo 2.x. Slots enable you to have both installed and both programs are happy. There are a few slotted packages where a user decides which version they want, but this is done is the same way as specifying the version for non-slotted packages, by specifying the version in the emerge command. Just to expand on that a little (the info IS all in the various man pages, but it's not really laid out in a tutorial style so that people seeing it for the first time can wrap their brains around it): As Neil says, SLOTs let you have two or more versions of the same thing so they co-exist. Usually, SLOTS are named after the major version number of the package, but not always. Take these two examples, using eix (with extra stuff like dates and USE flags snipped out): [I] x11-libs/qt Available versions: (3) 3.3.4-r8 3.3.8-r4 (4) 4.3.2-r1 (~)4.3.3 (~)4.3.4 [M](~)4.4.0_beta1 Installed versions: 3.3.8-r4(3) 4.3.4(4) This says in the Available section that there are two SLOTs for qt - 3 and 4 - and there are several versions available in both branches. On my box, I have qt-3.3.8-r4 installed in the qt:3 SLOT and qt-4.3.2.-r1 in the qt:4 SLOT. So far so good. Now look at kde: * kde-base/kde-meta Available versions: (3.5) 3.5.8 (~)3.5.9 (kde-4) {M}(~)4.0.1 {M}(~)4.0.2 This one is different, the SLOTs are called 3.5 and kde-4, and I don't have the full kde range installed for either. I find that eix's output is the easiest way to determine which SLOTs are defined, the colourized output lays it out quite nicely. Portage handles SLOT updates by only considering the latest SLOT (unless you say otherwise). If I issue 'emerge kde-meta' on my box, portage wants to install kde-4.0.2 because that is the latest version (portage always wants to upgrade to the latest possible version even without SLOTs being involved). To update an earlier SLOT I have to use a minor syntax tweak: emerge kde-meta:3.5 The : is the signal to look for a SLOT. Portage will update to the highest version in the 3.5 SLOT which happens to be 3.5.9 for me. (Aside: all we need do now is hope and pray that no package ever gets a : in it's name ... ) Quite obviously, in my case the following two commands are identical: emerge kde-meta emerge kde-meta:kde-4 In summary, the SLOT syntax is just a sensible extension of how portage deals with ranges of versions. Compare these and it all makes sense: emerge foo emerge foo-1.0.0 emerge =foo-2.3.4 emerge foo:1 emerge foo:2 Hope all this helps and it now makes a little more sense :-) -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] portage problem
Alan McKinnon wrote: SNIP Portage handles SLOT updates by only considering the latest SLOT (unless you say otherwise). If I issue 'emerge kde-meta' on my box, portage wants to install kde-4.0.2 because that is the latest version (portage always wants to upgrade to the latest possible version even without SLOTs being involved). To update an earlier SLOT I have to use a minor syntax tweak: emerge kde-meta:3.5 The : is the signal to look for a SLOT. Portage will update to the highest version in the 3.5 SLOT which happens to be 3.5.9 for me. (Aside: all we need do now is hope and pray that no package ever gets a : in it's name ... ) Quite obviously, in my case the following two commands are identical: emerge kde-meta emerge kde-meta:kde-4 In summary, the SLOT syntax is just a sensible extension of how portage deals with ranges of versions. Compare these and it all makes sense: emerge foo emerge foo-1.0.0 emerge =foo-2.3.4 emerge foo:1 emerge foo:2 Hope all this helps and it now makes a little more sense :-) I learned something today. I didn't know about the *:* for slots. That's pretty cool. ;-) I hope I don't forget what I learned today. :-( Dale :-) :-) -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] portage problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil Bothwick wrote: On Sat, 15 Mar 2008 18:54:52 -0400, Chuck Robey wrote: I wasn't even aware of the ask option, It is explained in the emerge man page. I think I realize now, that even thoughthe program name is emeerge, I didn't realize you folks call the job of installing a program, merging As is this. You really need to read man emerge and man portage to understand what you are doing. I've read it 4 times already, I just donm['t have it memorized. I did check and prove that it doesn't even mention the word slot I didn't realize it would use the * key if you escaped it and fed it in. I don't think it says that. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH3VmNz62J6PPcoOkRAizcAJ0VB9rOVmZvBn9b4J+IH89klzg8QACePQlU 4xRWgoUgzTIEa87VN5og5L8= =WyUG -END PGP SIGNATURE- -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] portage problem
On Sun, 16 Mar 2008 13:31:57 -0400, Chuck Robey wrote: As is this. You really need to read man emerge and man portage to understand what you are doing. I've read it 4 times already, I just donm['t have it memorized. I did check and prove that it doesn't even mention the word slot % man emerge | grep -ic slot 5 You don't need to memorise it, just get into the habit of reading the man pages whenever something doesn't make sense to you. -- Neil Bothwick I work with User-Surly Software. signature.asc Description: PGP signature
Re: [gentoo-user] portage problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alan McKinnon wrote: On Saturday 15 March 2008, Neil Bothwick wrote: On Sat, 15 Mar 2008 12:13:05 -0400, Chuck Robey wrote: I haven't been able to find any syntax to actually use slots, In general, you don't. Slots are mainly used for libraries and similar programs that are used by other programs. One program needs libfoo 1.x,another needs libfoo 2.x. Slots enable you to have both installed and both programs are happy. There are a few slotted packages where a user decides which version they want, but this is done is the same way as specifying the version for non-slotted packages, by specifying the version in the emerge command. Just to expand on that a little (the info IS all in the various man pages, but it's not really laid out in a tutorial style so that people seeing it for the first time can wrap their brains around it): As Neil says, SLOTs let you have two or more versions of the same thing so they co-exist. Usually, SLOTS are named after the major version number of the package, but not always. Take these two examples, using eix (with extra stuff like dates and USE flags snipped out): [I] x11-libs/qt Available versions: (3) 3.3.4-r8 3.3.8-r4 (4) 4.3.2-r1 (~)4.3.3 (~)4.3.4 [M](~)4.4.0_beta1 Installed versions: 3.3.8-r4(3) 4.3.4(4) This says in the Available section that there are two SLOTs for qt - 3 and 4 - and there are several versions available in both branches. On my box, I have qt-3.3.8-r4 installed in the qt:3 SLOT and qt-4.3.2.-r1 in the qt:4 SLOT. So far so good. Now look at kde: * kde-base/kde-meta Available versions: (3.5) 3.5.8 (~)3.5.9 (kde-4) {M}(~)4.0.1 {M}(~)4.0.2 This one is different, the SLOTs are called 3.5 and kde-4, and I don't have the full kde range installed for either. I find that eix's output is the easiest way to determine which SLOTs are defined, the colourized output lays it out quite nicely. Portage handles SLOT updates by only considering the latest SLOT (unless you say otherwise). If I issue 'emerge kde-meta' on my box, portage wants to install kde-4.0.2 because that is the latest version (portage always wants to upgrade to the latest possible version even without SLOTs being involved). To update an earlier SLOT I have to use a minor syntax tweak: emerge kde-meta:3.5 The : is the signal to look for a SLOT. Portage will update to the highest version in the 3.5 SLOT which happens to be 3.5.9 for me. (Aside: all we need do now is hope and pray that no package ever gets a : in it's name ... ) Quite obviously, in my case the following two commands are identical: emerge kde-meta emerge kde-meta:kde-4 In summary, the SLOT syntax is just a sensible extension of how portage deals with ranges of versions. Compare these and it all makes sense: emerge foo emerge foo-1.0.0 emerge =foo-2.3.4 emerge foo:1 emerge foo:2 Hope all this helps and it now makes a little more sense :-) It certainly does! AND I found that there IS one document that tells you more than a fleeting hint about slots: the eix man page. Someone else sort of snidely said you should read the emerge man page after giving me (once again) description of slots without giving me any way to USE them ... as if I hadn't read that emerge man page again and again, and let me tell you, it gives nothing whatever on slots. Well, now, after reading this, AND the eix man page, I think I will know enough to begin to be dangerous :-) I was getting SO bored of getting descriptions of what a slot is, but never being given any way to access that grand thing called a SLOT. Now, finally, someone has handed me a slotted screwdriver! -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH3Vw3z62J6PPcoOkRAkk6AJ4sXw6J/jcTcjuDSNd3t/LiyMT1bACcCRJ+ ZgmvarzVsh1rSnLrHwWn6aA= =sYC4 -END PGP SIGNATURE- -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] portage problem
On Sunday 16 March 2008, Chuck Robey wrote: It certainly does! AND I found that there IS one document that tells you more than a fleeting hint about slots: the eix man page. Someone else sort of snidely said you should read the emerge man page after giving me (once again) description of slots without giving me any way to USE them ... as if I hadn't read that emerge man page again and again, and let me tell you, it gives nothing whatever on slots. Well, now, after reading this, AND the eix man page, I think I will know enough to begin to be dangerous :-) I think it was me that gave you that snide comment blush. Oops... I had a little think about this and what I've concluded is that those of us using gentoo for months/years without a break confront these things little by little as they get introduced. One new change a week is something we can easily absorb without thinking twice and eventually we amass this HUGE collection of facts and we are comfortable with it. So far so good. Someone new to Gentoo comes along, or returns after a few years away. Lots has changed, and we all tell you to RTFM because the answer is so bloody obvious ... sheesh, get a clue dude or similar. What that reduces to though is that the oldies expect the newbies to absorb in a day what took the oldie a few months. Not only is it unfair, it's a totally unreasonable thing to expect. I shall make a mental note for myself for future use. Meanwhile, something good you could do meanwhile is go over to bugs.gentoo.org and submit a new bug under the docs section. Briefly summarize what docs you read and what lack of data you found on SLOTs and ask the documentation maintainers to expand the description of SLOTs. Give it from the viewpoint of someone who doesn't know portage well so they can see where you reasonably went looking and what you expected to find but that was missing -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] portage problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alan McKinnon wrote: On Friday 14 March 2008, Chuck Robey wrote: Vladimir Rusinov wrote: Just add opengl to your use flags and `emerge -v1 =x11-libs/qt-3*` Then, you'll probably need `emerge --update --deep --newuse kde-meta` (or emerge -uDN kde-meta) You aren't understanding me. I am fully aware of qt versions 3 and 4, and if I was gbuilding them on my own, this wouldn't be a problem, but I am trying to use the portage system, and there isnt'any such emerge package named like this, at least, none I can find, none 'emerge -s qt-3*' could find either. If you could identify for me what the heck the real package name is, I would gladly rebuild it. I'm not having trouble with the command line, I'm having trouble finding the cirrect thing to rebuild. qt is SLOTted, I think you are simply using the wrong syntax. Using my machine as an example (you should also emerge eix, it's so much easier and quicker than emerge -s): [EMAIL PROTECTED] ~/bin $ eix -e qt [I] x11-libs/qt Available versions: (3) 3.3.4-r8 3.3.8-r4 (4) 4.3.2-r1 (~)4.3.3 (~)4.3.4 [M](~)4.4.0_beta1 The SLOTs are 3 and 4 If I try to update qt, portage will update qt4 as it's the latest version. I would have to do something like emerge =qt-3.3.8-r4 or the newish syntax incorporating SLOTs emerge qt:3 You were essentially trying to tell portage to update a package called qt-3, there is no such package. And getting to grips with emerge's version number syntax can be a bitch Does this answer your query? Comes very, very close. I wasn't aware of slots. I just went agoogling, found several explanations of what it is in Gentoo docs (and read them) but haven't found any explanation of how to use them (what tools, what syntax? I need to say, slots seem a great idea (depends on the abilities I see, when I can locate the syntax). Is there maybe something written up NOT on how to create a slotted package, but how to sreach for particular slots being available, being filled by what candidate, how to call a particular candidate to be built, etc. I should note, one of my biggest hot buttons in documentation is the unfortunate trend towards using _only_ examples. Examples after giving the full syntax are great, but examples alone are just enouigh to frustrate, because your actual need is almost never what is exampled, and many folks seem to think that one example is really all folks need. Please, those of you reading this, don''t let yourself fall into that trap, because an example or tweo after the syntax is great, but a example or two ONLY is inviting users to have to pester you forever. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH2/JQz62J6PPcoOkRAm7EAKCVrHd2FPD1rJib4ky/DJs0Mg/4IwCfTGWt WFq4ojUY4EqRePHpo9zpcd4= =GLVM -END PGP SIGNATURE- -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] portage problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil Bothwick wrote: On Fri, 14 Mar 2008 13:58:55 -0400, Chuck Robey wrote: * The die message: * Please reemerge =x11-libs/qt-3* with USE=opengl. asks me to rebuild something that doesn't exist. It does exist, the wildcard tells portage to install the latest 3 version. Try doing what it says in the message, although you should quote the package atom to stop the shell trying to interpret the *. emerge -1av '=x11-libs/qt-3*' Thanks, That's what i was after (although my curiosity is going to be looking to see what gets selected). The reply I got from the other fellow, on SLOTs, was really interesting, but I haven't found out how to use slots yet, just that they do seem a great idea. Your reply, OTOH, showed me how to go forward, and I thank you. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH2/MUz62J6PPcoOkRAs2bAKCiUfGEA6zk9O1ta1tOOoJHcRWO2gCgjXaU BLp5U7oquDvX8YbaUq35r0Q= =9502 -END PGP SIGNATURE- -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] portage problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil Bothwick wrote: On Fri, 14 Mar 2008 13:58:55 -0400, Chuck Robey wrote: * The die message: * Please reemerge =x11-libs/qt-3* with USE=opengl. asks me to rebuild something that doesn't exist. It does exist, the wildcard tells portage to install the latest 3 version. Try doing what it says in the message, although you should quote the package atom to stop the shell trying to interpret the *. emerge -1av '=x11-libs/qt-3*' I didn't want to wear out my welcome. publicly, but one more question. Using --update and --newuse, I just reinstalled qt last night. This morning, after someone suggested eix, I ran that, and got this: june ~ # eix -e qt [I] x11-libs/qt Available versions: (3) 3.3.4-r8 3.3.8-r4 (4) 4.3.2-r1 ~4.3.3 ~4.3.4 [M]~4.4.0_beta1 {accessibility cups dbus debug doc examples firebird gif glib immqt immqt-bc input_devices_wacom ipv6 jpeg mng mysql nas nis odbc opengl pch png postgres qt3support sqlite sqlite3 ssl tiff xinerama zlib} Installed versions: 3.3.8-r4(3)(16:16:12 03/14/08)(cups doc examples ipv6 opengl -debug -firebird -gif -immqt -immqt-bc -mysql -nas -nis -odbc - -postgres -sqlite -xinerama) 4.3.2-r1(4)(16:02:00 03/14/08)(cups dbus doc examples jpeg opengl png ssl tiff zlib -accessibility -debug -firebird -gif - -glib -input_devices_wacom -mng -mysql -nas -nis -odbc -pch -postgres - -qt3support -sqlite -sqlite3 -xinerama) Homepage:http://www.trolltech.com/ Description: The Qt toolkit is a comprehensive C++ application development framework. I haven't been able to find any syntax to actually use slots, so I needed to ignore all the slot stuff until I get some slot info (the man page for both emerge and portatge are silent on slots, beyond one very slim paragraph in emerge, which gave no syntax). This morning, when I did the cut/paste of your command, it came back and asked me: [ebuild R ] x11-libs/qt-3.3.8-r4 USE=cups doc examples ipv6 opengl - -debug (-firebird) -gif -immqt -immqt-bc -mysql -nas -nis -odbc -postgres - -sqlite -xinerama 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] What the heck does it mean to merge these? BTW, I did spend some time googling the answers, can't find anything written on slot usage yet. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH2/WRz62J6PPcoOkRAlSFAJ0f92ebjel3ubKzQ9pwCU3Uzp7m+QCfcPy3 MzrzTPDaDVapdP78SDOxmRw= =kT8J -END PGP SIGNATURE- -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] portage problem
Chuck Robey wrote: Neil Bothwick wrote: On Fri, 14 Mar 2008 13:58:55 -0400, Chuck Robey wrote: * The die message: * Please reemerge =x11-libs/qt-3* with USE=opengl. asks me to rebuild something that doesn't exist. It does exist, the wildcard tells portage to install the latest 3 version. Try doing what it says in the message, although you should quote the package atom to stop the shell trying to interpret the *. emerge -1av '=x11-libs/qt-3*' Thanks, That's what i was after (although my curiosity is going to be looking to see what gets selected). The reply I got from the other fellow, on SLOTs, was really interesting, but I haven't found out how to use slots yet, just that they do seem a great idea. Your reply, OTOH, showed me how to go forward, and I thank you. I'm going to shoot up a flare but I may not be able to shoot it in a way that will visible. Look as close as you can. ;-) Example: KDE. There is currently two versions of KDE available. We have the stable and widely used KDE 3 and the unstable KDE 4. Even if KDE 4 was not masked and was stable, you could still have KDE 3 and KDE 4 on the same system at the same time. You could use KDE 3, log out of it then select KDE 4 and log into the new KDE 4. KDE is slotted. Slotted just basically means you can have two versions of the same package(s) on the same system at the same time. Back to the qt thing you are dealing with. I check this way but there are other ways to do this. [EMAIL PROTECTED] / # equery list qt [ Searching for package 'qt' in all categories among: ] * installed packages [I--] [ ] dev-libs/dbus-qt3-old-0.70 (0) [I--] [ ] x11-libs/qt-3.3.8-r4 (3) [I--] [ ] x11-libs/qt-4.3.2-r1 (4) [EMAIL PROTECTED] / # I have qt3 and qt4 on here. Can't recall what pulled in qt4 at the moment but they coexist very well. Note the (3) and (4) on the end there? That's what tells you it is slotted. If a program needs qt3 then it uses it. If it needs qt4 then it can use it. If you want to re-emerge qt3 manually, you can do it this way. emerge =x11-libs/qt-3.3.8-r4 will emerge qt3. Emerge knows to do qt3 because there is a equal sign in front that tells it the specific version you want to emerge. If you just type in emerge qt, it will emerge the highest version available but not the qt3 version. So, does this help any? Somebody speak up if I am mistaken somewhere. Dale :-) :-) -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] portage problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dale wrote: Chuck Robey wrote: Neil Bothwick wrote: On Fri, 14 Mar 2008 13:58:55 -0400, Chuck Robey wrote: * The die message: * Please reemerge =x11-libs/qt-3* with USE=opengl. asks me to rebuild something that doesn't exist. It does exist, the wildcard tells portage to install the latest 3 version. Try doing what it says in the message, although you should quote the package atom to stop the shell trying to interpret the *. emerge -1av '=x11-libs/qt-3*' Thanks, That's what i was after (although my curiosity is going to be looking to see what gets selected). The reply I got from the other fellow, on SLOTs, was really interesting, but I haven't found out how to use slots yet, just that they do seem a great idea. Your reply, OTOH, showed me how to go forward, and I thank you. I'm going to shoot up a flare but I may not be able to shoot it in a way that will visible. Look as close as you can. ;-) Example: KDE. There is currently two versions of KDE available. We have the stable and widely used KDE 3 and the unstable KDE 4. Even if KDE 4 was not masked and was stable, you could still have KDE 3 and KDE 4 on the same system at the same time. You could use KDE 3, log out of it then select KDE 4 and log into the new KDE 4. KDE is slotted. Slotted just basically means you can have two versions of the same package(s) on the same system at the same time. Back to the qt thing you are dealing with. I check this way but there are other ways to do this. [EMAIL PROTECTED] / # equery list qt [ Searching for package 'qt' in all categories among: ] * installed packages [I--] [ ] dev-libs/dbus-qt3-old-0.70 (0) [I--] [ ] x11-libs/qt-3.3.8-r4 (3) [I--] [ ] x11-libs/qt-4.3.2-r1 (4) [EMAIL PROTECTED] / # I have qt3 and qt4 on here. Can't recall what pulled in qt4 at the moment but they coexist very well. Note the (3) and (4) on the end there? That's what tells you it is slotted. If a program needs qt3 then it uses it. If it needs qt4 then it can use it. If you want to re-emerge qt3 manually, you can do it this way. emerge =x11-libs/qt-3.3.8-r4 will emerge qt3. Emerge knows to do qt3 because there is a equal sign in front that tells it the specific version you want to emerge. If you just type in emerge qt, it will emerge the highest version available but not the qt3 version. So, does this help any? Somebody speak up if I am mistaken somewhere. Dale It's certainly an aid, at least the bottom part (like i'd said, I;d foound several different Gentoo docs giving me descriptions of what slots are, so I knew that, just that there seem to be no docs anywhere I can locate IN Gentoo that tell you HOW to use slots. So, now I know that the parens signal the slot info, but how do I choose them, select one over anther, adn even to search for them in emerge? You gave nice examples, but do you see why I so much dislike examples when they come INSTEAD OF the full syntax description? Cause then you only learn what the example wants to show, and people don't present exhaustive examples, because (reasonably enough) examples aren't meant to be exhaustive, that's what the syntax explanations are for. I just wish that a rule would be promulgated in Gentoo documentation that no one could be allowed to present an example unless they'd gotten out a syntax explanation first. It won't happen, but I wish it would. :-) :-) -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH3BD9z62J6PPcoOkRAjigAJ0SaEtU28251Y0HG/HElyFkXg8p+QCbBEKs u097YBqaJKrRZ5IpMzy4iP4= =wK98 -END PGP SIGNATURE- -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] portage problem
Chuck Robey wrote: It's certainly an aid, at least the bottom part (like i'd said, I;d foound several different Gentoo docs giving me descriptions of what slots are, so I knew that, just that there seem to be no docs anywhere I can locate IN Gentoo that tell you HOW to use slots. So, now I know that the parens signal the slot info, but how do I choose them, select one over anther, adn even to search for them in emerge? You gave nice examples, but do you see why I so much dislike examples when they come INSTEAD OF the full syntax description? Cause then you only learn what the example wants to show, and people don't present exhaustive examples, because (reasonably enough) examples aren't meant to be exhaustive, that's what the syntax explanations are for. I just wish that a rule would be promulgated in Gentoo documentation that no one could be allowed to present an example unless they'd gotten out a syntax explanation first. It won't happen, but I wish it would. Well, what is sloted is determined by the devs not us. I'm not sure that you can tell something to be slotted if it is not set up to be slotted. So, you don't have to worry about how to make something slotted. If it needs to be slotted, it will be done by the devs in the portage tree. I use equery a lot myself. Some use eix. Your preference. Use whichever you like. To find out what version(s) of a package you have installed, just do a equery list foo and it will list the version(s) that are installed. If you do a equery list -p foo then it will list what is installed followed by all the version(s) that are available. List means for it to list the ones installed. The -p from my understanding means to list all the packages in portage. I see your point about examples. I try to give a example then explain what each function does when needed. I sort of dislike the man pages too. Most of them may as well be Greek. No offense to the Greeks on this list tho. Dale :-) :-) -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] portage problem
On Saturday 15 March 2008, Chuck Robey wrote: It's certainly an aid, at least the bottom part (like i'd said, I;d foound several different Gentoo docs giving me descriptions of what slots are, so I knew that, just that there seem to be no docs anywhere I can locate IN Gentoo that tell you HOW to use slots. So, now I know that the parens signal the slot info, but how do I choose them, select one over anther, adn even to search for them in emerge? *Sigh* You are still confusing things here. There are two completely different cases. Let's first look at an enduser package like KDE. Basically, there are two active slots at the moment: KDE 3.5 and KDE 4.0. Which one you use you can decide at the login screen under session. If, on the other hand, you want to get rid of 3.5, you unmerge it (not recommended yet). With unslotted packages, older ones get automatically deleted when you emerge a new one. With slotted packages, it's left to you to decide to get rid of an older one. There are other packages not of interest for endusers but necessary for emerging other packages. For example the autotools automake and autoconf. They are slotted as well. You better be *very* careful when unmerging one slot. Emerging one package needs version X of these tools, another version Y, and yet another one version Z. The packages to be emerged decide themselves which version of automake or autoconf they need. Uwe -- Informal Linux Group Namibia: http://www.linux.org.na/ SysEx (Pty) Ltd.: http://www.SysEx.com.na/ -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] portage problem
On Sat, 15 Mar 2008 12:13:05 -0400, Chuck Robey wrote: I haven't been able to find any syntax to actually use slots, In general, you don't. Slots are mainly used for libraries and similar programs that are used by other programs. One program needs libfoo 1.x,another needs libfoo 2.x. Slots enable you to have both installed and both programs are happy. There are a few slotted packages where a user decides which version they want, but this is done is the same way as specifying the version for non-slotted packages, by specifying the version in the emerge command. This morning, when I did the cut/paste of your command, it came back and asked me: [ebuild R ] x11-libs/qt-3.3.8-r4 USE=cups doc examples ipv6 opengl - -debug (-firebird) -gif -immqt -immqt-bc -mysql -nas -nis -odbc -postgres - -sqlite -xinerama 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] What the heck does it mean to merge these? You ran emerge with the --ask parameter, so it shows you what it is going to install then asks for confirmation before proceeding. In this case, you can see there is no change of version or USE flags, so emerging it again is unnecessary. -- Neil Bothwick Pedestrians come in two types: Quick or Dead. signature.asc Description: PGP signature
Re: [gentoo-user] portage problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil Bothwick wrote: On Sat, 15 Mar 2008 12:13:05 -0400, Chuck Robey wrote: I haven't been able to find any syntax to actually use slots, In general, you don't. Slots are mainly used for libraries and similar programs that are used by other programs. One program needs libfoo 1.x,another needs libfoo 2.x. Slots enable you to have both installed and both programs are happy. There are a few slotted packages where a user decides which version they want, but this is done is the same way as specifying the version for non-slotted packages, by specifying the version in the emerge command. This morning, when I did the cut/paste of your command, it came back and asked me: [ebuild R ] x11-libs/qt-3.3.8-r4 USE=cups doc examples ipv6 opengl - -debug (-firebird) -gif -immqt -immqt-bc -mysql -nas -nis -odbc -postgres - -sqlite -xinerama 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] What the heck does it mean to merge these? You ran emerge with the --ask parameter, so it shows you what it is going to install then asks for confirmation before proceeding. In this case, you can see there is no change of version or USE flags, so emerging it again is unnecessary. I didn't think it was necessary to contradict you publicly, but I wasn't even aware of the ask option, and I most certainly never have ever used it, with the exception of when others give me command lines to run for them. I think I realize now, that even thoughthe program name is emeerge, I didn't realize you folks call the job of installing a program, merging it. Never really penetrated my head. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH3FO8z62J6PPcoOkRAnt3AJ985HXbpdMxqIoUHGVWobhamYE+rwCgnl80 Y5sSv/jJj6QfjU2/zIndXEg= =h0BW -END PGP SIGNATURE- -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] portage problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck Robey wrote: Neil Bothwick wrote: On Sat, 15 Mar 2008 12:13:05 -0400, Chuck Robey wrote: I haven't been able to find any syntax to actually use slots, In general, you don't. Slots are mainly used for libraries and similar programs that are used by other programs. One program needs libfoo 1.x,another needs libfoo 2.x. Slots enable you to have both installed and both programs are happy. There are a few slotted packages where a user decides which version they want, but this is done is the same way as specifying the version for non-slotted packages, by specifying the version in the emerge command. This morning, when I did the cut/paste of your command, it came back and asked me: [ebuild R ] x11-libs/qt-3.3.8-r4 USE=cups doc examples ipv6 opengl - -debug (-firebird) -gif -immqt -immqt-bc -mysql -nas -nis -odbc -postgres - -sqlite -xinerama 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] What the heck does it mean to merge these? You ran emerge with the --ask parameter, so it shows you what it is going to install then asks for confirmation before proceeding. In this case, you can see there is no change of version or USE flags, so emerging it again is unnecessary. I didn't think it was necessary to contradict you publicly, but I wasn't even aware of the ask option, and I most certainly never have ever used it, with the exception of when others give me command lines to run for them. I think I realize now, that even thoughthe program name is emeerge, I didn't realize you folks call the job of installing a program, merging it. Never really penetrated my head. Goddamn it, I sure didn;'t mean this to go public, damnit. Apologies all around, please. RRGHHH! -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH3H0uz62J6PPcoOkRApHSAJ9l0nCq5z3idA8qnkf4deurkWaWMwCbB7tA QWGT2yvBtEIj8TtSBIft47A= =EJMW -END PGP SIGNATURE- -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] portage problem
On 3/14/08, Chuck Robey [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am trying to install kde-meta. I have been fixing my USE variables as I find mistakes, and apprently, from this error I got (while building kde-base/kopete-3.5.8) I was missing the opengl variable while I built a lot of stuff, and it wants me to rebuild some qt things, but the error message reads: * The die message: * Please reemerge =x11-libs/qt-3* with USE=opengl. asks me to rebuild something that doesn't exist. Are you really shure that you don't have qt3 installed? You CAN'T build kde3 without qt3. Could one of you wiser heads take a look and see if you can figure out what things actually need rebuilding? I know about the --update --newuse flags, so (I hope) I just need to know what to rebuild. Just add opengl to your use flags and `emerge -v1 =x11-libs/qt-3*` Then, you'll probably need `emerge --update --deep --newuse kde-meta` (or emerge -uDN kde-meta) -- Vladimir Rusinov Voronezh, Russia UNIX Admin @ Murano Software
Re: [gentoo-user] portage problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vladimir Rusinov wrote: On 3/14/08, *Chuck Robey* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am trying to install kde-meta. I have been fixing my USE variables as I find mistakes, and apprently, from this error I got (while building kde-base/kopete-3.5.8) I was missing the opengl variable while I built a lot of stuff, and it wants me to rebuild some qt things, but the error message reads: * The die message: * Please reemerge =x11-libs/qt-3* with USE=opengl. asks me to rebuild something that doesn't exist. Are you really shure that you don't have qt3 installed? You CAN'T build kde3 without qt3. Could one of you wiser heads take a look and see if you can figure out what things actually need rebuilding? I know about the --update --newuse flags, so (I hope) I just need to know what to rebuild. Just add opengl to your use flags and `emerge -v1 =x11-libs/qt-3*` Then, you'll probably need `emerge --update --deep --newuse kde-meta` (or emerge -uDN kde-meta) You aren't understanding me. I am fully aware of qt versions 3 and 4, and if I was gbuilding them on my own, this wouldn't be a problem, but I am trying to use the portage system, and there isnt'any such emerge package named like this, at least, none I can find, none 'emerge -s qt-3*' could find either. If you could identify for me what the heck the real package name is, I would gladly rebuild it. I'm not having trouble with the command line, I'm having trouble finding the cirrect thing to rebuild. -- Vladimir Rusinov Voronezh, Russia UNIX Admin @ Murano Software -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH2smEz62J6PPcoOkRAlNSAJ4yQypbOlb+LIGdCCVkXbK0jt0zjACggWh0 kAfobs1IMIV6wNdIeifLNws= =vxQw -END PGP SIGNATURE- -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] portage problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 reemerge x11-libs/qt with the qt3support *AND* opengl flags, qt-4.3 merged qt-3 into the qt-4 src-tree Leviathan ~ # emerge -vp qt ~ * Mounting 850M of memory to /var/tmp/portage ... ~ [ ok ] ~ * emerging -vp qt These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] x11-libs/qt-4.3.2-r1 USE=cups dbus gif glib jpeg mng mysql opengl png qt3support ssl tiff xinerama zlib -accessibility -debug - -doc -examples (-firebird) -nas -nis -odbc -pch -postgres -sqlite - -sqlite3 INPUT_DEVICES=-wacom 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB ~ * unmounting tmpfs ... ~ [ ok ] Leviathan ~ # Also, make sure you have done a emerge --sync recently to make sure your portage tree is current. Chuck Robey wrote: | Vladimir Rusinov wrote: | | On 3/14/08, *Chuck Robey* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] | wrote: | | -BEGIN PGP SIGNED MESSAGE- | Hash: SHA1 | | I am trying to install kde-meta. I have been fixing my USE variables | as I | find mistakes, and apprently, from this error I got (while building | kde-base/kopete-3.5.8) I was missing the opengl variable while I built a | lot of stuff, and it wants me to rebuild some qt things, but the error | message reads: | | * The die message: | * Please reemerge =x11-libs/qt-3* with USE=opengl. | | | asks me to rebuild something that doesn't exist. | | | Are you really shure that you don't have qt3 installed? | You CAN'T build kde3 without qt3. | | Could one of you wiser | heads take a look and see if you can figure out what things actually | need | rebuilding? I know about the --update --newuse flags, so (I hope) I | just | need to know what to rebuild. | | | Just add opengl to your use flags and `emerge -v1 =x11-libs/qt-3*` | Then, you'll probably need `emerge --update --deep --newuse kde-meta` | (or emerge -uDN kde-meta) | | | You aren't understanding me. I am fully aware of qt versions 3 and 4, and | if I was gbuilding them on my own, this wouldn't be a problem, but I am | trying to use the portage system, and there isnt'any such emerge package | named like this, at least, none I can find, none 'emerge -s qt-3*' could | find either. If you could identify for me what the heck the real package | name is, I would gladly rebuild it. I'm not having trouble with the | command line, I'm having trouble finding the cirrect thing to rebuild. | | -- | Vladimir Rusinov | Voronezh, Russia | UNIX Admin @ Murano Software | -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH2szQ8hUIAnGfls4RAri3AKCR0tLlrvmdT+L78BDOkT053NJiWACcCE3D U6S2xpgSknBytQiVV5PMp6w= =XCVn -END PGP SIGNATURE- -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] portage problem
On Friday 14 March 2008, Chuck Robey wrote: Vladimir Rusinov wrote: Just add opengl to your use flags and `emerge -v1 =x11-libs/qt-3*` Then, you'll probably need `emerge --update --deep --newuse kde-meta` (or emerge -uDN kde-meta) You aren't understanding me. I am fully aware of qt versions 3 and 4, and if I was gbuilding them on my own, this wouldn't be a problem, but I am trying to use the portage system, and there isnt'any such emerge package named like this, at least, none I can find, none 'emerge -s qt-3*' could find either. If you could identify for me what the heck the real package name is, I would gladly rebuild it. I'm not having trouble with the command line, I'm having trouble finding the cirrect thing to rebuild. qt is SLOTted, I think you are simply using the wrong syntax. Using my machine as an example (you should also emerge eix, it's so much easier and quicker than emerge -s): [EMAIL PROTECTED] ~/bin $ eix -e qt [I] x11-libs/qt Available versions: (3) 3.3.4-r8 3.3.8-r4 (4) 4.3.2-r1 (~)4.3.3 (~)4.3.4 [M](~)4.4.0_beta1 The SLOTs are 3 and 4 If I try to update qt, portage will update qt4 as it's the latest version. I would have to do something like emerge =qt-3.3.8-r4 or the newish syntax incorporating SLOTs emerge qt:3 You were essentially trying to tell portage to update a package called qt-3, there is no such package. And getting to grips with emerge's version number syntax can be a bitch Does this answer your query? -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] portage problem
On Fri, 14 Mar 2008 13:58:55 -0400, Chuck Robey wrote: * The die message: * Please reemerge =x11-libs/qt-3* with USE=opengl. asks me to rebuild something that doesn't exist. It does exist, the wildcard tells portage to install the latest 3 version. Try doing what it says in the message, although you should quote the package atom to stop the shell trying to interpret the *. emerge -1av '=x11-libs/qt-3*' -- Neil Bothwick PCMCIA: People Can't Memorize Computer Industry Acronyms signature.asc Description: PGP signature
Re: [gentoo-user] Portage problem with xfce4-panel
On Tuesday 27 February 2007 17:38:49 Grant wrote: I just did an emerge --sync; emerge world and I'm having some trouble with: xfce-base/xfce4-panel-4.4 (is blocking xfce-base/libxfcegui4-4.4.0) I unmerged xfce4-panel but I still get the above blocking message. A pretend emerge of xfce4-panel confirms that it is not installed. How can I resolve this? This really is a great example of a question with too little information provided? What were you trying to emerge? What's in your package.keywords (only xfce entries are relevant here)? -- Bo Andresen pgpQhjOhTpaJf.pgp Description: PGP signature
Re: [gentoo-user] Portage problem with xfce4-panel
I just did an emerge --sync; emerge world and I'm having some trouble with: xfce-base/xfce4-panel-4.4 (is blocking xfce-base/libxfcegui4-4.4.0) I unmerged xfce4-panel but I still get the above blocking message. A pretend emerge of xfce4-panel confirms that it is not installed. How can I resolve this? This really is a great example of a question with too little information provided? What were you trying to emerge? What's in your package.keywords (only xfce entries are relevant here)? Removing all of this from package.keywords fixed it: xfce-extra/terminal =xfce-extra/exo-0.3.2 =xfce-base/xfce-mcs-plugins-4.4.0 =xfce-base/libxfcegui4-4.4.0 =xfce-base/libxfce4util-4.4.0 =xfce-base/xfce-mcs-manager-4.4.0 =xfce-base/libxfce4mcs-4.4.0 That is all required for the terminal package though. I guess I should wait until I upgrade to xfce-4.4 before I bring terminal back into the loop? - Grant -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Portage problem with xfce4-panel
Exist a much easier way to avoid unmasking packages. Go to your /etc/make.conf. Change your architecture from x86 to ~x86. Now emerge xfce4-panel. If you don't want to be in the testing architecture. Go back and change ~x86 to x86. That's pretty easy... and no need to unamsk! Regards. 2007/2/27, Grant [EMAIL PROTECTED]: I just did an emerge --sync; emerge world and I'm having some trouble with: xfce-base/xfce4-panel-4.4 (is blocking xfce-base/libxfcegui4-4.4.0) I unmerged xfce4-panel but I still get the above blocking message. A pretend emerge of xfce4-panel confirms that it is not installed. How can I resolve this? This really is a great example of a question with too little information provided? What were you trying to emerge? What's in your package.keywords (only xfce entries are relevant here)? Removing all of this from package.keywords fixed it: xfce-extra/terminal =xfce-extra/exo-0.3.2 =xfce-base/xfce-mcs-plugins-4.4.0 =xfce-base/libxfcegui4-4.4.0 =xfce-base/libxfce4util-4.4.0 =xfce-base/xfce-mcs-manager-4.4.0 =xfce-base/libxfce4mcs-4.4.0 That is all required for the terminal package though. I guess I should wait until I upgrade to xfce-4.4 before I bring terminal back into the loop? - Grant -- gentoo-user@gentoo.org mailing list -- BrunoProg64
Re: [gentoo-user] Portage problem with xfce4-panel
At Tue, 27 Feb 2007 23:43:30 -0500 Bruno Espinoza [EMAIL PROTECTED] wrote: Exist a much easier way to avoid unmasking packages. Go to your /etc/make.conf. Change your architecture from x86 to ~x86. Now emerge xfce4-panel. If you don't want to be in the testing architecture. Go back and change ~x86 to x86. That's pretty easy... and no need to unamsk! I would worry that the emerge of xfce4-panel might then bring in other testing packages as dependencies (but I don't know for sure). I would think it saver to add xfce-panel to package.keywords echo xfce-extra/xfce4-panelmenu /etc/portage/package.keywords (mkdir /etc/portageif you don't already have it.) There are various prefixes and suffixes you could add. Seeman portage for details For example my package.keywords is currently x11-misc/googleearth app-editors/emacs-cvs ~x11-drivers/nvidia-drivers-1.0.8774 ~net-print/cups-1.2.1-r2 ~app-text/libpaper-1.1.14.8 net-wireless/bcm43xx-fwcutter #~media-gfx/graphviz-2.12 allan -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] portage problem?
Jean Blignaut wrote: I get this error when I try to sync receiving file list ... link_stat metadata/timestamp.chk (in gentoo-portage) failed: No such file or directory 0 files to consider I would wait it out...it looks like a server problem and it should be cleared up soon. Check this forum post for more info: http://forums.gentoo.org/viewtopic.php?t=123909 -Jeremy -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] portage problem
Zac Medico schrieb: Martin Gysel wrote: hi i have following problem emerging packages: gorilla ~ # emerge portage Calculating dependencies... done! Traceback (most recent call last): File /usr/bin/emerge, line 3263, in ? if resume in portage.mtimedb and \ KeyError: 'mergelist' There are instructions to apply a patch that corrects the problem here: http://bugs.gentoo.org/show_bug.cgi?id=125993#c1 Zac Thanks Zac, it's working!!! Martin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Portage Problem
On 2006-03-14 16:47, Timothy A. Holmes uttered these thoughts: I am trying to install JFFNMS, as part of its dependancies, it wants to install php4.4.2, however the computer already has PHP5 installed and running nicely. Is there a way to install JFFNMS without installing php4 and have it use php5 properly? That depends entirely on if JFFNMS runs on php5 or not... I'd guess that if it's trying to draw in php4 as a dependency when you already have php5 installed, it's probably not running on php4 reliably yet, in which case you'll have to make some choises... - If you don't really need php5, you just install php4 and unmerge php5 (and mask it if it's getting dragged in by emerge again). - If you want to run both php4 and php5, read this: http://www.gentoo.org/proj/en/php/php4-php5-configuration.xml - Or you edit the ebuild for JFFNMS to not have a depencency for php5 and try out running it on php5 instead... Probably wont work since either the maintainer or developers of JFFNMS has tried running it (or knows it wont run) on php5. Regards, Patrick Börjesson -- / () The ASCII Ribbon Campaign - against HTML Email \ /\ and proprietary formats. pgpKUAhgbWbma.pgp Description: PGP signature
Re: [gentoo-user] portage problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin Gysel wrote: hi i have following problem emerging packages: gorilla ~ # emerge portage Calculating dependencies... done! Traceback (most recent call last): File /usr/bin/emerge, line 3263, in ? if resume in portage.mtimedb and \ KeyError: 'mergelist' There are instructions to apply a patch that corrects the problem here: http://bugs.gentoo.org/show_bug.cgi?id=125993#c1 Zac -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEFeXd/ejvha5XGaMRAmkwAJ4+M9Kpr3Zmxm+EwcjGio+uYxdvPgCeMKRQ HQ2B2gfTkFcU77m7drIcYKs= =h0Ol -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list