Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
stop ssh from pulled in
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
farmer.ro
Apprentice
Apprentice


Joined: 20 Aug 2016
Posts: 179

PostPosted: Tue Oct 18, 2016 2:39 pm    Post subject: stop ssh from pulled in Reply with quote

Question: how do i stop ssh from being pulled in after removing it?

Code:
echo '-net-misc/openssh' >> /etc/portage/profile/packages

Code:
echo '-*virtual/ssh' >> /etc/portage/profile/packages

Code:
package.mask # sudo emerge --ask --update --changed-use --deep @world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    #] net-misc/openssh-7.3_p1-r7  USE="X bindist hpn ldap pam pie ssl -X509 -debug -kerberos -ldns -libedit -libressl -livecd -sctp (-selinux) -skey -ssh1 -static {-test}"

The following mask changes are necessary to proceed:
 (see "package.unmask" in the portage(5) man page for more details)
# required by gnome-base/gvfs-1.28.3-r1::gentoo
# required by xfce-base/thunar-1.6.10-r1::gentoo[xfce_plugins_trash,dbus]
# required by xfce-base/xfdesktop-4.12.3::gentoo[thunar]
# required by xfce-base/xfce4-meta-4.12::gentoo
# required by @selected
# required by @world (argument)
# /etc/portage/package.mask/openssh:
=net-misc/openssh-7.3_p1-r7

NOTE: The --autounmask-keep-masks option will prevent emerge
      from creating package.unmask or ** keyword changes.

Would you like to add these changes to your config files? [Yes/No]
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 19049
Location: here

PostPosted: Tue Oct 18, 2016 2:43 pm    Post subject: Reply with quote

This it's not same question?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
farmer.ro
Apprentice
Apprentice


Joined: 20 Aug 2016
Posts: 179

PostPosted: Tue Oct 18, 2016 2:45 pm    Post subject: Reply with quote

yes but i did not manage to get it work so i thought i start a new topic.

emerge is still pulling in ssh after its removed, and i honestly do not want to use ssh, so i really would like to be able to remove it :(
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10007
Location: Somewhere over Atlanta, Georgia

PostPosted: Tue Oct 18, 2016 2:47 pm    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads. farmer.ro, please continue on the old thread.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
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