dpkg error when I use LSDK 20.04 to build code

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

dpkg error when I use LSDK 20.04 to build code

Jump to solution
2,268 Views
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 Kudos
Reply
1 Solution
2,260 Views
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

View solution in original post

0 Kudos
Reply
1 Reply
2,261 Views
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 Kudos
Reply