• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Packages kept back?

loke@x04d:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
The following packages have been kept back:
libcairo2 libcairo2-dev
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

Had the same results in Synaptic, aswell. Why does this happen?
 
Most of the time dist-upgrade option of apt-get tries to intellegently figure out solution to dependancies problems, but it can't always figure it out.

Probably what will happen is that it will uninstall a bunch of software if you try to upgrade those libraries. You can try to do it manually...
apt-get install libcairo2-dev

Also Aptitude does stuff differently then apt-get so you can try that also.

Probably the best course of action to take right now is just to leave it alone. Unless there is a security problem with that package then leaving it alone for the time being won't hurt anything and you can wait for the rest of the software to catch up and it will upgrade along with everything else eventually.

If it doesn't then just install explicetly it after a while and see what happens.

Using Debian unstable, I assume?
 
Yeah, it's not a big deal, it's just that I like to think my system is up to date. I'm running Ubuntu Dapper with some Debian packages. =]

For the hell of it, I gave apt-get a shot.

loke@x04d:~$ sudo apt-get install libcairo2-dev
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help resolve the situation:

The following packages have unmet dependencies:
libcairo2-dev: Depends: libcairo2 (= 1.2.0-0ubuntu1) but 1.1.10-0ubuntu1 is to be installed

EDIT: Looks like old releases. Aptitude dist-upgrade was asking me to downgrade to install those packages. No matter, then.=]

Thanks for the help.
 
You shouldn't be doing a dist-upgrade unless you are switching between distros (i.e. sarge->sid upgrade).

Also mixing Ubuntu and Debian repos is a no-no, I noticed there was some cairo updates today in sid so they might be conflicting with whatever Ubuntu packages you have installed.
 
Ya.. that's what made me think it was Debian.

Cario 1.2 was released just a bit ago.

You can probably get away with mixing Debian unstable and Ubuntu packages since most of Ubuntu is essentially a slightly stale version of Debian Sid.

But you wouldn't be able to just add Debian sources to the apt sources.list and expect it to work out well. You'd have to do repository pinning and be selective about what you install.
 
I'm having the same problem with libcairo2 and libcairo2-dev. This occurred after I installed the newest ATI Display Driver 8.26.18. I had to manually install the ATI Drivers. The Newest ATI wasn't in the Repositories when I installed it. And since then libcairo2 and libcairo2-dev refuse to update.

A way to fix it is remove the old libcairo2 and libcairo2-dev, Then install the newest libcairo2 and libcairo2-dev. But if you remove these packages, It wants to remove like 100 packages already installed. So I don't recommend doing this at all, Unless you want to spend some time reinstalling packages that it removed.

I'm sure theres another easier way to do this, I'll find a easier way to do this, I'll post once I figure it out or maybe someone else will know a way to do this.
 
Back
Top