[gentoo-user] emerge bash-completion

2015-05-06 Thread Behrouz Khosravi
hello everyone. I have a problem with bash-completion with emerge 
command for packages. when I press tab-tab it only shows world and 
system but I was working OK before, I mean It was able to show the list of 
packages. Is anything changed?



Re: [gentoo-user] emerge bash-completion

2015-05-06 Thread Dale
Behrouz Khosravi wrote:
 hello everyone. I have a problem with bash-completion with emerge 
 command for packages. when I press tab-tab it only shows world and 
 system but I was working OK before, I mean It was able to show the list of 
 packages. Is anything changed?




I get this here:

root@fireball / # emerge  tab-tab
Display all 162 possibilities? (y or n)
app-accessibility/  app-misc/   dev-lang/  
games-board/gnustep-base/   media-libs/
net-news/   sci-visualization/  www-apache/
app-admin/  app-mobilephone/dev-libs/  
games-emulation/gnustep-libs/   media-plugins/ 
net-nntp/   sec-policy/ www-apps/
app-antivirus/  app-office/ dev-lisp/  
games-engines/  gpe-base/   media-radio/   
net-p2p/sys-apps/   www-client/
app-arch/   app-officeext/  dev-lua/   
games-fps/  gpe-utils/  media-sound/   
net-print/  sys-auth/   www-misc/
app-backup/ app-pda/dev-ml/
games-kids/ java-virtuals/  media-tv/  
net-proxy/  sys-block/  www-plugins/
app-benchmarks/ app-portage/dev-perl/  
games-misc/ kde-base/   media-video/   
net-voip/   sys-boot/   www-servers/
app-cdr/app-shells/ dev-php/   
games-mud/  kde-frameworks/ net-analyzer/  
net-wireless/   sys-cluster/x11-apps/
app-crypt/  app-text/   dev-python/
games-puzzle/   kde-misc/   net-dialup/
perl-core/  sys-devel/  x11-base/
app-dicts/  app-vim/dev-qt/
games-roguelike/kde-plasma/ net-dns/   
sci-astronomy/  sys-firmware/   x11-drivers/
app-doc/app-xemacs/ dev-ruby/  
games-rpg/  lxde-base/  net-firewall/  
sci-biology/sys-freebsd/x11-libs/
app-editors/dev-ada/dev-scheme/
games-server/   lxqt-base/  net-fs/
sci-calculators/sys-fs/ x11-misc/
app-emacs/  dev-cpp/dev-tcltk/ 
games-simulation/   mail-client/net-ftp/   
sci-chemistry/  sys-infiniband/ x11-plugins/
app-emulation/  dev-db/ dev-tex/   
games-sports/   mail-filter/net-im/
sci-electronics/sys-kernel/ x11-proto/
app-eselect/dev-dotnet/ dev-texlive/   
games-strategy/ mail-mta/   net-irc/   
sci-geosciences/sys-libs/   x11-terms/
app-forensics/  dev-embedded/   dev-util/  
games-util/ mate-base/  net-libs/  
sci-libs/   sys-power/  x11-themes/
app-i18n/   dev-games/  dev-vcs/   
gnome-base/ mate-extra/ net-mail/  
sci-mathematics/sys-process/x11-wm/
app-laptop/ dev-haskell/games-action/  
gnome-extra/media-fonts/net-misc/  
sci-misc/   system  xfce-base/
app-leechcraft/ dev-java/   games-arcade/  
gnustep-apps/   media-gfx/  net-nds/   
sci-physics/world   xfce-extra/
root@fireball / # equery list -p bash-completion
 * Searching for bash-completion ...
[-P-] [  ] app-shells/bash-completion-1.3-r2:0
[-P-] [  ] app-shells/bash-completion-2.1:0
[-P-] [  ] app-shells/bash-completion-2.1-r2:0
[-P-] [  ] app-shells/bash-completion-2.1-r91:0
[-P-] [  ] app-shells/bash-completion-2.1-r92:0
[-P-] [  ] app-shells/bash-completion-2.1-r93:0
[IP-] [  ] app-shells/bash-completion-2.1_p20141224:0
root@fireball / #

Hope that helps. 

Dale

:-)  :-)



Re: [gentoo-user] emerge bash-completion

2015-05-06 Thread Dale
Behrouz Khosravi wrote:
 On Wednesday, May 06, 2015 04:21:45 AM Dale wrote:

 root@fireball / # equery list -p bash-completion
  * Searching for bash-completion ...
 [-P-] [  ] app-shells/bash-completion-1.3-r2:0
 [-P-] [  ] app-shells/bash-completion-2.1:0
 [-P-] [  ] app-shells/bash-completion-2.1-r2:0
 [-P-] [  ] app-shells/bash-completion-2.1-r91:0
 [-P-] [  ] app-shells/bash-completion-2.1-r92:0
 [-P-] [  ] app-shells/bash-completion-2.1-r93:0
 [IP-] [  ] app-shells/bash-completion-2.1_p20141224:0
 root@fireball / #

 Hope that helps.

 Dale * Searching for bash-completion ...
 [-P-] [  ] app-shells/bash-completion-1.3-r2:0
 [-P-] [ ~] app-shells/bash-completion-2.1:0
 [IP-] [  ] app-shells/bash-completion-2.1-r2:0
 [-P-] [ ~] app-shells/bash-completion-2.1-r91:0
 [-P-] [ ~] app-shells/bash-completion-2.1-r92:0
 [-P-] [ ~] app-shells/bash-completion-2.1-r93:0
 [-P-] [ ~] app-shells/bash-completion-2.1_p20141224:0

 Sorry, but I can not understand what -P- and IP- means?

 This is my output:




The P means it is in the portage tree.  The I means that it is
installed.  Based on your info, you are using a older version of
bash-completion than I am. 

Dale

:-)  :-) 



Re: [gentoo-user] emerge bash-completion

2015-05-06 Thread Behrouz Khosravi
On Wednesday, May 06, 2015 04:21:45 AM Dale wrote:

 root@fireball / # equery list -p bash-completion
  * Searching for bash-completion ...
 [-P-] [  ] app-shells/bash-completion-1.3-r2:0
 [-P-] [  ] app-shells/bash-completion-2.1:0
 [-P-] [  ] app-shells/bash-completion-2.1-r2:0
 [-P-] [  ] app-shells/bash-completion-2.1-r91:0
 [-P-] [  ] app-shells/bash-completion-2.1-r92:0
 [-P-] [  ] app-shells/bash-completion-2.1-r93:0
 [IP-] [  ] app-shells/bash-completion-2.1_p20141224:0
 root@fireball / #
 
 Hope that helps.
 
 Dale * Searching for bash-completion ...
[-P-] [  ] app-shells/bash-completion-1.3-r2:0
[-P-] [ ~] app-shells/bash-completion-2.1:0
[IP-] [  ] app-shells/bash-completion-2.1-r2:0
[-P-] [ ~] app-shells/bash-completion-2.1-r91:0
[-P-] [ ~] app-shells/bash-completion-2.1-r92:0
[-P-] [ ~] app-shells/bash-completion-2.1-r93:0
[-P-] [ ~] app-shells/bash-completion-2.1_p20141224:0

Sorry, but I can not understand what -P- and IP- means?

 

This is my output:




Re: [gentoo-user] emerge bash-completion

2015-05-06 Thread Behrouz Khosravi
On Wednesday, May 06, 2015 04:37:55 AM Dale wrote:

  This is my output:
 The P means it is in the portage tree.  The I means that it is
 installed.  Based on your info, you are using a older version of
 bash-completion than I am.
 
 Dale
 
 :-)  :-)

Thanks, Are you on ~AMD64 ?
My version is the last in stable.
I added keyword, but It will install newer version of bash too. Is it stable ?



Re: [gentoo-user] emerge bash-completion [solved]

2015-05-06 Thread Behrouz Khosravi
On Wednesday, May 06, 2015 10:08:11 AM Dale wrote:

 
 Maybe that will fix it and you can stay stable.  Maybe.  ;-)
 
 Thank you. I installed that and saw the news too.
It is working again, but it seems I have a lot to rebuild!




Re: [gentoo-user] emerge bash-completion

2015-05-06 Thread Dale
Behrouz Khosravi wrote:
 On Wednesday, May 06, 2015 04:37:55 AM Dale wrote:

 This is my output:
 The P means it is in the portage tree.  The I means that it is
 installed.  Based on your info, you are using a older version of
 bash-completion than I am.

 Dale

 :-)  :-)
 Thanks, Are you on ~AMD64 ?
 My version is the last in stable.
 I added keyword, but It will install newer version of bash too. Is it stable ?




I'm using this version of bash, which I'm sure is the keyworded version.

app-shells/bash-4.3_p33-r2

I don't know of any issues so I guess it is OK but your system may be
different too. 

This was mentioned in another reply but I'm putting the info here for
you.  This is the news item for this which could be the problem. 

root@fireball / # eselect news read 19
2014-11-25-bash-completion-2_1-r90
  Title bash-completion-2.1-r90
  AuthorMichał Górny mgo...@gentoo.org
  Posted2014-11-25
  Revision  1

Starting with app-shells/bash-completion-2.1-r90, the framework used to
enable and manage completions in Gentoo is finally changing in order to
properly follow upstream design. This has some important implications
for our users.

Firstly, the install location for completions changes to follow upstream
default. The completions enabled before the upgrade will continue to
work but you may no longer be able to enable or disable completions
installed prior to the upgrade. To solve this issue, the packages
installing completions need to rebuilt. The following command can be
used to automatically rebuild all the relevant packages:

$ find /usr/share/bash-completion -maxdepth 1 -type f \
'!' -name 'bash_completion' -exec emerge -1v {} +

Secondly, the autoloading support introduced upstream removes the
penalties involved with enabling a great number of completions. This
allowed us to switch to an opt-out model where all completions installed
after the upgrade are enabled by default. Specific completions can be
disabled using 'eselect bashcomp disable ...'

The model change implies that all current selections done using 'eselect
bashcomp' can not be properly migrated and will be disregarded when
the relevant completion files are built against the new bash-completion
version. After rebuilding all the packages providing completion files,
you may want to remove the symlinks that were used to configure
the previous framework using the following command:

$ find /etc/bash_completion.d -type l -delete

Thirdly, we have solved the issue causing bash-completion support to be
enabled by default on login shells only. If you needed to explicitly
source 'bash_completion' script in bashrc, you can safely remove that
code now since system-wide bashrc takes care of loading it.

Lastly, we would like to explain that USE=bash-completion is being
removed from packages for the completions will be installed
unconditionally now. However, this will result in some implicit
dependencies being removed. Most specifically, users wishing to use
bash-completion will have to request app-shells/bash-completion
explicitly, e.g.:

$ emerge -n app-shells/bash-completion

root@fireball / #


Maybe that will fix it and you can stay stable.  Maybe.  ;-)

Dale

:-)  :-)