Re: [gentoo-user] How to safely unmerge a package
Hi, Thanks a lot for the replies, I managed to get qpkg working. However, it's very interesting that I asked for a way to achieve the functionality of a deprecated tool with the current tools. Everybody explained to me how to obtain the deprecated tool, yet nobody answered to "how to do this with the new tools". So, what is the reason for qpkg is deprecated, after all? Regards, Catalin Michael Kintzios wrote: -Original Message- From: Neil Bothwick [mailto:[EMAIL PROTECTED]] Sent: 19 January 2006 12:42 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How to safely unmer5 minge a package On Thu, 19 Jan 2006 14:25:00 +0200, Catalin Grigoroscuta wrote: But now, qpkg does not exist anymore, and I've read it was replaced by equery. qpkg does exist, but it has been deprecated, so it is not installed into your path any more. You can move it to /usr/local/bin from its current location of /usr/share/doc/gentoolkit-version/deprecated/qpkg/qpkg Or you could link it? # ln -s /usr/share/doc/gentoolkit-version/deprecated/qpkg/qpkg /usr/bin/qpkg
Re: [gentoo-user] How to safely unmerge a package
On Fri, 20 Jan 2006 01:08:55 +0100, Dave Jones wrote: Try installing portage-utils, which has a new version of qpkg. It is not a new version, it is a different program with the same name. qpkg seems to have disappeared from gentoolkit/bin since the latest release of portage too, so unfortunately the link solution doesn't work any more either. It is still in app-portage/gentoolkit-0.2.2_pre2 - but the link will stop working with the next version. -- Neil Bothwick Caution, an incorrigible punster - don't incorrige. signature.asc Description: PGP signature
Re: [gentoo-user] How to safely unmerge a package
Paul Varner wrote: However, there are two problems with equery: 1. it disregards the use flags. equery depends package displays all packages that may depend on a package, not the ones that really do on my system. I remember seeing something in bugzilla about this issue, but is was marked as fixed, but I could not figure out in which version (I have the latest gentoolkit). Can you give me an example? I'm not sure that I understand the issue. Let's take the package gnome-extra/evolution-data-server-1.2.3. It depends on mozilla package only if the mozilla use flag is set (and ssl) - thus, you can see "ssl? ( mozilla? ( www-client/mozilla )" in the ebuild. I do not have "mozilla" use flag set, and evolution-data-server-1.2.3 is also compiled without this flag. However, when I run "equery depends mozilla", I get "gnome-extra/evolution-data-server-1.2.3". Note that "equery depgraph evolution-data-server" does not show mozilla, so this works correctly. 2. it disregards the virtual packages. According to equery, I cas safely remove xorg-x11 (!), because no one depends on it! But if I do so, all packages depending on the virtual x11 package would be broken. So, considering this, can someone point out how can I safely remove a package? That is because the packages don't depend on xorg-x11, they depend on anything the provides the functionality of X. An equery depends virtual/x11 will show all of the packages that are dependent upon X. I have noted this as a potential enhancement to have equery look at the provides information and display the dependencies of the provided virtual. I do understand that they don't depend on xorg-x11, but on the xirtual package. However, since "equery depends xorg-x11" shows nothing, I might think that it's safe to remove it - I have no way of knowing that this will break all packages that depend on x11. So, what is a potential enhancement from your point of view is really a bug from mine - it's useless to know the direct dependencies on a package if I do not know the "hidden"dependencies through virtual packages. Note that qpkg worked correctly, showing dependencies on virtual packages as well. Regards, Paul Regards, Catalin
Re: [gentoo-user] How to safely unmerge a package
Catalin Grigoroscuta wrote: Hi, Thanks a lot for the replies, I managed to get qpkg working. However, it's very interesting that I asked for a way to achieve the functionality of a deprecated tool with the current tools. Everybody explained to me how to obtain the deprecated tool, yet nobody answered to how to do this with the new tools. So, what is the reason for qpkg is deprecated, after all? Regards, Catalin I wonder the same thing about etcat. It's gone and I have no clue how to find out what versions of ppp are available. The new equery makes no sense to me. I have used it a couple times but I can not figure out how to get it to tell me what all versions are in portage for ppp. I would like to try ether a masked version or a older version, if I knew what they were. I wonder how long equery will last? I figure about the time I learn to use it a bit, it will be gone too. This has been a bad week. Dale :-) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How to safely unmerge a package
Dale wrote: Catalin Grigoroscuta wrote: Hi, Thanks a lot for the replies, I managed to get qpkg working. However, it's very interesting that I asked for a way to achieve the functionality of a deprecated tool with the current tools. Everybody explained to me how to obtain the deprecated tool, yet nobody answered to "how to do this with the new tools". So, what is the reason for qpkg is deprecated, after all? Regards, Catalin I wonder the same thing about etcat. It's gone and I have no clue how to find out what versions of ppp are available. The new equery makes no sense to me. I have used it a couple times but I can not figure out how to get it to tell me what all versions are in portage for ppp. I would like to try ether a masked version or a older version, if I knew what they were. This is an easy one :) equery l -p -o -i ppp I wonder how long equery will last? I figure about the time I learn to use it a bit, it will be gone too. This has been a bad week. Dale :-)
Re: [gentoo-user] How to safely unmerge a package
On Fri, 20 Jan 2006 11:10:20 +0200, Catalin Grigoroscuta wrote: However, it's very interesting that I asked for a way to achieve the functionality of a deprecated tool with the current tools. Everybody explained to me how to obtain the deprecated tool, yet nobody answered to how to do this with the new tools. Because some things are easier to do with qpkg than equery. So, what is the reason for qpkg is deprecated, after all? I suppose that's the reason it is deprecated and not obsoleted. Once equery and others can do all that qpkg does, it can be obsoleted. -- Neil Bothwick Dew knot trussed yore spell chequer two fined awl mistakes. signature.asc Description: PGP signature
Re: [gentoo-user] How to safely unmerge a package
On Fri, 20 Jan 2006 11:23:57 +0200, Catalin Grigoroscuta wrote: That is because the packages don't depend on xorg-x11, they depend on anything the provides the functionality of X. An equery depends virtual/x11 will show all of the packages that are dependent upon X. I have noted this as a potential enhancement to have equery look at the provides information and display the dependencies of the provided virtual. I do understand that they don't depend on xorg-x11, but on the xirtual package. However, since equery depends xorg-x11 shows nothing, I might think that it's safe to remove it - I have no way of knowing that this will break all packages that depend on x11. One could argue that virtual/x11 depends on xorg-x11, unless another X server is also installed. -- Neil Bothwick I am McCoy of Bo...Damnit! I'm a doctor, not a collective! signature.asc Description: PGP signature
Re: [gentoo-user] How to safely unmerge a package
Catalin Grigoroscuta wrote: This is an easy one :) equery l -p -o -i ppp Thanks. It wasn't quite what etcat does but it is a start. I got the info I needed anyway. Now to go put my nose in the manual for a bit. Dale :-) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How to safely unmerge a package
On Fri, 20 Jan 2006 03:25:18 -0600, Dale wrote: I wonder the same thing about etcat. It's gone It's not gone, it's moved - to the same place as qpkg. -- Neil Bothwick The world is coming to an end... SAVE YOUR BUFFERS!! signature.asc Description: PGP signature
Re: [gentoo-user] How to safely unmerge a package
Dale wrote: Catalin Grigoroscuta wrote: This is an easy one :) equery l -p -o -i ppp Thanks. It wasn't quite what etcat does but it is a start. I got the info I needed anyway. Now to go put my nose in the manual for a bit. Dale :-) I know its not from the command line but porthole is a very good portage viewer. Regards, -- Edward A Mihalow Jr Gentoo! Linux Registered Linux User#225662 New Orleans,LA -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How to safely unmerge a package
On Friday 20 January 2006 04:31, Catalin Grigoroscuta wrote: Dale wrote: Catalin Grigoroscuta wrote: Hi, Thanks a lot for the replies, I managed to get qpkg working. However, it's very interesting that I asked for a way to achieve the functionality of a deprecated tool with the current tools. Everybody explained to me how to obtain the deprecated tool, yet nobody answered to how to do this with the new tools. So, what is the reason for qpkg is deprecated, after all? Regards, Catalin I wonder the same thing about etcat. It's gone and I have no clue how to find out what versions of ppp are available. The new equery makes no sense to me. I have used it a couple times but I can not figure out how to get it to tell me what all versions are in portage for ppp. I would like to try ether a masked version or a older version, if I knew what they were. This is an easy one :) equery l -p -o -i ppp I wonder how long equery will last? I figure about the time I learn to use it a bit, it will be gone too. This has been a bad week. Dale :-) I too like qpkg more than equery, at least for what I usually need to do. My solution is just to put a copy of qpkg and ecat in /usr/bin, and make a backup copy somewhere for when it's no longer available (in gentoolkit, or a new gentoo install). -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How to safely unmerge a package
On Fri, 20 Jan 2006 13:30:57 -0500, Robert Crawford wrote: I too like qpkg more than equery, at least for what I usually need to do. My solution is just to put a copy of qpkg and ecat in /usr/bin, and make a backup copy somewhere for when it's no longer available (in gentoolkit, or a new gentoo install). Put it in /usr/local/bin, if you emerge portage-utils, you'll overwrite the copy in /usr/bin. Once in /usr/local/bin, it's safe from anything, even if it's removed from gentoolkit. -- Neil Bothwick This message has been cruelly tested on sweet little furry animals. signature.asc Description: PGP signature
Re: [gentoo-user] How to safely unmerge a package
On Fri, 2006-01-20 at 19:15 +, Neil Bothwick wrote: On Fri, 20 Jan 2006 13:30:57 -0500, Robert Crawford wrote: I too like qpkg more than equery, at least for what I usually need to do. My solution is just to put a copy of qpkg and ecat in /usr/bin, and make a backup copy somewhere for when it's no longer available (in gentoolkit, or a new gentoo install). Put it in /usr/local/bin, if you emerge portage-utils, you'll overwrite the copy in /usr/bin. Once in /usr/local/bin, it's safe from anything, even if it's removed from gentoolkit. As the current maintainer of gentoolkit, please do what Neil said and place it in /usr/local/bin and not /usr/bin Regards, Paul -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How to safely unmerge a package
On Fri, 20 Jan 2006 13:29:12 -0600, Paul Varner wrote: As the current maintainer of gentoolkit, please do what Neil said and place it in /usr/local/bin and not /usr/bin Can you tell us what qpkg and etcat are deprecated, Paul? Is it because of a lack of a maintainer or is there something fundamentally wrong with them? -- Neil Bothwick If it isn't broken, I can fix it. signature.asc Description: PGP signature
Re: [gentoo-user] How to safely unmerge a package
On Friday 20 January 2006 14:29, Paul Varner wrote: On Fri, 2006-01-20 at 19:15 +, Neil Bothwick wrote: On Fri, 20 Jan 2006 13:30:57 -0500, Robert Crawford wrote: I too like qpkg more than equery, at least for what I usually need to do. My solution is just to put a copy of qpkg and ecat in /usr/bin, and make a backup copy somewhere for when it's no longer available (in gentoolkit, or a new gentoo install). Put it in /usr/local/bin, if you emerge portage-utils, you'll overwrite the copy in /usr/bin. Once in /usr/local/bin, it's safe from anything, even if it's removed from gentoolkit. As the current maintainer of gentoolkit, please do what Neil said and place it in /usr/local/bin and not /usr/bin Regards, Paul Neil and Paul- thanks much for the tip! Will correct it right away. Robert C -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How to safely unmerge a package
On Fri, 2006-01-20 at 23:29 +, Neil Bothwick wrote: Can you tell us what qpkg and etcat are deprecated, Paul? Is it because of a lack of a maintainer or is there something fundamentally wrong with them? In the case of qpkg, there are several un-fixable bugs. In the case of etcat, its code was superceded by the equery code. Regards, Paul -- gentoo-user@gentoo.org mailing list
[gentoo-user] How to safely unmerge a package
Hi, I have some trouble is safely removing a package. I remember doing a qpkg -q -I package to find out whether the package is still used, and the remove it. But now, qpkg does not exist anymore, and I've read it was replaced by equery. However, there are two problems with equery: 1. it disregards the use flags. equery depends package displays all packages that may depend on a package, not the ones that really do on my system. I remember seeing something in bugzilla about this issue, but is was marked as fixed, but I could not figure out in which version (I have the latest gentoolkit). 2. it disregards the virtual packages. According to equery, I cas safely remove xorg-x11 (!), because no one depends on it! But if I do so, all packages depending on the virtual x11 package would be broken. So, considering this, can someone point out how can I safely remove a package? Thank you, Catalin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How to safely unmerge a package
On Thu, 19 Jan 2006 14:25:00 +0200, Catalin Grigoroscuta wrote: But now, qpkg does not exist anymore, and I've read it was replaced by equery. qpkg does exist, but it has been deprecated, so it is not installed into your path any more. You can move it to /usr/local/bin from its current location of /usr/share/doc/gentoolkit-version/deprecated/qpkg/qpkg -- Neil Bothwick Engineers do it with less resistance. signature.asc Description: PGP signature
RE: [gentoo-user] How to safely unmerge a package
-Original Message- From: Neil Bothwick [mailto:[EMAIL PROTECTED] Sent: 19 January 2006 12:42 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How to safely unmerge a package On Thu, 19 Jan 2006 14:25:00 +0200, Catalin Grigoroscuta wrote: But now, qpkg does not exist anymore, and I've read it was replaced by equery. qpkg does exist, but it has been deprecated, so it is not installed into your path any more. You can move it to /usr/local/bin from its current location of /usr/share/doc/gentoolkit-version/deprecated/qpkg/qpkg Or you could link it? # ln -s /usr/share/doc/gentoolkit-version/deprecated/qpkg/qpkg /usr/bin/qpkg -- Regards, Mick -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] How to safely unmerge a package
On Thu, 2006-01-19 at 15:32 +, Michael Kintzios wrote: -Original Message- From: Neil Bothwick [mailto:[EMAIL PROTECTED] Sent: 19 January 2006 12:42 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How to safely unmerge a package On Thu, 19 Jan 2006 14:25:00 +0200, Catalin Grigoroscuta wrote: But now, qpkg does not exist anymore, and I've read it was replaced by equery. qpkg does exist, but it has been deprecated, so it is not installed into your path any more. You can move it to /usr/local/bin from its current location of /usr/share/doc/gentoolkit-version/deprecated/qpkg/qpkg Or you could link it? # ln -s /usr/share/doc/gentoolkit-version/deprecated/qpkg/qpkg /usr/bin/qpkg Either solution will work, however, I highly recommend that you place the link or copy of qpkg in /usr/local/bin. If you place it in /usr/bin, you will get a file collision if you ever install app-portage/portage-utils Regards, Paul -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How to safely unmerge a package
On Thu, 2006-01-19 at 14:25 +0200, Catalin Grigoroscuta wrote: But now, qpkg does not exist anymore, and I've read it was replaced by equery. See other messages for how to get qpkg back. However, there are two problems with equery: 1. it disregards the use flags. equery depends package displays all packages that may depend on a package, not the ones that really do on my system. I remember seeing something in bugzilla about this issue, but is was marked as fixed, but I could not figure out in which version (I have the latest gentoolkit). Can you give me an example? I'm not sure that I understand the issue. 2. it disregards the virtual packages. According to equery, I cas safely remove xorg-x11 (!), because no one depends on it! But if I do so, all packages depending on the virtual x11 package would be broken. So, considering this, can someone point out how can I safely remove a package? That is because the packages don't depend on xorg-x11, they depend on anything the provides the functionality of X. An equery depends virtual/x11 will show all of the packages that are dependent upon X. I have noted this as a potential enhancement to have equery look at the provides information and display the dependencies of the provided virtual. Regards, Paul -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How to safely unmerge a package
On Thu, 19 Jan 2006 15:32:04 -, Michael Kintzios wrote: qpkg does exist, but it has been deprecated, so it is not installed into your path any more. You can move it to /usr/local/bin from its current location of /usr/share/doc/gentoolkit-version/deprecated/qpkg/qpkg Or you could link it? # ln -s /usr/share/doc/gentoolkit-version/deprecated/qpkg/qpkg /usr/bin/qpkg The link will break the next time you update gentoolkit, even though the program itself will not be updated. That's why I recommended copying it. As Paul said, the correct place to put it is /usr/local/bin. -- Neil Bothwick Set phasers to extreme itching! signature.asc Description: PGP signature
Re: [gentoo-user] How to safely unmerge a package
But now, qpkg does not exist anymore, and I've read it was replaced by equery. qpkg does exist, but it has been deprecated, so it is not installed into your path any more. You can move it to /usr/local/bin from its current location of /usr/share/doc/gentoolkit-version/deprecated/qpkg/qpkg Or you could link it? # ln -s /usr/share/doc/gentoolkit-version/deprecated/qpkg/qpkg /usr/bin/qpkg Try installing portage-utils, which has a new version of qpkg. Works well for me. qpkg seems to have disappeared from gentoolkit/bin since the latest release of portage too, so unfortunately the link solution doesn't work any more either. Cheers, Dave -- gentoo-user@gentoo.org mailing list