Re: what does kept back mean when do apt-get upgrade?

2009-04-14 Thread Adrian Levi
2009/4/14 明覺 shi.min...@gmail.com:
 I often see that some packages are kept back when I do apt-get
 upgrade, what does it mean? what actions are done to those kept back
 packages? thanks

apt-get upgrade by default will not install new packages or remove
installed packages.
man apt-get
read the upgrade section.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
erno hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: what does kept back mean when do apt-get upgrade?

2009-04-14 Thread Stefan Monnier
 I often see that some packages are kept back when I do apt-get
 upgrade, what does it mean?

It means that there are newer versions of those packages available, but
apt-get refrained from upgrading them.  The reasons for that can be that
in order to upgrade those packages, apt-get would need to add or remove
some other packages.


Stefan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: what does kept back mean when do apt-get upgrade?

2009-04-14 Thread Nigel Henry
On Tuesday 14 April 2009 16:52, Stefan Monnier wrote:
  I often see that some packages are kept back when I do apt-get
  upgrade, what does it mean?

 It means that there are newer versions of those packages available, but
 apt-get refrained from upgrading them.  The reasons for that can be that
 in order to upgrade those packages, apt-get would need to add or remove
 some other packages.


 Stefan

I remember a while back that Rosegarden was held back for about 6 weeks. that 
was on Lenny, and I always do an apt-get dist-upgrade. I think that sometimes 
the problem is, as in the Rosegarden case, that dependencies for Rosegarden 
need to be upgraded before the Rosegarden version that is being held back, 
can be installed.

The way this seemed to work out, was that the currently installed Rosegarden 
version would continue to work, then when the needed upgrades for 
dependencies for the held back new Rosegarden version were available, then, 
and only then would the held back version of Rosegarden be installed, along 
with the upgraded dependencies for Rosegarden.

Don't know if that makes sense, but it seemed to be the way it worked for me.

Nigel.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



what does kept back mean when do apt-get upgrade?

2009-04-13 Thread 明覺
I often see that some packages are kept back when I do apt-get
upgrade, what does it mean? what actions are done to those kept back
packages? thanks

-- 
My platform is Debian-sid gnome mozilla blender eclipse monodevelop.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: what does kept back mean when do apt-get upgrade?

2009-04-13 Thread Nelson Castillo
On Mon, Apr 13, 2009 at 6:13 PM, 明覺 shi.min...@gmail.com wrote:
 I often see that some packages are kept back when I do apt-get
 upgrade, what does it mean? what actions are done to those kept back
 packages? thanks

The package is not upgraded.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: what does kept back mean when do apt-get upgrade?

2009-04-13 Thread 明覺
2009/4/14 David Fox dfox94...@gmail.com:
 On Mon, Apr 13, 2009 at 4:13 PM, 明覺 shi.min...@gmail.com wrote:
 I often see that some packages are kept back when I do apt-get
 upgrade, what does it mean? what actions are done to those kept back
 packages? thanks

 They're put on temporary hold. Kept back means that there exists a
 dependency on one or more of the kept back packages that prevent them
 from being installed.

 Sometimes you can upgrade them by doing a dist-upgrade or
 full-upgrade,  but you have to be careful.
if i do the dist-upgrade or full-upgrade to force upgrade these
packages, then i may break the dependency of some other packages,
which depend on the old versions, right? thanks.


 --
 thanks for letting me change the magnetic patterns on your hard disk.




-- 
My platform is Debian-sid gnome mozilla blender eclipse monodevelop.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: what does kept back mean when do apt-get upgrade?

2009-04-13 Thread Jeffrey Cao
On 2009-04-14, 明覺 shi.min...@gmail.com wrote:
 2009/4/14 David Fox dfox94...@gmail.com:
 On Mon, Apr 13, 2009 at 4:13 PM, 明覺 shi.min...@gmail.com wrote:
 I often see that some packages are kept back when I do apt-get
 upgrade, what does it mean? what actions are done to those kept back
 packages? thanks

 They're put on temporary hold. Kept back means that there exists a
 dependency on one or more of the kept back packages that prevent them
 from being installed.

 Sometimes you can upgrade them by doing a dist-upgrade or
 full-upgrade,  but you have to be careful.
 if i do the dist-upgrade or full-upgrade to force upgrade these
 packages, then i may break the dependency of some other packages,
 which depend on the old versions, right? thanks.

No, you'll not break the dependency.
If the package to update depends on a new package, then the package will be
kept back when you use apt-get update.
apt-get update will not install new packages or remove un-needed packages
automatically. apt-get dist-upgrade solves this issue.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: what does kept back mean when do apt-get upgrade?

2009-04-13 Thread Mark McCorkell
On Tue, 2009-04-14 at 09:07 +0800, 明覺 wrote:

 if i do the dist-upgrade or full-upgrade to force upgrade these
 packages, then i may break the dependency of some other packages,
 which depend on the old versions, right? thanks.

My understanding is that it won't break dependencies, only install those
that may be missing from your system.

For example:

foo-1.0 is installed on your system. It has no dependencies.

foo-1.1 is released which depends on libbar-1.1.

If you already have libbar-1.1 installed, apt-get upgrade will upgrade
to foo-1.1

If you don't have libbar-1.1 installed, apt-get upgrade will 'keep
back' foo-1.1, whereas apt-get dist-upgrade will update to foo-1.1 AND
install libbar-1.1.

The caution comes in that sometimes dist-upgrade will remove packages
too, but even then it generally gets it right.


-- 
Mark McCorkell markmccork...@tiscali.co.uk


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: what does kept back mean when do apt-get upgrade?

2009-04-13 Thread 明覺
2009/4/14 David Fox dfox94...@gmail.com:
 2009/4/13 明覺 shi.min...@gmail.com:

 if i do the dist-upgrade or full-upgrade to force upgrade these
 packages, then i may break the dependency of some other packages,
 which depend on the old versions, right? thanks.

 It is possible to have some packages that depend on an old version of
 a particular package but still have new packages that depend on the
 new verson of a package. Sometimes that happens when there is a
 transition. Often, one can just wait to have the problems resolve
 itself and then the held back packages get fixed.
So it means if there are 2 versions for a same package exist
concurrently, and the new version requires other new packages
installed, then the new version won't be installed, say it kept
back. Only after the old version is removed, and only one version of
the kept back package exisits, then the new version will be
installed and won't be kept back any more, right? thanks.


 A lot of times, aptitude (or apt-get) suggests ways to get around the
 problem, but still you have to be careful how you proceed. Usually
 when I see it try to remove too many things in order to fix a problem
 of this type, I figure that it's not the right thing to do at the
 moment.




 --
 thanks for letting me change the magnetic patterns on your hard disk.




-- 
My platform is debian-sid gnome mozilla eclipse monodevelop blender.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: what does kept back mean when do apt-get upgrade?

2009-04-13 Thread 明覺
On Tue, Apr 14, 2009 at 10:31 AM, Jeffrey Cao jcao.li...@gmail.com wrote:
 On 2009-04-14, 明覺 shi.min...@gmail.com wrote:
 2009/4/14 David Fox dfox94...@gmail.com:
 On Mon, Apr 13, 2009 at 4:13 PM, 明覺 shi.min...@gmail.com wrote:
 I often see that some packages are kept back when I do apt-get
 upgrade, what does it mean? what actions are done to those kept back
 packages? thanks

 They're put on temporary hold. Kept back means that there exists a
 dependency on one or more of the kept back packages that prevent them
 from being installed.

 Sometimes you can upgrade them by doing a dist-upgrade or
 full-upgrade,  but you have to be careful.
 if i do the dist-upgrade or full-upgrade to force upgrade these
 packages, then i may break the dependency of some other packages,
 which depend on the old versions, right? thanks.

 No, you'll not break the dependency.
 If the package to update depends on a new package, then the package will be
 kept back when you use apt-get update.
 apt-get update will not install new packages or remove un-needed packages
 automatically. apt-get dist-upgrade solves this issue.
If the currently installed version of a kept back package doesn't
exist any more in debian source package library, and only new version
of the package exists, apt-get upgrade still won't install new
packages and remove un-needed packages? thanks.


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org





-- 
My platform is debian-sid gnome mozilla eclipse monodevelop blender.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org