Esn
(:";
So, I've been trying to port some programs to Pandora and I've been following the instructions given by mcobit in the first and last posts on this page (25 January 2011 - 05:09 PM and 29 January 2011 - 11:02 AM). So basically, I've been using two of Stuckie's Extends for Root and Home, and using "sudo opkg update" followed by "sudo opkg install [xxx]" if after typing in "./configure" it complains that something is missing. Also following this instruction:
So... is there any solution to the problems here? I'd prefer to do things on the Pandora if possible.
mcobit posted on 08 June 2011 - 03:46 PM said:As you instructed at the bottom of pg.1 of that thread, I tried to sudo opkg install gtk+-dev, but it didn't succeed, giving me some messages that something is already provided by an earlier-installed package:
So I tried to remove libpng-dev with --nodeps. I got this warning:Code:* check_data_file_clashes: Package libpng12-dev wants to install file /usr/include/libpng12/pngconf.h But that file is already provided by package * check_data_file_clashes: libpng-dev * check_data_file_clashes: Package libpng12-dev wants to install file /usr/include/libpng12/png.h But that file is already provided by package * check_data_file_clashes: libpng-dev * check_data_file_clashes: Package libpng12-dev wants to install file /usr/lib/libpng12.a But that file is already provided by package * check_data_file_clashes: libpng-dev * check_data_file_clashes: Package libpng12-dev wants to install file /usr/lib/pkgconfig/libpng12.pc But that file is already provided by package * check_data_file_clashes: libpng-dev * check_data_file_clashes: Package libpng12-dev wants to install file /usr/lib/libpng12.la But that file is already provided by package * check_data_file_clashes: libpng-dev * opkg_install_cmd: Cannot install package gtk+-dev.
Well, ok... next time I tried to install gtk+-dev, I got this:Code:* print_dependents_warning: Package libpng-dev is depended upon by packages: * print_dependents_warning: libcairo-dev * print_dependents_warning: These might cease to work if package libpng-dev is removed.
So I removed the libpam-base-files package as well, in the same way. Then I tried to download & install gtk+-dev again. This time, it took an extremely long time, so I went to sleep. When I woke up, it was again complaining about libpng-dev, which I thought I had removed. I tried to remove it again, but it said "sudo:3 incorrect password attempts". I guess something happened while I was asleep?Code:* check_data_file_clashes: Package cups wants to install file /etc/pam.d/cups But that file is already provided by package * check_data_file_clashes: libpam-base-files
Esn posted on 08 June 2011 - 07:17 PM said:It seems like libpng-dev isn't actually removed. Here's the full output of what appears after I type in sudo opkg remove libpng-dev --nodeps:
So I'm guessing from the above few lines that I should type in "sudo opkg remove libpng-dev --force-depends"?Code:Collected errors: * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgoffice-0.8-plugin-smoothing.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgstfarsight-0.10-0.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpurple-protocol-yahoo.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpurple-protocol-msn.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgoffice-0.8-plugin-plot-radar.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgnt0.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgoffice-0.8-plugin-plot-pie.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpurple.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgoffice-0.8-plugin-reg-logfit.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgoffice-0.8-plugin-plot-xy.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/gnumeric.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpurple-protocol-icq.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/claws-mail.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpurple-protocol-xmpp.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/abiword.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libproxy.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgsf-gnome-1-114.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/pidgin.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpurple-plugin-ssl-gnutls.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgoffice-0.8-plugin-plot-barcol.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/pidgin-data.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpurple-plugin-ssl.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libsoup-gnome-2.4-1.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpurple-protocol-irc.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgles-omap3-rawdemos.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgoffice-0.8-plugin-reg-linear.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/poppler.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgoffice-0.8-8.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgoffice-0.8-plugin-plot-surface.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/pandora-lcd-state.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgoffice-0.8-plugin-plot-distrib.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libnice.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/pandora-wallpaper-community.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpurple-protocol-aim.list: No such file or directory. * print_dependents_warning: Package libpng-dev is depended upon by packages: * print_dependents_warning: libcairo-dev * print_dependents_warning: These might cease to work if package libpng-dev is removed. * print_dependents_warning: Force removal of this package with --force-depends. * print_dependents_warning: Force removal of this package and its dependents * print_dependents_warning: with --force-removal-of-dependent-packages.
Esn posted on 08 June 2011 - 07:24 PM said:Ok... I threw caution to the wind and typed in sudo opkg remove libpng-dev --force-depends
I got this:
Same thing that happened earlier today, before I reset my Pandora. And it never even asked me for my password before it typed that; there were no 3 password attempts...Code:Sorry, try again. Sorry, try again. Sorry, try again. sudo: 3 incorrect password attempts
Esn posted on 09 June 2011 - 05:33 PM said:The problem with sudo (the three "sorry, try again" messages) happens only when I try to remove libpng-dev. After it happens the first time, though, I can't do any other sudo commands (same message pops up) until I restart my system and things return to normal (by the way, I'm using Stuckie's Extends in the way your tutorial describes, so maybe it's fixed because they're unmounted after each reset).
Esn posted on 09 June 2011 - 05:49 PM said:Never mind... I set up the extends and typed in "sudo opkg remove libpng-dev --force-depends" as soon as I opened the terminal window. I got this output:
Code:esn-openpandora:/mnt/utmp/rootextend$ sudo opkg remove libpng-dev --force-depends Removing package libpng-dev from root... Collected errors: * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgoffice-0.8-plugin-smoothing.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgstfarsight-0.10-0.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpurple-protocol-yahoo.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpurple-protocol-msn.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgoffice-0.8-plugin-plot-radar.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgnt0.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgoffice-0.8-plugin-plot-pie.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpurple.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgoffice-0.8-plugin-reg-logfit.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgoffice-0.8-plugin-plot-xy.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/gnumeric.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpurple-protocol-icq.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/claws-mail.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpurple-protocol-xmpp.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/abiword.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libproxy.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgsf-gnome-1-114.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/pidgin.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpurple-plugin-ssl-gnutls.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgoffice-0.8-plugin-plot-barcol.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/pidgin-data.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpurple-plugin-ssl.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libsoup-gnome-2.4-1.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpurple-protocol-irc.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgles-omap3-rawdemos.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgoffice-0.8-plugin-reg-linear.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/poppler.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgoffice-0.8-8.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgoffice-0.8-plugin-plot-surface.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/pandora-lcd-state.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgoffice-0.8-plugin-plot-distrib.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libnice.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/pandora-wallpaper-community.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpurple-protocol-aim.list: No such file or directory. esn-openpandora:/mnt/utmp/rootextend$
I guess maybe it did it successfully? Will try to install gtk+-dev again...
Esn posted on 09 June 2011 - 05:55 PM said:Spoke too soon... looks like my first message to you was correct after all.
Code:esn-openpandora:/mnt/utmp/rootextend$ sudo opkg install gtk+-dev Sorry, try again. Sorry, try again. Sorry, try again. sudo: 3 incorrect password attempts esn-openpandora:/mnt/utmp/rootextend$
It does look like I can't try to remove libpng-dev without running into this problem. Should I try "--force-removal-of-dependent-packages"?
Esn posted on 09 June 2011 - 09:53 PM said:It happened again. This time, it happened after it complained of a missing pygtk-2.0, and I tried to sudo opkg install python-pygtk. Here's the full copy+paste of everything from the beginning:
Code:esn-openpandora:/var/volatile/tmp/homeExtend/solfege-3.18.8$ ./configure --prefix=/mnt/utmp/solfege checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for a Python interpreter with version >= 2.5... python checking for python... /usr/bin/python checking for python version... 2.6 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.6/site-packages checking for python extension module directory... ${exec_prefix}/lib/python2.6/site-packages checking how to run the C preprocessor... gcc -E checking for headers required to compile python extensions... found checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking for rsvg... no checking for swig... no checking for lilypond... no checking for bzr... notfound checking for gs... /usr/bin/gs checking for xgettext... /usr/bin/xgettext checking for msgfmt... /usr/bin/msgfmt checking for msgmerge... /usr/bin/msgmerge checking for msggrep... /usr/bin/msggrep checking for makeinfo... no configure: error: makeinfo You need to install the texinfo package. not found. esn-openpandora:/var/volatile/tmp/homeExtend/solfege-3.18.8$ sudo opkg update Downloading http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/base/Packages.gz. Inflating http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/base/Packages.gz. Updated list of available packages in /var/lib/opkg/base. Downloading http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/debug/Packages.gz. Inflating http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/debug/Packages.gz. Updated list of available packages in /var/lib/opkg/debug. Downloading http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/gstreamer/Packages.gz. Inflating http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/gstreamer/Packages.gz. Updated list of available packages in /var/lib/opkg/gstreamer. Downloading http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc//all/Packages.gz. Inflating http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc//all/Packages.gz. Updated list of available packages in /var/lib/opkg/no-arch. Downloading http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/machine/omap3-pandora/Packages.gz. Inflating http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/machine/omap3-pandora/Packages.gz. Updated list of available packages in /var/lib/opkg/omap3-pandora. Downloading http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/perl/Packages.gz. Inflating http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/perl/Packages.gz. Updated list of available packages in /var/lib/opkg/perl. Downloading http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/python/Packages.gz. Inflating http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/python/Packages.gz. Updated list of available packages in /var/lib/opkg/python. esn-openpandora:/var/volatile/tmp/homeExtend/solfege-3.18.8$ sudo opkg install texinfo Installing texinfo (4.8a-r0.5) to root... Downloading http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/base/texinfo_4.8a-r0.5_armv7a.ipk. Configuring texinfo. Collected errors: * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgoffice-0.8-plugin-smoothing.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgstfarsight-0.10-0.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpurple-protocol-yahoo.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpurple-protocol-msn.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgoffice-0.8-plugin-plot-radar.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgnt0.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgoffice-0.8-plugin-plot-pie.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpurple.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgoffice-0.8-plugin-reg-logfit.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgoffice-0.8-plugin-plot-xy.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/gnumeric.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpurple-protocol-icq.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/claws-mail.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpurple-protocol-xmpp.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/abiword.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libproxy.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgsf-gnome-1-114.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/pidgin.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpurple-plugin-ssl-gnutls.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgoffice-0.8-plugin-plot-barcol.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/pidgin-data.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpurple-plugin-ssl.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libsoup-gnome-2.4-1.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpurple-protocol-irc.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgles-omap3-rawdemos.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgoffice-0.8-plugin-reg-linear.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/poppler.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgoffice-0.8-8.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgoffice-0.8-plugin-plot-surface.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgoffice-0.8-plugin-plot-distrib.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/pandora-lcd-state.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libnice.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/pandora-wallpaper-community.list: No such file or directory. * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpurple-protocol-aim.list: No such file or directory. esn-openpandora:/var/volatile/tmp/homeExtend/solfege-3.18.8$ ./configure --prefix=/mnt/utmp/solfege checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for a Python interpreter with version >= 2.5... python checking for python... /usr/bin/python checking for python version... 2.6 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.6/site-packages checking for python extension module directory... ${exec_prefix}/lib/python2.6/site-packages checking how to run the C preprocessor... gcc -E checking for headers required to compile python extensions... found checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking for rsvg... no checking for swig... no checking for lilypond... no checking for bzr... notfound checking for gs... /usr/bin/gs checking for xgettext... /usr/bin/xgettext checking for msgfmt... /usr/bin/msgfmt checking for msgmerge... /usr/bin/msgmerge checking for msggrep... /usr/bin/msggrep checking for makeinfo... /usr/bin/makeinfo checking for sed... /bin/sed checking for cat... /bin/cat checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.17.0... yes checking for PYGTK... no configure: error: Package requirements (pygtk-2.0 >= 2.12.0) were not met: No package 'pygtk-2.0' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables PYGTK_CFLAGS and PYGTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. esn-openpandora:/var/volatile/tmp/homeExtend/solfege-3.18.8$ sudo opkg install python-pygtk Sorry, try again. Sorry, try again. Sorry, try again. sudo: 3 incorrect password attempts esn-openpandora:/var/volatile/tmp/homeExtend/solfege-3.18.8$
So... is there any solution to the problems here? I'd prefer to do things on the Pandora if possible.
Last edited by a moderator: