View previous topic :: View next topic |
Author |
Message |
Jesse Tux's lil' helper
Joined: 24 Apr 2002 Posts: 148
|
Posted: Thu Jul 04, 2002 10:29 pm Post subject: bash-completion ?? |
|
|
After just emerging bash-completion and following the instructions at the very end to add the line to my .bashrc file, it's a no go
Upon closer inspection of what got installed, the /etc/profile.d/bash-completion file referes to a file called /etc/bash_completion which doesnt exist at all. There is however a /etc/bash_completion.d/ directory which has some custom completions for portage. This file is not refered to from anywhere....
Is this package working !??! Oddly enough a search for bash AND completion on these forums yields 0 results ?? |
|
Back to top |
|
|
jmarshall n00b
Joined: 04 Jul 2002 Posts: 10
|
Posted: Thu Jul 04, 2002 10:43 pm Post subject: |
|
|
I have bash-completion (version 20020624) installed and working fine. I do have a file in /etc called bash_completion. I also have a directory in /etc called bash_completion.d/, which contains the Gentoo-specific completions you mentioned. The files in the bash_completion.d/ directory are sourced by the file /etc/bash_completion.
I would try unmerging, and then merging again, bash-completion. |
|
Back to top |
|
|
Jesse Tux's lil' helper
Joined: 24 Apr 2002 Posts: 148
|
Posted: Thu Jul 04, 2002 11:02 pm Post subject: |
|
|
uh oh ...
after doing an emerge --clean rsync; emerge bash-completion ...
Code: |
>>> Source unpacked.
>>> Install bash-completion-20020624 into /var/tmp/portage/bash-completion-20020624/image/ category app-shells
install: cannot stat `bash_completion': No such file or directory
install: cannot stat `contrib/dict': No such file or directory
install: cannot stat `contrib/harbour': No such file or directory
install: cannot stat `contrib/isql': No such file or directory
install: cannot stat `contrib/larch': No such file or directory
install: cannot stat `contrib/lilypond': No such file or directory
install: cannot stat `contrib/p4': No such file or directory
install: cannot stat `contrib/ri': No such file or directory
/usr/lib/portage/bin/dodoc: COPYING does not exist.
/usr/lib/portage/bin/dodoc: Changelog does not exist.
/usr/lib/portage/bin/dodoc: README does not exist.
|
these files DO exist in the downloaded file though so i think the ebuild is messed ??? this is with portage 2.0.9 |
|
Back to top |
|
|
AutoBot l33t
Joined: 22 Apr 2002 Posts: 968 Location: Usually Out
|
Posted: Thu Jul 04, 2002 11:54 pm Post subject: Re: bash-completion ?? |
|
|
Jesse wrote: | After just emerging bash-completion and following the instructions at the very end to add the line to my .bashrc file, it's a no go
Upon closer inspection of what got installed, the /etc/profile.d/bash-completion file referes to a file called /etc/bash_completion which doesnt exist at all. There is however a /etc/bash_completion.d/ directory which has some custom completions for portage. This file is not refered to from anywhere....
Is this package working !??! Oddly enough a search for bash AND completion on these forums yields 0 results ?? |
Did you remember to put the following in your ~/.bashrc:
Code: |
[ -f /etc/profile.d/bash-completion ] && source /etc/profile.d/bash-completion
|
_________________ This message self destructed a long time ago. |
|
Back to top |
|
|
Jesse Tux's lil' helper
Joined: 24 Apr 2002 Posts: 148
|
Posted: Fri Jul 05, 2002 12:52 am Post subject: |
|
|
and i quot from my original post:
Quote: |
... and following the instructions at the very end to add the line to my .bashrc file
|
The problem is that the ebuild trys to install some files (which DO exist in the downloaded file and DO get unpacked into the /var/tmp/portage working direcoty) that it for some reason cant.
Just did another emerge --clean rsync and it seemed to pull in another ebuild for bash-completion but with the same results ...
Any suggestions? |
|
Back to top |
|
|
jmarshall n00b
Joined: 04 Jul 2002 Posts: 10
|
Posted: Fri Jul 05, 2002 12:57 am Post subject: |
|
|
Did you already try to "rm -rf /usr/portage/distfiles/bash-completion* /var/tmp/portage/bash-completion*" to force it to re-download and unpack the bash-completion archive again? |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Fri Jul 05, 2002 1:03 am Post subject: |
|
|
Removing the bash-completion tarball won't do anything, because Portage will refuse to unpack if the download was corrupted in any way. The /var/tmp/portage/ directory, on the other hand, might have something to do with it. _________________ I don't believe in witty sigs. |
|
Back to top |
|
|
Jesse Tux's lil' helper
Joined: 24 Apr 2002 Posts: 148
|
Posted: Fri Jul 05, 2002 1:05 am Post subject: |
|
|
eh... just tied. Did another emerge --clean rsync which correctly pulled in the files that were removed by me but still the same results ... I tried playing with the directories within the ebuild but still cannot get it to find those files. Im just not familiar enough with the ebuild system to look any further than that .... |
|
Back to top |
|
|
cyc Tux's lil' helper
Joined: 28 Jun 2002 Posts: 89
|
Posted: Fri Jul 05, 2002 5:35 am Post subject: |
|
|
why not to submit a bug to the developers? _________________ http://www.gentoo-de.org
Gentoo userpage |
|
Back to top |
|
|
Jesse Tux's lil' helper
Joined: 24 Apr 2002 Posts: 148
|
|
Back to top |
|
|
|