Reply
Thread Tools
Posts: 90 | Thanked: 10 times | Joined on Aug 2007
#1
Hello,

I have tried reinstalling, but the same problem persists.
I'm installing maemo3.0 and scratchbox on Fedora6. Everything runs fine till the end until i run
[sbox-SDK_X86: ~] > apt-get update
[sbox-SDK_X86: ~] > fakeroot apt-get -f install

[sbox-SDK_X86: ~] > apt-get update
Hit http://repository.maemo.org bora/free Packages
Hit http://repository.maemo.org bora/free Release
Hit http://repository.maemo.org bora/non-free Packages
Hit http://repository.maemo.org bora/non-free Release
Hit http://repository.maemo.org bora/extras Packages
Hit http://repository.maemo.org bora/extras Release
Hit http://repository.maemo.org bora/free Sources
Ign http://repository.maemo.org bora/free Release
Hit http://repository.maemo.org bora/non-free Sources
Ign http://repository.maemo.org bora/non-free Release
Hit http://repository.maemo.org bora/extras Sources
Ign http://repository.maemo.org bora/extras Release
Hit http://repository.maemo.org bora/free Packages
Hit http://repository.maemo.org bora/free Release
Hit http://repository.maemo.org bora/non-free Packages
Hit http://repository.maemo.org bora/non-free Release
Reading Package Lists... Done
[sbox-SDK_X86: ~] > fakeroot apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 0 to remove and 130 not upgraded.
[sbox-SDK_X86: ~] >



When I try installing PyMaemo, it give a broken packages error


[sbox-SDK_X86: ~] > apt-get update
Hit http://repository.maemo.org bora/free Packages
Hit http://repository.maemo.org bora/free Release
Hit http://repository.maemo.org bora/non-free Packages
Hit http://repository.maemo.org bora/non-free Release
Hit http://repository.maemo.org bora/extras Packages
Hit http://repository.maemo.org bora/extras Release
Hit http://repository.maemo.org bora/free Sources
Ign http://repository.maemo.org bora/free Release
Hit http://repository.maemo.org bora/non-free Sources
Ign http://repository.maemo.org bora/non-free Release
Hit http://repository.maemo.org bora/extras Sources
Ign http://repository.maemo.org bora/extras Release
Get:1 http://repository.maemo.org bora/free Packages [74.1kB]
Get:2 http://repository.maemo.org bora/free Release [105B]
Get:3 http://repository.maemo.org bora/non-free Packages [20B]
Get:4 http://repository.maemo.org bora/non-free Release [109B]
Fetched 74.3kB in 5s (14.3kB/s)
Reading Package Lists... Done
[sbox-SDK_X86: ~] > apt-get update
Hit http://repository.maemo.org bora/free Packages
Hit http://repository.maemo.org bora/free Release
Hit http://repository.maemo.org bora/non-free Packages
Hit http://repository.maemo.org bora/non-free Release
Hit http://repository.maemo.org bora/extras Packages
Hit http://repository.maemo.org bora/extras Release
Hit http://repository.maemo.org bora/free Sources
Ign http://repository.maemo.org bora/free Release
Hit http://repository.maemo.org bora/non-free Sources
Ign http://repository.maemo.org bora/non-free Release
Hit http://repository.maemo.org bora/extras Sources
Ign http://repository.maemo.org bora/extras Release
Hit http://repository.maemo.org bora/free Packages
Hit http://repository.maemo.org bora/free Release
Hit http://repository.maemo.org bora/non-free Packages
Hit http://repository.maemo.org bora/non-free Release
Reading Package Lists... Done
[sbox-SDK_X86: ~] > apt-get install python2.5*
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting python2.5-abook-dev for regex 'python2.5*'
Note, selecting python2.5-gstreamer for regex 'python2.5*'
Note, selecting python2.4-avahi for regex 'python2.5*'
Note, selecting python2.4-dev for regex 'python2.5*'
Note, selecting python2.4-libxslt1 for regex 'python2.5*'
Note, selecting python2.5-gpsbt for regex 'python2.5*'
Note, selecting python2.5-gtk2 for regex 'python2.5*'
Note, selecting python2.3-tk for regex 'python2.5*'
Note, selecting python2.5-dbus-dev for regex 'python2.5*'
Note, selecting python2.4-osso for regex 'python2.5*'
Note, selecting python2.5-gstreamer-dev for regex 'python2.5*'
Note, selecting python2.5-gobject-dev for regex 'python2.5*'
Note, selecting python2.4-libxml2 for regex 'python2.5*'
Note, selecting python2.5-pygame for regex 'python2.5*'
Note, selecting python2.3-libxslt1 for regex 'python2.5*'
Note, selecting python2.5-gobject for regex 'python2.5*'
Note, selecting python2.5-dev for regex 'python2.5*'
Note, selecting python2.2 for regex 'python2.5*'
Note, selecting python2.3 for regex 'python2.5*'
Note, selecting python2.4 for regex 'python2.5*'
Note, selecting python2.5 for regex 'python2.5*'
Note, selecting python2.5-pyrex for regex 'python2.5*'
Note, selecting python2.5-bluez-dev for regex 'python2.5*'
Note, selecting python2.5-xml-dev for regex 'python2.5*'
Note, selecting python2.5-bluez for regex 'python2.5*'
Note, selecting python2.5-hildon-dev for regex 'python2.5*'
Note, selecting python2.5-abook for regex 'python2.5*'
Note, selecting python2.5-avahi for regex 'python2.5*'
Note, selecting python2.5-conic-dev for regex 'python2.5*'
Note, selecting python2.3-ipython for regex 'python2.5*'
Note, selecting python2.5-runtime for regex 'python2.5*'
Note, selecting idle-python2.3 for regex 'python2.5*'
Note, selecting python2.5-libxml2 for regex 'python2.5*'
Note, selecting python2.5-id3lib for regex 'python2.5*'
Note, selecting python2.5-numeric for regex 'python2.5*'
Note, selecting python2.5-pygame-dev for regex 'python2.5*'
Note, selecting python2.5-xml for regex 'python2.5*'
Note, selecting python2.4-hildon for regex 'python2.5*'
Note, selecting python2.4-gtk2 for regex 'python2.5*'
Note, selecting python2.5-osso for regex 'python2.5*'
Note, selecting python2.5-galago-dev for regex 'python2.5*'
Note, selecting python2.5-gnome-dev for regex 'python2.5*'
Note, selecting python2.5-osso-dev for regex 'python2.5*'
Note, selecting python2.3-dev for regex 'python2.5*'
Note, selecting python2.5-dbus for regex 'python2.5*'
Note, selecting python2.5-conic for regex 'python2.5*'
Note, selecting python2.3-libxml2 for regex 'python2.5*'
Note, selecting python2.5-imaging for regex 'python2.5*'
Note, selecting python2.5-numeric-dev for regex 'python2.5*'
Note, selecting python2.5-gtk2-dev for regex 'python2.5*'
Note, selecting python2.4-ipython for regex 'python2.5*'
Note, selecting python2.5-hildon for regex 'python2.5*'
Note, selecting python2.4-gobject for regex 'python2.5*'
Note, selecting python2.5-libxslt1 for regex 'python2.5*'
Note, selecting python2.5-galago for regex 'python2.5*'
Note, selecting python2.5-gnome for regex 'python2.5*'
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 to resolve the situation:

The following packages have unmet dependencies:
python2.5-abook: Depends: libosso-abook (>= 1.20070213) but it is not going to be installed
Depends: libosso-abook but it is not going to be installed
E: Broken packages


Any help would be appreciated
Thank you
__________________
machinegrid.com
 
Posts: 6 | Thanked: 0 times | Joined on Oct 2007 @ Shanghai
#2
I have the similar problem with you, does anyone tell me how to fix it.

I'm installing maemoSDK 3.2 and scratchbox 1.0.7 on ubuntu7.10.
When I want to install python2.5 according to SDK Installation (scratchbox) <url:http://pymaemo.garage.maemo.org/sdk_installation.html>

In the step:
[sbox-SDK_X86: ~] > apt-get update
Hit http://repository.maemo.org bora/free Packages
Hit http://repository.maemo.org bora/free Release
Hit http://repository.maemo.org bora/non-free Packages
Hit http://repository.maemo.org bora/non-free Release
Hit http://repository.maemo.org bora/free Sources
Ign http://repository.maemo.org bora/free Release
Hit http://repository.maemo.org bora/free Packages
Hit http://repository.maemo.org bora/free Release
Hit http://repository.maemo.org bora/non-free Packages
Hit http://repository.maemo.org bora/non-free Release
Reading Package Lists... Done

[sbox-SDK_X86: ~] > apt-get install python2.5-*
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting python2.5-abook-dev for regex 'python2.5-*'
Note, selecting python2.5-gstreamer for regex 'python2.5-*'
Note, selecting python2.5-evas for regex 'python2.5-*'
Note, selecting python2.5-gpsbt for regex 'python2.5-*'
Note, selecting python2.5-gtk2 for regex 'python2.5-*'
Note, selecting python2.5-pycurl-dev for regex 'python2.5-*'
Note, selecting python2.5-dbus-dev for regex 'python2.5-*'
Note, selecting python2.5-gstreamer-dev for regex 'python2.5-*'
Note, selecting python2.5-gobject-dev for regex 'python2.5-*'
Note, selecting python2.5-evolution-dev for regex 'python2.5-*'
Note, selecting python2.5-pygame for regex 'python2.5-*'
Note, selecting python2.5-pycurl for regex 'python2.5-*'
Note, selecting python2.5-gobject for regex 'python2.5-*'
Note, selecting python2.5-dev for regex 'python2.5-*'
Note, selecting python2.5 for regex 'python2.5-*'
Note, selecting python2.5-pyrex for regex 'python2.5-*'
Note, selecting python2.5-bluez-dev for regex 'python2.5-*'
Note, selecting python2.5-xml-dev for regex 'python2.5-*'
Note, selecting python2.5-bluez for regex 'python2.5-*'
Note, selecting python2.5-hildon-dev for regex 'python2.5-*'
Note, selecting python2.5-abook for regex 'python2.5-*'
Note, selecting python2.5-avahi for regex 'python2.5-*'
Note, selecting python2.5-conic-dev for regex 'python2.5-*'
Note, selecting python2.5-runtime for regex 'python2.5-*'
Note, selecting python2.5-libxml2 for regex 'python2.5-*'
Note, selecting python2.5-id3lib for regex 'python2.5-*'
Note, selecting python2.5-numeric for regex 'python2.5-*'
Note, selecting python2.5-pygame-dev for regex 'python2.5-*'
Note, selecting python2.5-xml for regex 'python2.5-*'
Note, selecting python2.5-osso for regex 'python2.5-*'
Note, selecting python2.5-galago-dev for regex 'python2.5-*'
Note, selecting python2.5-evas-dev for regex 'python2.5-*'
Note, selecting python2.5-gnome-dev for regex 'python2.5-*'
Note, selecting python2.5-osso-dev for regex 'python2.5-*'
Note, selecting python2.5-evolution for regex 'python2.5-*'
Note, selecting python2.5-dbus for regex 'python2.5-*'
Note, selecting python2.5-conic for regex 'python2.5-*'
Note, selecting python2.5-imaging for regex 'python2.5-*'
Note, selecting python2.5-numeric-dev for regex 'python2.5-*'
Note, selecting python2.5-gtk2-dev for regex 'python2.5-*'
Note, selecting python2.5-hildon for regex 'python2.5-*'
Note, selecting python2.5-libxslt1 for regex 'python2.5-*'
Note, selecting python2.5-galago for regex 'python2.5-*'
Note, selecting python2.5-gnome for regex 'python2.5-*'
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 to resolve the situation:

The following packages have unmet dependencies:
python2.5-evas-dev: Depends: python2.5-evas (= 0.1.1-maemo.2) but it is not installable
E: Broken packages

Here is my sourses.list
[sbox-SDK_X86: ~] > cat /etc/apt/sources.list
deb http://repository.maemo.org/ bora free non-free
deb-src http://repository.maemo.org/ bora free
deb file:/home/fuying/maemo-sdk-nokia-binaries_3.1 bora explicit
deb file:/home/fuying/maemo-sdk-nokia-binaries_3.2 bora explicit
deb http://repository.maemo.org/extras bora free non-free


--------------------------------------------------
I go to http://repository.maemo.org/extras/d...-i386/Packages
and find Package: python2.5-evas-dev but no python2.5-evas
__________________
Everyone is worth your time!

From:Tongji University

Last edited by fuying2002; 2007-10-31 at 12:35.
 
Posts: 6 | Thanked: 0 times | Joined on Oct 2007 @ Shanghai
#3
And I check Index of /extras/pool/bora/free/p/python-evas/ < URL: http://repository.maemo.org/extras/pool/bora/free/p/python-evas/> , find python2.5-evas deb supplied only for arm arch and python2.5-eavs-dev for all ?? Why? What should I do ?
Now I use dpkg -i *.deb install other python2.5*.deb except python2.5-evas*.deb, I hope that works.

But also I need a better solution...
__________________
Everyone is worth your time!

From:Tongji University
 
yerga's Avatar
Posts: 696 | Thanked: 1,012 times | Joined on Mar 2006 @ Asturies, Spain
#4
You can use "apt-get install python2.5 python2.5-osso python2.5-hildon...." except for python2.5-evas and python2.5-evas-dev

It's more manual work but it's better than download all packages and use dpkg -i *


Cheers.
__________________
Daniel Martín Yerga
maemo.org profile
Twitter
 
Posts: 6 | Thanked: 0 times | Joined on Oct 2007 @ Shanghai
#5
Yes, I do it as you say.
But with python2.5-galago_0.5.0-1osso1_i386.deb and python2.5-galago_0.5.0-1osso1_i386.deb, I have to download them and use 'dpkg -i'. Why?
And also :[sbox-SDK_X86: ~] > apt-get update
always get:
Hit http://repository.maemo.org bora/free Packages
Hit http://repository.maemo.org bora/free Release
Hit http://repository.maemo.org bora/non-free Packages
Hit http://repository.maemo.org bora/non-free Release
Hit http://repository.maemo.org bora/free Sources
Ign http://repository.maemo.org bora/free Release
Hit http://repository.maemo.org bora/free Packages
Hit http://repository.maemo.org bora/free Release
Hit http://repository.maemo.org bora/non-free Packages
Hit http://repository.maemo.org bora/non-free Release
Reading Package Lists... Done
__________________
Everyone is worth your time!

From:Tongji University
 
yerga's Avatar
Posts: 696 | Thanked: 1,012 times | Joined on Mar 2006 @ Asturies, Spain
#6
Originally Posted by fuying2002 View Post
Yes, I do it as you say.
But with python2.5-galago_0.5.0-1osso1_i386.deb and python2.5-galago_0.5.0-1osso1_i386.deb, I have to download them and use 'dpkg -i'. Why?
What was error that shows you when you install python2.5-galago by means of apt-get?

Originally Posted by fuying2002 View Post
Ign http://repository.maemo.org bora/free Release
No problem. That means that the remote copy of this file hasn't changed since the last time that you downloaded it.
__________________
Daniel Martín Yerga
maemo.org profile
Twitter
 
Posts: 6 | Thanked: 0 times | Joined on Oct 2007 @ Shanghai
#7
Install python2.5-galago-dev ...
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
python2.5-galago-dev
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 8556B of archives.
After unpacking 115kB of additional disk space will be used.
Get:1 http://repository.maemo.org bora/free python2.5-galago-dev 0.5.0-1osso1 [8556B]
Fetched 1B in 5s (0B/s)
Failed to fetch http://repository.maemo.org/extras/p...1osso1_all.deb Size mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

[sbox-SDK_X86: ~] > dpkg -s python2.5-galago-dev
Package: python2.5-galago-dev
Status: purge ok not-installed
Priority: optional
Section: python
Architecture: all


---------------
[sbox-SDK_X86: ~] > dpkg -i python2.5-galago-dev_0.5.0-1osso1_all.deb
Selecting previously deselected package python2.5-galago-dev.
(Reading database ... 18642 files and directories currently installed.)
Unpacking python2.5-galago-dev (from python2.5-galago-dev_0.5.0-1osso1_all.deb) ...
Setting up python2.5-galago-dev (0.5.0-1osso1) ...
[sbox-SDK_X86: ~] > dpkg -s python2.5-galago-dev
Package: python2.5-galago-dev
Status: install ok installed
Priority: optional
Section: python
Installed-Size: 112
Maintainer: Lauro Moura Mara
Architecture: all
Source: galago-python
Version: 0.5.0-1osso1
Depends: python2.5-galago (= 0.5.0-1osso1)
Description: Examples and header files for Python bindings for Galago library
__________________
Everyone is worth your time!

From:Tongji University

Last edited by fuying2002; 2007-11-01 at 11:14.
 
Posts: 6 | Thanked: 0 times | Joined on Oct 2007 @ Shanghai
#8
And I have written a install shell script:
------------------------------------------
#!/bin/bash
#File name: pymaemo_install.sh
#Author: fuying <fuying2002@hotmail.com>
#Date written: 2007-11-1 14:29
#Date Last Modified: 2007-11-1 14:29
#Purpose: To install python2.5-* on maemo SDK3.2 (scratchbox)
#Brief Description: This script will install python2.5-*.deb in your scratchbox targets SDK_X86 and SDK_ARMEL
# Note:
# 1.This script will not install python2.5-evas.deb and python2.5-evas-dev.deb in SDK_X86;
# 2.You maybe have to download some deb like python2.5-galago_0.5.0-1osso1_armel.deb and
# python2.5-galago_0.5.0-1osso1_i386.deb manually and use dpkg -i to install them;
#Refs: SDK Installation (scratchbox) <url:http://pymaemo.garage.maemo.org/sdk_installation.html>

#Main
# Runtime options
if [ -z $__scratchbox ] ; then
__scratchbox=/scratchbox
fi
__sourcefile=/etc/apt/sources.list

# Check for scratchbox installation
echo "Check for running insdie Scratchbox ..."
if [ ! -d $__scratchbox ] ; then
echo "E: You should run this script inside your scratchbox."
exit 1
fi
echo

# Add the maemo extras repository
echo "Add the maemo extras repository ..."
unset __deb
__deb=`grep "deb http://repository.maemo.org/extras bora free non-free" $__sourcefile`
if [ ! -z "$__deb" ] ; then
echo "W: You already have add the maemo extras repository"
else
__deb="deb http://repository.maemo.org/extras bora free non-free"
echo "$__deb" >> $__sourcefile
echo "M: Add $__deb to $__sourcefile"
fi
echo

# Resynchronize your package index files
echo "Resynchronize your package index files ..."
apt-get update
echo

# Install python-related packages
echo "apt-get install python2.5-related packages ..."
__debfiles=`apt-cache search python2.5`
echo "$__debfiles" | more |
while read line
do
line=`echo \$line | cut -f1 -d ' '`
echo "Install $line ..."
fakeroot apt-get install $line -y
echo
done
#dpkg -i python2.5-galago-dev_0.5.0-1osso1_all.deb

# Check python-related packages installed status
echo "Check python-related packages installed status ... "
echo
echo "$__debfiles" | more |
while read line
do
line=`echo \$line | cut -f1 -d ' '`
echo -n "."
dpkg -s $line 2> /dev/null 1>&2 #store return status into $? No ouput
if [ $? != 0 ] ; then
echo
echo -n "$line not installed"
fi
done
echo
exit 0
__________________
Everyone is worth your time!

From:Tongji University
 
Reply


 
Forum Jump


All times are GMT. The time now is 03:34.