maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   apt-get help (https://talk.maemo.org/showthread.php?t=61194)

sajman 2010-08-27 06:16

apt-get help
 
hey,

i have come across this problem using the new faster app manager and whilst trying to run the command apt-get install nitdroid-installer


was wondering if anyone could help me out. I dont really want to flash, but if i have to. I will. need to eat up some data anyway :)




BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ root


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# apt-get install nitdroid-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
nitdroid-installer: Depends: multiboot (>= 0.2.10) but it is not going to be installed
Depends: multiboot-kernel-maemo (>= 0.3) but it is not going to be installed
Depends: bzip2 but it is not going to be installed
python-pygame: Depends: libsdl-ttf2.0 (>= 2.0.9) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Nokia-N900:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libsdl-ttf2.0
The following NEW packages will be installed:
libsdl-ttf2.0
0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded.
6 not fully installed or removed.
Need to get 0B/13.5kB of archives.
After this operation, 77.8kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
(Reading database ... 58071 files and directories currently installed.)
Unpacking libsdl-ttf2.0 (from .../libsdl-ttf2.0_2.0.9-1osso0+0m5_armel.deb) ...
dpkg: error processing /var/cache/apt/archives/libsdl-ttf2.0_2.0.9-1osso0+0m5_armel.deb (--unpack):
trying to overwrite `/usr/lib/libSDL_ttf-2.0.so.0.6.3', which is also in package libsdl-ttf2.0-0
Errors were encountered while processing:
/var/cache/apt/archives/libsdl-ttf2.0_2.0.9-1osso0+0m5_armel.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Nokia-N900:~#

slender 2010-08-27 06:25

Re: apt-get help
 
hmm. Have you tried default application manager?

sajman 2010-08-27 06:31

Re: apt-get help
 
yea, that log is from using xterm.

type in

apt-get install nitdroid-installer

it tells me to try

apt-get -f install

do that and that error comes up.

tried apt-get clean, and ive tried to purge the problem package. but it comes up in same loop of instructions and errors.

the fast app man comes up with umet dependency problens. tottaly different kettle of fish...... hmmmm

Dousan 2010-08-27 06:34

Re: apt-get help
 
Hi i had the same problem with that dependecy (libsdl-ttf2.0). I did solve it by downloading libsdl-ttf2.0 and just install it with dpkg -i, that did the trick for me ;)

Get the file from here:
http://repository.maemo.org/pool/mae...+0m5_armel.deb

And save it to /home/user/MyDocs, then open xterm and as root type this:
dpkg -i /home/user/MyDocs/libsdl-ttf2.0_2.0.9-1osso0+0m5_armel.deb 'enter'

Hope this helps you :)

sajman 2010-08-27 06:41

Re: apt-get help
 
okia-N900:~# dpkg -i /home/user/MyDocs/libsdl-ttf2.0_2.0.9-1osso0+0m5_armel.deb
(Reading database ... 36036 files and directories currently installed.)
Unpacking libsdl-ttf2.0 (from .../libsdl-ttf2.0_2.0.9-1osso0+0m5_armel.deb) ...
dpkg: error processing /home/user/MyDocs/libsdl-ttf2.0_2.0.9-1osso0+0m5_armel.deb (--install):
trying to overwrite `/usr/lib/libSDL_ttf-2.0.so.0.6.3', which is also in package libsdl-ttf2.0-0
Errors were encountered while processing:
/home/user/MyDocs/libsdl-ttf2.0_2.0.9-1osso0+0m5_armel.deb

slender 2010-08-27 06:46

Re: apt-get help
 
Still. I didn't completely understand. Have you tried default application manager from application menu? Yes or No is enough for answer :)

It does something differently even thought is uses apt-get.

sajman 2010-08-27 06:58

Re: apt-get help
 
Quote:

Originally Posted by slender (Post 799771)
Still. I didn't completely understand. Have you tried default application manager from application menu? Yes or No is enough for answer :)

It does something differently even thought is uses apt-get.

normal app manager is fine. no problems.

i only have dependency problems with fast app man and using apt-get install command. i downloaded the nitdroid installer no problem, but you have yo use xterm to install.

mece 2010-08-27 07:02

Re: apt-get help
 
Quote:

Originally Posted by sajman (Post 799767)
okia-N900:~# dpkg -i /home/user/MyDocs/libsdl-ttf2.0_2.0.9-1osso0+0m5_armel.deb
(Reading database ... 36036 files and directories currently installed.)
Unpacking libsdl-ttf2.0 (from .../libsdl-ttf2.0_2.0.9-1osso0+0m5_armel.deb) ...
dpkg: error processing /home/user/MyDocs/libsdl-ttf2.0_2.0.9-1osso0+0m5_armel.deb (--install):
trying to overwrite `/usr/lib/libSDL_ttf-2.0.so.0.6.3', which is also in package libsdl-ttf2.0-0
Errors were encountered while processing:
/home/user/MyDocs/libsdl-ttf2.0_2.0.9-1osso0+0m5_armel.deb

dpkg -i --force-overwrite /home/user/MyDocs/libsdl-ttf2.0_2.0.9-1osso0+0m5_armel.deb

to force overwrite.

sajman 2010-08-27 07:09

Re: apt-get help
 
usyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# dpkg -i /home/user/MyDocs/libsdl-ttf2.0_2.0.9-1osso0+0m5_armel.deb
(Reading database ... 36036 files and directories currently installed.)
Unpacking libsdl-ttf2.0 (from .../libsdl-ttf2.0_2.0.9-1osso0+0m5_armel.deb) ...
dpkg: error processing /home/user/MyDocs/libsdl-ttf2.0_2.0.9-1osso0+0m5_armel.deb (--install):
trying to overwrite `/usr/lib/libSDL_ttf-2.0.so.0.6.3', which is also in package libsdl-ttf2.0-0
Errors were encountered while processing:
/home/user/MyDocs/libsdl-ttf2.0_2.0.9-1osso0+0m5_armel.deb
Nokia-N900:~# dpkg -i --force-overwrite /home/user/MyDocs/libsdl-ttf2.0_2.0.9-1osso0+0m5_armel.deb
(Reading database ... 36036 files and directories currently installed.)
Unpacking libsdl-ttf2.0 (from .../libsdl-ttf2.0_2.0.9-1osso0+0m5_armel.deb) ...
dpkg - warning, overriding problem because --force enabled:
trying to overwrite `/usr/lib/libSDL_ttf-2.0.so.0.6.3', which is also in package libsdl-ttf2.0-0
dpkg - warning, overriding problem because --force enabled:
trying to overwrite `/usr/lib/libSDL_ttf-2.0.so.0', which is also in package libsdl-ttf2.0-0
Setting up libsdl-ttf2.0 (2.0.9-1osso0+0m5) ...
Nokia-N900:~# apt-get install nitdroid-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
bzip2 multiboot multiboot-kernel-maemo
Suggested packages:
multiboot-kernel-power
The following NEW packages will be installed:
bzip2 multiboot multiboot-kernel-maemo
nitdroid-installer
0 upgraded, 4 newly installed, 0 to remove and 13 not upgraded.
6 not fully installed or removed.
Need to get 1824kB of archives.
After this operation, 2294kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://repository.maemo.org fremantle/free multiboot 0.2.10-1 [18.3kB]
Get:2 http://repository.maemo.org fremantle/free multiboot-kernel-maemo 0.3-1 [1741kB]
Get:3 https://downloads.maemo.nokia.com ./ bzip2 1:1.0.5-3+0m5 [51.5kB]
Get:4 http://repository.maemo.org fremantle/free nitdroid-installer 0.2.6-1 [13.0kB]
Fetched 1824kB in 26s (70.1kB/s)
Selecting previously deselected package bzip2.
(Reading database ... 36041 files and directories currently installed.)
Unpacking bzip2 (from .../bzip2_1%3a1.0.5-3+0m5_armel.deb) ...
Selecting previously deselected package multiboot.
Unpacking multiboot (from .../multiboot_0.2.10-1_armel.deb) ...
Selecting previously deselected package multiboot-kernel-maemo.
Unpacking multiboot-kernel-maemo (from .../multiboot-kernel-maemo_0.3-1_armel.deb) ...
Selecting previously deselected package nitdroid-installer.
Unpacking nitdroid-installer (from .../nitdroid-installer_0.2.6-1_armel.deb) ...
Setting up libblas3gf (1.2-2maemo2) ...
Setting up liblapack3gf (3.1.1-6maemo2) ...
Setting up libportmidi0 (1:184-2maemo1) ...
Setting up libsmpeg0 (0.4.5+cvs20030824-2.3-0maemo1) ...
Optifying usr/share/doc/libsmpeg0 -> /opt/maemo/usr/share/doc/libsmpeg0
mv: cannot rename '/usr/share/doc/libsmpeg0': No such file or directory
dpkg: error processing libsmpeg0 (--configure):
subprocess post-installation script returned error exit status 1
Setting up python-numpy (1:1.4.0-1maemo2) ...
dpkg: dependency problems prevent configuration of python-pygame:
python-pygame depends on libsmpeg0; however:
Package libsmpeg0 is not configured yet.
dpkg: error processing python-pygame (--configure):
dependency problems - leaving unconfigured
Setting up bzip2 (1:1.0.5-3+0m5) ...
Setting up multiboot (0.2.10-1) ...
Setting up multiboot-kernel-maemo (0.3-1) ...
Setting up nitdroid-installer (0.2.6-1) ...
Errors were encountered while processing:
libsmpeg0
python-pygame
E: Sub-process /usr/bin/dpkg returned an error code (1)
Nokia-N900:~#


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

vBulletin® Version 3.8.8