apt-get Issue

Discussion in 'UDOO 101' started by cdnyny, Mar 28, 2014.

Thread Status:
Not open for further replies.
  1. cdnyny

    cdnyny New Member

    Joined:
    Mar 2, 2014
    Messages:
    2
    Likes Received:
    0
    I am running Linaro 12.04 LTS. Nearly every time I try to use (sudo) apt-get, the process ends unsuccessfully with the message

    uboot-mkimage : Depends: u-boot-tools but it is not installed .

    I tried to load u-boot-tools and that did not work either:

    > sudo apt-get install u-boot-tools
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following NEW packages will be installed:
    u-boot-tools
    0 upgraded, 1 newly installed, 0 to remove and 24 not upgraded.
    1 not fully installed or removed.
    Need to get 0 B/51.7 kB of archives.
    After this operation, 145 kB of additional disk space will be used.
    (Reading database ... 109943 files and directories currently installed.)
    Unpacking u-boot-tools (from .../u-boot-tools_2011.09-2_armel.deb) ...
    dpkg: error processing /var/cache/apt/archives/u-boot-tools_2011.09-2_armel.deb (--unpack):
    trying to overwrite '/usr/bin/fw_printenv', which is also in package u-boot-env 2013.11
    Processing triggers for man-db ...
    Errors were encountered while processing:
    /var/cache/apt/archives/u-boot-tools_2011.09-2_armel.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    I also tried apt-get -f install, and apt-get update, but to no avail.

    Anyone else come across this issue and find an answer? Thanks.
     
  2. problemer

    problemer New Member

    Joined:
    Mar 26, 2014
    Messages:
    18
    Likes Received:
    0
    Struggeling with the same, no matter what seems to solve it.
     
  3. problemer

    problemer New Member

    Joined:
    Mar 26, 2014
    Messages:
    18
    Likes Received:
    0
    solved , had to remove u-boot-env...then install u-boot-tools and finaly mkimage.
     
  4. Zombie03

    Zombie03 New Member

    Joined:
    Mar 26, 2014
    Messages:
    5
    Likes Received:
    0
    hey, sorry for the noob question but how do i remove u-boot-env? I have exactly the same problem as you guys :\

    Thx :)

    EDIT: Well, it was a really noob question :oops: . sudo apt-get remove u-boot-env uboot-mkimage got my problem solved.
     
  5. delba

    delba Administrator Staff Member

    Joined:
    May 8, 2013
    Messages:
    1,064
    Likes Received:
    9
    Great, topic locked!
     
Thread Status:
Not open for further replies.

Share This Page