This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

opkg updation

Hi All,

I am using Calixto Am_355x  Evaluation board and my kernel version is Linux am335x-evm 3.2.0-g7847f90.

I am unable to run opkg update.

Networking  of the board is running fine and pinging to google.

How should I download and install packages.

Regards

  • Hi Vivek,

    How exactly are you unable to update? Any error messages?

    The correct way to update the OPKG-installed applications to the latest ported versions is:

    opkg update && opkg upgrade

    Best regards,
    Miroslav

  • Hi Miroslav,

    I have checked with opkg update and opkg upgrade commands.

    It shows no error. While navigating to /etc/opkg/. I find two files:

    1)arch.conf  

    2)opkg.conf

    The contents of arch.conf are :-


    arch all 1
    arch any 6
    arch noarch 11
    arch arm 16
    arch armv4 21
    arch armv5 26
    arch armv5-vfp 31
    arch armv5e 36
    arch armv5e-vfp 41
    arch armv6-vfp 46
    arch armv7a 51
    arch armv7a-vfp 56
    arch armv7a-vfp-neon 61
    arch am335x_evm 66
    arch armv7a-vfp-neon-3.2

    and

    the contents of opkg.conf are :-

    # Proxy Support
    #option http_proxy http://proxy.tld:3128
    #option ftp_proxy http://proxy.tld:3128
    #option proxy_username <username>
    #option proxy_password <password>

    # Enable GPGME signature
    # option check_signature 1

    # Offline mode (for use in constructing flash images offline)
    #option offline_root target

    dest root /
    lists_dir ext /var/lib/opkg.

    I don't know why I am unable to update opkg.

    Looking forward for reply.

    Thanks and Regards:- 




  • Hi Vivek,

    # Must have one or more source entries of the form:
    #
    #   src <src-name> <source-url>
    #
    # and one or more destination entries of the form:
    #
    #   dest <dest-name> <target-path>
    #
    # where <src-name> and <dest-names> are identifiers that
    # should match [a-zA-Z0-9._-]+, <source-url> should be a
    # URL that points to a directory containing a Familiar
    # Packages file, and <target-path> should be a directory
    # that exists on the target system.

    Try adding this line in the opkg.conf file (before dest root /):

    src/gz am335x-evm http://feeds.arago-project.org/feeds/live/ipk/am335x-evm

    Also uncomment the proxy options if needed and set them accordingly.

    Best regards,
    Miroslav

  • Hi Miroslav,

    I have tried modifying opkg.conf file. On executing opkg update I get the error message as :

    Downloading http://feeds.arago-project.org/feeds/live/ipk/am335x-evm/Packages.gz.
    wget: server returned error: HTTP/1.1 404 Not Found
    Collected errors:
    * opkg_download: Failed to download http://feeds.arago-project.org/feeds/live/ipk/am335x-evm/Packages.gz, wget returned 1.

    The contents of opkg.conf file are as follows:-

    # Must have one or more source entries of the form:
    #
    # src <src-name> <source-url>
    #
    # and one or more destination entries of the form:
    #
    # dest <dest-name> <target-path>
    #
    # where <src-name> and <dest-names> are identifiers that
    # should match [a-zA-Z0-9._-]+, <source-url> should be a
    # URL that points to a directory containing a Familiar
    # Packages file, and <target-path> should be a directory
    # that exists on the target system.

    # Proxy Support
    #option http_proxy http://proxy.tld:3128
    #option ftp_proxy http://proxy.tld:3128
    #option proxy_username <username>
    #option proxy_password <password>

    # Enable GPGME signature
    # option check_signature 1

    # Offline mode (for use in constructing flash images offline)
    #option offline_root target


    src/gz am335x-evm http://feeds.arago-project.org/feeds/live/ipk/am335x-evm

    dest root /
    lists_dir ext /var/lib/opkg

    I guess there is some problem with the link.

    Thanks and Regards.


  • Hi Vivek,

    Seems like there really is an issue with the link. Judging by this post by Chase Maupin, the feeds were removed some SDK releases ago.

    Please read the rest of the topic I just linked and you may find a suggestion there.

    Best regards,
    Miroslav

  • Hi Miroslav,

    Shall I proceed with the link http://arago-project.org/files/releases/2009.11/ipk/armv7a/ by adding line.


    src/gz am335x-evm http://arago-project.org/files/releases/2009.11/ipk/armv7a/

    dest root /
    lists_dir ext /var/lib/opkg

    in the opkg.conf file.

    Thanks and Regards



  • Hi Vivek,

    You can try it, but this is a release from 2009 and I believe this would hardly be an update...

    Best regards,
    Miroslav