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

2008-04-08 Thread Michael Schmarck
Neil Bothwick [EMAIL PROTECTED] wrote:

 On Tue, 08 Apr 2008 11:51:29 +0200, Michael Schmarck wrote:
 
 In prose: I have kde-i18n-3.5.8 installed. In tree, there's
 an update available (kde-i18n-3.5.9).
 
 Why was that updatedable package not picked up, when I ran
 emerge -DuvatN world? I also tried emerge -Duvat world -
 same effect.
 
 Is kde-i18n in your world file?

No, it's not.

 If emerge --depclean -p suggests removing 
 it, it's not. Add it with emerge -n kde-i18n.

Hm - why should I want to add kde-i18n to the world file?
I ran emerge -D (--deep). From man emerge:

   --deep (-D)
  This  flag  forces emerge to consider the entire dependency tree
  of packages, instead of checking only the immediate dependencies
  of  the  packages.   As  an  example,  this  catches  updates in
  libraries that are not directly listed in the dependencies of  a
  package.   Also  see  --with-bdeps  for behavior with respect to
  build time dependencies that are not strictly required.

kde-i18n got installed as a dependency of some KDE package. Hmm...
I suppose I got it, because I used to have kde-meta installed. And
that package got lost, somehow. And as it's no longer installed,
there's nothing installed on my system which has kde-i18n as a
dependency. And it's not in the world file.

As that's so, emerge lost track of this package, so to say.
Does that sound like a correct summary?

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

-- 
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:
 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



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

2008-04-08 Thread Michael Schmarck
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

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



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

2008-04-08 Thread Michael Schmarck
Anthony Metcalf [EMAIL PROTECTED] wrote:

 Michael Schmarck wrote:
 Hello.

 snip

 How do I make emerge update all the installed packages, if
 there's an update available?

 Thanks,
 Michael

   
 
 Hi,
 
 First question, was it installed directly, or as a dependency for
 something else? 

I'm pretty sure, it was a dependency.

 (/var/lib/portage/world) If it is a dependency, is the package that
 depends on it, shown in the world file?

I think it was a dependency of kde-meta. kde-meta is no longer installed.

 If the answer to the second question above is no then try adding
 it into the world file, then emerge -DuvatN world again.

Yes. Thanks a lot!

Michael

-- 
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


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

2008-04-08 Thread Michael Schmarck
Hello.

Alan McKinnon [EMAIL PROTECTED] wrote:

 On Tuesday 08 April 2008, Michael Schmarck wrote:
 Neil Bothwick [EMAIL PROTECTED] wrote:
  On Tue, 08 Apr 2008 12:39:11 +0200, Michael Schmarck wrote:
   emerge --depclean
 
  thanks. 200 some packages, which would be removed. Quite a
  lot.
 
  If you've removed kde-meta, I'm not surprised.

 It's not (mainly) kde packages that show up there. It's:
 
 I'm surprised these show up from --depclean:
 
  app-admin/logrotate
  app-arch/sharutils
  app-crypt/hashalot
  app-crypt/mhash
  app-text/psutils
  dev-libs/glib
  dev-libs/lzo
  dev-libs/pcre++
  dev-util/yacc

Well - that's the way it is :)

 After last week's entertainment, why are these not in your world?

Why should they be in world? I prefer to only have in world,
what I really want. For example, I don't think that gst-plugins-alsa
belongs into world, if I have gst-plugins-meta installed.

[...]
  media-plugins/gst-plugins-alsa
  media-plugins/gst-plugins-esd
  media-plugins/gst-plugins-flac
  media-plugins/gst-plugins-theora

That's interesting - why did those packages show up? 
media-plugins/gst-plugins-alsa is a dependency of 
media-plugins/gst-plugins-meta, and -meta is in world:

$ grep meta /var/lib/portage/world 
dev-java/metadata-extractor
media-plugins/gst-plugins-meta
x11-themes/metacity-themes

Strange.

Ah! Multiple versions again. gst-plugins-alsa was there
in versions 0.8.12 and 0.10.17.

 Hmm, more stuff that should be in world if you want it.
  net-wireless/wireless-tools
  sys-apps/acl
  sys-apps/iproute2
  sys-devel/automake
  sys-devel/bin86
  sys-devel/dev86
 
 Ouch!! What did you do to this box that this one shows up? gcc is not in
 world, it's in system, and the only way to get it out of there is to
 edit the profile

I haven't edited profile.

--($:~/Desktop)-- emerge --info
Portage 2.1.5_rc2 (default-linux/x86/2007.0/desktop, gcc-4.2.3, glibc-2.7-r2, 
2.6.24-tuxonice-r3.r08.mit-ide-mod_2 i686)
=
[...]

  sys-devel/gcc
 
 I think you need to fix your world before before doing any --depclean
 steps.

Seems like :)
Michael

-- 
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:
  

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