Jump to content

opkg installing packages issues


dustbyter

Recommended Posts

Has anyone tried to use opkg to install any packages to the sd?

I ran the following command to isntall pythong-setuptools, and it seems to fail at some point, b/c its looking at the /usr/lib/opkg/info directory on internal storage instead of the sd, even though i specified the -d sd in the command.

root@Pineapple:/sd/wigle# opkg update && opkg --force-reinstall -d sd install python-setuptools

Downloading https://www.wifipineapple.com/nano/packages/Packages.gz.

Updated list of available packages in /var/opkg-lists/chaos_calmer_pineapple.

Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/base/Packages.gz.

Updated list of available packages in /var/opkg-lists/chaos_calmer_base.

Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/Packages.gz.

Updated list of available packages in /var/opkg-lists/chaos_calmer_packages.

Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/management/Packages.gz.

Updated list of available packages in /var/opkg-lists/chaos_calmer_management.

Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/routing/Packages.gz.

Updated list of available packages in /var/opkg-lists/chaos_calmer_routing.

Removing package python-setuptools from sd...

cat: can't open '/usr/lib/opkg/info/python-setuptools.list': No such file or directory

Installing python-setuptools (7.0-1) to sd...

Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-setuptools_7.0-1_ar71xx.ipk.

Configuring python-setuptools.

grep: /usr/lib/opkg/info/python-setuptools.control: No such file or directory

cat: can't open '/usr/lib/opkg/info/python-setuptools.list': No such file or directory

root@Pineapple:/sd/wigle#

Link to comment
Share on other sites

Has anyone tried to use opkg to install any packages to the sd?

I ran the following command to isntall pythong-setuptools, and it seems to fail at some point, b/c its looking at the /usr/lib/opkg/info directory on internal storage instead of the sd, even though i specified the -d sd in the command.

root@Pineapple:/sd/wigle# opkg update && opkg --force-reinstall -d sd install python-setuptools

Downloading https://www.wifipineapple.com/nano/packages/Packages.gz.

Updated list of available packages in /var/opkg-lists/chaos_calmer_pineapple.

Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/base/Packages.gz.

Updated list of available packages in /var/opkg-lists/chaos_calmer_base.

Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/Packages.gz.

Updated list of available packages in /var/opkg-lists/chaos_calmer_packages.

Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/management/Packages.gz.

Updated list of available packages in /var/opkg-lists/chaos_calmer_management.

Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/routing/Packages.gz.

Updated list of available packages in /var/opkg-lists/chaos_calmer_routing.

Removing package python-setuptools from sd...

cat: can't open '/usr/lib/opkg/info/python-setuptools.list': No such file or directory

Installing python-setuptools (7.0-1) to sd...

Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-setuptools_7.0-1_ar71xx.ipk.

Configuring python-setuptools.

grep: /usr/lib/opkg/info/python-setuptools.control: No such file or directory

cat: can't open '/usr/lib/opkg/info/python-setuptools.list': No such file or directory

root@Pineapple:/sd/wigle#

I'm aware of this error message happening, but it should not affect the install. I just tried and it worked for me.

Best Regards,

Sebkinne

Link to comment
Share on other sites

The package installed successfully. When you try to run a tool from that package, do you get an error?

For example, what if you ran the below. Does it work?

easy_install requests

I get the error shown below, I would expect that this package would be installed by the installation process as it does on other systems.

Traceback (most recent call last):

File "/sd/usr/bin/easy_install", line 5, in <module>

from pkg_resources import load_entry_point

ImportError: No module named pkg_resources

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...