Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Clean out your world file
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... , 27, 28, 29  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
red-wolf76
l33t
l33t


Joined: 13 Apr 2005
Posts: 714
Location: Rhein-Main Area

PostPosted: Wed Dec 05, 2007 11:43 am    Post subject: Reply with quote

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
View user's profile Send private message
Ibn al-Hazardous
Tux's lil' helper
Tux's lil' helper


Joined: 02 Sep 2004
Posts: 133
Location: Somewhere deep in the desert.

PostPosted: Wed Dec 05, 2007 11:48 am    Post subject: Reply with quote

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
View user's profile Send private message
red-wolf76
l33t
l33t


Joined: 13 Apr 2005
Posts: 714
Location: Rhein-Main Area

PostPosted: Wed Dec 05, 2007 11:48 am    Post subject: Reply with quote

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
View user's profile Send private message
Ibn al-Hazardous
Tux's lil' helper
Tux's lil' helper


Joined: 02 Sep 2004
Posts: 133
Location: Somewhere deep in the desert.

PostPosted: Wed Dec 05, 2007 12:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
red-wolf76
l33t
l33t


Joined: 13 Apr 2005
Posts: 714
Location: Rhein-Main Area

PostPosted: Wed Dec 05, 2007 12:51 pm    Post subject: Reply with quote

No. Actually, I'm just nosy. 8)

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
View user's profile Send private message
mroconnor
Guru
Guru


Joined: 24 Feb 2006
Posts: 402
Location: USA

PostPosted: Wed Dec 05, 2007 12:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
red-wolf76
l33t
l33t


Joined: 13 Apr 2005
Posts: 714
Location: Rhein-Main Area

PostPosted: Wed Dec 05, 2007 12:56 pm    Post subject: Reply with quote

Yeah, I think it is quite normal.
Code:
emerge -pev system

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
View user's profile Send private message
mroconnor
Guru
Guru


Joined: 24 Feb 2006
Posts: 402
Location: USA

PostPosted: Wed Dec 05, 2007 12:57 pm    Post subject: Reply with quote

Well then I'll stop complaining. Thanks for everyone's input.

Cheers
-P
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Sun Feb 17, 2008 6:49 pm    Post subject: dep -k <package> no longer works Reply with quote

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
View user's profile Send private message
red-wolf76
l33t
l33t


Joined: 13 Apr 2005
Posts: 714
Location: Rhein-Main Area

PostPosted: Sun Feb 17, 2008 9:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Sun Feb 17, 2008 9:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
red-wolf76
l33t
l33t


Joined: 13 Apr 2005
Posts: 714
Location: Rhein-Main Area

PostPosted: Sun Feb 17, 2008 10:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Sun Feb 17, 2008 11:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
JustJoe
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2005
Posts: 80

PostPosted: Fri Apr 04, 2008 4:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
loftwyr
l33t
l33t


Joined: 29 Dec 2004
Posts: 970
Location: 43°38'23.62"N 79°27'8.60"W

PostPosted: Fri Apr 04, 2008 4:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
JustJoe
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2005
Posts: 80

PostPosted: Fri Apr 04, 2008 7:00 pm    Post subject: Reply with quote

I see. Ok, thanks for the heads up.
Back to top
View user's profile Send private message
kds66
Apprentice
Apprentice


Joined: 17 Oct 2006
Posts: 166
Location: Manaus, Brazil

PostPosted: Sat Apr 05, 2008 7:06 am    Post subject: Reply with quote

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
View user's profile Send private message
katafitos
n00b
n00b


Joined: 22 Nov 2006
Posts: 56
Location: Greece

PostPosted: Sat May 03, 2008 7:51 pm    Post subject: Reply with quote

I tried the
Code:
# dep --spring-clean


and dep wanted to get rid of many kde-3.5.9 packages 8O
I initially installed kde using kde-meta
Back to top
View user's profile Send private message
red-wolf76
l33t
l33t


Joined: 13 Apr 2005
Posts: 714
Location: Rhein-Main Area

PostPosted: Tue Jul 15, 2008 2:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Wed Oct 22, 2008 7:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
red-wolf76
l33t
l33t


Joined: 13 Apr 2005
Posts: 714
Location: Rhein-Main Area

PostPosted: Wed Oct 22, 2008 8:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
FuzzyRay
Retired Dev
Retired Dev


Joined: 02 Oct 2003
Posts: 79

PostPosted: Mon Dec 15, 2008 3:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
red-wolf76
l33t
l33t


Joined: 13 Apr 2005
Posts: 714
Location: Rhein-Main Area

PostPosted: Tue Dec 16, 2008 10:47 am    Post subject: upstream dead? Reply with quote

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
View user's profile Send private message
Xanadu
Guru
Guru


Joined: 10 Oct 2002
Posts: 335
Location: Hour West of Philly (USA)

PostPosted: Sat Jul 11, 2009 6:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
red-wolf76
l33t
l33t


Joined: 13 Apr 2005
Posts: 714
Location: Rhein-Main Area

PostPosted: Sat Jul 11, 2009 9:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3 ... , 27, 28, 29  Next
Page 28 of 29

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum