wish is missing

Asked by Harry Gatley

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
For:
Ubuntu tcltk-defaults Edit question
Assignee:
No assignee Edit question
Solved by:
mycae
Solved:
Last query:
Last reply:
Revision history for this message
mycae (mycae) said :
#1

sudo aptitude install apt-cache
sudo apt-cache update
apt-cache find wish

its in the tk package.

Revision history for this message
mycae (mycae) said :
#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
Harry Gatley (harrygatley) said :
#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://answers.launchpad.net/ubuntu/+question/146900
>
> 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://answers.launchpad.net/ubuntu/+question/146900/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/146900
>
> 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://utechmech.com

(801) 272-2411

Revision history for this message
Harry Gatley (harrygatley) said :
#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/bin/wish' is not a directory
ubuntu:~>
ubuntu:~>

On Fri, Feb 25, 2011 at 2:07 PM, mycae <<email address hidden>
> wrote:

> Your question #146900 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/146900
>
> 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://answers.launchpad.net/ubuntu/+question/146900/+confirm?answer_id=1
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/146900
>
> 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://utechmech.com

(801) 272-2411

Revision history for this message
Harry Gatley (harrygatley) said :
#5

Nope, didn't work in bash either.

harrygatley@ubuntu:~$ sudo aptitude install apt-cache
sudo: aptitude: command not found
harrygatley@ubuntu:~$ sudo apt-cache update
E: Invalid operation update
harrygatley@ubuntu:~$ apt-cache find wish

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/bin/wish' is not a directory
> ubuntu:~>
> ubuntu:~>
>
>
> On Fri, Feb 25, 2011 at 2:07 PM, mycae <
> <email address hidden>> wrote:
>
>> Your question #146900 on Ubuntu changed:
>> https://answers.launchpad.net/ubuntu/+question/146900
>>
>> 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://answers.launchpad.net/ubuntu/+question/146900/+confirm?answer_id=1
>>
>> If you still need help, you can reply to this email or go to the
>> following page to enter your feedback:
>> https://answers.launchpad.net/ubuntu/+question/146900
>>
>> 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://utechmech.com
>
> (801) 272-2411
>
>
>

--

Harry John Gatley, Chem.E., P.E., P.Eng.
President
UtechMech Company

website http://utechmech.com

(801) 272-2411

Revision history for this message
mycae (mycae) said :
#6

ack, you don't have aptitude installed.

just install the tk package.

Revision history for this message
Harry Gatley (harrygatley) said :
#7

How?

On Fri, Feb 25, 2011 at 2:16 PM, mycae <<email address hidden>
> wrote:

> Your question #146900 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/146900
>
> 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://answers.launchpad.net/ubuntu/+question/146900/+confirm?answer_id=5
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/146900
>
> 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://utechmech.com

(801) 272-2411

Revision history for this message
Harry Gatley (harrygatley) said :
#8

I can't install aptitude

ubuntu:~> sudo aptitude install
[sudo] password for harrygatley:
sudo: aptitude: command not found
ubuntu:~> bash
harrygatley@ubuntu:~$ sudo aptitude install
sudo: aptitude: command not found
harrygatley@ubuntu:~$ sudo su
root@ubuntu:/home/harrygatley# sudo aptitude install
sudo: aptitude: command not found
root@ubuntu:/home/harrygatley# sudo aptitude
sudo: aptitude: command not found
root@ubuntu:/home/harrygatley#

On Fri, Feb 25, 2011 at 2:33 PM, Harry Gatley <
<email address hidden>> wrote:

> Your question #146900 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/146900
>
> 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://answers.launchpad.net/ubuntu/+question/146900
> >
> > 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://answers.launchpad.net/ubuntu/+question/146900/+confirm?answer_id=5
> >
> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> > https://answers.launchpad.net/ubuntu/+question/146900
> >
> > 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://utechmech.com
>
> (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://utechmech.com

(801) 272-2411

Revision history for this message
mycae (mycae) said :
#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
delance (olivier-delance) said :
#10

sudo aptitude install tk

Revision history for this message
Harry Gatley (harrygatley) said :
#11

Nope that didn't work either.

root@ubuntu:/home/harrygatley# sudo aptitude install tk
sudo: aptitude: command not found
root@ubuntu:/home/harrygatley#

On Fri, Feb 25, 2011 at 2:43 PM, delance <
<email address hidden>> wrote:

> Your question #146900 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/146900
>
> 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://answers.launchpad.net/ubuntu/+question/146900/+confirm?answer_id=9
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/146900
>
> 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://utechmech.com

(801) 272-2411

Revision history for this message
Harry Gatley (harrygatley) said :
#12

Nope no luck yet. What do i do now?

root@ubuntu:/home/harrygatley# sudo apt-get install tk
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:/home/harrygatley#

On Fri, Feb 25, 2011 at 2:42 PM, mycae <<email address hidden>
> wrote:

> Your question #146900 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/146900
>
> 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://answers.launchpad.net/ubuntu/+question/146900/+confirm?answer_id=8
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/146900
>
> 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://utechmech.com

(801) 272-2411

Revision history for this message
PeterPall (peterpall) said :
#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
Harry Gatley (harrygatley) said :
#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://answers.launchpad.net/ubuntu/+question/146900
>
> You gave more information on the question:
> Nope no luck yet. What do i do now?
>
> root@ubuntu:/home/harrygatley# sudo apt-get install tk
> 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:/home/harrygatley#
>
> On Fri, Feb 25, 2011 at 2:42 PM, mycae <
> <email address hidden>
> > wrote:
>
> > Your question #146900 on Ubuntu changed:
> > https://answers.launchpad.net/ubuntu/+question/146900
> >
> > 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://answers.launchpad.net/ubuntu/+question/146900/+confirm?answer_id=8
> >
> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> > https://answers.launchpad.net/ubuntu/+question/146900
> >
> > 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://utechmech.com
>
> (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://utechmech.com

(801) 272-2411

Revision history for this message
Harry Gatley (harrygatley) said :
#15

Close but not quite. It must be the Java Runtime Installation causing all
this trouble.

harrygatley@ubuntu:~$ sudo rm /var/lib/dpkg/lock; sudo apt-get update;sudo
apt-get dist-
Hit http://archive.canonical.com maverick Release.gpg
Ign http://archive.canonical.com/ubuntu/ maverick/partner Translation-en
Hit http://security.ubuntu.com maverick-security Release.gpg
Ign http://security.ubuntu.com/ubuntu/ maverick-security/main Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-security/main
Translation-en_US
Hit http://us.archive.ubuntu.com maverick Release.gpg
Ign http://us.archive.ubuntu.com/ubuntu/ maverick/main Translation-en
Ign http://us.archive.ubuntu.com/ubuntu/ maverick/main Translation-en_US
Ign http://archive.canonical.com/ubuntu/ maverick/partner Translation-en_US
Hit http://archive.canonical.com maverick Release
Ign http://security.ubuntu.com/ubuntu/ maverick-security/multiverse
Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-security/multiverse
Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ maverick-security/restricted
Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-security/restricted
Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ maverick-security/universe
Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-security/universe
Translation-en_US
Hit http://security.ubuntu.com maverick-security Release
Ign http://us.archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en
Ign http://us.archive.ubuntu.com/ubuntu/ maverick/multiverse
Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en
Ign http://us.archive.ubuntu.com/ubuntu/ maverick/restricted
Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
Ign http://us.archive.ubuntu.com/ubuntu/ maverick/universe Translation-en_US
Get:1 http://us.archive.ubuntu.com maverick-updates Release.gpg [198B]
Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/main
Translation-en
Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/main
Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/multiverse
Translation-en
Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/multiverse
Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/restricted
Translation-en
Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/restricted
Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/universe
Translation-en
Hit http://archive.canonical.com maverick/partner amd64 Packages
Hit http://security.ubuntu.com maverick-security/main Sources
Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/universe
Translation-en_US
Hit http://us.archive.ubuntu.com maverick Release
Get:2 http://us.archive.ubuntu.com maverick-updates Release [31.4kB]
Hit http://security.ubuntu.com maverick-security/restricted Sources
Hit http://security.ubuntu.com maverick-security/universe Sources
Hit http://security.ubuntu.com maverick-security/multiverse Sources
Hit http://security.ubuntu.com maverick-security/main amd64 Packages
Hit http://security.ubuntu.com maverick-security/restricted amd64 Packages
Hit http://security.ubuntu.com maverick-security/universe amd64 Packages
Hit http://security.ubuntu.com maverick-security/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com maverick/main Sources
Hit http://us.archive.ubuntu.com maverick/restricted Sources
Hit http://us.archive.ubuntu.com maverick/universe Sources
Hit http://us.archive.ubuntu.com maverick/multiverse Sources
Hit http://us.archive.ubuntu.com maverick/main amd64 Packages
Hit http://us.archive.ubuntu.com maverick/restricted amd64 Packages
Hit http://us.archive.ubuntu.com maverick/universe amd64 Packages
Hit http://us.archive.ubuntu.com maverick/multiverse amd64 Packages
Get:3 http://us.archive.ubuntu.com maverick-updates/main Sources [88.9kB]
Get:4 http://us.archive.ubuntu.com maverick-updates/restricted Sources
[778B]
Get:5 http://us.archive.ubuntu.com maverick-updates/universe Sources
[33.7kB]
Get:6 http://us.archive.ubuntu.com maverick-updates/multiverse Sources
[1,498B]
Get:7 http://us.archive.ubuntu.com maverick-updates/main amd64 Packages
[239kB]
Get:8 http://us.archive.ubuntu.com maverick-updates/restricted amd64
Packages [1,802B]
Get:9 http://us.archive.ubuntu.com maverick-updates/universe amd64 Packages
[103kB]
Get:10 http://us.archive.ubuntu.com maverick-updates/multiverse amd64
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@ubuntu:~$ upgrade;sudo apt-get install tk

On Fri, Feb 25, 2011 at 2:57 PM, PeterPall <
<email address hidden>> wrote:

> Your question #146900 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/146900
>
> 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://answers.launchpad.net/ubuntu/+question/146900/+confirm?answer_id=12
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/146900
>
> 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://utechmech.com

(801) 272-2411

Revision history for this message
Harry Gatley (harrygatley) said :
#16

harrygatley@ubuntu:~$ sudo dpkg --configure -a
Processing triggers for man-db ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by
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@ubuntu:~$

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@ubuntu:~$ sudo rm /var/lib/dpkg/lock; sudo apt-get update;sudo
> apt-get dist-
> Hit http://archive.canonical.com maverick Release.gpg
> Ign http://archive.canonical.com/ubuntu/ maverick/partner Translation-en
> Hit http://security.ubuntu.com maverick-security Release.gpg
> Ign http://security.ubuntu.com/ubuntu/ maverick-security/main
> Translation-en
> Ign http://security.ubuntu.com/ubuntu/ maverick-security/main
> Translation-en_US
> Hit http://us.archive.ubuntu.com maverick Release.gpg
> Ign http://us.archive.ubuntu.com/ubuntu/ maverick/main Translation-en
> Ign http://us.archive.ubuntu.com/ubuntu/ maverick/main Translation-en_US
> Ign http://archive.canonical.com/ubuntu/ maverick/partner
> Translation-en_US
> Hit http://archive.canonical.com maverick Release
> Ign http://security.ubuntu.com/ubuntu/ maverick-security/multiverse
> Translation-en
> Ign http://security.ubuntu.com/ubuntu/ maverick-security/multiverse
> Translation-en_US
> Ign http://security.ubuntu.com/ubuntu/ maverick-security/restricted
> Translation-en
> Ign http://security.ubuntu.com/ubuntu/ maverick-security/restricted
> Translation-en_US
> Ign http://security.ubuntu.com/ubuntu/ maverick-security/universe
> Translation-en
> Ign http://security.ubuntu.com/ubuntu/ maverick-security/universe
> Translation-en_US
> Hit http://security.ubuntu.com maverick-security Release
> Ign http://us.archive.ubuntu.com/ubuntu/ maverick/multiverse
> Translation-en
> Ign http://us.archive.ubuntu.com/ubuntu/ maverick/multiverse
> Translation-en_US
> Ign http://us.archive.ubuntu.com/ubuntu/ maverick/restricted
> Translation-en
> Ign http://us.archive.ubuntu.com/ubuntu/ maverick/restricted
> Translation-en_US
> Ign http://us.archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
> Ign http://us.archive.ubuntu.com/ubuntu/ maverick/universe
> Translation-en_US
> Get:1 http://us.archive.ubuntu.com maverick-updates Release.gpg [198B]
> Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/main
> Translation-en
> Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/main
> Translation-en_US
> Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/multiverse
> Translation-en
> Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/multiverse
> Translation-en_US
> Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/restricted
> Translation-en
> Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/restricted
> Translation-en_US
> Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/universe
> Translation-en
> Hit http://archive.canonical.com maverick/partner amd64 Packages
> Hit http://security.ubuntu.com maverick-security/main Sources
> Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/universe
> Translation-en_US
> Hit http://us.archive.ubuntu.com maverick Release
> Get:2 http://us.archive.ubuntu.com maverick-updates Release [31.4kB]
> Hit http://security.ubuntu.com maverick-security/restricted Sources
>
> Hit http://security.ubuntu.com maverick-security/universe Sources
> Hit http://security.ubuntu.com maverick-security/multiverse Sources
> Hit http://security.ubuntu.com maverick-security/main amd64 Packages
> Hit http://security.ubuntu.com maverick-security/restricted amd64 Packages
> Hit http://security.ubuntu.com maverick-security/universe amd64 Packages
> Hit http://security.ubuntu.com maverick-security/multiverse amd64 Packages
> Hit http://us.archive.ubuntu.com maverick/main Sources
> Hit http://us.archive.ubuntu.com maverick/restricted Sources
> Hit http://us.archive.ubuntu.com maverick/universe Sources
> Hit http://us.archive.ubuntu.com maverick/multiverse Sources
> Hit http://us.archive.ubuntu.com maverick/main amd64 Packages
> Hit http://us.archive.ubuntu.com maverick/restricted amd64 Packages
> Hit http://us.archive.ubuntu.com maverick/universe amd64 Packages
> Hit http://us.archive.ubuntu.com maverick/multiverse amd64 Packages
> Get:3 http://us.archive.ubuntu.com maverick-updates/main Sources [88.9kB]
> Get:4 http://us.archive.ubuntu.com maverick-updates/restricted Sources
> [778B]
> Get:5 http://us.archive.ubuntu.com maverick-updates/universe Sources
> [33.7kB]
> Get:6 http://us.archive.ubuntu.com maverick-updates/multiverse Sources
> [1,498B]
> Get:7 http://us.archive.ubuntu.com maverick-updates/main amd64 Packages
> [239kB]
> Get:8 http://us.archive.ubuntu.com maverick-updates/restricted amd64
> Packages [1,802B]
> Get:9 http://us.archive.ubuntu.com maverick-updates/universe amd64
> Packages [103kB]
> Get:10 http://us.archive.ubuntu.com maverick-updates/multiverse amd64
> 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@ubuntu:~$ upgrade;sudo apt-get install tk
>
>
>
> On Fri, Feb 25, 2011 at 2:57 PM, PeterPall <
> <email address hidden>> wrote:
>
>> Your question #146900 on Ubuntu changed:
>> https://answers.launchpad.net/ubuntu/+question/146900
>>
>> 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://answers.launchpad.net/ubuntu/+question/146900/+confirm?answer_id=12
>>
>> If you still need help, you can reply to this email or go to the
>> following page to enter your feedback:
>> https://answers.launchpad.net/ubuntu/+question/146900
>>
>> 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://utechmech.com
>
> (801) 272-2411
>
>
>

--

Harry John Gatley, Chem.E., P.E., P.Eng.
President
UtechMech Company

website http://utechmech.com

(801) 272-2411

Revision history for this message
Harry Gatley (harrygatley) said :
#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@ubuntu:~$ sudo dpkg --configure -a
> Processing triggers for man-db ...
> debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by
> 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@ubuntu:~$
>
>
> 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@ubuntu:~$ sudo rm /var/lib/dpkg/lock; sudo apt-get
>> update;sudo apt-get dist-
>> Hit http://archive.canonical.com maverick Release.gpg
>> Ign http://archive.canonical.com/ubuntu/ maverick/partner Translation-en
>> Hit http://security.ubuntu.com maverick-security Release.gpg
>> Ign http://security.ubuntu.com/ubuntu/ maverick-security/main
>> Translation-en
>> Ign http://security.ubuntu.com/ubuntu/ maverick-security/main
>> Translation-en_US
>> Hit http://us.archive.ubuntu.com maverick Release.gpg
>> Ign http://us.archive.ubuntu.com/ubuntu/ maverick/main Translation-en
>> Ign http://us.archive.ubuntu.com/ubuntu/ maverick/main Translation-en_US
>> Ign http://archive.canonical.com/ubuntu/ maverick/partner
>> Translation-en_US
>> Hit http://archive.canonical.com maverick Release
>> Ign http://security.ubuntu.com/ubuntu/ maverick-security/multiverse
>> Translation-en
>> Ign http://security.ubuntu.com/ubuntu/ maverick-security/multiverse
>> Translation-en_US
>> Ign http://security.ubuntu.com/ubuntu/ maverick-security/restricted
>> Translation-en
>> Ign http://security.ubuntu.com/ubuntu/ maverick-security/restricted
>> Translation-en_US
>> Ign http://security.ubuntu.com/ubuntu/ maverick-security/universe
>> Translation-en
>> Ign http://security.ubuntu.com/ubuntu/ maverick-security/universe
>> Translation-en_US
>> Hit http://security.ubuntu.com maverick-security Release
>> Ign http://us.archive.ubuntu.com/ubuntu/ maverick/multiverse
>> Translation-en
>> Ign http://us.archive.ubuntu.com/ubuntu/ maverick/multiverse
>> Translation-en_US
>> Ign http://us.archive.ubuntu.com/ubuntu/ maverick/restricted
>> Translation-en
>> Ign http://us.archive.ubuntu.com/ubuntu/ maverick/restricted
>> Translation-en_US
>> Ign http://us.archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
>> Ign http://us.archive.ubuntu.com/ubuntu/ maverick/universe
>> Translation-en_US
>> Get:1 http://us.archive.ubuntu.com maverick-updates Release.gpg [198B]
>> Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/main
>> Translation-en
>> Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/main
>> Translation-en_US
>> Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/multiverse
>> Translation-en
>> Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/multiverse
>> Translation-en_US
>> Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/restricted
>> Translation-en
>> Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/restricted
>> Translation-en_US
>> Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/universe
>> Translation-en
>> Hit http://archive.canonical.com maverick/partner amd64 Packages
>> Hit http://security.ubuntu.com maverick-security/main Sources
>> Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/universe
>> Translation-en_US
>> Hit http://us.archive.ubuntu.com maverick Release
>> Get:2 http://us.archive.ubuntu.com maverick-updates Release [31.4kB]
>> Hit http://security.ubuntu.com maverick-security/restricted
>> Sources
>> Hit http://security.ubuntu.com maverick-security/universe Sources
>> Hit http://security.ubuntu.com maverick-security/multiverse Sources
>> Hit http://security.ubuntu.com maverick-security/main amd64 Packages
>> Hit http://security.ubuntu.com maverick-security/restricted amd64
>> Packages
>> Hit http://security.ubuntu.com maverick-security/universe amd64 Packages
>> Hit http://security.ubuntu.com maverick-security/multiverse amd64
>> Packages
>> Hit http://us.archive.ubuntu.com maverick/main Sources
>> Hit http://us.archive.ubuntu.com maverick/restricted Sources
>> Hit http://us.archive.ubuntu.com maverick/universe Sources
>> Hit http://us.archive.ubuntu.com maverick/multiverse Sources
>> Hit http://us.archive.ubuntu.com maverick/main amd64 Packages
>> Hit http://us.archive.ubuntu.com maverick/restricted amd64 Packages
>> Hit http://us.archive.ubuntu.com maverick/universe amd64 Packages
>> Hit http://us.archive.ubuntu.com maverick/multiverse amd64 Packages
>> Get:3 http://us.archive.ubuntu.com maverick-updates/main Sources [88.9kB]
>> Get:4 http://us.archive.ubuntu.com maverick-updates/restricted Sources
>> [778B]
>> Get:5 http://us.archive.ubuntu.com maverick-updates/universe Sources
>> [33.7kB]
>> Get:6 http://us.archive.ubuntu.com maverick-updates/multiverse Sources
>> [1,498B]
>> Get:7 http://us.archive.ubuntu.com maverick-updates/main amd64 Packages
>> [239kB]
>> Get:8 http://us.archive.ubuntu.com maverick-updates/restricted amd64
>> Packages [1,802B]
>> Get:9 http://us.archive.ubuntu.com maverick-updates/universe amd64
>> Packages [103kB]
>> Get:10 http://us.archive.ubuntu.com maverick-updates/multiverse amd64
>> 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@ubuntu:~$ upgrade;sudo apt-get install tk
>>
>>
>>
>> On Fri, Feb 25, 2011 at 2:57 PM, PeterPall <
>> <email address hidden>> wrote:
>>
>>> Your question #146900 on Ubuntu changed:
>>> https://answers.launchpad.net/ubuntu/+question/146900
>>>
>>> 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://answers.launchpad.net/ubuntu/+question/146900/+confirm?answer_id=12
>>>
>>> If you still need help, you can reply to this email or go to the
>>> following page to enter your feedback:
>>> https://answers.launchpad.net/ubuntu/+question/146900
>>>
>>> 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://utechmech.com
>>
>> <%28801%29%20272-2411>(801) 272-2411
>>
>>
>>
>
>
> --
>
> Harry John Gatley, Chem.E., P.E., P.Eng.
> President
> UtechMech Company
>
> website http://utechmech.com
>
> (801) 272-2411
>
>
>

--

Harry John Gatley, Chem.E., P.E., P.Eng.
President
UtechMech Company

website http://utechmech.com

(801) 272-2411

Revision history for this message
Harry Gatley (harrygatley) said :
#18

exec: 3: /usr/local/bin/wish: not found

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://answers.launchpad.net/ubuntu/+question/146900
>
> 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@ubuntu:~$ sudo dpkg --configure -a
> > Processing triggers for man-db ...
> > debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by
> > 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@ubuntu:~$
> >
> >
> > 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@ubuntu:~$ sudo rm /var/lib/dpkg/lock; sudo apt-get
> >> update;sudo apt-get dist-
> >> Hit http://archive.canonical.com maverick Release.gpg
> >> Ign http://archive.canonical.com/ubuntu/ maverick/partner
> Translation-en
> >> Hit http://security.ubuntu.com maverick-security Release.gpg
> >> Ign http://security.ubuntu.com/ubuntu/ maverick-security/main
> >> Translation-en
> >> Ign http://security.ubuntu.com/ubuntu/ maverick-security/main
> >> Translation-en_US
> >> Hit http://us.archive.ubuntu.com maverick Release.gpg
> >> Ign http://us.archive.ubuntu.com/ubuntu/ maverick/main Translation-en
> >> Ign http://us.archive.ubuntu.com/ubuntu/ maverick/main
> Translation-en_US
> >> Ign http://archive.canonical.com/ubuntu/ maverick/partner
> >> Translation-en_US
> >> Hit http://archive.canonical.com maverick Release
> >> Ign http://security.ubuntu.com/ubuntu/ maverick-security/multiverse
> >> Translation-en
> >> Ign http://security.ubuntu.com/ubuntu/ maverick-security/multiverse
> >> Translation-en_US
> >> Ign http://security.ubuntu.com/ubuntu/ maverick-security/restricted
> >> Translation-en
> >> Ign http://security.ubuntu.com/ubuntu/ maverick-security/restricted
> >> Translation-en_US
> >> Ign http://security.ubuntu.com/ubuntu/ maverick-security/universe
> >> Translation-en
> >> Ign http://security.ubuntu.com/ubuntu/ maverick-security/universe
> >> Translation-en_US
> >> Hit http://security.ubuntu.com maverick-security Release
> >> Ign http://us.archive.ubuntu.com/ubuntu/ maverick/multiverse
> >> Translation-en
> >> Ign http://us.archive.ubuntu.com/ubuntu/ maverick/multiverse
> >> Translation-en_US
> >> Ign http://us.archive.ubuntu.com/ubuntu/ maverick/restricted
> >> Translation-en
> >> Ign http://us.archive.ubuntu.com/ubuntu/ maverick/restricted
> >> Translation-en_US
> >> Ign http://us.archive.ubuntu.com/ubuntu/ maverick/universe
> Translation-en
> >> Ign http://us.archive.ubuntu.com/ubuntu/ maverick/universe
> >> Translation-en_US
> >> Get:1 http://us.archive.ubuntu.com maverick-updates Release.gpg [198B]
> >> Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/main
> >> Translation-en
> >> Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/main
> >> Translation-en_US
> >> Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/multiverse
> >> Translation-en
> >> Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/multiverse
> >> Translation-en_US
> >> Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/restricted
> >> Translation-en
> >> Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/restricted
> >> Translation-en_US
> >> Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/universe
> >> Translation-en
> >> Hit http://archive.canonical.com maverick/partner amd64 Packages
> >> Hit http://security.ubuntu.com maverick-security/main Sources
> >> Ign http://us.archive.ubuntu.com/ubuntu/ maverick-updates/universe
> >> Translation-en_US
> >> Hit http://us.archive.ubuntu.com maverick Release
> >> Get:2 http://us.archive.ubuntu.com maverick-updates Release [31.4kB]
> >> Hit http://security.ubuntu.com maverick-security/restricted
> >> Sources
> >> Hit http://security.ubuntu.com maverick-security/universe Sources
> >> Hit http://security.ubuntu.com maverick-security/multiverse Sources
> >> Hit http://security.ubuntu.com maverick-security/main amd64 Packages
> >> Hit http://security.ubuntu.com maverick-security/restricted amd64
> >> Packages
> >> Hit http://security.ubuntu.com maverick-security/universe amd64
> Packages
> >> Hit http://security.ubuntu.com maverick-security/multiverse amd64
> >> Packages
> >> Hit http://us.archive.ubuntu.com maverick/main Sources
> >> Hit http://us.archive.ubuntu.com maverick/restricted Sources
> >> Hit http://us.archive.ubuntu.com maverick/universe Sources
> >> Hit http://us.archive.ubuntu.com maverick/multiverse Sources
> >> Hit http://us.archive.ubuntu.com maverick/main amd64 Packages
> >> Hit http://us.archive.ubuntu.com maverick/restricted amd64 Packages
> >> Hit http://us.archive.ubuntu.com maverick/universe amd64 Packages
> >> Hit http://us.archive.ubuntu.com maverick/multiverse amd64 Packages
> >> Get:3 http://us.archive.ubuntu.com maverick-updates/main Sources
> [88.9kB]
> >> Get:4 http://us.archive.ubuntu.com maverick-updates/restricted Sources
> >> [778B]
> >> Get:5 http://us.archive.ubuntu.com maverick-updates/universe Sources
> >> [33.7kB]
> >> Get:6 http://us.archive.ubuntu.com maverick-updates/multiverse Sources
> >> [1,498B]
> >> Get:7 http://us.archive.ubuntu.com maverick-updates/main amd64 Packages
> >> [239kB]
> >> Get:8 http://us.archive.ubuntu.com maverick-updates/restricted amd64
> >> Packages [1,802B]
> >> Get:9 http://us.archive.ubuntu.com maverick-updates/universe amd64
> >> Packages [103kB]
> >> Get:10 http://us.archive.ubuntu.com maverick-updates/multiverse amd64
> >> 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@ubuntu:~$ upgrade;sudo apt-get install tk
> >>
> >>
> >>
> >> On Fri, Feb 25, 2011 at 2:57 PM, PeterPall <
> >> <email address hidden>> wrote:
> >>
> >>> Your question #146900 on Ubuntu changed:
> >>> https://answers.launchpad.net/ubuntu/+question/146900
> >>>
> >>> 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://answers.launchpad.net/ubuntu/+question/146900/+confirm?answer_id=12
> >>>
> >>> If you still need help, you can reply to this email or go to the
> >>> following page to enter your feedback:
> >>> https://answers.launchpad.net/ubuntu/+question/146900
> >>>
> >>> 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://utechmech.com
> >>
> >> <%28801%29%20272-2411>(801) 272-2411
> >>
> >>
> >>
> >
> >
> > --
> >
> > Harry John Gatley, Chem.E., P.E., P.Eng.
> > President
> > UtechMech Company
> >
> > website http://utechmech.com
> >
> > (801) 272-2411
> >
> >
> >
>
>
> --
>
> Harry John Gatley, Chem.E., P.E., P.Eng.
> President
> UtechMech Company
>
> website http://utechmech.com
>
> (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://utechmech.com

(801) 272-2411

Revision history for this message
mycae (mycae) said :
#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
Harry Gatley (harrygatley) said :
#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://answers.launchpad.net/ubuntu/+source/tcltk-defaults/+question/146900
>
> 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://answers.launchpad.net/ubuntu/+source/tcltk-defaults/+question/146900/+confirm?answer_id=18
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
>
> https://answers.launchpad.net/ubuntu/+source/tcltk-defaults/+question/146900
>
> 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://utechmech.com

(801) 272-2411

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#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/wish-default
file /usr/local/bin/wish /usr/bin/wish /usr/bin/wish-default
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
Harry Gatley (harrygatley) said :
#22

Many thanks, here are the results:

ubuntu:~> bash
harrygatley@ubuntu:~$ history | grep wish-default | tail
   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@ubuntu:~$ which -a wish wish-default
harrygatley@ubuntu:~$ ls -ld /usr/local/bin /usr/bin
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@ubuntu:~$ ls -l /usr/local/bin/wish /usr/bin/wish
/usr/bin/wish-default
ls: cannot access /usr/local/bin/wish: No such file or directory
ls: cannot access /usr/bin/wish-default: No such file or directory
lrwxrwxrwx 1 root root 19 2011-02-25 15:45 /usr/bin/wish ->
/usr/local/bin/wish
harrygatley@ubuntu:~$ file /usr/local/bin/wish /usr/bin/wish
/usr/bin/wish-default
/usr/local/bin/wish: ERROR: cannot open `/usr/local/bin/wish' (No such
file or directory)
/usr/bin/wish: broken symbolic link to `/usr/local/bin/wish'
/usr/bin/wish-default: ERROR: cannot open `/usr/bin/wish-default' (No such
file or directory)
harrygatley@ubuntu:~$ apt-cache policy tk
tk:
  Installed: (none)
  Candidate: 8.4.16-2
  Version table:
     8.4.16-2 0
        500 http://us.archive.ubuntu.com/ubuntu/ maverick/main amd64
Packages
harrygatley@ubuntu:~$ echo $SHELL
/bin/tcsh
harrygatley@ubuntu:~$ help | head -n 1
GNU bash, version 4.1.5(1)-release (x86_64-pc-linux-gnu)
harrygatley@ubuntu:~$

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://answers.launchpad.net/ubuntu/+source/tcltk-defaults/+question/146900
>
> 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/wish-default
> file /usr/local/bin/wish /usr/bin/wish /usr/bin/wish-default
> 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://answers.launchpad.net/ubuntu/+source/tcltk-defaults/+question/146900
>
> 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://utechmech.com

(801) 272-2411

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#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
Harry Gatley (harrygatley) said :
#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/bin/wish': File exists
ubuntu:~>

So it says the file exists but the VULCAN program cannot find it.

ubuntu:~/Vulcan/Ver_6.1.1> VULCAN-CFD
exec: 3: /usr/local/bin/wish: not found
ubuntu:~/Vulcan/Ver_6.1.1>

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://answers.launchpad.net/ubuntu/+source/tcltk-defaults/+question/146900
>
> 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://answers.launchpad.net/ubuntu/+source/tcltk-defaults/+question/146900/+confirm?answer_id=22
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
>
> https://answers.launchpad.net/ubuntu/+source/tcltk-defaults/+question/146900
>
> 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://utechmech.com

(801) 272-2411

Revision history for this message
Harry Gatley (harrygatley) said :
#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://answers.launchpad.net/ubuntu/+source/tcltk-defaults/+question/146900
>
> 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/bin/wish': File exists
> ubuntu:~>
>
> So it says the file exists but the VULCAN program cannot find it.
>
> ubuntu:~/Vulcan/Ver_6.1.1> VULCAN-CFD
> exec: 3: /usr/local/bin/wish: not found
> ubuntu:~/Vulcan/Ver_6.1.1>
>
>
> 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://answers.launchpad.net/ubuntu/+source/tcltk-defaults/+question/146900
> >
> > 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://answers.launchpad.net/ubuntu/+source/tcltk-defaults/+question/146900/+confirm?answer_id=22
> >
> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> >
> >
> https://answers.launchpad.net/ubuntu/+source/tcltk-defaults/+question/146900
> >
> > 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://utechmech.com
>
> (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://utechmech.com

(801) 272-2411

Revision history for this message
Ubfan (ubfan1) said :
#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
Harry Gatley (harrygatley) said :
#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://answers.launchpad.net/ubuntu/+source/tcltk-defaults/+question/146900
>
> 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://answers.launchpad.net/ubuntu/+source/tcltk-defaults/+question/146900/+confirm?answer_id=25
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
>
> https://answers.launchpad.net/ubuntu/+source/tcltk-defaults/+question/146900
>
> 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://utechmech.com

(801) 272-2411

Revision history for this message
Ubfan (ubfan1) said :
#28

click on menu system/administration/SynapticPackageManager,
type in python-tk in the search box,
right click and mark install.
click on the apply buton

Revision history for this message
Harry Gatley (harrygatley) said :
#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://answers.launchpad.net/ubuntu/+source/tcltk-defaults/+question/146900
>
> Status: Open => Answered
>
> Ubfan proposed the following answer:
> click on menu system/administration/SynapticPackageManager,
> 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://answers.launchpad.net/ubuntu/+source/tcltk-defaults/+question/146900/+confirm?answer_id=27
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
>
> https://answers.launchpad.net/ubuntu/+source/tcltk-defaults/+question/146900
>
> 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://utechmech.com

(801) 272-2411

Revision history for this message
Best mycae (mycae) said :
#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
Harry Gatley (harrygatley) said :
#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!