maphew / cyg-apt

Automatically exported from code.google.com/p/cyg-apt
0 stars 0 forks source link

installer uses /usr/bin/cyg-apt #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install cygwin
2. download last cyg-apt archive and unpack
3. run ./install-cyg-apt.sh

What is the expected output? What do you see instead?

Traceback (most recent call last):
  File "/usr/bin/cyg-apt", line 1581, in <module>
    main()
  File "/usr/bin/cyg-apt", line 1464, in main
    cas = CygAptSetup(main_cygwin_p)
  File "/usr/bin/cyg-apt", line 57, in __init__
    if os.environ['TMP']:
  File "/usr/lib/python2.5/UserDict.py", line 22, in __getitem__
    raise KeyError(key)
KeyError: 'TMP'

What version of the product are you using? On what operating system?

cygwin 1.7, cyg-apt-1.0.7-1, win7 x64

Please provide any additional information below.

shouldn't it use the cyg-apt from . ?

Original issue reported on code.google.com by t.elfer...@gmail.com on 12 Jan 2010 at 2:08

GoogleCodeExporter commented 9 years ago
title may be misleading, but I thought the error occurred because I did not 
have a
cyp-apt in /usr/bin before the install, install did complete succesfully...

Original comment by t.elfer...@gmail.com on 12 Jan 2010 at 2:15

GoogleCodeExporter commented 9 years ago
i received this error too, but it was because TMP was not set

Original comment by ryantimm...@gmail.com on 30 Apr 2010 at 5:56

GoogleCodeExporter commented 9 years ago
This issue is fixed in my fork of the project:

https://github.com/nylen/cyg-apt

Original comment by jny...@gmail.com on 4 Dec 2012 at 9:57