ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> activetcl
activetcl
Re: [Activetcl] teacup remove/install sequence doesn't seem to work
by Andreas Kupries other posts by this author
Feb 6 2008 12:21PM messages near this date
view in the new Beta List Site
[Activetcl] teacup remove/install sequence doesn't seem to work | Re: [Activetcl] teacup remove/install sequence doesn't seem to work
>  I'm using the latest incarnation of teacup. My repository contains
>  tcl 8.4.17 and 8.5.x extensions.
> 
>  I ran the following:
> 
>  $ teacup remove dom::c
>   Removing instance package dom::c 2.6 solaris2.6-sparc
>   Removing instance package dom::c 2.6 solaris2.8-sparc
>  $ teacup install --force dom::c
>  Resolving dom::c -is package ... [package dom::c 2.6 _ ...
>  Already installed, probing dependencies]
> 
>  I am uncertain why a teacup install --force would tell me that something
>  is already installed. I thought the purpose of --force was to force an
>  install regardless of the state within the repository.

The use of --force forces an install if _and only if_ the package would not
be installed due to missing dependencies.

If the package would not be installed for other reasons then teacup does not
get to the place in the code where --force would kick in. Thus --force does
not matter for these cases.

Which we have here.

>  Is there something else I need to specify to get this sort of sequence
>  to work?

No.

--
	Andreas Kupries <andreask@[...].com> 
	Developer @ http://www.ActiveState.com
	Tel: +1 778-786-1122

_______________________________________________
ActiveTcl mailing list
ActiveTcl@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Larry W. Virden
Andreas Kupries
Larry W. Virden
Jeff Hobbs
Mark Howe
Andreas Kupries
Larry W. Virden
Andreas Kupries

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved