LinuxQuestions.org
Review your favorite Linux distribution.
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 12-08-2015, 09:42 PM   #1
Higgsboson
Member
 
Registered: Dec 2014
Location: UK
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508

Rep: Reputation: 49
How to update software on debian 8


I often come across a message box on my web browser which says 'Software updates available'. The message box then disappears.

I tried updating software on debian 8 once and it gave me hundreds of packages to select and install. Once I selected a few, it kept saying the packages were not needed anyway.

I have used the command 'apt-get upgrade', but this isn't updating software packages.
So does anyone know of a command where the specific software I have will be viewed and then updated if there are updates available?
Thanks in advance.
 
Old 12-08-2015, 10:13 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,822

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
if you are using Firefox from the mozilla web site
and NOT the default Debian "iceweasel"

click on
help / " about firefox"
then in the pop up window will be the version and under it a link to "check for update " OR a message " Firefox is up to date"

for iceweasel
-- i use "su - " and NOT "sudo"

Code:
su -
apt-get update
apt-get upgrade
the first updates the database the second installs the new versions using the database
 
Old 12-08-2015, 10:52 PM   #3
Higgsboson
Member
 
Registered: Dec 2014
Location: UK
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by John VV View Post
for iceweasel
-- i use "su - " and NOT "sudo"

Code:
su -
apt-get update
apt-get upgrade
the first updates the database the second installs the new versions using the database
Thank you. I am using Iceweasel.
So does this mean I open up the root terminal and enter the 'update' and upgrade' commands?

I think I have done this.
However, I'm uncertain if this is updating all the software on my OS.
Once the message box 'software updates are available' appears, I'm guessing this means new software updates have been created. Even so, this may not be useful for me because I may not even have the software installed on my system.

So I'm wondering if there is a command which will look through all my software and update them from the debian repos.
Is that command 'apt-get upgrade' or are there more commands?
 
Old 12-09-2015, 12:42 AM   #4
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,385

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
https://wiki.debian.org/PackageManagement
 
Old 12-09-2015, 02:34 AM   #5
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
So I'm wondering if there is a command which will look through all my software and update them from the debian repos.
Is that command 'apt-get upgrade' or are there more commands?
As John VV stated above it is BOTH commands that will do what you want.

This is what the apt-get update command does (using sudo or run as root)
Quote:
update
update is used to resynchronize the package index files from their sources. The indexes of
available packages are fetched from the location(s) specified in /etc/apt/sources.list.
For example, when using a Debian archive, this command retrieves and scans the Packages.gz
files, so that information about new and updated packages is available. An update should
always be performed before an upgrade or dist-upgrade. Please be aware that the overall
progress meter will be incorrect as the size of the package files cannot be known in
advance.
And this is what the apt-get upgrade command does (using sudo or run as root)
Quote:
upgrade
upgrade is used to install the newest versions of all packages currently installed on the
system from the sources enumerated in /etc/apt/sources.list. Packages currently installed
with new versions available are retrieved and upgraded; under no circumstances are
currently installed packages removed, or packages not already installed retrieved and
installed. New versions of currently installed packages that cannot be upgraded without
changing the install status of another package will be left at their current version. An
update must be performed first so that apt-get knows that new versions of packages are
available.
So you need to run both commands in the order given above (i.e. first update then upgrade)
jdk
 
1 members found this post helpful.
  


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
Software update fails - bad update in repo? terry-duell Fedora 1 11-22-2012 10:40 AM
in calculate linux, i didnt found software manager, software installer, update manage YRDIXIT Linux - Desktop 4 08-18-2012 05:47 AM
Yum errors after failed update through Software Update whitesleeve Fedora 1 07-24-2011 04:02 AM
[SOLVED] Debian update manager states updates available but won't update EDDY1 Debian 15 07-01-2011 12:07 AM
LXer: The good ol' Debian/GNOME software update icon - do you miss it? LXer Syndicated Linux News 0 02-19-2010 01:00 PM


All times are GMT -5. The time now is 08:41 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration