11 Replies Latest reply on Mar 29, 2016 10:16 AM by Intel_Peter

    update-alternatives: unknown argument '--quiet'




      I want to install 'build-essential' but, there is a problem on update-alternative-opkg.


      I rebuilt an edison image with PACKAGE_CLASSES ?= "package_deb" to use apt-get.

      so, I can command apt-get successfully.


      However, when I run "apt-get install build-essential", there is a compatible problem(I think).



      Get:28 http://ftp.kr.debian.org/debian/ jessie/main libalgorithm-merge-perl all 0.08-2 [13.5 kB]

      Get:29 http://ftp.kr.debian.org/debian/ jessie/main libfile-fcntllock-perl i386 0.22-1+b1 [36.8 kB]

      Fetched 39.8 MB in 42s (929 kB/s)

      Setting up mawk (1.3.3-17) ...

      update-alternatives: unknown argument `--quiet'

      Usage: update-alternatives --install <link> <name> <path> <priority>

                     update-alternatives --remove <name> <path>

                     update-alternatives --help

      <link> is the link pointing to the provided path (ie. /usr/bin/foo).

      <name> is the name in /usr/lib/opkg/alternatives/alternatives (ie. foo)

      <path> is the name referred to (ie. /usr/bin/foo-extra-spiffy)

      <priority> is an integer; options with higher numbers are chosen.

      dpkg: error processing package mawk (--configure):

           subprocess installed post-installation script returned error exit status 2

      Errors were encountered while processing:


      E: Sub-process /usr/bin/dpkg returned an error code (1)



      As I know, update-alternative-opkg don't have 'quiet' option.


      Do any one know a solution for this problem?