LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 07-19-2011, 01:46 AM   #1
fungusgreen
LQ Newbie
 
Registered: May 2011
Posts: 2

Rep: Reputation: 0
updates-downloading and installing updates


how do i download and install updates? It says package not found.

Thanks
 
Old 07-19-2011, 02:11 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
"It says "? What is "it "?? We aren't psychic.

Assuming you are using Ubuntu here then you can find a software management GUI like synaptic in the system menu. Alternatively just use "sudo apt-get install <packagename>" from a command line.
 
Old 07-19-2011, 02:37 AM   #3
togitoon
Member
 
Registered: Jul 2011
Location: Istanbul
Distribution: CentOS 6
Posts: 30

Rep: Reputation: Disabled
For yum , You can use "yum upgrade" to uptade your system
 
Old 07-19-2011, 03:17 AM   #4
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
I'm assuming you use Ubuntu, which uses apt as the package management system. In that case "package not found" can mean two things (could be more, but these are common):

1) you misspelled the package name (when typing the command on command line)
2) the package you're trying to install/upgrade has been updated on the server, but your local package lists have not been updated, and the version you're trying to download no longer exists on the server

In the first case, simply make sure you do not misspell anything. In the second case, update your package lists (which you should do in any case) before attempting an install or upgrade action. To update the lists, click "refresh" or equivalent in the program you're using (like Synaptic or the "Add/Remove" tool), or from command line,

Code:
sudo apt-get update
After this, retry what you originally tried to do.

Third option would be that you're trying to get a package that does not exist. For example you may have copy-pasted a command off some webpage, but it's either old or for another distribution/version, and the package(s) mentioned in it do not exist on the repositories your system uses for fetching packages.

Last edited by b0uncer; 07-19-2011 at 03:18 AM.
 
1 members found this post helpful.
Old 07-20-2011, 01:12 AM   #5
fungusgreen
LQ Newbie
 
Registered: May 2011
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by acid_kewpie
"It says "? What is "it "?? We aren't psychic.

Assuming you are using Ubuntu here then you can find a software management GUI like synaptic in the system menu. Alternatively just use "sudo apt-get install <packagename>" from a command line.
Quote:
Originally Posted by togitoon
For yum , You can use "yum upgrade" to uptade your system
Quote:
Originally Posted by b0uncer
I'm assuming you use Ubuntu, which uses apt as the package management system. In that case "package not found" can mean two things (could be more, but these are common):

1) you misspelled the package name (when typing the command on command line)
2) the package you're trying to install/upgrade has been updated on the server, but your local package lists have not been updated, and the version you're trying to download no longer exists on the server

In the first case, simply make sure you do not misspell anything. In the second case, update your package lists (which you should do in any case) before attempting an install or upgrade action. To update the lists, click "refresh" or equivalent in the program you're using (like Synaptic or the "Add/Remove" tool), or from command line,

Code:

sudo apt-get update

After this, retry what you originally tried to do.

Third option would be that you're trying to get a package that does not exist. For example you may have copy-pasted a command off some webpage, but it's either old or for another distribution/version, and the package(s) mentioned in it do not exist on the repositories your system uses for fetching packages.
Forgot to mention that I am using Ubuntu. Sorry about that, and I appreciate the help. Thanks everyone.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
downloading updates joseph2020 Ubuntu 6 04-12-2009 04:38 AM
Downloading Updates Cushie Fedora 8 08-07-2008 04:01 AM
Huh? Updates not downloading?! hitest Ubuntu 4 10-18-2005 10:34 AM
MandrakeUpdate freezes when downloading updates. madstq Mandriva 3 03-23-2005 04:59 AM
Problems after downloading updates CJB Mandriva 5 01-19-2004 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration