[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



On 2009-04-14, 明覺 <shi.minjue@gmail.com> wrote:
> 2009/4/14 David Fox <dfox94085@gmail.com>:
>> On Mon, Apr 13, 2009 at 4:13 PM, 明覺 <shi.minjue@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.


Reply to: