public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Unable to uninstall python 2.7 via the Cygwin setup program
@ 2014-07-28  4:01 Andrew Scott
  2014-07-28  4:51 ` Larry Hall (Cygwin)
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Scott @ 2014-07-28  4:01 UTC (permalink / raw)
  To: cygwin

Hi.

I am running Cygwin 64-bit on Windows 7 and had installed the
following packages using the Cygwin Setup program (v2.850 64 bit):
  python
  python-openssl
  python-setuptools
  python-tkinter
  python3
  python3-openssl
  python3-tkinter
I then tried to uninstall them using the same tool, and while I could
uninstall all the python3 packages, I couldn't uninstall python and
python-tkinter. When I tried to uninstall one, it would pop up an
error about the other being a dependency, and the same sort of thing
happened when I tried to uninstall both. As a result, I can't get rid
of python.

Does this make sense? I'm hoping someone can suggest a simple fix.

Thanks.

Andrew Scott
http://www.aes.id.au/

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Unable to uninstall python 2.7 via the Cygwin setup program
  2014-07-28  4:01 Unable to uninstall python 2.7 via the Cygwin setup program Andrew Scott
@ 2014-07-28  4:51 ` Larry Hall (Cygwin)
  0 siblings, 0 replies; 2+ messages in thread
From: Larry Hall (Cygwin) @ 2014-07-28  4:51 UTC (permalink / raw)
  To: cygwin

On 07/28/2014 12:01 AM, Andrew Scott wrote:
> Hi.
>
> I am running Cygwin 64-bit on Windows 7 and had installed the
> following packages using the Cygwin Setup program (v2.850 64 bit):
>    python
>    python-openssl
>    python-setuptools
>    python-tkinter
>    python3
>    python3-openssl
>    python3-tkinter
> I then tried to uninstall them using the same tool, and while I could
> uninstall all the python3 packages, I couldn't uninstall python and
> python-tkinter. When I tried to uninstall one, it would pop up an
> error about the other being a dependency, and the same sort of thing
> happened when I tried to uninstall both. As a result, I can't get rid
> of python.
>
> Does this make sense? I'm hoping someone can suggest a simple fix.

This is a known limitation of setup*.exe.  Its dependency checking is
focused on installing, not uninstalling.  As a result, you can sometimes
get into a dependency loop like this when you're trying to uninstall.
For now, there is no solution using setup*.exe.  You can, however, remove
the files from the packages you don't want by hand by using the list of
files it installed as returned by *cygcheck -l <package name>*.  That
should take care of the majority of what was done in the installation,
if not all of it.

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-28  4:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-28  4:01 Unable to uninstall python 2.7 via the Cygwin setup program Andrew Scott
2014-07-28  4:51 ` Larry Hall (Cygwin)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).