Unix Technical Forum

packages kept back?

This is a discussion on packages kept back? within the Debian Linux support forums, part of the Debian Linux category; --> Hi, how can I find out why packages are being kept back from upgrade? fuchur:~# apt-get upgrade -u Reading ...


Go Back   Unix Technical Forum > Unix Operating Systems > Debian Linux > Debian Linux support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-19-2008, 06:38 AM
Joern Bredereck
 
Posts: n/a
Default packages kept back?

Hi,

how can I find out why packages are being kept back from upgrade?

fuchur:~# apt-get upgrade -u
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages have been kept back
comerr-dev e2fsprogs imagemagick libmagick5 mysql-client mysql-server
php5-mysql sysvinit

I assume there are dependancy problems between conflicting apt-sources,
but how can I resolv those conflicts?

Thanks!

Joern
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-19-2008, 06:38 AM
Andy Fraser
 
Posts: n/a
Default Re: packages kept back?

In alt.os.linux.debian, Joern Bredereck uttered the immortal words:

> how can I find out why packages are being kept back from upgrade?
>
> fuchur:~# apt-get upgrade -u
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following packages have been kept back
> comerr-dev e2fsprogs imagemagick libmagick5 mysql-client mysql-server
> php5-mysql sysvinit
>
> I assume there are dependancy problems between conflicting apt-sources,
> but how can I resolv those conflicts?


There are several reasons why packages are kept back. The most common ones I
see in unstable are:

1. A package depends on a package that doesn't exist yet.
2. A package depends on a package version that doesn't exist yet.
3. A package's dependencies have changed a new package needs to be installed
and/or an old package needs to be removed.

For 1 and 2 you just have to wait for the Debian maintainers to sort it out.
"apt-get dist-upgrade" can help with 3 but be careful with it. Use the -s
switch to see exactly what APT wants to do first.

Which branch of Debian are you using? My unstable box reports no php5*
packages at all and there appear to be no problems with the others. If
you're using unofficial repositories then that could be another reason.

--
Andy.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-19-2008, 06:38 AM
Joern Bredereck
 
Posts: n/a
Default Re: packages kept back?

Andy Fraser wrote:


> There are several reasons why packages are kept back. The most common ones I
> see in unstable are:
>
> 1. A package depends on a package that doesn't exist yet.
> 2. A package depends on a package version that doesn't exist yet.
> 3. A package's dependencies have changed a new package needs to be installed
> and/or an old package needs to be removed.


ok, so far that's clear. But what tools do I have to check out what is
missing?

> Which branch of Debian are you using? My unstable box reports no php5*
> packages at all and there appear to be no problems with the others. If
> you're using unofficial repositories then that could be another reason.


I'm using Debian Woody with some backport-apt-sources:


fuchur:~# cat /etc/apt/sources.list
deb http://www.backports.org/debian/ woody smartmontools
#deb http://www.proesdorf.de/debian/ stable main contrib
#deb http://www.backports.org/debian stable all
deb http://www.fs.tum.de/~bunk/debian woody/kernel-26 main
deb http://debian.moolfreet.com ./
deb http://ftp.de.debian.org/debian/ stable main non-free contrib
deb-src http://ftp.de.debian.org/debian/ stable main non-free contrib
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib
non-free
deb-src http://non-us.debian.org/debian-non-US stable/non-US main
contrib non-free

deb http://security.debian.org/ stable/updates main contrib non-free
deb http://www.backports.org/debian/ woody mysql-dfsg
deb http://www.backports.org/debian/ woody uw-imap

I'm pretty sure I'm lacking some packages that belong to sources that I
don't use anymore (backports.org/debian stable all e.g.).If I knew
exactly what packages are missing, I could try to install them manually.


--
Joern
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-19-2008, 06:38 AM
Andy Fraser
 
Posts: n/a
Default Re: packages kept back?

In alt.os.linux.debian, Joern Bredereck uttered the immortal words:

>> There are several reasons why packages are kept back. The most common
>> ones I see in unstable are:
>>
>> 1. A package depends on a package that doesn't exist yet.
>> 2. A package depends on a package version that doesn't exist yet.
>> 3. A package's dependencies have changed a new package needs to be
>> installed and/or an old package needs to be removed.

>
> ok, so far that's clear. But what tools do I have to check out what is
> missing?


I don't usually worry about it. As I said, dist-upgrade usually sorts out 3
and there's not much that can be done about 1 and 2 if the maintainers
haven't released certain packages yet.

>> Which branch of Debian are you using? My unstable box reports no php5*
>> packages at all and there appear to be no problems with the others. If
>> you're using unofficial repositories then that could be another reason.

>
> I'm using Debian Woody with some backport-apt-sources:

<snip sources.list>

> I'm pretty sure I'm lacking some packages that belong to sources that I
> don't use anymore (backports.org/debian stable all e.g.).If I knew
> exactly what packages are missing, I could try to install them manually.


You could try installing them manually with the -s switch ie "apt-get
install imagemagick*-s". It should give you a clearer idea of what's
missing.

There's probably a better way to check but I rarely need the more advanced
features of APT and when I do I look at the docs at http://www.debian.org
then promptly forget what I did. :-)

--
Andy.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-19-2008, 06:38 AM
Bill Marcum
 
Posts: n/a
Default Re: packages kept back?

On Wed, 08 Dec 2004 15:55:55 +0000, Andy Fraser
<andyfraser31@hotmail.com> wrote:
> In alt.os.linux.debian, Joern Bredereck uttered the immortal words:
>
>>> There are several reasons why packages are kept back. The most common
>>> ones I see in unstable are:
>>>
>>> 1. A package depends on a package that doesn't exist yet.
>>> 2. A package depends on a package version that doesn't exist yet.
>>> 3. A package's dependencies have changed a new package needs to be
>>> installed and/or an old package needs to be removed.

>>
>> ok, so far that's clear. But what tools do I have to check out what is
>> missing?

>

Try aptitude.


--
Programming Department:
Mistakes made while you wait.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:36 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com