Can not update opkg

Home Forums Conduit: AEP Model Can not update opkg

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #22709
    Diego Antonino
    Participant

    Hi,

    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

    #22710
    Jason Reiss
    Keymaster

    Choose 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 –

    #22711
    Diego Antonino
    Participant

    Cool! Thanks!!!!

    #22712
    Diego Antonino
    Participant

    I 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!
    Diego

    #22715
    Diego Antonino
    Participant

    ok, I fix it installing setuptools as bellow:

    wget https://bootstrap.pypa.io/ez_setup.py -O - | python

    Thanks!
    Diego

    #22716
    Jason Reiss
    Keymaster

    I 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.

    #23982

    I 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 ?

    #23985
    John Klug
    Moderator

    You must successfully do “opkg update” before you can install more packages.

    #23986

    Thanks 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

    #23991
    John Klug
    Moderator

    In 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:

    http://www.multitech.net/developer/downloads/

    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.

    #23992
    John Klug
    Moderator

    Looking back, this issue was fixed in 3.3.13.

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.