Re: Matchbox 0.1.8 error on install/upgrade

digger vermont <[email protected]> 14 Mar 2002 11:46:01 -0500
Newsgroups gmane.comp.handhelds.matchbox
Message-ID <1016124363.19553.41.camel@betty>
On Thu, 2002-03-14 at 10:55, Carl Worth wrote:
> On Mar 14, digger vermont wrote:
>  > Installing matchbox (0.1.8)
>  > ERROR: Package matchbox wants to install file /usr/bin/miniapm
>  > 	But that file is already provided by package <no package>
>  > 
>  > I tried with both ipkg and ipkg-unstable with the same results
> 
> uhm... the old ipkg had no such message, but the new ipkg-unstable
> does.

Well... I tried to duplicate the error by removing matchbox, touching
/usr/bin/miniapm, and installing matchbox.  Neither ipkg or
ipkg-unstable would give me an error.  So, I don't know what to say
about my original claim regarding thje error with ipkg :)

> 
> It's important and it is uncovering a few packaging bugs. (eg. ipkg
> and menu-tiny have both been installing /usr/bin/update-menus).

How does debian deal with that? does one defer to the other?

> 
>  > Uninstalling matchbox doesn't help.
>  > rm /usr/bin/miniapm helps.
> 
> That's the correct solution. Maybe in the case of a clashing file
> being "provided by package <no package>" I could add some text to the
> error message:
> 
> 	"Please move this file out of the way and try again."
> 
> What do you think? Would that make it more clear.
 Can I assume that if I see <no package> some type of "ipkg search file"
was done?  "Please move... again." is clearer.  

One thing that happens however with ipkg is it seems to d/l an ipk each
time it is is requested even if it was d/l'd just moments ago. So if I
get the message "Please move... again." After I do that, ipkg will d/l
the ipk a second time. Kinda a pain in the case of a large package.
Could the message offer to remove the file and continue? Something like:

	"Shall I remove the file for you? (yes, no, etc)"
 

> 
> -Carl
> 
> -- 
> Carl Worth                                        
> USC Information Sciences Institute                 [email protected]
> 3811 N. Fairfax Dr. #200, Arlington VA 22203		  703-812-3725
> _______________________________________________
> Matchbox mailing list
> [email protected]
> http://handhelds.org/mailman/listinfo/matchbox