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 Larry W. Virden other posts by this author
Feb 6 2008 12:22PM messages near this date
view in the new Beta List Site
Re: [Activetcl] teacup remove/install sequence doesn't seem to work | Re: [Activetcl] teacup remove/install sequence doesn't seem to work
That theory sounds good. Except that the versions of ActiveTcl I have
come "only" with the minimal library and teacup. When I say:

 $ tclsh8.5
% package require dom::c
can't find package dom::c
$ which tclsh8.4
/vol/tclsrcsol/ActiveTcl/bin/tclsh8.4
srv29 $ tclsh8.4
% info patchlevel
8.4.17
% package require dom::c
attempt to provide package dom::c 2.6 failed: no version of package
dom::c provided

This is the second package that I've run into this with - teacup remove
reports it was successful, teacup list --at-default shows no sign of the
package, and teacup install -v --force --with-recommends reports the
item is installed so it won't install it (and it seems to me, that even
if it WAS installed, the --force seems to imply "install it anyways,
right overtop of whatever you think is there...")

-- 
<URL: http://wiki.tcl.tk/ > 
Even if explicitly stated to the contrary, nothing in this posting
should be construed as representing my employer's opinions.
<URL: mailto:lvirden@[...].com >  <URL: http://www.purl.org/NET/lvirden/
> 
 

-----Original Message-----
From: Jeff Hobbs [mailto:jeffh@[...].com] 
Sent: Wednesday, February 06, 2008 3:14 PM
To: Virden, Larry W.
Cc: activetcl@[...].com
Subject: Re: [Activetcl] teacup remove/install sequence doesn't seem to
work

Virden, Larry W. wrote:
>  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.
>  
>  Is there something else I need to specify to get this sort of sequence

>  to work?

My first guess would be that you removed dom::c from any teapot repo,
but the dom::c found in 'install' is the one that ships with ActiveTcl. 
  The teacup manages the local teapot, but is aware of the packages that
are included with an ActiveTcl version as well (but will not remove them
if it didn't install them).

Jeff
_______________________________________________
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