3

recently I switched from zorin os to deepin 20 for it's outstanding UI and eases of use for daily operations.

it's almost OK but if I need some newer packages which are not listed in official deepin repositories, I have to use some community installer scripts that rely on this command to obtain the correct linux LSB version :

lsb_release -c

the problem is : the return value is "n/a" that consequently, breaks down the installation process. how can I fix this ?

smbanaei
  • 141

2 Answers2

1

I finally found out the partial solution (because i could not correct the codename section of lsb_release result) that had me get rid of this error :

just replace the command :

lsb_release -c

with :

dpkg --status tzdata|grep Provides|cut -f2 -d'-'

in every script that uses the first one.

Thanks to bcoca

smbanaei
  • 141
0

Put LSB_VERSION="something" in /etc/lsb-release.

αғsнιη
  • 41,407