Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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 don't know how to update an app in Ubuntu Feisty. The command line either says "command not found" or "the update command takes no arguments". It tells me my Frostwire is old, but I have been unable to do anything about it. Could someone maybe give me a simple explanation for a not total newb, but still newb?
What exactly are you trying to type in? If you're using the shell you have to make sure to enter the command in exactly. It sounds to me like you're just typing in 'update', which is incorrect and means you're probably calling up the wrong program.
The proper command is 'apt-get', with 'update' being the subcommand that refreshes the list of available programs. It usually goes like this:
If there's a new version available, it will install it. If not, it will tell you that you already have the newest version. If you get a package-not-found error, then you may not have the right package name. Use the search pattern to locate the correct package to install (do note that search is apt-cache, not apt-get).
Actually, it's far easier just to use one of the graphical package installers. I prefer synaptic.
What exactly are you trying to type in? If you're using the shell you have to make sure to enter the command in exactly. It sounds to me like you're just typing in 'update', which is incorrect and means you're probably calling up the wrong program.
The proper command is 'apt-get', with 'update' being the subcommand that refreshes the list of available programs. It usually goes like this:
If there's a new version available, it will install it. If not, it will tell you that you already have the newest version. If you get a package-not-found error, then you may not have the right package name. Use the search pattern to locate the correct package to install (do note that search is apt-cache, not apt-get).
Actually, it's far easier just to use one of the graphical package installers. I prefer synaptic.
to upgrade an app it is
sudo apt-get -u dist-upgrade
Excuse me? dist-upgrade upgrades the entire distro (from Feisty to Gutsy, for example), installing and uninstalling packages as needed to match the new version's requirements. It's something you should need to do only very rarely, and I doubt very highly that that's what the OP wants here. To upgrade a single package, you simply refresh the repository and re-install the new version over the old one.
The main difference between upgrade and dist-upgrade is that dist-upgrade will remove packages, as well as install them. So you can really hose your system if you don't carefully observe what's it's doing when you run it. I know, because I've been there and done that. Had my entire kde environment removed, to be exact, and it was a nightmare figuring out how to get my installation back in order because of all the library dependencies involved. Try to install A and it removes B, etc.
'apt-get upgrade' won't leave you in situations like that, because it will only install or upgrade, never remove. It will simply skip any package update that involves removing a dependency.
I personally start by entering dist-upgrade, look very carefully at what it wants to do, and decide if it's safe to let it run. Often I have to back out of it and run a regular upgrade instead. Then I'll go back and handle any remaining package updates manually one-by-one, determining if it's safe to let it uninstall what it wants. Usually it's ok to say yes, because most of the time it only involves removing an old version of a library and installing an updated one with a new package name, but sometimes it wants to remove something important, and I have to let it wait until the proper dependencies get sorted out, usually by the next time I run the update.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.