LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 09-28-2011, 11:53 PM   #1
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,727
Blog Entries: 3

Rep: Reputation: 107Reputation: 107
update manager confused about available updates vs. up-to-date


I've installed Linux Mint 11.

The update-manager shows in the notification area saying, "there are updates."

When I open the update-manager, it does its usualy dance but the status line says, "up to date". On the toolbar, the app shows
a checkmark to "install updates"

Nothing happens when I select the "install updates" item.

sudo apt-get update reports "Fetched ..."

sudo apt-get upgrade reports "O..." for everything
upgraded, installed, removed, etc.

sudo aptitude update reports "Fetched ..."

sudo aptitude upgrade reports "No packages ..."

How do I get things back in sync re TODO vs. DONE?

Thanks,
~~~ 0;-Dan
 
Old 09-29-2011, 04:14 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
You can open a terminal and type
Code:
aptitude --no-gui
Then you will see
Code:
--- Upgradable Packages
You can then find out what they upgradable packages are if any. They may have dependency problems which is why they won't be upgraded on a safe-upgrade.
ciao,
jdk
 
Old 09-29-2011, 04:44 AM   #3
kasl33
Member
 
Registered: Oct 2004
Location: USA
Distribution: Ubuntu-Server, Mac OS X, Arch Linux
Posts: 356

Rep: Reputation: 48
Try this:
Code:
 apt-get update
apt-get upgrade
apt-get -f install
 
Old 09-29-2011, 06:30 AM   #4
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Quote:
Originally Posted by jdkaye View Post
You can open a terminal and type
Code:
aptitude --no-gui
Then you will see
Code:
--- Upgradable Packages
You can then find out what they upgradable packages are if any. They may have dependency problems which is why they won't be upgraded on a safe-upgrade.
ciao,
jdk
But, he never issued the safe-upgrade command.

I haven't used a Debian-based system for awhile, but it seems to me that it would be best to try:

Code:
sudo aptitude update && sudo aptitude safe-upgrade
As far as I recall, upgrade will not install new packages to meet dependencies, while safe-upgrade will.
 
Old 09-29-2011, 08:00 AM   #5
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by andrewthomas View Post
But, he never issued the safe-upgrade command.

I haven't used a Debian-based system for awhile, but it seems to me that it would be best to try:

Code:
sudo aptitude update && sudo aptitude safe-upgrade
As far as I recall, upgrade will not install new packages to meet dependencies, while safe-upgrade will.
If you look at his first post he did do "sudo aptitude upgrade" which still works.
ciao,
jdk
 
Old 09-29-2011, 02:34 PM   #6
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Quote:
Originally Posted by jdkaye View Post
If you look at his first post he did do "sudo aptitude upgrade" which still works.
ciao,
jdk
But an aptitude upgrade will not install new dependencies, only update already installed packages.

An aptitude safe-upgrade, on the other hand, will install new dependencies.

Just pointing out a possible reason for a held-package.
 
Old 09-30-2011, 04:53 AM   #7
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by andrewthomas View Post
But an aptitude upgrade will not install new dependencies, only update already installed packages.

An aptitude safe-upgrade, on the other hand, will install new dependencies.

Just pointing out a possible reason for a held-package.
Where do you see that, Andrew? I've looked at at man aptitude and aptitude --help and neither mentions an upgrade command but only safe or full upgrade. I know they changed the command from dist- to full- and upgrade to safe-upgrade. My understanding was both old commands still work but they prefer to you use the more current ones.
Anyway, If you have a reference, I'd like to see it. Thanks,
jdk
 
Old 09-30-2011, 06:10 AM   #8
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
OK, I guess that I am wrong.

I must have been confusing the difference between apt-get upgrade and aptitude safe-upgrade.

Since I haven't used a debian-based system in awhile, it is probably understandable.

What I did find funny is that I did look at the Ubuntu aptitude man page

http://manpages.ubuntu.com/manpages/...ptitude.8.html

and found no reference to aptitude upgrade, only safe-upgrade and the fact that dist-upgrade is now full-upgrade.

It doesn't actually state what happens when you issue an upgrade.

Quote:
safe-upgrade
Upgrades installed packages to their most recent version. Installed
packages will not be removed unless they are unused (see the
section "Managing Automatically Installed Packages" in the aptitude
reference manual). Packages which are not currently installed may
be installed to resolve dependencies unless the --no-new-installs
command-line option is supplied.

If no <package>s are listed on the command line, aptitude will
attempt to upgrade every package that can be upgraded. Otherwise,
aptitude will attempt to upgrade only the packages which it is
instructed to upgrade. The <package>s can be extended with suffixes
in the same manner as arguments to aptitude install, so you can
also give additional instructions to aptitude here; for instance,
aptitude safe-upgrade bash dash- will attempt to upgrade the bash
package and remove the dash package.

It is sometimes necessary to remove one package in order to upgrade
another; this command is not able to upgrade packages in such
situations. Use the full-upgrade command to upgrade as many
packages as possible.

full-upgrade
Upgrades installed packages to their most recent version, removing
or installing packages as necessary. This command is less
conservative than safe-upgrade and thus more likely to perform
unwanted actions. However, it is capable of upgrading packages that
safe-upgrade cannot upgrade.

If no <package>s are listed on the command line, aptitude will
attempt to upgrade every package that can be upgraded. Otherwise,
aptitude will attempt to upgrade only the packages which it is
instructed to upgrade. The <package>s can be extended with suffixes
in the same manner as arguments to aptitude install, so you can
also give additional instructions to aptitude here; for instance,
aptitude full-upgrade bash dash- will attempt to upgrade the bash
package and remove the dash package.

Note
This command was originally named dist-upgrade for historical
reasons, and aptitude still recognizes dist-upgrade as a
synonym for full-upgrade.
My bad jdkaye, sorry.
 
Old 09-30-2011, 12:02 PM   #9
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
No problem. You help a hell of a lot of people. And who of us hasn't made mistakes. I certainly have done.
ciao,
jdk
 
  


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
[SOLVED] Debian update manager states updates available but won't update EDDY1 Debian 15 06-30-2011 11:07 PM
Ubuntu 10.10 Update Manager not able to install updates LordValar Linux - Newbie 2 02-07-2011 10:09 AM
Installing updates via the update manager macden Linux - Software 2 02-04-2011 07:57 PM
Is it possible for Update Manager to ignore future specific updates I've deselected Thane Ubuntu 4 12-08-2010 03:45 PM
Should I install all of the updates in the update manager? tottenhamfan Linux - Newbie 4 04-23-2010 11:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 01:56 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
Open Source Consulting | Domain Registration