Re: [gentoo-user] Re: emerge -DuvatN world doesn't show all upgradeable packages

2008-04-08 Thread Alan McKinnon
On Tuesday 08 April 2008, Michael Schmarck wrote:
 Connected question: How do I quickly find all the packages that
 got installed as a dependency, but which are no longer needed,
 because the dependent package got removed (as an example, I'd
 like to find kde-i18n, because that used to be a dependency of
 kde-meta and kde-meta is no longer installed).

emerge --depclean

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: emerge -DuvatN world doesn't show all upgradeable packages

2008-04-08 Thread Anthony Metcalf

Michael Schmarck wrote:


Connected question: How do I quickly find all the packages that
got installed as a dependency, but which are no longer needed,
because the dependent package got removed (as an example, I'd 
like to find kde-i18n, because that used to be a dependency of

kde-meta and kde-meta is no longer installed).

Thanks,

Michael

  


emerge -p depclean will give you a list of all of those packages, and 
you can then add to your world file, or uninstall as you see fit


Be *extremely* careful with this command though...

Anthony



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: emerge -DuvatN world doesn't show all upgradeable packages

2008-04-08 Thread Alan McKinnon
On Tuesday 08 April 2008, Dale wrote:
 That will tell you packages that are installed and !may! not be
 needed by other packages.  Note all the warnings here?  I have not
 had anything serious removed by using this in ages but strange things
 can happen. You need to be careful with this.  Remove the wrong thing
 and it can be a uphill battle to get it fixed.

Like the fellow in the next desk this morning updating a machine that 
hasn't been touched since 2005 (!)

He noticed a blocker with python-updater after 'emerge world' and was 
about to unmerge python and remerge the new one to get around the 
blocker ...

Lucky I saw it in time...

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: emerge -DuvatN world doesn't show all upgradeable packages

2008-04-08 Thread Dale

Michael Schmarck wrote:


Thanks.

I think I removed kde-meta, because it installs too much stuff,
that I don't need (like kppp). It would be nice, if the kde-meta
ebuild would be more like the gst-plugins-meta package, in that
it sould allow the user to specify what he wants to get installed
and what not. It shouldn't be an all or nothing approach, IMO.

Michael

  


Ahhh, I see.  You can check the Gentoo docs page and there is a page 
that tells you how NOT to use kde-meta.  It's not a big deal and I think 
most people do it that way.  It's like a lot of things, it's a matter of 
preference.


Dale

:-)  :-)  :-) 
--

gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: emerge -DuvatN world doesn't show all upgradeable packages

2008-04-08 Thread Alan McKinnon
On Tuesday 08 April 2008, Michael Schmarck wrote:
 Alan McKinnon [EMAIL PROTECTED] wrote:
  The other option is to use the kde*meta ebuilds, which do directly
  depend on the sub-ordinate packages. This is what I do and I don't
  get the effect you observed.

 Thanks.

 I think I removed kde-meta, because it installs too much stuff,
 that I don't need (like kppp). It would be nice, if the kde-meta
 ebuild would be more like the gst-plugins-meta package, in that
 it sould allow the user to specify what he wants to get installed
 and what not. It shouldn't be an all or nothing approach, IMO.

 Michael

[EMAIL PROTECTED] ~ $ ls -1d /var/portage/kde-base/*meta
/var/portage/kde-base/kdeaccessibility-meta
/var/portage/kde-base/kdeaddons-meta
/var/portage/kde-base/kdeadmin-meta
/var/portage/kde-base/kdeartwork-meta
/var/portage/kde-base/kdebase-meta
/var/portage/kde-base/kdebindings-meta
/var/portage/kde-base/kdeedu-meta
/var/portage/kde-base/kdegames-meta
/var/portage/kde-base/kdegraphics-meta
/var/portage/kde-base/kde-meta
/var/portage/kde-base/kdemultimedia-meta
/var/portage/kde-base/kdenetwork-meta
/var/portage/kde-base/kdepim-meta
/var/portage/kde-base/kdesdk-meta
/var/portage/kde-base/kdetoys-meta
/var/portage/kde-base/kdeutils-meta
/var/portage/kde-base/kdewebdev-meta

Use these instead of kde-meta. If you want only some stuff in one of 
those and not everything, omit the -meta, look inside it's ebuild and 
install the DEPENDS you do want.

Same result as what you asked for, different means of achieving it.

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: emerge -DuvatN world doesn't show all upgradeable packages

2008-04-08 Thread Dale

Michael Schmarck wrote:

SNIP 

Connected question: How do I quickly find all the packages that
got installed as a dependency, but which are no longer needed,
because the dependent package got removed (as an example, I'd 
like to find kde-i18n, because that used to be a dependency of

kde-meta and kde-meta is no longer installed).

Thanks,

Michael

  


First things first.  Use caution with this.  A LOT of caution.  Always 
do a --pretend first, no exception.  I would strongly recommend you to 
never let it just remove packages, always remove them by hand.  That's 
how I do it anyway.


emerge -p --depclean

That will tell you packages that are installed and !may! not be needed 
by other packages.  Note all the warnings here?  I have not had anything 
serious removed by using this in ages but strange things can happen.  
You need to be careful with this.  Remove the wrong thing and it can be 
a uphill battle to get it fixed.


If you have a problem with things being removed from your world file, 
someone may can give you the command to rebuild it.  I'd backup the 
current one first, just in case.  I'm pretty sure there is a way to do 
that but can't recall at the moment.  I have never had to do that before.


Dale

:-)  :-) 



--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: emerge -DuvatN world doesn't show all upgradeable packages

2008-04-08 Thread Neil Bothwick
On Tue, 08 Apr 2008 12:30:11 +0200, Michael Schmarck wrote:

 I think I removed kde-meta, because it installs too much stuff,
 that I don't need (like kppp). It would be nice, if the kde-meta
 ebuild would be more like the gst-plugins-meta package, in that
 it sould allow the user to specify what he wants to get installed
 and what not. It shouldn't be an all or nothing approach, IMO.

But that's exactly what it's for merge this to pull in all
non-developer, split kde-base/* packages. If you want to pick and
choose, emerge the packages you want, there's no need to add extra USE
flags and another layer of complexity when the current system handles
both all-in-one and selective installs just fine.


-- 
Neil Bothwick

Dolly Parton-- silicone based life


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: emerge -DuvatN world doesn't show all upgradeable packages

2008-04-08 Thread Dale

Alan McKinnon wrote:

On Tuesday 08 April 2008, Dale wrote:
  

That will tell you packages that are installed and !may! not be
needed by other packages.  Note all the warnings here?  I have not
had anything serious removed by using this in ages but strange things
can happen. You need to be careful with this.  Remove the wrong thing
and it can be a uphill battle to get it fixed.



Like the fellow in the next desk this morning updating a machine that 
hasn't been touched since 2005 (!)


He noticed a blocker with python-updater after 'emerge world' and was 
about to unmerge python and remerge the new one to get around the 
blocker ...


Lucky I saw it in time...

  



New friend for life I suspect.  That would be a doozy for sure.  I 
haven't done that yet.


Dale

:-)  :-)
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: emerge -DuvatN world doesn't show all upgradeable packages

2008-04-08 Thread Alan McKinnon
On Tuesday 08 April 2008, Dale wrote:
 Alan McKinnon wrote:
  On Tuesday 08 April 2008, Dale wrote:
  That will tell you packages that are installed and !may! not be
  needed by other packages.  Note all the warnings here?  I have not
  had anything serious removed by using this in ages but strange
  things can happen. You need to be careful with this.  Remove the
  wrong thing and it can be a uphill battle to get it fixed.
 
  Like the fellow in the next desk this morning updating a machine
  that hasn't been touched since 2005 (!)
 
  He noticed a blocker with python-updater after 'emerge world' and
  was about to unmerge python and remerge the new one to get around
  the blocker ...
 
  Lucky I saw it in time...

 New friend for life I suspect.  That would be a doozy for sure.  I
 haven't done that yet.

I have :-)

I've also removed (forcibly) all versions of gcc, portage, and glibc 
individually and all together. quickpkg is a nice thing to know 
about :-)

Once I even merged busybox to the root filesystem. It overwrites all the 
Unix tools with symlinks to busybox. Cool, you get a tiny install that 
can go on an embedded device.

BUT, busybox give you tar, it does not give you tar -o

Guess which gentoo-specific app requires tar -o? Do I hear the 
word portage? Anyone??



-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: emerge -DuvatN world doesn't show all upgradeable packages

2008-04-08 Thread Alan McKinnon
On Tuesday 08 April 2008, Michael Schmarck wrote:
  I think you need to fix your world before before doing any
  --depclean steps.

 Seems like :)

Probably not now that we have the full picture though

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: emerge -DuvatN world doesn't show all upgradeable packages

2008-04-08 Thread Dale

Alan McKinnon wrote:

On Tuesday 08 April 2008, Dale wrote:
  


I have :-)

I've also removed (forcibly) all versions of gcc, portage, and glibc 
individually and all together. quickpkg is a nice thing to know 
about :-)
  


I got that covered.  I found this little tid bit of info.  OP may want 
to make a note of this too.  Pst, you see this?


FEATURES=buildsyspkg sandbox fixpackages parallel-fetch

I like the buildsyspkg part.  At least I will have the system packages 
and can boot up.
Once I even merged busybox to the root filesystem. It overwrites all the 
Unix tools with symlinks to busybox. Cool, you get a tiny install that 
can go on an embedded device.
  


Sounds cool, for the right equipment.   ;-)  Maybe not a desktop or a 
fancy server, on second thought.   :-p

BUT, busybox give you tar, it does not give you tar -o

Guess which gentoo-specific app requires tar -o? Do I hear the 
word portage? Anyone??


  


Naturally.  What else could use that?

Dale

:-)  :-)
--
gentoo-user@lists.gentoo.org mailing list