View previous topic :: View next topic |
Author |
Message |
red-wolf76 l33t
Joined: 13 Apr 2005 Posts: 714 Location: Rhein-Main Area
|
Posted: Wed Dec 05, 2007 11:43 am Post subject: |
|
|
Ibn al-Hazardous wrote: | Those 60 are the ones explicitly listed as belonging to system. When you do an emerge -pev system you get the dependencies too. |
So when you type Code: | USE="-*" emerge -pev |
you'd get only these sixty? (Nevermind that actually performing this emerge would screw up your compiled dependencies) _________________ 0mFg, G3nt00 r0X0r$ T3h B1g!1111
Use sane CFLAGS! If for no other reason, do it for the lulz! |
|
Back to top |
|
|
Ibn al-Hazardous Tux's lil' helper
Joined: 02 Sep 2004 Posts: 133 Location: Somewhere deep in the desert.
|
Posted: Wed Dec 05, 2007 11:48 am Post subject: |
|
|
red-wolf76 wrote: | Ibn al-Hazardous wrote: | Those 60 are the ones explicitly listed as belonging to system. When you do an emerge -pev system you get the dependencies too. |
So when you type Code: | USE="-*" emerge -pev |
you'd get only these sixty? (Nevermind that actually performing this emerge would screw up your compiled dependencies) |
Not necessarily. Some dependencies are optional (ie defined by USE-flags), but not all. (Can't have bash without ncurses, for example.) _________________ /Ibn |
|
Back to top |
|
|
red-wolf76 l33t
Joined: 13 Apr 2005 Posts: 714 Location: Rhein-Main Area
|
Posted: Wed Dec 05, 2007 11:48 am Post subject: |
|
|
Sure, but wouldn't that be listed in system anyway? _________________ 0mFg, G3nt00 r0X0r$ T3h B1g!1111
Use sane CFLAGS! If for no other reason, do it for the lulz! |
|
Back to top |
|
|
Ibn al-Hazardous Tux's lil' helper
Joined: 02 Sep 2004 Posts: 133 Location: Somewhere deep in the desert.
|
Posted: Wed Dec 05, 2007 12:23 pm Post subject: |
|
|
red-wolf76 wrote: | Sure, but wouldn't that be listed in system anyway? |
Oops, yes it was, so bash and ncurses was a bad example. But obviously not all mandatory deps are in system. I get 60 packages with "dep -w", 83 packges with "USE=-* emerge -pev system" and 146 with plain "emerge -pev system". Going through the entries in the files named "packges" in my profile and all its parents add up to 60 (of which some are dupes - so they are even fewer). So, going from <60 listed in the profile to 83 listed by "USE=-* emerge -pev system" can only be accounted for by dependencies; or do you know any secret files that I and dep are missing out on? If so, please tell! _________________ /Ibn |
|
Back to top |
|
|
red-wolf76 l33t
Joined: 13 Apr 2005 Posts: 714 Location: Rhein-Main Area
|
Posted: Wed Dec 05, 2007 12:51 pm Post subject: |
|
|
No. Actually, I'm just nosy.
Given the power of portage, it helps to understand how it works and what can be done with it. _________________ 0mFg, G3nt00 r0X0r$ T3h B1g!1111
Use sane CFLAGS! If for no other reason, do it for the lulz! |
|
Back to top |
|
|
mroconnor Guru
Joined: 24 Feb 2006 Posts: 402 Location: USA
|
Posted: Wed Dec 05, 2007 12:52 pm Post subject: |
|
|
So then everything is ok? But 210 packages still seems to be alot, I guess with X and other goodies it is normal?
EDIT: Code: | USE=-* emerge -pev system | gives 83 packages
Last edited by mroconnor on Wed Dec 05, 2007 12:56 pm; edited 1 time in total |
|
Back to top |
|
|
red-wolf76 l33t
Joined: 13 Apr 2005 Posts: 714 Location: Rhein-Main Area
|
Posted: Wed Dec 05, 2007 12:56 pm Post subject: |
|
|
Yeah, I think it is quite normal.
gives me 135 reinstalls on the box sitting next to me at work. I have 60 packages in system, 38 in world and a total of 530 installed packages. So 81% of my installation is dependencies... _________________ 0mFg, G3nt00 r0X0r$ T3h B1g!1111
Use sane CFLAGS! If for no other reason, do it for the lulz!
Last edited by red-wolf76 on Wed Dec 05, 2007 12:58 pm; edited 1 time in total |
|
Back to top |
|
|
mroconnor Guru
Joined: 24 Feb 2006 Posts: 402 Location: USA
|
Posted: Wed Dec 05, 2007 12:57 pm Post subject: |
|
|
Well then I'll stop complaining. Thanks for everyone's input.
Cheers
-P |
|
Back to top |
|
|
Joseph_sys Advocate
Joined: 08 Jun 2004 Posts: 2712 Location: Edmonton, AB
|
Posted: Sun Feb 17, 2008 6:49 pm Post subject: dep -k <package> no longer works |
|
|
Whenever I try to run:
dep -k <package_name> it is not showing being installed.
eg. Code: | dep -k gnucash
app-office/gnucash:
| s
| p p
| p a x
| c r 8
| - c 6
| a a p m s - -
| l m h i m m p a s p f f
| p d a p a 6 i p c c 3 a b x b
| h 6 r p 6 8 p p 6 o 9 s r s 8 s
| a 4 m a 4 k s c 4 s 0 h c d 6 d
---------+-----------------------------v--
2.0.5 | + + + + +
2.2.2-r1 | ~ ~ ~ ~ ~
2.2.3 | ~ ~ ~ ~ ~ |
even though gnucash is install and working.
How to fix it?
I have re-emerge "udept" but it doesn't help. |
|
Back to top |
|
|
red-wolf76 l33t
Joined: 13 Apr 2005 Posts: 714 Location: Rhein-Main Area
|
Posted: Sun Feb 17, 2008 9:37 pm Post subject: |
|
|
Try whether Code: | emerge --depclean -p | wants to remove it. Be sure to include the "-p" or you'll actually run the command, which may seriously bork your system.
If it gets listed under the packages to be removed, then it isn't in the world file and nothing depends on it. So depending on how you installed it (using "--oneshot" maybe, or manually?), your solution could be to manually add it to the world file. _________________ 0mFg, G3nt00 r0X0r$ T3h B1g!1111
Use sane CFLAGS! If for no other reason, do it for the lulz! |
|
Back to top |
|
|
Joseph_sys Advocate
Joined: 08 Jun 2004 Posts: 2712 Location: Edmonton, AB
|
Posted: Sun Feb 17, 2008 9:49 pm Post subject: |
|
|
red-wolf76 wrote: | Try whether Code: | emerge --depclean -p | wants to remove it. Be sure to include the "-p" or you'll actually run the command, which may seriously bork your system.
If it gets listed under the packages to be removed, then it isn't in the world file and nothing depends on it. So depending on how you installed it (using "--oneshot" maybe, or manually?), your solution could be to manually add it to the world file. |
I just run "emerge --depclean" packages like: php, gnucash were not on the list to be removed, they are installed on my system working OK but not showing up when I run "dep -k php" or "dep -k gnucash".
Packages php and gnucash are recorded in the world file. |
|
Back to top |
|
|
red-wolf76 l33t
Joined: 13 Apr 2005 Posts: 714 Location: Rhein-Main Area
|
Posted: Sun Feb 17, 2008 10:34 pm Post subject: |
|
|
Sorry, I just checked, and on my box here, it works ok. Both php and gnucash show output for dep -k foo.
Maybe something's afoot in your installation after all. Have you tried regenerating your world and dependency tree? What's in your keywords? Is package.keywords a file or a directory (file here)...
I wouldn't know why they wouldn't show up on your computer... This is most strange indeed. _________________ 0mFg, G3nt00 r0X0r$ T3h B1g!1111
Use sane CFLAGS! If for no other reason, do it for the lulz! |
|
Back to top |
|
|
Joseph_sys Advocate
Joined: 08 Jun 2004 Posts: 2712 Location: Edmonton, AB
|
Posted: Sun Feb 17, 2008 11:03 pm Post subject: |
|
|
Indeed something is going wrong but I can not pin-point what.
I always "emerge -uDNav world" so it should take care of world dependency.
package.keywords is a file (has only two entries):
=net-misc/asterisk-addons-1.2.4
>=app-portage/udept-0.5.99.0.2.95-r1 |
|
Back to top |
|
|
JustJoe Tux's lil' helper
Joined: 30 Jul 2005 Posts: 80
|
Posted: Fri Apr 04, 2008 4:40 pm Post subject: |
|
|
I just used udept for the first time, looks nice. But i find this after doing 'dep -pw' :
Code: | !!!REDUNDANT ENTRY!!! www-servers/apache depended on by:
dev-lang/php-5.2.6_rc3 apache2? =www-servers/apache-2*
net-print/cups-1.2.12-r7 php? dev-lang/php
app-emulation/wine-0.9.49 cups? net-print/cups
WORLD FILE app-emulation/wine |
It wants to remove apache from my world. That in itself is ok, but what if i decide i don't need php, cups and wine anymore ?
In that case apache gets removed the next time i do a 'dept -d world', right ? If this is true for apache then it's true for other packages too.
Sounds a little bit dangerous to me. |
|
Back to top |
|
|
loftwyr l33t
Joined: 29 Dec 2004 Posts: 970 Location: 43°38'23.62"N 79°27'8.60"W
|
Posted: Fri Apr 04, 2008 4:48 pm Post subject: |
|
|
This package has been abandoned and ecatmur hasn't been around in at least a year.
I suggest uninstalling it and waiting until someone else writes a similar program. _________________ My emerge --info
Have you run revdep-rebuild lately? It's in gentoolkit and it's worth a shot if things don't work well.
Celebrating 5 years of Gentoo-ing. |
|
Back to top |
|
|
JustJoe Tux's lil' helper
Joined: 30 Jul 2005 Posts: 80
|
Posted: Fri Apr 04, 2008 7:00 pm Post subject: |
|
|
I see. Ok, thanks for the heads up. |
|
Back to top |
|
|
kds66 Apprentice
Joined: 17 Oct 2006 Posts: 166 Location: Manaus, Brazil
|
Posted: Sat Apr 05, 2008 7:06 am Post subject: |
|
|
Great tool. It works fine for me except for one case. dep -w finds the following redundant entry in world:
Code: | !!!REDUNDANT ENTRY!!! app-dicts/aspell-pt depended on by:
app-text/aspell-0.60.5 linguas_pt? app-dicts/aspell-pt
app-dicts/aspell-de-0.60_pre20030222 >=app-text/aspell-0.60
app-text/aspell-0.60.5 linguas_de? app-dicts/aspell-de
app-dicts/aspell-en-6.0.0 >=app-text/aspell-0.60
app-text/aspell-0.60.5 linguas_en? app-dicts/aspell-en
app-text/enchant-1.3.0 || virtual/aspell-dict
app-editors/gedit-2.20.4-r1 spell? >=app-text/enchant-1.2
gnome-base/gnome-2.20.3 >=app-editors/gedit-2.20.4
WORLD FILE gnome-base/gnome
|
However, when I remove the app-dicts/aspell-pt from world and run emerge --depclean, the package is removed.
What could be the reason? |
|
Back to top |
|
|
katafitos n00b
Joined: 22 Nov 2006 Posts: 56 Location: Greece
|
Posted: Sat May 03, 2008 7:51 pm Post subject: |
|
|
I tried the
Code: | # dep --spring-clean |
and dep wanted to get rid of many kde-3.5.9 packages
I initially installed kde using kde-meta |
|
Back to top |
|
|
red-wolf76 l33t
Joined: 13 Apr 2005 Posts: 714 Location: Rhein-Main Area
|
Posted: Tue Jul 15, 2008 2:29 pm Post subject: |
|
|
Then it is technically correct to want to uninstall them, provided they're not listed in the world file.
Just add the packages you want to keep to the world file and it will stop complaining. _________________ 0mFg, G3nt00 r0X0r$ T3h B1g!1111
Use sane CFLAGS! If for no other reason, do it for the lulz! |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Wed Oct 22, 2008 7:54 pm Post subject: |
|
|
Code: | !!! Unknown USE component: env.d
!!! Unknown USE component: env.d
!!! Unknown USE component: env.d
!!! Unknown USE component: env.d
!!! Unknown USE component: env.d
!!! Unknown USE component: env.d
!!! Unknown USE component: env.d
!!! Unknown USE component: env.d
!!! Unknown USE component: env.d
!!! Unknown USE component: env.d
!!! Unknown USE component: env.d
|
does not seem critical so I can probalby ignore , but what's this about?
TIA _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
|
red-wolf76 l33t
Joined: 13 Apr 2005 Posts: 714 Location: Rhein-Main Area
|
Posted: Wed Oct 22, 2008 8:06 pm Post subject: |
|
|
I think the script hasn't been kept up to scratch with a number of the paradigm changes or syntax alterations in the most current portage, that's all. _________________ 0mFg, G3nt00 r0X0r$ T3h B1g!1111
Use sane CFLAGS! If for no other reason, do it for the lulz! |
|
Back to top |
|
|
FuzzyRay Retired Dev
Joined: 02 Oct 2003 Posts: 79
|
Posted: Mon Dec 15, 2008 3:31 pm Post subject: |
|
|
udept has been package masked and will be removed from the tree in about 30 - 60 days. The reason is upstream is dead and it doesn't work well with the new EAPI standards. If it comes back to life, I will either unmask it or re-add it to the tree (with an updated version). |
|
Back to top |
|
|
red-wolf76 l33t
Joined: 13 Apr 2005 Posts: 714 Location: Rhein-Main Area
|
Posted: Tue Dec 16, 2008 10:47 am Post subject: upstream dead? |
|
|
It's real pity if Ed can't keep maintaining. but, with the recent development of portage, maybe it's better to re-write from scratch. I'd offer to do it, but unfortunately don't know flip-all about coding. _________________ 0mFg, G3nt00 r0X0r$ T3h B1g!1111
Use sane CFLAGS! If for no other reason, do it for the lulz! |
|
Back to top |
|
|
Xanadu Guru
Joined: 10 Oct 2002 Posts: 335 Location: Hour West of Philly (USA)
|
Posted: Sat Jul 11, 2009 6:42 pm Post subject: |
|
|
Has anything similar to this come into being since it was removed from the tree? I was a very handy thing to have around (when it worked, anyway). _________________ I'm not a prophet or a stone-age man
I'm just a mortal with potential of a super man
-David Bowie |
|
Back to top |
|
|
red-wolf76 l33t
Joined: 13 Apr 2005 Posts: 714 Location: Rhein-Main Area
|
Posted: Sat Jul 11, 2009 9:36 pm Post subject: |
|
|
I think nowadays it may be easier to just create a new @subset for portage. But I wouldn't know if that can handle build order as well. _________________ 0mFg, G3nt00 r0X0r$ T3h B1g!1111
Use sane CFLAGS! If for no other reason, do it for the lulz! |
|
Back to top |
|
|
|