Can not update opkg
Home › Forums › Conduit: AEP Model › Can not update opkg
- This topic has 10 replies, 4 voices, and was last updated 6 years, 10 months ago by
John Klug.
-
AuthorPosts
-
February 28, 2018 at 10:26 am #22709
Diego Antonino
ParticipantHi,
I got the following error when i try to do “opkg update“:
admin@mtcdt:~# opkg update Downloading http://multitech.net/mlinux/feeds/3.3/all/Packages.gz. Downloading http://multitech.net/mlinux/feeds/3.3/arm926ejste/Packages.gz. Downloading http://multitech.net/mlinux/feeds/3.3/mtcdt/Packages.gz. Collected errors: * opkg_download: Failed to download http://multitech.net/mlinux/feeds/3.3/all/Packages.gz, wget returned 8. * opkg_download: Failed to download http://multitech.net/mlinux/feeds/3.3/arm926ejste/Packages.gz, wget returned 8. * opkg_download: Failed to download http://multitech.net/mlinux/feeds/3.3/mtcdt/Packages.gz, wget returned 8.
Then, I tried to download “Packages.gz” package manually using wget, and I got
ERROR 404: Not Found.
(I got the same result using my computer)Thanks in advance for your help!
Diego
February 28, 2018 at 10:29 am #22710Jason Reiss
KeymasterChoose from one of the available folders.
http://multitech.net/mlinux/feeds/[DIR] 3.2/ 14-Jun-2016 16:57 –
[DIR] 3.3.6/ 21-Apr-2017 13:05 –
[DIR] 3.3.7/ 27-Jun-2017 13:16 –
[DIR] 3.3.9/ 27-Jul-2017 14:34 –
[DIR] 3.3.12/ 11-Sep-2017 10:39 –
[DIR] 3.3.13/ 06-Oct-2017 17:49 –
[DIR] 3.3.14/ 30-Oct-2017 09:53 –
[DIR] 3.3.15/ 30-Oct-2017 10:00 –February 28, 2018 at 10:31 am #22711Diego Antonino
ParticipantCool! Thanks!!!!
February 28, 2018 at 10:58 am #22712Diego Antonino
ParticipantI used 3.3.15 folder. then i install pip (opkg install python-pi), but i am getting the following error when I try to use it:
admin@mtcdt:~# pip --version Traceback (most recent call last): File "/usr/bin/pip", line 5, in <module> from pkg_resources import load_entry_point ImportError: No module named pkg_resources admin@mtcdt:~#
If the issue is related to the folder I have chosen, Which should be the criteria to chose the right folder?
Thanks!
DiegoFebruary 28, 2018 at 11:40 am #22715Diego Antonino
Participantok, I fix it installing setuptools as bellow:
wget https://bootstrap.pypa.io/ez_setup.py -O - | python
Thanks!
DiegoFebruary 28, 2018 at 11:42 am #22716Jason Reiss
KeymasterI have also noticed that the “opkg install python-pip” does install a functioning pip. But it must be installed before the ez_setup.py is used.
June 25, 2018 at 7:07 am #23982leopold le forestier
ParticipantI still have some troubles when I try to install pip, even with the ez_setup. I used the 3.3.24 folder.
admin@mtcdt:~# opkg install python-pip Unknown package 'python-pip'. Collected errors: * opkg_install_cmd: Cannot install package python-pip.
Can someone help me to solve that ?
-
This reply was modified 6 years, 10 months ago by
leopold le forestier.
June 25, 2018 at 9:01 am #23985John Klug
ModeratorYou must successfully do “opkg update” before you can install more packages.
June 25, 2018 at 9:07 am #23986leopold le forestier
ParticipantThanks for your answer John.
Can you explain me how to do it successfully please ?
I have the same error as Diego :
admin@mtcdt:~# opkg update Downloading http://multitech.net/mlinux/feeds/3.3/all/Packages.gz. Downloading http://multitech.net/mlinux/feeds/3.3/arm926ejste/Packages.gz. Downloading http://multitech.net/mlinux/feeds/3.3/mtcdt/Packages.gz. Collected errors: * opkg_download: Failed to download http://multitech.net/mlinux/feeds/3.3/all/Packages.gz, wget returned 8. * opkg_download: Failed to download http://multitech.net/mlinux/feeds/3.3/arm926ejste/Packages.gz, wget returned 8. * opkg_download: Failed to download http://multitech.net/mlinux/feeds/3.3/mtcdt/Packages.gz, wget returned 8.
I am sorry but I am not sure to understand what are the steps to do it successfully.
Thanks !Leopold
June 25, 2018 at 10:38 am #23991John Klug
ModeratorIn some levels of mLinux, the file /etc/opkg/mlinux-feed.conf there is a bug, and the URL’s in the file are bad.
To determine the correct URL, cat /etc/mlinux-version to determine which level of mLinux is installed. (maybe 3.3.6?).
Then look at available URL’s. They are found by going from:
This has a link called pre-built packages.
This goes to a directory called:
http://www.multitech.net/mlinux/feeds/Then you pick the level you desire. If you just want to install additional packages, I would recommend the directory that matches the version of mLinux you already have.
Then you must edit /etc/opkg/mlinux-feed.conf file, and modify the ‘3.3’ to the exact micro-level of 3.3 you have, such as 3.3.6. There will be several lines in the file with the incorrect path in the URL.
June 25, 2018 at 10:47 am #23992John Klug
ModeratorLooking back, this issue was fixed in 3.3.13.
-
This reply was modified 6 years, 10 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.