Tiny Core Base > TCB Bugs

appbrowser not installing deps for packages -that are already- locally installed

(1/3) > >>

tobiaus:
edit: only modifed the title... granted i tried an older version of tc (i don't think this is something that's changed) but i just tried installing leafpad by downloading the .tce from ibiblio using wget (which i knew wouldn't install the deps) and then tried to install leafpad from the appbrowser.

appbrowser knows that leafpad.tce has been installed, but it assumes the deps are also installed, so it won't download and install them. the only way to install leafpad now is to delete it, or (if using cloud) reboot, or install the deps manually (which is fine for me, but for someone that thinks it's buggy and is having trouble, not the best option.) it shouldn't usually be an issue, but on occasion it could be great if instead of checking to see if one dep was installed, it downloaded just the .dep file and checked if each was installed.

mikshaw:

--- Quote --- it assumes the deps are also installed
--- End quote ---
Technically speaking, it doesn't assume anything. In a local environment it simply installs the package you chose to install.  I'm not sure if it has changed, but if it has you would need to have downloaded the *.dep file for the package and all files listed in the *.dep file in order for it to install the dependencies from a local directory.  It's much easier to use the appbrowser online initially, which will automatically handle dependencies.  In any case, I'm sure there will continue to be improvements in the future.


--- Quote ---the only way to install leafpad now is to delete it, or (if using cloud) reboot
--- End quote ---
I'm not sure why you feel this is needed.  You should be able to install the dependencies even after the non-functional application is installed.  If needed you can get the dep file in the same place that you got leafpad. It will be named the same as the leafpad file, with ".dep" at the end.  Currently I think it's not visible in a web browser or the appbrowser, so you will need to type.   In a web browser you can copy the link to leafpad, paste in the address bar, then add ".dep" to the end of the address.  As I said, I'm pretty sure this will be a temporary annoyance.  Tiny Core is still very young.

EDIT: I didn't notice who the poster was until after I replied.  Forgive me for the patronizing tone...I typically reserve that for teaching noobs =o)

tobiaus:
nevermind the tone, let's make sure my post was clear because i'm not saying that there's anything wrong with the "install local" button. this is about "install selected."

as a hypothetical noob, i want to install mtpaint, so i download http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/tce/mtpaint-3.21.tce because someone has linked me to it, or i found it in "downloads" from the main page and i've never used appbrowser.

then i install it (using appbrowser, file > install local.) i think mtpaint doesn't work because i know nothing about deps or .dep files. (the next version of appbrowser is going to improve that.)

now if i'm using ppr/tce, i can delete mtpaint and reboot. if i'm using cloud, rebooting is not as great an option. if i'm using tcz, i can unmount and delete the tcz, but cloud is the easiest mode for hypothetical noobs. perhaps i should use tce-uninstall but it also has deps! and then who wants to recommend tce-uninstall to a new user? (unless they ask.)

the problem is that i've installed mtpaint improperly without deps and i'm (hypothetically) having trouble manually installing the deps one at a time. perhaps there are many and i don't know which isn't installed, but i'm asking tobiaus (hypothetically) how to make mtpaint work, and he's telling me "open appbrowser, connect to tce, select mtpaint-3.21.tce and "install selected." only his advice will not work you see... appbrowser "install selected" will only check if mtpaint is installed- and never install the deps automatically- rendering the simplest answer to "how to make mtpaint work?" useless.

roberts:
The title of this post is very misleading, because, in fact, locally stored extension that are complete do indeed load dependencies.

You are over looking the statement on the web page that clearly states:

To load interactively with automatic dependency resolution use the TCE Applicaton Browser.

The web browser download 'save as' is not recommended, neither is a manual wget.
If there is any complaint, it would be to add more colums to web page. or perhaps not allow such piecemeal downloads. As even adding more columns to the web page still means much manual effort including manual checking of the md5 checksum.

The appbrowser not only does the dependencies but also the checking of the extension's md5sum.

I can make the webpage warning statement use a bigger font, perhaps red, perhaps flashing, or perhaps, disable the download links altogether.

But the fact remains, if an extension is complete and stored locally, locally installed extensions using appbrowser, do load the extensions' dependencies.

roberts:
Some extensions do not need a .dep and therefore would not have one. So the appbrowser reporting that the selected extension is loaded is proper based on the available files.  It would not be "load local", if everytime, the appbrowser had to access the web to check to see if you had manually missed some required part of the download because you had decided to do parts manually.

It is like complaining that the extension does not run properly because you failed to download the .md5.txt and check it and the extension is in fact corrupt.  Yet, you are not mentioning that.

Use the appbrowser and it will work.

Navigation

[0] Message Index

[#] Next page

Go to full version