jan
Status: Curious
Joined: 11 Aug 2009
Posts: 7
Back to top
Posted: Jun 23, 10, 0:18    python-minimal: Breaks: python-dev
Hello

doing a
:: Code ::
apt-get update && apt-get dist-upgrade -d


results in
:: Code ::
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Failed
The following packages have unmet dependencies:
  python-minimal: Breaks: python-dev (< 2.6) but 2.5.4-9 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.


what's the easiest way to solve this problem?
Thank you.

I'm running
Kernel 2.6.34-0.dmz.10-liquorix-686 i686 (32 bit) Distro sidux 2008-03 Ουρέα - kde-lite - (200809221818)
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 2538
Location: East Coast, West Coast? I know it's one of them.
Back to top
Posted: Jun 23, 10, 11:08    
remove python-dev which shouldn't be needed, but first check:

apt-get remove -s python-dev

actually, looking again, I'd say you may have a held package.

The versions aren't mismatched at this point, now.

aptitude in general is much better about such issues but sidux still only supports apt-get so you have to work within those limitations. aptitude would have given you a series of options about what to do, you'd pick the one you wanted.

Also check for held packages: dpkg -l | grep ^hi
jan
Status: Curious
Joined: 11 Aug 2009
Posts: 7
Back to top
Posted: Jun 25, 10, 0:18    
Thanks.

Removing python-dev didn't do any harm. I did do a dpkg -l | grep ^hi
:: Code ::

hi  initscripts                                      2.87dsf-2+b1                   scripts for initializing and shutting down t
hi  insserv                                          1.12.0-10                      boot sequence organizer using LSB init.d scr
hi  python-kde4                                      4:4.3.4-1                      Python bindings for the KDE 4 libraries
hi  system-config-printer-kde                        4:4.3.4-1                      KDE 4 printer configuration utility
hi  sysvinit                                         2.87dsf-2+b1                   System-V-like init utilities


I didn't expect to be that many packages on hold... I don't recall to put them on hold manually. Did smxi do that? Can I remove hold for these packages?

I don't know if I want to switch to aptitude just yet. Since I didn't have any real trouble with apt-get...
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 2538
Location: East Coast, West Coast? I know it's one of them.
Back to top
Posted: Jun 25, 10, 10:42    
no, smxi didn't do that unless you did something really strange on a script exit, smxi always removes things from hold on exit no matter what else you did.

Yes, unhold those things, that's the cause of your error.
jan
Status: Curious
Joined: 11 Aug 2009
Posts: 7
Back to top
Posted: Jun 28, 10, 1:01    
Thank you
Display posts from previous:   

All times are GMT - 8 Hours