Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
CaesarTjalboOffline
Post subject: [solved] libboost-dev "kept back"  PostPosted: 01.07.2011, 10:52



Joined: 2010-09-13
Posts: 95
Location: Enschede
Status: Offline
I'm seeing this for quite some time now:
      Code:
The following packages have been kept back:
  libboost-dev


Can anyone tell me why? (I've nothing on hold via dpkg --set-selections)


Last edited by CaesarTjalbo on 01.07.2011, 15:39; edited 1 time in total
 
 View user's profile Send private message  
Reply with quote Back to top
finottiOffline
Post subject: RE: libboost-dev "kept back"  PostPosted: 01.07.2011, 12:17



Joined: 2010-09-12
Posts: 318

Status: Offline
Check the output of:

      Code:

apt-get -o Debug::pkgProblemResolver=yes dist-upgrade


It might help. (If not, try posting the results here.)

HTH,

Luis
 
 View user's profile Send private message  
Reply with quote Back to top
CaesarTjalboOffline
Post subject:   PostPosted: 01.07.2011, 12:58



Joined: 2010-09-13
Posts: 95
Location: Enschede
Status: Offline
Thank you for your answer.

      Code:
# apt-get -o Debug::pkgProblemResolver=yes dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Starting
Starting 2
Investigating (0) libboost1.46-dev [ amd64 ] < none -> 1.46.1-6 > ( libdevel )
Broken libboost1.46-dev:amd64 Conflicts on libboost1.42-dev [ amd64 ] < 1.42.0-4+b1 > ( libdevel )
  Considering libboost1.42-dev:amd64 0 as a solution to libboost1.46-dev:amd64 0
  Holding Back libboost1.46-dev:amd64 rather than change libboost1.42-dev:amd64
Investigating (0) libboost-dev [ amd64 ] < 1.42.0.1 -> 1.46.1.1 > ( libdevel )
Broken libboost-dev:amd64 Depends on libboost1.46-dev [ amd64 ] < none -> 1.46.1-6 > ( libdevel )
  Considering libboost1.46-dev:amd64 0 as a solution to libboost-dev:amd64 0
  Holding Back libboost-dev:amd64 rather than change libboost1.46-dev:amd64
 Try to Re-Instate (1) libboost-dev:amd64
Done
Done
The following packages have been kept back:
  libboost-dev
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

My apt wizardry is lacking, I've no idea how serious this is (everything works fine) or how to investigate further.

If I've screwed up somewhere it might have to do with enabling a multimedia repo a year ago or so. I don't develop in C++ but -dev packages may have been installed to compile 3rd party source code.
 
 View user's profile Send private message  
Reply with quote Back to top
muchan
Post subject:   PostPosted: 01.07.2011, 13:34
Moderator


Joined: 2010-09-11
Posts: 468

you can try simulating to remove libboost1.42-dev.
$ apt-get -s remove libboost1.42-dev
to see which installed packages are depending on it.
1) if there is none, then you can safely remove it
2) if there are some, you can check if they are compatible with newer libboost1.46-dev
with command
$ apt-cache show <package>

2a) if so, you can once remove libboost1.42-dev,and depending packages
and then reinstall the depending packages with libboost1.46-dev
 
 View user's profile Send private message  
Reply with quote Back to top
CaesarTjalboOffline
Post subject:   PostPosted: 01.07.2011, 15:38



Joined: 2010-09-13
Posts: 95
Location: Enschede
Status: Offline
Excellent!

Removing libboost1.42-dev caused libboost-dev and libboost1.46-dev to be installed, there were no packages according to apt.

I suppose I installed libboost1.42-dev explicitly rather than libboost-dev.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio