Packages have been kept back -- What to do?

Kipton Moravec kip at kdream.com
Fri Jun 30 11:58:48 UTC 2006


On Thu, 2006-06-29 at 23:18 -0400, Scott Kitterman wrote:
> On Thursday 29 June 2006 22:50, Kipton Moravec wrote:
> > kip at Red:~ $ sudo apt-get -V dist-upgrade
> > Password:
> > Reading package lists... Done
> > Building dependency tree... Done
> > Calculating upgrade...Done
> > The following packages have been kept back:
> >    gdk-imlib1 (1.9.14-16.2ubuntu4 => 1.9.14-29ubuntu1)
> >    libkrb5-17-heimdal (0.6.3-11ubuntu1.2 => 0.7.1-1ubuntu3)
> >    libopenal0 (0.2004090900-1.1build1 => 0.2005080600-2.1build2)
> >    moagg (0.18-1build1 => 0.18-3)
> > 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
> > kip at Red:~ $
> >
> > It is still too cryptic for me to understand what it is telling me.
> >
> It's telling you which versions you have installed and which versions it is 
> thinking it should upgrade to, but can't, e.g version 1.9.14-16.2ubuntu4 of 
> gdk-imlib1 is currently installed and apt thinks it should be updated to 
> 1.9.14-29ubuntu1.
> 
> Looking at these version numbers in the package search tool, to pick one 
> example:
> 
> http://packages.ubuntu.com/dapper/oldlibs/gdk-imlib1
> 
> I see that in all cases you have the current breezy version and apt is 
> thinking you should have the current dapper version.
> 
> That indicates to me that it is likely that this goes back to when you 
> upgraded from breezy to dapper (it appears that you did at some point).  I 
> also notice that all 4 packages are in universe for dapper.
> 
> Here are a couple of things to check:
> 
> 1.  Look in /etc/apt/sources.list to see that you have repositories for 
> universe enabled.  Mine look like:
> 
> deb http://us.archive.ubuntu.com/ubuntu/ dapper universe
> 
> deb http://security.ubuntu.com/ubuntu dapper-security universe
> 
> If there is a '#' in front of the line it is commented out.  Remove the '#', 
> run apt-get update and then try again.
> 
> 2.  Look in the /var/log/dpkg.log for the logs associated with your update to 
> dapper.  Odds are you will find error messages in the logs associated with 
> these packages.  They should point you in the right direction.
> 
> Scott K
> 

/etc/apt/sources.list is not there. On mine I found the following file
at 
/etc/apt/sources.list.d/sources.list. Is that the problem?

------------------------
deb-src http://archive.ubuntu.com/ubuntu/ dapper main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://archive.ubuntu.com/ubuntu/ dapper universe main restricted multiverse
deb-src http://archive.ubuntu.com/ubuntu/ dapper universe

deb http://security.ubuntu.com/ubuntu/ dapper-security main restricted universe
deb-src http://security.ubuntu.com/ubuntu/ dapper-security main restricted







# deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted
deb http://archive.ubuntu.com/ubuntu/ dapper-updates main restricted universe

----------------------------
The archive points to a different server, and there are more qualifiers.  Do I need to 
comment out my lines and change them to what you have? Why would it be different and 
in a different place? Did you modify your lines from what came with the package?

Next step look in the /var/log/dpkg.log
2006-06-10 16:44:14 install gdk-imlib11 <none> 1.9.14-29ubuntu1
2006-06-10 16:44:14 status half-installed gdk-imlib11 1.9.14-29ubuntu1
2006-06-10 16:44:14 status unpacked gdk-imlib11 1.9.14-29ubuntu1
2006-06-10 16:44:14 status unpacked gdk-imlib11 1.9.14-29ubuntu1

2006-06-10 17:34:28 status unpacked gdk-imlib11 1.9.14-29ubuntu1
2006-06-10 17:34:28 status half-configured gdk-imlib11 1.9.14-29ubuntu1
2006-06-10 17:34:28 status installed gdk-imlib11 1.9.14-29ubuntu1
 
I just noticed it is looking for gdk-imlib1 and gdk-imlib11 was installed. 
There are no other lines in the file with just gdk-imlib1.

libkrb5-17-heimdal string is in the file at all.
libopenal0 string is not in the file either.

Searching for moagg
2006-06-10 17:00:46 upgrade moaggedit 0.5-1build1 0.5-2
2006-06-10 17:00:46 status half-configured moaggedit 0.5-1build1
2006-06-10 17:00:46 status unpacked moaggedit 0.5-1build1
2006-06-10 17:00:46 status half-installed moaggedit 0.5-1build1
2006-06-10 17:00:46 status half-installed moaggedit 0.5-1build1
2006-06-10 17:00:46 status unpacked moaggedit 0.5-2
2006-06-10 17:00:46 status unpacked moaggedit 0.5-2

2006-06-10 17:37:19 status unpacked moaggedit 0.5-2
2006-06-10 17:37:19 status unpacked moaggedit 0.5-2
2006-06-10 17:37:19 status half-configured moaggedit 0.5-2
2006-06-10 17:37:19 status installed moaggedit 0.5-2

So I am guessing it found moaggedit not moagg
 
I searched for the word "error" and there are no cases other than part of a package name.

Kip
> 
> 
-- 
Kipton Moravec <kip at kdream.com>





More information about the ubuntu-users mailing list