I cannot seem to download files. Terminal always says file not found even though it exists
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I cannot seem to download files. Terminal always says file not found even though it exists
Hi all, I'm a total beginner with linux distros and I booted Zenwalk from a flash drive today and have tried downloading and installing the latest version of firefox. I managed to download the .txz file but whenever it comes to installing it from the terminal or pkgtool, it says "Cannot install mozilla-firefox-66.0-x86_64-190319.txz: file not found"
This happens if and when I use the "installpkg" command or even the "#upgradepkg -install-new...."
But to which directory?
I long forgot what the standard location was in firefox, but in my system all downloads go to some "tmp" directory, not even under my home. I configured that a long time ago.
Under "preferences you can see or change that location, or set it to "ask" so that you will asked every time where to download it to.
It is the "browser.download.dir" in your prefs.js file (in your firefox profile).
Hi all, I'm a total beginner with linux distros and I booted Zenwalk from a flash drive today and have tried downloading and installing the latest version of firefox. I managed to download the .txz file but whenever it comes to installing it from the terminal or pkgtool, it says "Cannot install mozilla-firefox-66.0-x86_64-190319.txz: file not found"
This happens if and when I use the "installpkg" command or even the "#upgradepkg -install-new...."
Anybody know a fix?
Thank you
1. To find out where it was downloaded, launch the command in a console
and from your home directory:
Code:
find * -type f -name mozilla-firefox-66.0-x86_64-190319.txz
2. Copy the path displayed and, as root, launch the 'installpkg' command
by feeding it the path found above
Although updating the locate database never is bad, for this one case a simple 'find' command would be faster, as already proposed in this thread.
...if it's located within the location find is set to search (which, the file is likely in the home directory). However, if the file is outside of the location specified (or they're searching the whole filesystem), it might be faster to update the locate database and use that.
I also know that OP is using zenwalk, and I don't know if it has a cron entry to run updatedb like Slackware does, but if it does and OP kept the computer turned on and the database has already been updated (since it runs by default at 4am), locate would be extremely fast.
...if it's located within the location find is set to search (which, the file is likely in the home directory). However, if the file is outside of the location specified (or they're searching the whole filesystem), it might be faster to update the locate database and use that.
locate does not search in the whole filesystem neither, see /etc/updatedb.conf.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.