dpkg error when I use LSDK 20.04 to build code

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

dpkg error when I use LSDK 20.04 to build code

ソリューションへジャンプ
5,855件の閲覧回数
tzongruey
Contributor I

Hi,

I use LSDK 20.04 update290520 to build code.
When I set the FETCH_PREBUILT_LSDK_RFS to n, it will occur the error as below.

The user `syslog' is already a member of `adm'.
dpkg: error processing package rsyslog (--configure):
installed rsyslog package post-installation script subprocess returned error exit status 1

...
...

Errors were encountered while processing:
rsyslog
E: Sub-process /usr/bin/dpkg returned an error code (1)

The attached log is my build log.
please help me to clarify it.

Thanks

0 件の賞賛
返信
1 解決策
5,847件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

The following change can resolve the problem when upgrading the newer ubuntu-18.04:

 

+++ b/tools/flex-mkdistrorfs

@@ -203,11 +203,12 @@ do_distrorfs_second_stage() {

            apt -y install language-pack-en-base

        fi

     fi

-    apt -y upgrade

 

     test -f /proc/uptime || mount -t proc proc /proc

     test -f /dev/pts/ptmx || mount -t devpts devpts /dev/pts

+    apt -y upgrade

 

Then rebuild it as below:

$ flex-builder -i clean-rfs

$ flex-builder -i mkrfs

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
5,848件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

The following change can resolve the problem when upgrading the newer ubuntu-18.04:

 

+++ b/tools/flex-mkdistrorfs

@@ -203,11 +203,12 @@ do_distrorfs_second_stage() {

            apt -y install language-pack-en-base

        fi

     fi

-    apt -y upgrade

 

     test -f /proc/uptime || mount -t proc proc /proc

     test -f /dev/pts/ptmx || mount -t devpts devpts /dev/pts

+    apt -y upgrade

 

Then rebuild it as below:

$ flex-builder -i clean-rfs

$ flex-builder -i mkrfs

0 件の賞賛
返信