dustbyter Posted January 25, 2016 Share Posted January 25, 2016 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# Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted January 25, 2016 Share Posted January 25, 2016 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 Quote Link to comment Share on other sites More sharing options...
dustbyter Posted January 25, 2016 Author Share Posted January 25, 2016 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.