* [gentoo-user] how to remove HAL @ 2010-07-28 2:44 sam new 2010-07-28 5:01 ` Alan McKinnon ` (2 more replies) 0 siblings, 3 replies; 27+ messages in thread From: sam new @ 2010-07-28 2:44 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 576 bytes --] Hi All, As we know, HAL is not used by Xorg for output devices or any other devices,so I want to remove it completely,I set USE="-hal" in /etc/make.conf ,and recompile the packages, and also modify /etc/conf.d/xdm with NEED_HALD="no" ,exec rc-update del hal default .All things goes well ,yesterday,I use emerge to update my world ,in the list still has a hal package, I don't know why system sitll emerge hal? maybe dependence ,but I use 'equery d hal' and check packages which depend HAL ,have no idea ,any Suggestions? best regards, samnew [-- Attachment #2: Type: text/html, Size: 636 bytes --] ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [gentoo-user] how to remove HAL 2010-07-28 2:44 [gentoo-user] how to remove HAL sam new @ 2010-07-28 5:01 ` Alan McKinnon 2010-07-28 13:34 ` sam new 2010-07-28 8:05 ` Neil Bothwick 2010-07-28 16:31 ` [gentoo-user] " Nikos Chantziaras 2 siblings, 1 reply; 27+ messages in thread From: Alan McKinnon @ 2010-07-28 5:01 UTC (permalink / raw To: gentoo-user On Wednesday 28 July 2010 04:44:23 sam new wrote: > Hi All, > As we know, HAL is not used by Xorg for output devices or any other > devices,so I want to remove it completely,I set USE="-hal" in > /etc/make.conf ,and recompile the packages, and also modify > /etc/conf.d/xdm with NEED_HALD="no" ,exec rc-update del hal default .All > things goes well ,yesterday,I use emerge to update my world ,in the list > still has a hal package, I don't know why system sitll emerge hal? maybe > dependence ,but I use 'equery d hal' and check packages which depend HAL > ,have no idea ,any Suggestions? emerge -avuNDt world to get a tree view of dependencies. That will should just what is causing hal to be pulled in -- alan dot mckinnon at gmail dot com ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [gentoo-user] how to remove HAL 2010-07-28 5:01 ` Alan McKinnon @ 2010-07-28 13:34 ` sam new 2010-07-28 15:08 ` Alan McKinnon 2010-07-28 16:46 ` Volker Armin Hemmann 0 siblings, 2 replies; 27+ messages in thread From: sam new @ 2010-07-28 13:34 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1182 bytes --] I use emerge -avuNDt world ,find out that is gnome-base/gnome-mount-0.8-r1 ,and also check the ebuild that depends hal .but I mask it in the package.mask why still emerge gnome-mount and hal ,maybe gnome-mount depends hal,and others depends gnome-mount ,how can I do? On 28 July 2010 13:01, Alan McKinnon <alan.mckinnon@gmail.com> wrote: > On Wednesday 28 July 2010 04:44:23 sam new wrote: > > Hi All, > > As we know, HAL is not used by Xorg for output devices or any > other > > devices,so I want to remove it completely,I set USE="-hal" in > > /etc/make.conf ,and recompile the packages, and also modify > > /etc/conf.d/xdm with NEED_HALD="no" ,exec rc-update del hal default .All > > things goes well ,yesterday,I use emerge to update my world ,in the list > > still has a hal package, I don't know why system sitll emerge hal? maybe > > dependence ,but I use 'equery d hal' and check packages which depend HAL > > ,have no idea ,any Suggestions? > > > emerge -avuNDt world > > > to get a tree view of dependencies. That will should just what is causing > hal > to be pulled in > > > > -- > alan dot mckinnon at gmail dot com > > [-- Attachment #2: Type: text/html, Size: 1624 bytes --] ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [gentoo-user] how to remove HAL 2010-07-28 13:34 ` sam new @ 2010-07-28 15:08 ` Alan McKinnon 2010-07-29 2:26 ` sam new 2010-07-28 16:46 ` Volker Armin Hemmann 1 sibling, 1 reply; 27+ messages in thread From: Alan McKinnon @ 2010-07-28 15:08 UTC (permalink / raw To: gentoo-user I can't understand what you have typed. Please run emerge -avuNDt world and post the entire output here. On Wednesday 28 July 2010 15:34:23 sam new wrote: > I use emerge -avuNDt world ,find out that is gnome-base/gnome-mount-0.8-r1 > ,and also check the ebuild that depends hal .but I mask it in the > package.mask why still emerge gnome-mount and hal ,maybe gnome-mount > depends hal,and others depends gnome-mount ,how can I do? > > On 28 July 2010 13:01, Alan McKinnon <alan.mckinnon@gmail.com> wrote: > > On Wednesday 28 July 2010 04:44:23 sam new wrote: > > > Hi All, > > > > > > As we know, HAL is not used by Xorg for output devices or any > > > > other > > > > > devices,so I want to remove it completely,I set USE="-hal" in > > > /etc/make.conf ,and recompile the packages, and also modify > > > /etc/conf.d/xdm with NEED_HALD="no" ,exec rc-update del hal default > > > .All things goes well ,yesterday,I use emerge to update my world ,in > > > the list still has a hal package, I don't know why system sitll emerge > > > hal? maybe dependence ,but I use 'equery d hal' and check packages > > > which depend HAL ,have no idea ,any Suggestions? > > > > emerge -avuNDt world > > > > > > to get a tree view of dependencies. That will should just what is causing > > hal > > to be pulled in > > > > > > > > -- > > alan dot mckinnon at gmail dot com -- alan dot mckinnon at gmail dot com ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [gentoo-user] how to remove HAL 2010-07-28 15:08 ` Alan McKinnon @ 2010-07-29 2:26 ` sam new 2010-07-29 6:39 ` Alan McKinnon 0 siblings, 1 reply; 27+ messages in thread From: sam new @ 2010-07-29 2:26 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1719 bytes --] I use emerge -avuNDt world ,just find out that is gnome-base/gnome-mount-0.8-r1 is depend HAL On 28 July 2010 23:08, Alan McKinnon <alan.mckinnon@gmail.com> wrote: > I can't understand what you have typed. > > Please run emerge -avuNDt world and post the entire output here. > > > > On Wednesday 28 July 2010 15:34:23 sam new wrote: > > I use emerge -avuNDt world ,find out that is > gnome-base/gnome-mount-0.8-r1 > > ,and also check the ebuild that depends hal .but I mask it in the > > package.mask why still emerge gnome-mount and hal ,maybe gnome-mount > > depends hal,and others depends gnome-mount ,how can I do? > > > > On 28 July 2010 13:01, Alan McKinnon <alan.mckinnon@gmail.com> wrote: > > > On Wednesday 28 July 2010 04:44:23 sam new wrote: > > > > Hi All, > > > > > > > > As we know, HAL is not used by Xorg for output devices or any > > > > > > other > > > > > > > devices,so I want to remove it completely,I set USE="-hal" in > > > > /etc/make.conf ,and recompile the packages, and also modify > > > > /etc/conf.d/xdm with NEED_HALD="no" ,exec rc-update del hal default > > > > .All things goes well ,yesterday,I use emerge to update my world ,in > > > > the list still has a hal package, I don't know why system sitll > emerge > > > > hal? maybe dependence ,but I use 'equery d hal' and check packages > > > > which depend HAL ,have no idea ,any Suggestions? > > > > > > emerge -avuNDt world > > > > > > > > > to get a tree view of dependencies. That will should just what is > causing > > > hal > > > to be pulled in > > > > > > > > > > > > -- > > > alan dot mckinnon at gmail dot com > > -- > alan dot mckinnon at gmail dot com > > [-- Attachment #2: Type: text/html, Size: 2371 bytes --] ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [gentoo-user] how to remove HAL 2010-07-29 2:26 ` sam new @ 2010-07-29 6:39 ` Alan McKinnon 2010-07-29 8:07 ` sam new 0 siblings, 1 reply; 27+ messages in thread From: Alan McKinnon @ 2010-07-29 6:39 UTC (permalink / raw To: gentoo-user On Thursday 29 July 2010 04:26:09 sam new wrote: > I use emerge -avuNDt world ,just find out that is > gnome-base/gnome-mount-0.8-r1 is depend HAL Yes, hal is required for gnome-mount-0.8-r1, it is not optional You must either have hal or not have gnome-mount But what's the problem? hal can be installed, you don't have to USE it. > > On 28 July 2010 23:08, Alan McKinnon <alan.mckinnon@gmail.com> wrote: > > I can't understand what you have typed. > > > > Please run emerge -avuNDt world and post the entire output here. > > > > On Wednesday 28 July 2010 15:34:23 sam new wrote: > > > I use emerge -avuNDt world ,find out that is > > > > gnome-base/gnome-mount-0.8-r1 > > > > > ,and also check the ebuild that depends hal .but I mask it in the > > > package.mask why still emerge gnome-mount and hal ,maybe gnome-mount > > > depends hal,and others depends gnome-mount ,how can I do? > > > > > > On 28 July 2010 13:01, Alan McKinnon <alan.mckinnon@gmail.com> wrote: > > > > On Wednesday 28 July 2010 04:44:23 sam new wrote: > > > > > Hi All, > > > > > > > > > > As we know, HAL is not used by Xorg for output devices or > > > > > any > > > > > > > > other > > > > > > > > > devices,so I want to remove it completely,I set USE="-hal" in > > > > > /etc/make.conf ,and recompile the packages, and also modify > > > > > /etc/conf.d/xdm with NEED_HALD="no" ,exec rc-update del hal default > > > > > .All things goes well ,yesterday,I use emerge to update my world > > > > > ,in the list still has a hal package, I don't know why system > > > > > sitll > > > > emerge > > > > > > > hal? maybe dependence ,but I use 'equery d hal' and check packages > > > > > which depend HAL ,have no idea ,any Suggestions? > > > > > > > > emerge -avuNDt world > > > > > > > > > > > > to get a tree view of dependencies. That will should just what is > > > > causing > > > > > > hal > > > > to be pulled in > > > > > > > > > > > > > > > > -- > > > > alan dot mckinnon at gmail dot com > > > > -- > > > > alan dot mckinnon at gmail dot com -- alan dot mckinnon at gmail dot com ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [gentoo-user] how to remove HAL 2010-07-29 6:39 ` Alan McKinnon @ 2010-07-29 8:07 ` sam new 0 siblings, 0 replies; 27+ messages in thread From: sam new @ 2010-07-29 8:07 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 2551 bytes --] maybe I am a perfectionist ,aha:) so want to remove it completely ,although HAL is just installed and do not use it .maybe try to modify gnome-mount ebuild or let it be ;-) On 29 July 2010 14:39, Alan McKinnon <alan.mckinnon@gmail.com> wrote: > On Thursday 29 July 2010 04:26:09 sam new wrote: > > I use emerge -avuNDt world ,just find out that is > > gnome-base/gnome-mount-0.8-r1 is depend HAL > > Yes, hal is required for gnome-mount-0.8-r1, it is not optional > > You must either have hal or not have gnome-mount > > But what's the problem? hal can be installed, you don't have to USE it. > > > > > > On 28 July 2010 23:08, Alan McKinnon <alan.mckinnon@gmail.com> wrote: > > > I can't understand what you have typed. > > > > > > Please run emerge -avuNDt world and post the entire output here. > > > > > > On Wednesday 28 July 2010 15:34:23 sam new wrote: > > > > I use emerge -avuNDt world ,find out that is > > > > > > gnome-base/gnome-mount-0.8-r1 > > > > > > > ,and also check the ebuild that depends hal .but I mask it in the > > > > package.mask why still emerge gnome-mount and hal ,maybe gnome-mount > > > > depends hal,and others depends gnome-mount ,how can I do? > > > > > > > > On 28 July 2010 13:01, Alan McKinnon <alan.mckinnon@gmail.com> > wrote: > > > > > On Wednesday 28 July 2010 04:44:23 sam new wrote: > > > > > > Hi All, > > > > > > > > > > > > As we know, HAL is not used by Xorg for output devices or > > > > > > any > > > > > > > > > > other > > > > > > > > > > > devices,so I want to remove it completely,I set USE="-hal" in > > > > > > /etc/make.conf ,and recompile the packages, and also modify > > > > > > /etc/conf.d/xdm with NEED_HALD="no" ,exec rc-update del hal > default > > > > > > .All things goes well ,yesterday,I use emerge to update my world > > > > > > ,in the list still has a hal package, I don't know why system > > > > > > sitll > > > > > > emerge > > > > > > > > > hal? maybe dependence ,but I use 'equery d hal' and check > packages > > > > > > which depend HAL ,have no idea ,any Suggestions? > > > > > > > > > > emerge -avuNDt world > > > > > > > > > > > > > > > to get a tree view of dependencies. That will should just what is > > > > > > causing > > > > > > > > hal > > > > > to be pulled in > > > > > > > > > > > > > > > > > > > > -- > > > > > alan dot mckinnon at gmail dot com > > > > > > -- > > > > > > alan dot mckinnon at gmail dot com > > -- > alan dot mckinnon at gmail dot com > > [-- Attachment #2: Type: text/html, Size: 3641 bytes --] ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [gentoo-user] how to remove HAL 2010-07-28 13:34 ` sam new 2010-07-28 15:08 ` Alan McKinnon @ 2010-07-28 16:46 ` Volker Armin Hemmann 1 sibling, 0 replies; 27+ messages in thread From: Volker Armin Hemmann @ 2010-07-28 16:46 UTC (permalink / raw To: gentoo-user On Mittwoch 28 Juli 2010, sam new wrote: > I use emerge -avuNDt world ,find out that is gnome-base/gnome-mount-0.8-r1 > ,and also check the ebuild that depends hal .but I mask it in the > package.mask why still emerge gnome-mount and hal ,maybe gnome-mount > depends hal,and others depends gnome-mount ,how can I do? you can't if you want to use gnome-mount and other gnome stuff. ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [gentoo-user] how to remove HAL 2010-07-28 2:44 [gentoo-user] how to remove HAL sam new 2010-07-28 5:01 ` Alan McKinnon @ 2010-07-28 8:05 ` Neil Bothwick 2010-08-17 19:49 ` Enrico Weigelt 2010-07-28 16:31 ` [gentoo-user] " Nikos Chantziaras 2 siblings, 1 reply; 27+ messages in thread From: Neil Bothwick @ 2010-07-28 8:05 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 978 bytes --] On Wed, 28 Jul 2010 10:44:23 +0800, sam new wrote: > As we know, HAL is not used by Xorg for output devices or any > other devices,so I want to remove it completely,I set USE="-hal" > in /etc/make.conf ,and recompile the packages, and also > modify /etc/conf.d/xdm with NEED_HALD="no" ,exec rc-update del hal > default .All things goes well ,yesterday,I use emerge to update my > world ,in the list still has a hal package, I don't know why system > sitll emerge hal? maybe dependence ,but I use 'equery d hal' and > check packages which depend HAL ,have no idea ,any Suggestions? USE only affects optional dependencies. euse -I hal will list packages that have a hal USE flag while emerge --depclean -pv sys-apps/hal will show those that depend o it. If any appear i only the second list, they probably have a compulsory dependency on hal. For example K3b shows up like that here. -- Neil Bothwick Runtime Error: Out of funny taglines! [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [gentoo-user] how to remove HAL 2010-07-28 8:05 ` Neil Bothwick @ 2010-08-17 19:49 ` Enrico Weigelt 2010-08-18 13:22 ` Mike Edenfield ` (2 more replies) 0 siblings, 3 replies; 27+ messages in thread From: Enrico Weigelt @ 2010-08-17 19:49 UTC (permalink / raw To: gentoo-user * Neil Bothwick <neil@digimed.co.uk> wrote: > USE only affects optional dependencies. euse -I hal will list packages > that have a hal USE flag while emerge --depclean -pv sys-apps/hal will > show those that depend o it. I've just experimented a bit with that and it turned out that --depclean doesn't clean up the buildtime-only deps. But if I remove one of them (eg. cabextract), they don't get pulled in again (that's indicating the depending ebuilds are written properly). Is this a bug ? cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ phone: +49 36207 519931 email: weigelt@metux.de mobile: +49 151 27565287 icq: 210169427 skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [gentoo-user] how to remove HAL 2010-08-17 19:49 ` Enrico Weigelt @ 2010-08-18 13:22 ` Mike Edenfield 2010-08-19 3:05 ` [gentoo-user] autodepclean script (was "how to remove HAL") Walter Dnes 2010-08-19 9:57 ` [gentoo-user] how to remove HAL Neil Bothwick 2 siblings, 0 replies; 27+ messages in thread From: Mike Edenfield @ 2010-08-18 13:22 UTC (permalink / raw To: gentoo-user; +Cc: Enrico Weigelt On 8/17/2010 3:49 PM, Enrico Weigelt wrote: > * Neil Bothwick <neil@digimed.co.uk> wrote: > >> USE only affects optional dependencies. euse -I hal will list packages >> that have a hal USE flag while emerge --depclean -pv sys-apps/hal will >> show those that depend o it. > > I've just experimented a bit with that and it turned out that > --depclean doesn't clean up the buildtime-only deps. But if I > remove one of them (eg. cabextract), they don't get pulled in again > (that's indicating the depending ebuilds are written properly). > > Is this a bug ? --depclean is supposed to pull in build-time dependencies, unless you specify "--with-bdeps n". So if that's not happening, then I'd say it is a bug. ^ permalink raw reply [flat|nested] 27+ messages in thread
* [gentoo-user] autodepclean script (was "how to remove HAL") 2010-08-17 19:49 ` Enrico Weigelt 2010-08-18 13:22 ` Mike Edenfield @ 2010-08-19 3:05 ` Walter Dnes 2010-08-21 10:07 ` [gentoo-user] " Francesco Talamona 2010-08-19 9:57 ` [gentoo-user] how to remove HAL Neil Bothwick 2 siblings, 1 reply; 27+ messages in thread From: Walter Dnes @ 2010-08-19 3:05 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1112 bytes --] On Tue, Aug 17, 2010 at 09:49:22PM +0200, Enrico Weigelt wrote > I've just experimented a bit with that and it turned out that > --depclean doesn't clean up the buildtime-only deps. But if I > remove one of them (eg. cabextract), they don't get pulled in again > (that's indicating the depending ebuilds are written properly). This reminds me of a script I've been working on to remove unnecessary cruft. Everything that follows is run as root, because it runs "emerge". The attached script "autodepclean" parses the output from "emerge --pretend --depclean" and generates a script "cleanscript" that you can run to clean up your system. This should handle your situation, but it's also a general solution to the entire class of problems of cleaning up when you remove all programs or USE flags that pull in a lib. It is not restricted to just HAL Warning, this script is beta. Use with care. It will remove gentoo-sources versions higher than your current kernel. This is technically correct for removing unused ebuilds. But it may not be what you want. -- Walter Dnes <waltdnes@waltdnes.org> [-- Attachment #2: autodepclean --] [-- Type: text/plain, Size: 952 bytes --] #!/bin/bash # autodepclean script v 0.01 released under GPL v3 by Walter Dnes 2010/08/18 # Generates a file "cleanscript" to remove unused ebuilds, including # buildtime-only dependancies. # # Warning; this script is still beta. I recommend that you check the output # in cleanscript before running it. It is agressive about removing unused # gentoo-sources versions. This includes those that are higher than your # current kernel. This is technically correct for removing unused ebuilds, # but it may not be what you want. # echo "#!/bin/bash" > cleanscript echo "#" > cleanscript.000 emerge --pretend --depclean |\ grep -A1 "^ .*/" |\ grep -v "^ \*" |\ grep -v "^--" |\ sed ":/: { N s:\n:: s/ selected: /-/ s/^ /emerge --depclean =/ }" >> cleanscript.000 while read do echo "${REPLY}" >> cleanscript if [ "${REPLY:0:6}" == "emerge" ]; then echo "revdep-rebuild" >> cleanscript fi done < cleanscript.000 chmod 744 cleanscript ^ permalink raw reply [flat|nested] 27+ messages in thread
* [gentoo-user] Re: autodepclean script (was "how to remove HAL") 2010-08-19 3:05 ` [gentoo-user] autodepclean script (was "how to remove HAL") Walter Dnes @ 2010-08-21 10:07 ` Francesco Talamona 2010-08-21 23:32 ` Walter Dnes 0 siblings, 1 reply; 27+ messages in thread From: Francesco Talamona @ 2010-08-21 10:07 UTC (permalink / raw To: gentoo-user On Thursday 19 August 2010, Walter Dnes wrote: > On Tue, Aug 17, 2010 at 09:49:22PM +0200, Enrico Weigelt wrote > > > I've just experimented a bit with that and it turned out that > > --depclean doesn't clean up the buildtime-only deps. But if I > > remove one of them (eg. cabextract), they don't get pulled in again > > (that's indicating the depending ebuilds are written properly). > > This reminds me of a script I've been working on to remove > unnecessary cruft. Everything that follows is run as root, because > it runs "emerge". The attached script "autodepclean" parses the > output from "emerge --pretend --depclean" and generates a script > "cleanscript" that you can run to clean up your system. This should > handle your situation, but it's also a general solution to the > entire class of problems of cleaning up when you remove all programs > or USE flags that pull in a lib. It is not restricted to just HAL > > Warning, this script is beta. Use with care. It will remove > gentoo-sources versions higher than your current kernel. This is > technically correct for removing unused ebuilds. But it may not be > what you want. I'm unclear about the aim of your script, what does different from "emerge -a --depclean" followed by "revdep-rebuild -- -a"? Ciao Francesco -- Linux Version 2.6.35-gentoo-r1, Compiled #1 SMP PREEMPT Wed Aug 11 07:11:30 CEST 2010 Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4021.84 Bogomips Total aemaeth ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [gentoo-user] Re: autodepclean script (was "how to remove HAL") 2010-08-21 10:07 ` [gentoo-user] " Francesco Talamona @ 2010-08-21 23:32 ` Walter Dnes 2010-08-22 9:45 ` Francesco Talamona 0 siblings, 1 reply; 27+ messages in thread From: Walter Dnes @ 2010-08-21 23:32 UTC (permalink / raw To: gentoo-user On Sat, Aug 21, 2010 at 12:07:40PM +0200, Francesco Talamona wrote > I'm unclear about the aim of your script, what does different from > "emerge -a --depclean" followed by "revdep-rebuild -- -a"? The autodepclean script automatically generates a list of of target ebuuilds to clean out (i.e. "cleanscript"). This gives you the opportunity to review it and delete items from the list before going ahead. Does "emerge -a --depclean" allow you to skip individual items? -- Walter Dnes <waltdnes@waltdnes.org> ^ permalink raw reply [flat|nested] 27+ messages in thread
* [gentoo-user] Re: autodepclean script (was "how to remove HAL") 2010-08-21 23:32 ` Walter Dnes @ 2010-08-22 9:45 ` Francesco Talamona 0 siblings, 0 replies; 27+ messages in thread From: Francesco Talamona @ 2010-08-22 9:45 UTC (permalink / raw To: gentoo-user On Sunday 22 August 2010, Walter Dnes wrote: > On Sat, Aug 21, 2010 at 12:07:40PM +0200, Francesco Talamona wrote > > > I'm unclear about the aim of your script, what does different from > > "emerge -a --depclean" followed by "revdep-rebuild -- -a"? > > The autodepclean script automatically generates a list of of target > ebuuilds to clean out (i.e. "cleanscript"). This gives you the > opportunity to review it and delete items from the list before going > ahead. Does "emerge -a --depclean" allow you to skip individual > items? Ah ok, now i see the point. Usually I prefer to stop depclean (answering no) and specify the exceptions with emerge --noreplace. This is because the exclusion of some packages from depclean can affect the following result of it. If you install a package having many dependencies, with emerge --oneshot and then run emerge --depclean you'll see that is easier to run two times depclean than edit the generated list :) Cheers Francesco -- Linux Version 2.6.35-gentoo-r1, Compiled #1 SMP PREEMPT Wed Aug 11 07:11:30 CEST 2010 Two 2.9GHz AMD Athlon 64 Processors, 4GB RAM, 11657 Bogomips Total aemaeth ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [gentoo-user] how to remove HAL 2010-08-17 19:49 ` Enrico Weigelt 2010-08-18 13:22 ` Mike Edenfield 2010-08-19 3:05 ` [gentoo-user] autodepclean script (was "how to remove HAL") Walter Dnes @ 2010-08-19 9:57 ` Neil Bothwick 2 siblings, 0 replies; 27+ messages in thread From: Neil Bothwick @ 2010-08-19 9:57 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 523 bytes --] On Tue, 17 Aug 2010 21:49:22 +0200, Enrico Weigelt wrote: > I've just experimented a bit with that and it turned out that > --depclean doesn't clean up the buildtime-only deps. But if I > remove one of them (eg. cabextract), they don't get pulled in again > (that's indicating the depending ebuilds are written properly). Emerge defaults to --with-bdeps=n except when using --depclean, when it uses --with-bdeps=y. man emerge explains. -- Neil Bothwick "Apple I" (c) Copyright 1767, Sir Isaac Newton. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 27+ messages in thread
* [gentoo-user] Re: how to remove HAL 2010-07-28 2:44 [gentoo-user] how to remove HAL sam new 2010-07-28 5:01 ` Alan McKinnon 2010-07-28 8:05 ` Neil Bothwick @ 2010-07-28 16:31 ` Nikos Chantziaras 2010-07-28 17:23 ` Neil Bothwick 2 siblings, 1 reply; 27+ messages in thread From: Nikos Chantziaras @ 2010-07-28 16:31 UTC (permalink / raw To: gentoo-user On 07/28/2010 05:44 AM, sam new wrote: > Hi All, > As we know, HAL is not used by Xorg for output devices or any > other devices,so I want to remove it completely,I set USE="-hal" in > /etc/make.conf ,and recompile the packages, and also modify > /etc/conf.d/xdm with NEED_HALD="no" ,exec rc-update del hal default > .All things goes well ,yesterday,I use emerge to update my world ,in the > list still has a hal package, I don't know why system sitll emerge hal? > maybe dependence ,but I use 'equery d hal' and check packages which > depend HAL ,have no idea ,any Suggestions? You can not remove HAL if something needs it. And why do you want to remove it in the first place? It's not gonna eat your cat. ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [gentoo-user] Re: how to remove HAL 2010-07-28 16:31 ` [gentoo-user] " Nikos Chantziaras @ 2010-07-28 17:23 ` Neil Bothwick 2010-07-28 18:50 ` Nikos Chantziaras 0 siblings, 1 reply; 27+ messages in thread From: Neil Bothwick @ 2010-07-28 17:23 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 257 bytes --] On Wed, 28 Jul 2010 19:31:21 +0300, Nikos Chantziaras wrote: > And why do you want to remove it in the first place? It's not gonna > eat your cat. Although it may kill your crew. -- Neil Bothwick I'm not closed minded, you're just wrong. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 27+ messages in thread
* [gentoo-user] Re: how to remove HAL 2010-07-28 17:23 ` Neil Bothwick @ 2010-07-28 18:50 ` Nikos Chantziaras 2010-07-28 20:54 ` Andrey Vul 2010-07-29 2:24 ` [gentoo-user] " sam new 0 siblings, 2 replies; 27+ messages in thread From: Nikos Chantziaras @ 2010-07-28 18:50 UTC (permalink / raw To: gentoo-user On 07/28/2010 08:23 PM, Neil Bothwick wrote: > On Wed, 28 Jul 2010 19:31:21 +0300, Nikos Chantziaras wrote: > >> And why do you want to remove it in the first place? It's not gonna >> eat your cat. > > Although it may kill your crew. I think most people don't understand what X used HAL for. They think that they can remove HAL and still have stuff like USB hotplugging/automounting working. But that's wrong. Gnome/KDE use HAL for this, not X. And if you disable HAL completely, that stuff will stop working. ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [gentoo-user] Re: how to remove HAL 2010-07-28 18:50 ` Nikos Chantziaras @ 2010-07-28 20:54 ` Andrey Vul 2010-07-28 21:08 ` Nikos Chantziaras 2010-07-29 2:24 ` [gentoo-user] " sam new 1 sibling, 1 reply; 27+ messages in thread From: Andrey Vul @ 2010-07-28 20:54 UTC (permalink / raw To: gentoo-user On Wed, Jul 28, 2010 at 14:50, Nikos Chantziaras <realnc@arcor.de> wrote: > On 07/28/2010 08:23 PM, Neil Bothwick wrote: >> >> On Wed, 28 Jul 2010 19:31:21 +0300, Nikos Chantziaras wrote: >> >>> And why do you want to remove it in the first place? It's not gonna >>> eat your cat. >> >> Although it may kill your crew. > > I think most people don't understand what X used HAL for. They think that > they can remove HAL and still have stuff like USB hotplugging/automounting > working. But that's wrong. Gnome/KDE use HAL for this, not X. And if you > disable HAL completely, that stuff will stop working. > > E.g. solid-hardware for HAL-mounting devices by uuid/volume-id. I just got rid of policykit - too much trouble. But I kept HAL because it's very useful. ^ permalink raw reply [flat|nested] 27+ messages in thread
* [gentoo-user] Re: how to remove HAL 2010-07-28 20:54 ` Andrey Vul @ 2010-07-28 21:08 ` Nikos Chantziaras 2010-07-28 21:22 ` Alan McKinnon ` (2 more replies) 0 siblings, 3 replies; 27+ messages in thread From: Nikos Chantziaras @ 2010-07-28 21:08 UTC (permalink / raw To: gentoo-user On 07/28/2010 11:54 PM, Andrey Vul wrote: > On Wed, Jul 28, 2010 at 14:50, Nikos Chantziaras<realnc@arcor.de> wrote: >> On 07/28/2010 08:23 PM, Neil Bothwick wrote: >>> >>> On Wed, 28 Jul 2010 19:31:21 +0300, Nikos Chantziaras wrote: >>> >>>> And why do you want to remove it in the first place? It's not gonna >>>> eat your cat. >>> >>> Although it may kill your crew. >> >> I think most people don't understand what X used HAL for. They think that >> they can remove HAL and still have stuff like USB hotplugging/automounting >> working. But that's wrong. Gnome/KDE use HAL for this, not X. And if you >> disable HAL completely, that stuff will stop working. >> >> > > E.g. solid-hardware for HAL-mounting devices by uuid/volume-id. > > I just got rid of policykit - too much trouble. > But I kept HAL because it's very useful. If you're on KDE, you will need policykit again in the future, since with KDE 4.5 (to be released in a matter of days) it's not really optional anymore. I got hit by this when updating to it (now at RC3): https://bugs.kde.org/show_bug.cgi?id=244444 ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [gentoo-user] Re: how to remove HAL 2010-07-28 21:08 ` Nikos Chantziaras @ 2010-07-28 21:22 ` Alan McKinnon 2010-07-29 0:31 ` [gentoo-user] " Andrey Vul 2010-07-29 0:33 ` [gentoo-user] " Andrey Vul 2 siblings, 0 replies; 27+ messages in thread From: Alan McKinnon @ 2010-07-28 21:22 UTC (permalink / raw To: gentoo-user On Wednesday 28 July 2010 23:08:45 Nikos Chantziaras wrote: > On 07/28/2010 11:54 PM, Andrey Vul wrote: > > On Wed, Jul 28, 2010 at 14:50, Nikos Chantziaras<realnc@arcor.de> wrote: > >> On 07/28/2010 08:23 PM, Neil Bothwick wrote: > >>> On Wed, 28 Jul 2010 19:31:21 +0300, Nikos Chantziaras wrote: > >>>> And why do you want to remove it in the first place? It's not gonna > >>>> eat your cat. > >>> > >>> Although it may kill your crew. > >> > >> I think most people don't understand what X used HAL for. They think > >> that they can remove HAL and still have stuff like USB > >> hotplugging/automounting working. But that's wrong. Gnome/KDE use HAL > >> for this, not X. And if you disable HAL completely, that stuff will > >> stop working. > > > > E.g. solid-hardware for HAL-mounting devices by uuid/volume-id. > > > > I just got rid of policykit - too much trouble. > > But I kept HAL because it's very useful. > > If you're on KDE, you will need policykit again in the future, since > with KDE 4.5 (to be released in a matter of days) it's not really > optional anymore. I got hit by this when updating to it (now at RC3): > > https://bugs.kde.org/show_bug.cgi?id=244444 Something tells me the kde.org admins didn't *really* intend to show me all this info: Software error: DBD::mysql::db selectrow_array failed: Unknown table engine 'InnoDB' [for Statement "SELECT bug_id FROM bugs WHERE bug_id = ?"] at Bugzilla/Bug.pm line 3366 Bugzilla::Bug::ValidateBugID(244444) called at /home/bugzilla/public_html/show_bug.cgi line 62 For help, please send mail to the webmaster (sysadmin@kde.org), giving this error message and the time and date of the error. tut, tut, kde.org. Big fail. Need to learn how to trap errors properly. -- alan dot mckinnon at gmail dot com ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [gentoo-user] how to remove HAL 2010-07-28 21:08 ` Nikos Chantziaras 2010-07-28 21:22 ` Alan McKinnon @ 2010-07-29 0:31 ` Andrey Vul 2010-07-29 0:38 ` [gentoo-user] " Nikos Chantziaras 2010-07-29 0:33 ` [gentoo-user] " Andrey Vul 2 siblings, 1 reply; 27+ messages in thread From: Andrey Vul @ 2010-07-29 0:31 UTC (permalink / raw To: gentoo-user Ugh. Now i'll actually have to config policykit.conf. For some reason, match group=wheel return yes fails so much. Somehow the mount-ro defaults to no every time On 2010-07-28, Nikos Chantziaras <realnc@arcor.de> wrote: > On 07/28/2010 11:54 PM, Andrey Vul wrote: >> On Wed, Jul 28, 2010 at 14:50, Nikos Chantziaras<realnc@arcor.de> wrote: >>> On 07/28/2010 08:23 PM, Neil Bothwick wrote: >>>> >>>> On Wed, 28 Jul 2010 19:31:21 +0300, Nikos Chantziaras wrote: >>>> >>>>> And why do you want to remove it in the first place? It's not gonna >>>>> eat your cat. >>>> >>>> Although it may kill your crew. >>> >>> I think most people don't understand what X used HAL for. They think >>> that >>> they can remove HAL and still have stuff like USB >>> hotplugging/automounting >>> working. But that's wrong. Gnome/KDE use HAL for this, not X. And if >>> you >>> disable HAL completely, that stuff will stop working. >>> >>> >> >> E.g. solid-hardware for HAL-mounting devices by uuid/volume-id. >> >> I just got rid of policykit - too much trouble. >> But I kept HAL because it's very useful. > > If you're on KDE, you will need policykit again in the future, since > with KDE 4.5 (to be released in a matter of days) it's not really > optional anymore. I got hit by this when updating to it (now at RC3): > > https://bugs.kde.org/show_bug.cgi?id=244444 > > > -- Sent from my mobile device Andrey Vul begin-base64 600 sig bXNuLCBob21lOiBhbmRyZXkudnVsQGdtYWlsLmNvbQ0KdSBvZiB0OiBhbmRyZXkudnVsQHV0b3Jv bnRvLmNhDQpzbXMsIHZvaWNlbWFpbDogNDE2MzAzOTkyMw0K ` end ^ permalink raw reply [flat|nested] 27+ messages in thread
* [gentoo-user] Re: how to remove HAL 2010-07-29 0:31 ` [gentoo-user] " Andrey Vul @ 2010-07-29 0:38 ` Nikos Chantziaras 2010-07-29 0:44 ` Nikos Chantziaras 0 siblings, 1 reply; 27+ messages in thread From: Nikos Chantziaras @ 2010-07-29 0:38 UTC (permalink / raw To: gentoo-user Btw, I think now the package is "polkit", not "policykit"; I think the first replaced the second. If you enable the "policykit" USE flag for kdelibs and consolekit, only sys-auth/polkit gets installed, not sys-auth/policykit. However, if you enable that USE flag globally in make.conf, then I think both get installed because some package probably depend on the older package. Anyway, I don't have a "policykit.conf". Or if I have one, I don't know where it is and I never edited it. And yet everything seems to be working just fine here. On 07/29/2010 03:31 AM, Andrey Vul wrote: > Ugh. Now i'll actually have to config policykit.conf. > For some reason, match group=wheel return yes fails so much. Somehow > the mount-ro defaults to no every time > > On 2010-07-28, Nikos Chantziaras<realnc@arcor.de> wrote: >> On 07/28/2010 11:54 PM, Andrey Vul wrote: >>> On Wed, Jul 28, 2010 at 14:50, Nikos Chantziaras<realnc@arcor.de> wrote: >>>> On 07/28/2010 08:23 PM, Neil Bothwick wrote: >>>>> >>>>> On Wed, 28 Jul 2010 19:31:21 +0300, Nikos Chantziaras wrote: >>>>> >>>>>> And why do you want to remove it in the first place? It's not gonna >>>>>> eat your cat. >>>>> >>>>> Although it may kill your crew. >>>> >>>> I think most people don't understand what X used HAL for. They think >>>> that >>>> they can remove HAL and still have stuff like USB >>>> hotplugging/automounting >>>> working. But that's wrong. Gnome/KDE use HAL for this, not X. And if >>>> you >>>> disable HAL completely, that stuff will stop working. >>>> >>>> >>> >>> E.g. solid-hardware for HAL-mounting devices by uuid/volume-id. >>> >>> I just got rid of policykit - too much trouble. >>> But I kept HAL because it's very useful. >> >> If you're on KDE, you will need policykit again in the future, since >> with KDE 4.5 (to be released in a matter of days) it's not really >> optional anymore. I got hit by this when updating to it (now at RC3): >> >> https://bugs.kde.org/show_bug.cgi?id=244444 ^ permalink raw reply [flat|nested] 27+ messages in thread
* [gentoo-user] Re: how to remove HAL 2010-07-29 0:38 ` [gentoo-user] " Nikos Chantziaras @ 2010-07-29 0:44 ` Nikos Chantziaras 0 siblings, 0 replies; 27+ messages in thread From: Nikos Chantziaras @ 2010-07-29 0:44 UTC (permalink / raw To: gentoo-user Just after posting this, I realized that KDE 4.4 uses policykit, but 4.5 uses the new polkit. I guess that's why I never needed to mess with any configuration files. On 07/29/2010 03:38 AM, Nikos Chantziaras wrote: > Btw, I think now the package is "polkit", not "policykit"; I think the > first replaced the second. If you enable the "policykit" USE flag for > kdelibs and consolekit, only sys-auth/polkit gets installed, not > sys-auth/policykit. However, if you enable that USE flag globally in > make.conf, then I think both get installed because some package probably > depend on the older package. > > Anyway, I don't have a "policykit.conf". Or if I have one, I don't know > where it is and I never edited it. And yet everything seems to be > working just fine here. > > > On 07/29/2010 03:31 AM, Andrey Vul wrote: >> Ugh. Now i'll actually have to config policykit.conf. >> For some reason, match group=wheel return yes fails so much. Somehow >> the mount-ro defaults to no every time >> >> On 2010-07-28, Nikos Chantziaras<realnc@arcor.de> wrote: >>> On 07/28/2010 11:54 PM, Andrey Vul wrote: >>>> On Wed, Jul 28, 2010 at 14:50, Nikos Chantziaras<realnc@arcor.de> >>>> wrote: >>>>> On 07/28/2010 08:23 PM, Neil Bothwick wrote: >>>>>> >>>>>> On Wed, 28 Jul 2010 19:31:21 +0300, Nikos Chantziaras wrote: >>>>>> >>>>>>> And why do you want to remove it in the first place? It's not gonna >>>>>>> eat your cat. >>>>>> >>>>>> Although it may kill your crew. >>>>> >>>>> I think most people don't understand what X used HAL for. They think >>>>> that >>>>> they can remove HAL and still have stuff like USB >>>>> hotplugging/automounting >>>>> working. But that's wrong. Gnome/KDE use HAL for this, not X. And if >>>>> you >>>>> disable HAL completely, that stuff will stop working. >>>>> >>>>> >>>> >>>> E.g. solid-hardware for HAL-mounting devices by uuid/volume-id. >>>> >>>> I just got rid of policykit - too much trouble. >>>> But I kept HAL because it's very useful. >>> >>> If you're on KDE, you will need policykit again in the future, since >>> with KDE 4.5 (to be released in a matter of days) it's not really >>> optional anymore. I got hit by this when updating to it (now at RC3): >>> >>> https://bugs.kde.org/show_bug.cgi?id=244444 > > > ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [gentoo-user] how to remove HAL 2010-07-28 21:08 ` Nikos Chantziaras 2010-07-28 21:22 ` Alan McKinnon 2010-07-29 0:31 ` [gentoo-user] " Andrey Vul @ 2010-07-29 0:33 ` Andrey Vul 2 siblings, 0 replies; 27+ messages in thread From: Andrey Vul @ 2010-07-29 0:33 UTC (permalink / raw To: gentoo-user Ugh. Now i'll actually have to config policykit.conf. For some reason, match group=wheel return yes fails so much. Somehow the mount-ro defaults to no every time On 2010-07-28, Nikos Chantziaras <realnc@arcor.de> wrote: > On 07/28/2010 11:54 PM, Andrey Vul wrote: >> On Wed, Jul 28, 2010 at 14:50, Nikos Chantziaras<realnc@arcor.de> wrote: >>> On 07/28/2010 08:23 PM, Neil Bothwick wrote: >>>> >>>> On Wed, 28 Jul 2010 19:31:21 +0300, Nikos Chantziaras wrote: >>>> >>>>> And why do you want to remove it in the first place? It's not gonna >>>>> eat your cat. >>>> >>>> Although it may kill your crew. >>> >>> I think most people don't understand what X used HAL for. They think >>> that >>> they can remove HAL and still have stuff like USB >>> hotplugging/automounting >>> working. But that's wrong. Gnome/KDE use HAL for this, not X. And if >>> you >>> disable HAL completely, that stuff will stop working. >>> >>> >> >> E.g. solid-hardware for HAL-mounting devices by uuid/volume-id. >> >> I just got rid of policykit - too much trouble. >> But I kept HAL because it's very useful. > > If you're on KDE, you will need policykit again in the future, since > with KDE 4.5 (to be released in a matter of days) it's not really > optional anymore. I got hit by this when updating to it (now at RC3): > > https://bugs.kde.org/show_bug.cgi?id=244444 > > > -- Sent from my mobile device Andrey Vul begin-base64 600 sig bXNuLCBob21lOiBhbmRyZXkudnVsQGdtYWlsLmNvbQ0KdSBvZiB0OiBhbmRyZXkudnVsQHV0b3Jv bnRvLmNhDQpzbXMsIHZvaWNlbWFpbDogNDE2MzAzOTkyMw0K ` end ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [gentoo-user] Re: how to remove HAL 2010-07-28 18:50 ` Nikos Chantziaras 2010-07-28 20:54 ` Andrey Vul @ 2010-07-29 2:24 ` sam new 1 sibling, 0 replies; 27+ messages in thread From: sam new @ 2010-07-29 2:24 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 998 bytes --] "They think that they can remove HAL and still have stuff like USB hotplugging/automounting working",in Xorg 1.8, udev will replace HAL . we can use devicekit-disks package to mount USB stick or CD,USE polkit-gnome or ntfs3g to mount NTFS filesystem. so HAL is not needed.may be modify gnome-mount ebuild ,remove HAL depedency and put it in local OVERLAY .maybe slove the problem. On 29 July 2010 02:50, Nikos Chantziaras <realnc@arcor.de> wrote: > On 07/28/2010 08:23 PM, Neil Bothwick wrote: > >> On Wed, 28 Jul 2010 19:31:21 +0300, Nikos Chantziaras wrote: >> >> And why do you want to remove it in the first place? It's not gonna >>> eat your cat. >>> >> >> Although it may kill your crew. >> > > I think most people don't understand what X used HAL for. They think that > they can remove HAL and still have stuff like USB hotplugging/automounting > working. But that's wrong. Gnome/KDE use HAL for this, not X. And if you > disable HAL completely, that stuff will stop working. > > > [-- Attachment #2: Type: text/html, Size: 1542 bytes --] ^ permalink raw reply [flat|nested] 27+ messages in thread
end of thread, other threads:[~2010-08-22 9:46 UTC | newest] Thread overview: 27+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-07-28 2:44 [gentoo-user] how to remove HAL sam new 2010-07-28 5:01 ` Alan McKinnon 2010-07-28 13:34 ` sam new 2010-07-28 15:08 ` Alan McKinnon 2010-07-29 2:26 ` sam new 2010-07-29 6:39 ` Alan McKinnon 2010-07-29 8:07 ` sam new 2010-07-28 16:46 ` Volker Armin Hemmann 2010-07-28 8:05 ` Neil Bothwick 2010-08-17 19:49 ` Enrico Weigelt 2010-08-18 13:22 ` Mike Edenfield 2010-08-19 3:05 ` [gentoo-user] autodepclean script (was "how to remove HAL") Walter Dnes 2010-08-21 10:07 ` [gentoo-user] " Francesco Talamona 2010-08-21 23:32 ` Walter Dnes 2010-08-22 9:45 ` Francesco Talamona 2010-08-19 9:57 ` [gentoo-user] how to remove HAL Neil Bothwick 2010-07-28 16:31 ` [gentoo-user] " Nikos Chantziaras 2010-07-28 17:23 ` Neil Bothwick 2010-07-28 18:50 ` Nikos Chantziaras 2010-07-28 20:54 ` Andrey Vul 2010-07-28 21:08 ` Nikos Chantziaras 2010-07-28 21:22 ` Alan McKinnon 2010-07-29 0:31 ` [gentoo-user] " Andrey Vul 2010-07-29 0:38 ` [gentoo-user] " Nikos Chantziaras 2010-07-29 0:44 ` Nikos Chantziaras 2010-07-29 0:33 ` [gentoo-user] " Andrey Vul 2010-07-29 2:24 ` [gentoo-user] " sam new
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox