View Single Post
Posts: 35 | Thanked: 18 times | Joined on Aug 2010 @ São Paulo, Brazil
#1
Dear fellows,

When running to apt-get python-dev (required to install lighblue library), I get this error:

Code:
RM696-21-3_PR_001:/home/user/lightblue-0.4-master# apt-get install python-dev
Reading package lists... Done
Building dependency tree       
Reading state information... 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.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  python-dev: Depends: python2.6-dev (>= 2.6.6-1~) but it is not going to be installed
E: Broken packages
OK, so let's apt-get python2.6-dev

Code:
RM696-21-3_PR_001:/home/user/lightblue-0.4-master# apt-get install python2.6-dev
Reading package lists... Done
Building dependency tree       
Reading state information... 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.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  python2.6-dev: Depends: libssl-dev but it is not going to be installed
E: Broken packages
RM696-21-3_PR_001:/home/user/lightblue-0.4-master#
Hmmm.. runnign apt-get install libssl-dev...
Code:
RM696-21-3_PR_001:/home/user/lightblue-0.4-master# apt-get install libssl-dev
Reading package lists... Done
Building dependency tree       
Reading state information... 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.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  libssl-dev: Depends: libssl0.9.8 (= 0.9.8k-8maemo7+dbg+0m6) but 0.9.8r-maemo3+0m7 is to be installed
              Depends: zlib1g-dev but it is not going to be installed
E: Broken packages
RM696-21-3_PR_001:/home/user/lightblue-0.4-master#
That's strange.. so I need to downgrade the version of the package libssl-dev?
When I try to do that, something stranger happens:

Code:
RM696-21-3_PR_001:/home/user/lightblue-0.4-master# apt-get install libssl0.9.8=0.9.8k-8maemo7+dbg+0m6
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  search busybox-symlinks-dnsutils libtelepathy-omb-glib0 aegis-enabler-enforce libmeegoimenginewords0 libmeegotouchevents0 ipa-fonts mstartup-l10n-engineering-english
  aegis-builder busybox-symlinks-iputils-ping wl1271-firmware gstreamer0.10-nokia-wm libnsautils1 wl1273-fm-radio-firmware calendar-db-default osso-wlan
 ...
<A LOT OF PACKAGES>
...
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  mp-harmattan-001-pr
The following packages will be DOWNGRADED:
  libssl0.9.8
0 upgraded, 0 newly installed, 1 downgraded, 1 to remove and 1 not upgraded.
Need to get 939kB of archives.
After this operation, 12.3kB disk space will be freed.
Do you want to continue [Y/n]?
So, in my understanding, the sdk.list repository was not updated when new versions of the firmware was released. So, to install a package from that, it is asking me to downgrade the whole OS version, basically.
Am I understanding that right?
Is there anything I can try to workaround this problem?
I already tried most common troubleshooting (apt-get -f, dpkg --configure, apt-get update -- of course, tried to disable some repositories... and now I am out of ideas).


Please bear with me. I am *very* new to python stuff and have no advanced/magic/guru knowledge of apt-get command (so chances are that I am missing something here).
What I can tell is that I have done that in my Kubuntu's notebook and had no problem.
And sorry for posting such a long question here. I have tried to contact someone on #harmattan, but seems like there's no one alive there :P

EDIT: Suggestions I have tried and didn't work:

1 - use a mirror of the sdk repository (http://mirror.thecust.net/harmattan-dev.nokia.com/)
__________________
Nokia N900 32GB Black
Nokia N9 16GB Black PR 1.3
Twitter: @cael_gomes

Last edited by cael_gomes; 2013-07-16 at 22:56.