Tiny Core Linux

Tiny Core Base => TCB Bugs => Topic started by: hiro on February 12, 2013, 06:55:54 AM

Title: error out if already installed
Post by: hiro on February 12, 2013, 06:55:54 AM
When I use tce trying to download a package that already exists in my tcedir the package still gets mounted after this message
wget: server returned error: HTTP/1.1 416 Requested Range Not Satisfiable

The problem with this is that dependencies are not loaded as they would be if I used tce-load -i packagename.
An option to load packages like with the -i option but from inside ab would appeal me, but it would also be ok to error out like it used to be.
Title: Re: error out if already installed
Post by: roberts on February 15, 2013, 01:23:21 PM
When I use tce trying to download a package that already exists in my tcedir the package still gets mounted after this message
wget: server returned error: HTTP/1.1 416 Requested Range Not Satisfiable

The problem with this is that dependencies are not loaded as they would be if I used tce-load -i packagename.
An option to load packages like with the -i option but from inside ab would appeal me, but it would also be ok to error out like it used to be.
tce merely calls tce-load with either -iw or -ow. It is merely a wrapper for easy selection to download extensions. I will add a check if already downloaded and exit with such message.
Title: Re: error out if already installed
Post by: hiro on February 15, 2013, 02:13:49 PM
Ah, so you're going to change tce-load -wi so that it will check before trying to download?
Title: Re: error out if already installed
Post by: roberts on February 15, 2013, 02:21:14 PM
No. Not going to ignore a specified flag to tce-load that would be heresy. The change is to tce.