wish is missing
I need the 'wish' shell interpreter how do I install it? It was in my UBUNTU Desktop bin folder but it is not in the new UBUNTU on my laptop.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- mycae
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
sudo aptitude install apt-cache
sudo apt-cache update
apt-cache find wish
its in the tk package.
Revision history for this message
|
#2 |
oh, its also called "wish-default", so either
1) modify the script that is calling wish
or
2) create a symlink in your /usr/local/bin folder called "wish" with
sudo ln -s `which wish-default` /usr/local/bin/wish
Revision history for this message
|
#3 |
This is what happened.
ubuntu:~> sudo aptitude install apt-cache
sudo: aptitude: command not found
ubuntu:~> sudo apt-cache update
E: Invalid operation update
ubuntu:~> apt-cache find wish
E: Invalid operation find
ubuntu:~>
On Fri, Feb 25, 2011 at 2:04 PM, mycae <<email address hidden>
> wrote:
> Your question #146900 on Ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> mycae proposed the following answer:
> sudo aptitude install apt-cache
> sudo apt-cache update
> apt-cache find wish
>
> its in the tk package.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you are a direct
> subscriber of the question.
>
--
Harry John Gatley, Chem.E., P.E., P.Eng.
President
UtechMech Company
website http://
(801) 272-2411
Revision history for this message
|
#4 |
That didn't work ...OH I am in tcsh I need to switch to bash!
ubuntu:~> sudo ln -s `which wish-default` /usr/local/bin/wish
ln: target `/usr/local/
ubuntu:~>
ubuntu:~>
On Fri, Feb 25, 2011 at 2:07 PM, mycae <<email address hidden>
> wrote:
> Your question #146900 on Ubuntu changed:
> https:/
>
> mycae proposed the following answer:
> oh, its also called "wish-default", so either
> 1) modify the script that is calling wish
>
> or
>
> 2) create a symlink in your /usr/local/bin folder called "wish" with
>
> sudo ln -s `which wish-default` /usr/local/bin/wish
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you are a direct
> subscriber of the question.
>
--
Harry John Gatley, Chem.E., P.E., P.Eng.
President
UtechMech Company
website http://
(801) 272-2411
Revision history for this message
|
#5 |
Nope, didn't work in bash either.
harrygatley@
sudo: aptitude: command not found
harrygatley@
E: Invalid operation update
harrygatley@
On Fri, Feb 25, 2011 at 2:12 PM, Harry Gatley <email address hidden> wrote:
> That didn't work ...OH I am in tcsh I need to switch to bash!
>
> ubuntu:~> sudo ln -s `which wish-default` /usr/local/bin/wish
> ln: target `/usr/local/
> ubuntu:~>
> ubuntu:~>
>
>
> On Fri, Feb 25, 2011 at 2:07 PM, mycae <
> <email address hidden>> wrote:
>
>> Your question #146900 on Ubuntu changed:
>> https:/
>>
>> mycae proposed the following answer:
>> oh, its also called "wish-default", so either
>> 1) modify the script that is calling wish
>>
>> or
>>
>> 2) create a symlink in your /usr/local/bin folder called "wish" with
>>
>> sudo ln -s `which wish-default` /usr/local/bin/wish
>>
>> --
>> If this answers your question, please go to the following page to let us
>> know that it is solved:
>> https:/
>>
>> If you still need help, you can reply to this email or go to the
>> following page to enter your feedback:
>> https:/
>>
>> You received this question notification because you are a direct
>> subscriber of the question.
>>
>
>
>
> --
>
> Harry John Gatley, Chem.E., P.E., P.Eng.
> President
> UtechMech Company
>
> website http://
>
> (801) 272-2411
>
>
>
--
Harry John Gatley, Chem.E., P.E., P.Eng.
President
UtechMech Company
website http://
(801) 272-2411
Revision history for this message
|
#6 |
ack, you don't have aptitude installed.
just install the tk package.
Revision history for this message
|
#7 |
How?
On Fri, Feb 25, 2011 at 2:16 PM, mycae <<email address hidden>
> wrote:
> Your question #146900 on Ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> mycae proposed the following answer:
> ack, you don't have aptitude installed.
>
> just install the tk package.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you are a direct
> subscriber of the question.
>
--
Harry John Gatley, Chem.E., P.E., P.Eng.
President
UtechMech Company
website http://
(801) 272-2411
Revision history for this message
|
#8 |
I can't install aptitude
ubuntu:~> sudo aptitude install
[sudo] password for harrygatley:
sudo: aptitude: command not found
ubuntu:~> bash
harrygatley@
sudo: aptitude: command not found
harrygatley@
root@ubuntu:
sudo: aptitude: command not found
root@ubuntu:
sudo: aptitude: command not found
root@ubuntu:
On Fri, Feb 25, 2011 at 2:33 PM, Harry Gatley <
<email address hidden>> wrote:
> Your question #146900 on Ubuntu changed:
> https:/
>
> Status: Answered => Open
>
> You are still having a problem:
> How?
>
> On Fri, Feb 25, 2011 at 2:16 PM, mycae <
> <email address hidden>
> > wrote:
>
> > Your question #146900 on Ubuntu changed:
> > https:/
> >
> > Status: Open => Answered
> >
> > mycae proposed the following answer:
> > ack, you don't have aptitude installed.
> >
> > just install the tk package.
> >
> > --
> > If this answers your question, please go to the following page to let us
> > know that it is solved:
> >
> https:/
> >
> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> > https:/
> >
> > You received this question notification because you are a direct
> > subscriber of the question.
> >
>
>
> --
>
> Harry John Gatley, Chem.E., P.E., P.Eng.
> President
> UtechMech Company
>
> website http://
>
> (801) 272-2411
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>
--
Harry John Gatley, Chem.E., P.E., P.Eng.
President
UtechMech Company
website http://
(801) 272-2411
Revision history for this message
|
#9 |
the same way you install every package -- from either synaptic, the command line or through the software manager (aka software centre). Its all the same.
If you want to go the command line route, you can use apt-get (sorry about before -- I keep forgetting that some ubuntu's don't have aptitude installed by default).
sudo apt-get install tk
Revision history for this message
|
#11 |
Nope that didn't work either.
root@ubuntu:
sudo: aptitude: command not found
root@ubuntu:
On Fri, Feb 25, 2011 at 2:43 PM, delance <
<email address hidden>> wrote:
> Your question #146900 on Ubuntu changed:
> https:/
>
> delance proposed the following answer:
> sudo aptitude install tk
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you are a direct
> subscriber of the question.
>
--
Harry John Gatley, Chem.E., P.E., P.Eng.
President
UtechMech Company
website http://
(801) 272-2411
Revision history for this message
|
#12 |
Nope no luck yet. What do i do now?
root@ubuntu:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily
unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another
process using it?
root@ubuntu:
On Fri, Feb 25, 2011 at 2:42 PM, mycae <<email address hidden>
> wrote:
> Your question #146900 on Ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> mycae proposed the following answer:
> the same way you install every package -- from either synaptic, the
> command line or through the software manager (aka software centre). Its
> all the same.
>
> If you want to go the command line route, you can use apt-get (sorry
> about before -- I keep forgetting that some ubuntu's don't have aptitude
> installed by default).
>
> sudo apt-get install tk
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you are a direct
> subscriber of the question.
>
--
Harry John Gatley, Chem.E., P.E., P.Eng.
President
UtechMech Company
website http://
(801) 272-2411
Revision history for this message
|
#13 |
Seems like a package manager (for example automatic installation of updates) is currently running. If not try a
sudo rm /var/lib/dpkg/lock; sudo apt-get update;sudo apt-get dist-upgrade;sudo apt-get install tk
Revision history for this message
|
#14 |
Okay the problem was the Java Runtime installer was incomplete. I now have
the Configuring sun-java6-bin window open and I closed it prematurely last
time I suppose I have to wait for it to finish.
On Fri, Feb 25, 2011 at 2:48 PM, Harry Gatley <
<email address hidden>> wrote:
> Your question #146900 on Ubuntu changed:
> https:/
>
> You gave more information on the question:
> Nope no luck yet. What do i do now?
>
> root@ubuntu:
> E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily
> unavailable)
> E: Unable to lock the administration directory (/var/lib/dpkg/), is another
> process using it?
> root@ubuntu:
>
> On Fri, Feb 25, 2011 at 2:42 PM, mycae <
> <email address hidden>
> > wrote:
>
> > Your question #146900 on Ubuntu changed:
> > https:/
> >
> > Status: Open => Answered
> >
> > mycae proposed the following answer:
> > the same way you install every package -- from either synaptic, the
> > command line or through the software manager (aka software centre). Its
> > all the same.
> >
> > If you want to go the command line route, you can use apt-get (sorry
> > about before -- I keep forgetting that some ubuntu's don't have aptitude
> > installed by default).
> >
> > sudo apt-get install tk
> >
> > --
> > If this answers your question, please go to the following page to let us
> > know that it is solved:
> >
> https:/
> >
> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> > https:/
> >
> > You received this question notification because you are a direct
> > subscriber of the question.
> >
>
>
> --
>
> Harry John Gatley, Chem.E., P.E., P.Eng.
> President
> UtechMech Company
>
> website http://
>
> (801) 272-2411
>
> You received this question notification because you are a direct
> subscriber of the question.
>
--
Harry John Gatley, Chem.E., P.E., P.Eng.
President
UtechMech Company
website http://
(801) 272-2411
Revision history for this message
|
#15 |
Close but not quite. It must be the Java Runtime Installation causing all
this trouble.
harrygatley@
apt-get dist-
Hit http://
Ign http://
Hit http://
Ign http://
Ign http://
Translation-en_US
Hit http://
Ign http://
Ign http://
Ign http://
Hit http://
Ign http://
Translation-en
Ign http://
Translation-en_US
Ign http://
Translation-en
Ign http://
Translation-en_US
Ign http://
Translation-en
Ign http://
Translation-en_US
Hit http://
Ign http://
Ign http://
Translation-en_US
Ign http://
Ign http://
Translation-en_US
Ign http://
Ign http://
Get:1 http://
Ign http://
Translation-en
Ign http://
Translation-en_US
Ign http://
Translation-en
Ign http://
Translation-en_US
Ign http://
Translation-en
Ign http://
Translation-en_US
Ign http://
Translation-en
Hit http://
Hit http://
Ign http://
Translation-en_US
Hit http://
Get:2 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:3 http://
Get:4 http://
[778B]
Get:5 http://
[33.7kB]
Get:6 http://
[1,498B]
Get:7 http://
[239kB]
Get:8 http://
Packages [1,802B]
Get:9 http://
[103kB]
Get:10 http://
Packages [2,703B]
Fetched 502kB in 2s (172kB/s)
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to
correct the problem.
E: Invalid operation dist-
harrygatley@
On Fri, Feb 25, 2011 at 2:57 PM, PeterPall <
<email address hidden>> wrote:
> Your question #146900 on Ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> PeterPall proposed the following answer:
> Seems like a package manager (for example automatic installation of
> updates) is currently running. If not try a
>
> sudo rm /var/lib/dpkg/lock; sudo apt-get update;sudo apt-get dist-
> upgrade;sudo apt-get install tk
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you are a direct
> subscriber of the question.
>
--
Harry John Gatley, Chem.E., P.E., P.Eng.
President
UtechMech Company
website http://
(801) 272-2411
Revision history for this message
|
#16 |
harrygatley@
Processing triggers for man-db ...
debconf: DbDriver "config": /var/cache/
another process: Resource temporarily unavailable
dpkg: error processing man-db (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up odbcinst (2.2.14p2-1ubuntu1) ...
Setting up odbcinst1debian2 (2.2.14p2-1ubuntu1) ...
Setting up unixodbc (2.2.14p2-1ubuntu1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
man-db
harrygatley@
On Fri, Feb 25, 2011 at 3:04 PM, Harry Gatley <email address hidden> wrote:
> Close but not quite. It must be the Java Runtime Installation causing all
> this trouble.
>
> harrygatley@
> apt-get dist-
> Hit http://
> Ign http://
> Hit http://
> Ign http://
> Translation-en
> Ign http://
> Translation-en_US
> Hit http://
> Ign http://
> Ign http://
> Ign http://
> Translation-en_US
> Hit http://
> Ign http://
> Translation-en
> Ign http://
> Translation-en_US
> Ign http://
> Translation-en
> Ign http://
> Translation-en_US
> Ign http://
> Translation-en
> Ign http://
> Translation-en_US
> Hit http://
> Ign http://
> Translation-en
> Ign http://
> Translation-en_US
> Ign http://
> Translation-en
> Ign http://
> Translation-en_US
> Ign http://
> Ign http://
> Translation-en_US
> Get:1 http://
> Ign http://
> Translation-en
> Ign http://
> Translation-en_US
> Ign http://
> Translation-en
> Ign http://
> Translation-en_US
> Ign http://
> Translation-en
> Ign http://
> Translation-en_US
> Ign http://
> Translation-en
> Hit http://
> Hit http://
> Ign http://
> Translation-en_US
> Hit http://
> Get:2 http://
> Hit http://
>
> Hit http://
> Hit http://
> Hit http://
> Hit http://
> Hit http://
> Hit http://
> Hit http://
> Hit http://
> Hit http://
> Hit http://
> Hit http://
> Hit http://
> Hit http://
> Hit http://
> Get:3 http://
> Get:4 http://
> [778B]
> Get:5 http://
> [33.7kB]
> Get:6 http://
> [1,498B]
> Get:7 http://
> [239kB]
> Get:8 http://
> Packages [1,802B]
> Get:9 http://
> Packages [103kB]
> Get:10 http://
> Packages [2,703B]
> Fetched 502kB in 2s (172kB/s)
> E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a'
> to correct the problem.
> E: Invalid operation dist-
> harrygatley@
>
>
>
> On Fri, Feb 25, 2011 at 2:57 PM, PeterPall <
> <email address hidden>> wrote:
>
>> Your question #146900 on Ubuntu changed:
>> https:/
>>
>> Status: Open => Answered
>>
>> PeterPall proposed the following answer:
>> Seems like a package manager (for example automatic installation of
>> updates) is currently running. If not try a
>>
>> sudo rm /var/lib/dpkg/lock; sudo apt-get update;sudo apt-get dist-
>> upgrade;sudo apt-get install tk
>>
>> --
>> If this answers your question, please go to the following page to let us
>> know that it is solved:
>>
>> https:/
>>
>> If you still need help, you can reply to this email or go to the
>> following page to enter your feedback:
>> https:/
>>
>> You received this question notification because you are a direct
>> subscriber of the question.
>>
>
>
>
> --
>
> Harry John Gatley, Chem.E., P.E., P.Eng.
> President
> UtechMech Company
>
> website http://
>
> (801) 272-2411
>
>
>
--
Harry John Gatley, Chem.E., P.E., P.Eng.
President
UtechMech Company
website http://
(801) 272-2411
Revision history for this message
|
#17 |
Oh I hit esc and saw it's still unpacking stuff.
On Fri, Feb 25, 2011 at 3:05 PM, Harry Gatley <email address hidden> wrote:
> harrygatley@
> Processing triggers for man-db ...
> debconf: DbDriver "config": /var/cache/
> another process: Resource temporarily unavailable
> dpkg: error processing man-db (--configure):
> subprocess installed post-installation script returned error exit status 1
> Setting up odbcinst (2.2.14p2-1ubuntu1) ...
> Setting up odbcinst1debian2 (2.2.14p2-1ubuntu1) ...
> Setting up unixodbc (2.2.14p2-1ubuntu1) ...
> Processing triggers for libc-bin ...
> ldconfig deferred processing now taking place
> Errors were encountered while processing:
> man-db
> harrygatley@
>
>
> On Fri, Feb 25, 2011 at 3:04 PM, Harry Gatley <email address hidden>wrote:
>
>> Close but not quite. It must be the Java Runtime Installation causing all
>> this trouble.
>>
>> harrygatley@
>> update;sudo apt-get dist-
>> Hit http://
>> Ign http://
>> Hit http://
>> Ign http://
>> Translation-en
>> Ign http://
>> Translation-en_US
>> Hit http://
>> Ign http://
>> Ign http://
>> Ign http://
>> Translation-en_US
>> Hit http://
>> Ign http://
>> Translation-en
>> Ign http://
>> Translation-en_US
>> Ign http://
>> Translation-en
>> Ign http://
>> Translation-en_US
>> Ign http://
>> Translation-en
>> Ign http://
>> Translation-en_US
>> Hit http://
>> Ign http://
>> Translation-en
>> Ign http://
>> Translation-en_US
>> Ign http://
>> Translation-en
>> Ign http://
>> Translation-en_US
>> Ign http://
>> Ign http://
>> Translation-en_US
>> Get:1 http://
>> Ign http://
>> Translation-en
>> Ign http://
>> Translation-en_US
>> Ign http://
>> Translation-en
>> Ign http://
>> Translation-en_US
>> Ign http://
>> Translation-en
>> Ign http://
>> Translation-en_US
>> Ign http://
>> Translation-en
>> Hit http://
>> Hit http://
>> Ign http://
>> Translation-en_US
>> Hit http://
>> Get:2 http://
>> Hit http://
>> Sources
>> Hit http://
>> Hit http://
>> Hit http://
>> Hit http://
>> Packages
>> Hit http://
>> Hit http://
>> Packages
>> Hit http://
>> Hit http://
>> Hit http://
>> Hit http://
>> Hit http://
>> Hit http://
>> Hit http://
>> Hit http://
>> Get:3 http://
>> Get:4 http://
>> [778B]
>> Get:5 http://
>> [33.7kB]
>> Get:6 http://
>> [1,498B]
>> Get:7 http://
>> [239kB]
>> Get:8 http://
>> Packages [1,802B]
>> Get:9 http://
>> Packages [103kB]
>> Get:10 http://
>> Packages [2,703B]
>> Fetched 502kB in 2s (172kB/s)
>> E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a'
>> to correct the problem.
>> E: Invalid operation dist-
>> harrygatley@
>>
>>
>>
>> On Fri, Feb 25, 2011 at 2:57 PM, PeterPall <
>> <email address hidden>> wrote:
>>
>>> Your question #146900 on Ubuntu changed:
>>> https:/
>>>
>>> Status: Open => Answered
>>>
>>> PeterPall proposed the following answer:
>>> Seems like a package manager (for example automatic installation of
>>> updates) is currently running. If not try a
>>>
>>> sudo rm /var/lib/dpkg/lock; sudo apt-get update;sudo apt-get dist-
>>> upgrade;sudo apt-get install tk
>>>
>>> --
>>> If this answers your question, please go to the following page to let us
>>> know that it is solved:
>>>
>>> https:/
>>>
>>> If you still need help, you can reply to this email or go to the
>>> following page to enter your feedback:
>>> https:/
>>>
>>> You received this question notification because you are a direct
>>> subscriber of the question.
>>>
>>
>>
>>
>> --
>>
>> Harry John Gatley, Chem.E., P.E., P.Eng.
>> President
>> UtechMech Company
>>
>> website http://
>>
>> <%28801%
>>
>>
>>
>
>
> --
>
> Harry John Gatley, Chem.E., P.E., P.Eng.
> President
> UtechMech Company
>
> website http://
>
> (801) 272-2411
>
>
>
--
Harry John Gatley, Chem.E., P.E., P.Eng.
President
UtechMech Company
website http://
(801) 272-2411
Revision history for this message
|
#18 |
exec: 3: /usr/local/
Still not working. I have tried and been unable to get wish installed.
On Fri, Feb 25, 2011 at 3:09 PM, Harry Gatley <
<email address hidden>> wrote:
> Your question #146900 on Ubuntu changed:
> https:/
>
> You gave more information on the question:
> Oh I hit esc and saw it's still unpacking stuff.
>
> On Fri, Feb 25, 2011 at 3:05 PM, Harry Gatley <email address hidden>
> wrote:
>
> > harrygatley@
> > Processing triggers for man-db ...
> > debconf: DbDriver "config": /var/cache/
> > another process: Resource temporarily unavailable
> > dpkg: error processing man-db (--configure):
> > subprocess installed post-installation script returned error exit status
> 1
> > Setting up odbcinst (2.2.14p2-1ubuntu1) ...
> > Setting up odbcinst1debian2 (2.2.14p2-1ubuntu1) ...
> > Setting up unixodbc (2.2.14p2-1ubuntu1) ...
> > Processing triggers for libc-bin ...
> > ldconfig deferred processing now taking place
> > Errors were encountered while processing:
> > man-db
> > harrygatley@
> >
> >
> > On Fri, Feb 25, 2011 at 3:04 PM, Harry Gatley <<email address hidden>
> >wrote:
> >
> >> Close but not quite. It must be the Java Runtime Installation causing
> all
> >> this trouble.
> >>
> >> harrygatley@
> >> update;sudo apt-get dist-
> >> Hit http://
> >> Ign http://
> Translation-en
> >> Hit http://
> >> Ign http://
> >> Translation-en
> >> Ign http://
> >> Translation-en_US
> >> Hit http://
> >> Ign http://
> >> Ign http://
> Translation-en_US
> >> Ign http://
> >> Translation-en_US
> >> Hit http://
> >> Ign http://
> >> Translation-en
> >> Ign http://
> >> Translation-en_US
> >> Ign http://
> >> Translation-en
> >> Ign http://
> >> Translation-en_US
> >> Ign http://
> >> Translation-en
> >> Ign http://
> >> Translation-en_US
> >> Hit http://
> >> Ign http://
> >> Translation-en
> >> Ign http://
> >> Translation-en_US
> >> Ign http://
> >> Translation-en
> >> Ign http://
> >> Translation-en_US
> >> Ign http://
> Translation-en
> >> Ign http://
> >> Translation-en_US
> >> Get:1 http://
> >> Ign http://
> >> Translation-en
> >> Ign http://
> >> Translation-en_US
> >> Ign http://
> >> Translation-en
> >> Ign http://
> >> Translation-en_US
> >> Ign http://
> >> Translation-en
> >> Ign http://
> >> Translation-en_US
> >> Ign http://
> >> Translation-en
> >> Hit http://
> >> Hit http://
> >> Ign http://
> >> Translation-en_US
> >> Hit http://
> >> Get:2 http://
> >> Hit http://
> >> Sources
> >> Hit http://
> >> Hit http://
> >> Hit http://
> >> Hit http://
> >> Packages
> >> Hit http://
> Packages
> >> Hit http://
> >> Packages
> >> Hit http://
> >> Hit http://
> >> Hit http://
> >> Hit http://
> >> Hit http://
> >> Hit http://
> >> Hit http://
> >> Hit http://
> >> Get:3 http://
> [88.9kB]
> >> Get:4 http://
> >> [778B]
> >> Get:5 http://
> >> [33.7kB]
> >> Get:6 http://
> >> [1,498B]
> >> Get:7 http://
> >> [239kB]
> >> Get:8 http://
> >> Packages [1,802B]
> >> Get:9 http://
> >> Packages [103kB]
> >> Get:10 http://
> >> Packages [2,703B]
> >> Fetched 502kB in 2s (172kB/s)
> >> E: dpkg was interrupted, you must manually run 'sudo dpkg --configure
> -a'
> >> to correct the problem.
> >> E: Invalid operation dist-
> >> harrygatley@
> >>
> >>
> >>
> >> On Fri, Feb 25, 2011 at 2:57 PM, PeterPall <
> >> <email address hidden>> wrote:
> >>
> >>> Your question #146900 on Ubuntu changed:
> >>> https:/
> >>>
> >>> Status: Open => Answered
> >>>
> >>> PeterPall proposed the following answer:
> >>> Seems like a package manager (for example automatic installation of
> >>> updates) is currently running. If not try a
> >>>
> >>> sudo rm /var/lib/dpkg/lock; sudo apt-get update;sudo apt-get dist-
> >>> upgrade;sudo apt-get install tk
> >>>
> >>> --
> >>> If this answers your question, please go to the following page to let
> us
> >>> know that it is solved:
> >>>
> >>>
> https:/
> >>>
> >>> If you still need help, you can reply to this email or go to the
> >>> following page to enter your feedback:
> >>> https:/
> >>>
> >>> You received this question notification because you are a direct
> >>> subscriber of the question.
> >>>
> >>
> >>
> >>
> >> --
> >>
> >> Harry John Gatley, Chem.E., P.E., P.Eng.
> >> President
> >> UtechMech Company
> >>
> >> website http://
> >>
> >> <%28801%
> >>
> >>
> >>
> >
> >
> > --
> >
> > Harry John Gatley, Chem.E., P.E., P.Eng.
> > President
> > UtechMech Company
> >
> > website http://
> >
> > (801) 272-2411
> >
> >
> >
>
>
> --
>
> Harry John Gatley, Chem.E., P.E., P.Eng.
> President
> UtechMech Company
>
> website http://
>
> (801) 272-2411
>
> You received this question notification because you are a direct
> subscriber of the question.
>
--
Harry John Gatley, Chem.E., P.E., P.Eng.
President
UtechMech Company
website http://
(801) 272-2411
Revision history for this message
|
#19 |
The script is not loking for "wish" in your PATH environment variable , as it should. It's looking for a specific location -- goodness knows why; that's just asking for breakage.
try
sudo ln -s `which wish-default` /usr/local/bin/wish
(PS, can you erase old replies in your messages -- this thread is getting very long).
Revision history for this message
|
#20 |
I gave it the entire path. It still cannot find it.
On Sun, Feb 27, 2011 at 2:41 PM, mycae <<email address hidden>
> wrote:
> Your question #146900 on tcltk-defaults in ubuntu changed:
>
> https:/
>
> Status: Open => Answered
>
> mycae proposed the following answer:
> The script is not loking for "wish" in your PATH environment variable ,
> as it should. It's looking for a specific location -- goodness knows
> why; that's just asking for breakage.
>
> try
>
> sudo ln -s `which wish-default` /usr/local/bin/wish
>
> (PS, can you erase old replies in your messages -- this thread is
> getting very long).
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
>
> https:/
>
> You received this question notification because you are a direct
> subscriber of the question.
>
--
Harry John Gatley, Chem.E., P.E., P.Eng.
President
UtechMech Company
website http://
(801) 272-2411
Revision history for this message
|
#21 |
Please run the following eight commands. You should paste in and run each command separately. Then please post the text from the Terminal (starting with the line where you pasted in the first command) here.
history | grep wish-default | tail
which -a wish wish-default
ls -ld /usr/local/bin /usr/bin
ls -l /usr/local/bin/wish /usr/bin/wish /usr/bin/
file /usr/local/bin/wish /usr/bin/wish /usr/bin/
apt-cache policy tk
echo $SHELL
help | head -n 1
Running those commands will *not* solve your problem, but when you provide the text from the Terminal, that should give useful diagnostic information for figuring out why following mycae's instructions didn't produce the desired effect.
Revision history for this message
|
#22 |
Many thanks, here are the results:
ubuntu:~> bash
harrygatley@
93 ubuntu:~> sudo ln -s `which wish-default` /usr/local/bin/wish
125 sudo ln -s `which wish-default` /usr/local/bin/wish
140 sudo ln -s `which wish-default` /usr/local/bin/wish
144 sudo ln -s `which wish-default` /usr/local/bin/wish
179 history | grep wish-default | tail
harrygatley@
harrygatley@
drwxr-xr-x 2 root root 36864 2011-02-26 12:26 /usr/bin
drwxr-xr-x 2 root root 4096 2010-10-07 09:56 /usr/local/bin
harrygatley@
/usr/bin/
ls: cannot access /usr/local/
ls: cannot access /usr/bin/
lrwxrwxrwx 1 root root 19 2011-02-25 15:45 /usr/bin/wish ->
/usr/local/bin/wish
harrygatley@
/usr/bin/
/usr/local/
file or directory)
/usr/bin/wish: broken symbolic link to `/usr/local/
/usr/bin/
file or directory)
harrygatley@
tk:
Installed: (none)
Candidate: 8.4.16-2
Version table:
8.4.16-2 0
500 http://
Packages
harrygatley@
/bin/tcsh
harrygatley@
GNU bash, version 4.1.5(1)-release (x86_64-
harrygatley@
On Mon, Feb 28, 2011 at 1:46 AM, Eliah Kagan <
<email address hidden>> wrote:
> Your question #146900 on tcltk-defaults in ubuntu changed:
>
> https:/
>
> Status: Open => Needs information
>
> Eliah Kagan requested for more information:
> Please run the following eight commands. You should paste in and run
> each command separately. Then please post the text from the Terminal
> (starting with the line where you pasted in the first command) here.
>
> history | grep wish-default | tail
> which -a wish wish-default
> ls -ld /usr/local/bin /usr/bin
> ls -l /usr/local/bin/wish /usr/bin/wish /usr/bin/
> file /usr/local/bin/wish /usr/bin/wish /usr/bin/
> apt-cache policy tk
> echo $SHELL
> help | head -n 1
>
> Running those commands will *not* solve your problem, but when you
> provide the text from the Terminal, that should give useful diagnostic
> information for figuring out why following mycae's instructions didn't
> produce the desired effect.
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
>
> https:/
>
> You received this question notification because you are a direct
> subscriber of the question.
>
--
Harry John Gatley, Chem.E., P.E., P.Eng.
President
UtechMech Company
website http://
(801) 272-2411
Revision history for this message
|
#23 |
It seems that you never installed the tk package. I guess information as to the need to do that got lost in the confusion over whether or not you had aptitude installed. So, run these commands, in this order:
sudo rm /usr/bin/wish
sudo apt-get update
sudo apt-get install tk
Don't close the Terminal window just yet. See if that fixed your problem. (From any open tcsh shell, you may need to run the command "rehash"--without the quotes--in order to make it so that commands you run in the shell can see that wish is available. tcsh shells started after those commands complete don't require that "rehash" be run inside them.)
If it works at that point, great. If it doesn't, please run the additional command
sudo ln -s /usr/bin/wish /usr/local/bin/wish
and then try again to see if that worked (which may involve running "rehash" again in whatever tcsh shell from which you're trying to run the script that uses wish, if you are trying to run this script from within a tcsh shell). If it still doesn't work, then please post again, and paste all the text from the Terminal (starting with the line where you ran the command "sudo rm /usr/bin/wish").
Revision history for this message
|
#24 |
Nope, it still doesn't work and the update starts the JRE install again that
doesn't work either. I did run rehash in the tsch shell as well. I need to
figure out how to get rid of it.
ubuntu:~> sudo ln -s /usr/bin/wish /usr/local/bin/wish
[sudo] password for harrygatley:
ln: creating symbolic link `/usr/local/
ubuntu:~>
So it says the file exists but the VULCAN program cannot find it.
ubuntu:
exec: 3: /usr/local/
ubuntu:
On Mon, Feb 28, 2011 at 11:03 PM, Eliah Kagan <
<email address hidden>> wrote:
> Your question #146900 on tcltk-defaults in ubuntu changed:
>
> https:/
>
> Status: Open => Answered
>
> Eliah Kagan proposed the following answer:
> It seems that you never installed the tk package. I guess information as
> to the need to do that got lost in the confusion over whether or not you
> had aptitude installed. So, run these commands, in this order:
>
> sudo rm /usr/bin/wish
> sudo apt-get update
> sudo apt-get install tk
>
> Don't close the Terminal window just yet. See if that fixed your
> problem. (From any open tcsh shell, you may need to run the command
> "rehash"--without the quotes--in order to make it so that commands you
> run in the shell can see that wish is available. tcsh shells started
> after those commands complete don't require that "rehash" be run inside
> them.)
>
> If it works at that point, great. If it doesn't, please run the
> additional command
>
> sudo ln -s /usr/bin/wish /usr/local/bin/wish
>
> and then try again to see if that worked (which may involve running
> "rehash" again in whatever tcsh shell from which you're trying to run
> the script that uses wish, if you are trying to run this script from
> within a tcsh shell). If it still doesn't work, then please post again,
> and paste all the text from the Terminal (starting with the line where
> you ran the command "sudo rm /usr/bin/wish").
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
>
> https:/
>
> You received this question notification because you are a direct
> subscriber of the question.
>
--
Harry John Gatley, Chem.E., P.E., P.Eng.
President
UtechMech Company
website http://
(801) 272-2411
Revision history for this message
|
#25 |
No, now the update manager is stuck waiting for apt-get and cannot exit!
On Tue, Mar 1, 2011 at 8:54 AM, Harry Gatley <
<email address hidden>> wrote:
> Your question #146900 on tcltk-defaults in ubuntu changed:
>
> https:/
>
> Status: Answered => Open
>
> You are still having a problem:
> Nope, it still doesn't work and the update starts the JRE install again
> that
> doesn't work either. I did run rehash in the tsch shell as well. I need to
> figure out how to get rid of it.
>
> ubuntu:~> sudo ln -s /usr/bin/wish /usr/local/bin/wish
> [sudo] password for harrygatley:
> ln: creating symbolic link `/usr/local/
> ubuntu:~>
>
> So it says the file exists but the VULCAN program cannot find it.
>
> ubuntu:
> exec: 3: /usr/local/
> ubuntu:
>
>
> On Mon, Feb 28, 2011 at 11:03 PM, Eliah Kagan <
> <email address hidden>> wrote:
>
> > Your question #146900 on tcltk-defaults in ubuntu changed:
> >
> >
> https:/
> >
> > Status: Open => Answered
> >
> > Eliah Kagan proposed the following answer:
> > It seems that you never installed the tk package. I guess information as
> > to the need to do that got lost in the confusion over whether or not you
> > had aptitude installed. So, run these commands, in this order:
> >
> > sudo rm /usr/bin/wish
> > sudo apt-get update
> > sudo apt-get install tk
> >
> > Don't close the Terminal window just yet. See if that fixed your
> > problem. (From any open tcsh shell, you may need to run the command
> > "rehash"--without the quotes--in order to make it so that commands you
> > run in the shell can see that wish is available. tcsh shells started
> > after those commands complete don't require that "rehash" be run inside
> > them.)
> >
> > If it works at that point, great. If it doesn't, please run the
> > additional command
> >
> > sudo ln -s /usr/bin/wish /usr/local/bin/wish
> >
> > and then try again to see if that worked (which may involve running
> > "rehash" again in whatever tcsh shell from which you're trying to run
> > the script that uses wish, if you are trying to run this script from
> > within a tcsh shell). If it still doesn't work, then please post again,
> > and paste all the text from the Terminal (starting with the line where
> > you ran the command "sudo rm /usr/bin/wish").
> >
> > --
> > If this answers your question, please go to the following page to let us
> > know that it is solved:
> >
> >
> https:/
> >
> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> >
> >
> https:/
> >
> > You received this question notification because you are a direct
> > subscriber of the question.
> >
>
>
> --
>
> Harry John Gatley, Chem.E., P.E., P.Eng.
> President
> UtechMech Company
>
> website http://
>
> (801) 272-2411
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>
--
Harry John Gatley, Chem.E., P.E., P.Eng.
President
UtechMech Company
website http://
(801) 272-2411
Revision history for this message
|
#26 |
When the update-manger finishes, or if you kill the process, try using the synaptic package manager to install the python-tk package. That should install the /usr/bin/wish (among other things you probably want), and your existing link should work.
Revision history for this message
|
#27 |
Please provide more detail on how to use the synaptic package manger. I'm
still a novice.
On Tue, Mar 1, 2011 at 6:42 PM, Ubfan
<email address hidden>wrote:
> Your question #146900 on tcltk-defaults in ubuntu changed:
>
> https:/
>
> Status: Open => Answered
>
> Ubfan proposed the following answer:
> When the update-manger finishes, or if you kill the process, try using
> the synaptic package manager to install the python-tk package. That
> should install the /usr/bin/wish (among other things you probably want),
> and your existing link should work.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
>
> https:/
>
> You received this question notification because you are a direct
> subscriber of the question.
>
--
Harry John Gatley, Chem.E., P.E., P.Eng.
President
UtechMech Company
website http://
(801) 272-2411
Revision history for this message
|
#28 |
click on menu system/
type in python-tk in the search box,
right click and mark install.
click on the apply buton
Revision history for this message
|
#29 |
Okay, I did that how do I proceed now to get VULCAN to see wish?
On Wed, Mar 2, 2011 at 10:35 AM, Ubfan <<email address hidden>
> wrote:
> Your question #146900 on tcltk-defaults in ubuntu changed:
>
> https:/
>
> Status: Open => Answered
>
> Ubfan proposed the following answer:
> click on menu system/
> type in python-tk in the search box,
> right click and mark install.
> click on the apply buton
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
>
> https:/
>
> You received this question notification because you are a direct
> subscriber of the question.
>
--
Harry John Gatley, Chem.E., P.E., P.Eng.
President
UtechMech Company
website http://
(801) 272-2411
Revision history for this message
|
#30 |
Run the command I have posted. Specifically:
sudo ln -s `which wish-default` /usr/local/bin/wish
this should produce no error messages and the following command should produce output
ls /usr/local/bin/wish
Revision history for this message
|
#31 |
THANK YOU! VULCAN WORKS NOW ON MY LAPTOP!!! I am an old dog learning new tricks thank you for bearing with my dumb questions!