maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   problem while installing apps! (https://talk.maemo.org/showthread.php?t=83806)

prasunvelayudhan 2012-04-21 21:56

problem while installing apps!
 
i'm not able to install apps because of some unmet dependencies.. plz help me out.. i'm very new to this...
this is my output for apt-get -f install


/home/user # apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
8 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up libavahi-common3 (0.6.24-0maemo5) ...
Optifying usr/share/doc/libavahi-common3 -> /opt/maemo/usr/share/doc/libavahi-common3
mv: cannot rename '/usr/share/doc/libavahi-common3': No such file or directory
dpkg: error processing libavahi-common3 (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libavahi-core5:
libavahi-core5 depends on libavahi-common3 (>= 0.6.16); however:
Package libavahi-common3 is not configured yet.
dpkg: error processing libavahi-core5 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of avahi-daemon:
avahi-daemon depends on libavahi-common3 (>= 0.6.16); however:
Package libavahi-common3 is not configured yet.
avahi-daemon depends on libavahi-core5 (>= 0.6.24-0maemo1); however:
Package libavahi-core5 is not configured yet.
dpkg: error processing avahi-daemon (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of avahi-dnsconfd:
avahi-dnsconfd depends on avahi-daemon; however:
Package avahi-daemon is not configured yet.
avahi-dnsconfd depends on libavahi-common3 (>= 0.6.16); however:
Package libavahi-common3 is not configured yet.
dpkg: error processing avahi-dnsconfd (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libavahi-client3:
libavahi-client3 depends on libavahi-common3 (>= 0.6.22); however:
Package libavahi-common3 is not configured yet.
dpkg: error processing libavahi-client3 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libavahi-glib1:
libavahi-glib1 depends on libavahi-common3 (>= 0.6.16); however:
Package libavahi-common3 is not configured yet.
dpkg: error processing libavahi-glib1 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libavahi-gobject0:
libavahi-gobject0 depends on libavahi-client3 (>= 0.6.16); however:
Package libavahi-client3 is not configured yet.
libavahi-gobject0 depends on libavahi-common3 (>= 0.6.16); however:
Package libavahi-common3 is not configured yet.
libavahi-gobject0 depends on libavahi-glib1 (>= 0.6.16); however:
Package libavahi-glib1 is not configured yet.
dpkg: error processing libavahi-gobject0 (--configure):
dependency problems - leaving unconfigured
Setting up ytcli (0.0.1-6) ...
dpkg (subprocess): unable to execute post-installation script: No such file or directory
dpkg: error processing ytcli (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
libavahi-common3
libavahi-core5
avahi-daemon
avahi-dnsconfd
libavahi-client3
libavahi-glib1
libavahi-gobject0
ytcli
E: Sub-process /usr/bin/dpkg returned an error code (1)

michaaa62 2012-04-21 22:04

Re: problem while installing apps!
 
Please try, if
Code:

sudo gainroot
mkdir /usr/share/doc/libavahi-common3
apt-get install -f

solves the issue or, at least, changes the errors you are receiving.

sifo 2012-04-21 22:05

Re: problem while installing apps!
 
what package you were trying to install before "apt-get install -f " and make sure you have the extras/devel/testing catalogues

prasunvelayudhan 2012-04-21 22:26

Re: problem while installing apps!
 
Quote:

Originally Posted by michaaa62 (Post 1195582)
Please try, if
Code:

sudo gainroot
mkdir /usr/share/doc/libavahi-common3
apt-get install -f

solves the issue or, at least, changes the errors you are receiving.

thanks a lot.. it worked... i had to create separate directories for each one in the list.. but right now having error for ytcli...

home/user # apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up ytcli (0.0.1-6) ...
dpkg (subprocess): unable to execute post-installation script: No such file or directory
dpkg: error processing ytcli (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
ytcli
E: Sub-process /usr/bin/dpkg returned an error code (1)

i did created a folder for ytcli using the code

/home/user # mkdir /usr/share/doc/ytcli

prasunvelayudhan 2012-04-21 22:45

Re: problem while installing apps!
 
i solved it.. removed ytcli package.. :) thanks a lot once again :)

michaaa62 2012-04-21 22:46

Re: problem while installing apps!
 
Try to get some output from apt-get about repository data
Code:

sudo gainroot
apt-get install -s ytcli

This is just a simulated install, no real package will get installed, just output of apt-get, what it thinks, will be done.

prasunvelayudhan 2012-04-21 23:24

Re: problem while installing apps!
 
/home/user # apt-get install -s ytcli
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
ytcli
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Inst ytcli (0.0.1-6 Extras-devel:2.0/fremantle)
Conf ytcli (0.0.1-6 Extras-devel:2.0/fremantle)

michaaa62 2012-04-22 08:33

Re: problem while installing apps!
 
If you are still willing to install, try to clean the package cache and re-download the package.
Code:

sudo gainroot
apt-get clean
apt-get install ytcli

May be it was corrupted or the dependencies were not installed properly. The postinst script basically invokes the update of youtube-dl, meaning that must be installed as well.

prasunvelayudhan 2012-04-23 10:10

Re: problem while installing apps!
 
Quote:

Originally Posted by michaaa62 (Post 1195715)
If you are still willing to install, try to clean the package cache and re-download the package.
Code:

sudo gainroot
apt-get clean
apt-get install ytcli

May be it was corrupted or the dependencies were not installed properly. The postinst script basically invokes the update of youtube-dl, meaning that must be installed as well.

had to reflash my device.. i played with overclockin and went into reboot loop :D

i'll get back to u after installing everything..


All times are GMT. The time now is 06:51.

vBulletin® Version 3.8.8