How understand which dependency need upgrade

mfaridi

Aspiring Daemon

Reaction score: 16
Messages: 713

for example after cvsup , I want install KDE42 , how I can understand which dependency of KDE42 is upgrade or need upgrade ?
and I must upgrade them before I want install KDE42
 
OP
mfaridi

mfaridi

Aspiring Daemon

Reaction score: 16
Messages: 713

But I want understand for install KDE4 or GNOME , which packages must upgrade
 

DutchDaemon

Administrator
Staff member
Administrator
Moderator
Developer

Reaction score: 2,954
Messages: 11,352

Really, portupgrade/portmaster/portmanager will figure out what to upgrade and in which order. This wheel has already been invented several times over. Something like 'portupgrade kde4' will take care of everything. It is useless to keep track of all the ports that kde4 depends on, and all the ports on which it depends. If you really want to get a feel for how pointless that is, try:

cd /usr/ports/x11/kde4
make pretty-print-run-depends-list
make pretty-print-build-depends-list

or

pkg_info -rR kde4_your_version
 

ale

Daemon

Reaction score: 166
Messages: 1,059

Try cd /usr/ports/x11/kde4 && make missing
But you should keep all your ports updated.
If you are lazy about that, you should better REMOVE the ones you do not need.
 

Djn

Well-Known Member

Reaction score: 67
Messages: 392

You can run portupgrade with the -n switch. Quoting the manpage:

Code:
     -n
     --noexecute            Do not actually install or upgrade any packages;
                            just show what would be done.  This option implies
                            -v and negates -i and -y.
I imagine portupgrade -Rn x11/kde4 should give you the information you want.
 
Top