Solved Port xorgproto failed to install

gnath

Active Member

Reaction score: 30
Messages: 124

During updating of my 11.2-STABLE box, x11/xorgproto failed to update/install.
This was because the port failed to replace all installed '*proto' ports. I have to force delete all "*proto"
ports without deleting their dependent ports. After upgrade am I to reinstall those deleted ports?
Is there any problem for me or require some other step?

Regards,
 

rigoletto@

Daemon
Developer

Reaction score: 1,037
Messages: 2,094

I don't know what x11/xorgproto is or do but I've updated it today and a lot of dependencies gone ( they seem to not be needed anymore ).

You can run pkg check -a to find out if there is something missing, and then pkg autoremove to get rid of stuff that isn't needed anymore. Issuing pkg clean later would not harm either.

Btw, why don't you use something like ports-mgmt/synth to take care of your ports ( assuming you build from ports )? Make your life easier. :)
 

ShelLuser

Son of Beastie

Reaction score: 1,747
Messages: 3,565

Why even use ports at all in the first place if you're obviously having issues troubleshooting problems? Might be much easier on you to simply rely on the package repository. So: # pkg install xorgproto.

Do note though that it is bad practice to use both ports and packages together. Use either method, not both. So if you do decide to use packages then you'd better run # pkg upgrade -af which forcefully re-installs all software using the package repository.
 
OP
OP
G

gnath

Active Member

Reaction score: 30
Messages: 124

I only use port system for that desktop. For last port update I chose only mesa-dri,
mesa-lib & mesa-demo
which pulls xorgproto & failed due to glproto.
But glproto was not in port tree. Same is for all other *proto's. It seams that xorgproto replaces all other.

For my laptop, which use pkg system, updated 28 nos. packages including mesa-dri. But all other proto's are there but no trace of xorgproto. I tried to delete
xproto which ask for removal of 142 nos. pkg including dbus. pkg aut yeilds no result.
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 8,001
Messages: 31,432

Read /usr/ports/UPDATING:
Code:
 	20180731:
 	  AFFECTS: users of x11/xorg and all ports with USE_XORG=*proto
 	  AUTHOR: zeising@FreeBSD.org
 	
 	  The xorg *proto packages have all been merged into one package,
 	  x11/xorgproto.  This might cause issues with upgrading.  If you
 	  get conflicts between xorgproto and old *proto packages, please
 	  remove the old package and install xorgproto again.
 	
 	  In order to remove all orphaned ports, including all *proto port,
 	  the following can be used after the ports tree has been updated:
 	  pkg version -l \? | cut -f 1 -w | grep -v compat | xargs pkg delete -fy
 

Preetpal

Active Member

Reaction score: 27
Messages: 117

Read /usr/ports/UPDATING:
Code:
     20180731:
       AFFECTS: users of x11/xorg and all ports with USE_XORG=*proto
       AUTHOR: zeising@FreeBSD.org
    
       The xorg *proto packages have all been merged into one package,
       x11/xorgproto.  This might cause issues with upgrading.  If you
       get conflicts between xorgproto and old *proto packages, please
       remove the old package and install xorgproto again.
    
       In order to remove all orphaned ports, including all *proto port,
       the following can be used after the ports tree has been updated:
       pkg version -l \? | cut -f 1 -w | grep -v compat | xargs pkg delete -fy
You really saved me a lot time, thank you.
 
Top