admin 发表于 2023-6-25 06:00:17

No LSB modules are available.Distributor ID: Ubuntu

lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.2 LTS
Release:      22.04
Codename:       jammy



解决办法:

# apt-get install -ylsb-core    安装


# apt-get install -ylsb-core
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
alien at autoconf automake autopoint autotools-dev bc bsdextrautils bsdmainutils
build-essential bzip2 cpp cpp-11 cron cups-bsd cups-client cups-common debhelper
debugedit dh-autoreconf dh-strip-nondeterminism dpkg-dev dwz ed fakeroot file
fontconfig-config fonts-dejavu-core g++ g++-11 gcc gcc-11 gcc-11-base gettext
gsasl-common guile-3.0-libs intltool-debian libalgorithm-diff-perl
libalgorithm-diff-xs-perl libalgorithm-merge-perl libarchive-cpio-perl
libarchive-zip-perl libarchive13 libasan6 libatomic1 libavahi-client3
libavahi-common-data libavahi-common3 libc-dev-bin libc-devtools libc6-dev
libcc1-0 libcrypt-dev libcups2 libdebhelper-perl libdeflate0 libdpkg-perl
libfakeroot libfile-fcntllock-perl libfile-stripnondeterminism-perl
libfontconfig1 libfribidi0 libfsverity0 libgc1 libgcc-11-dev libgd3 libgomp1
libgsasl7 libidn12 libisl23 libitm1 libjbig0 libjpeg-turbo8 libjpeg8 liblsan0
libltdl-dev libltdl7 liblua5.3-0 libmagic-mgc libmagic1 libmail-sendmail-perl
libmailutils8 libmpc3 libmysqlclient21 libncurses5 libnsl-dev libnspr4 libnss3
libntlm0 libpipeline1 libpq5 libquadmath0 librpm9 librpmbuild9 librpmio9
librpmsign9 libstdc++-11-dev libsub-override-perl libsys-hostname-long-perl
libtiff5 libtinfo5 libtirpc-dev libtool libtsan0 libubsan1 libwebp7 libxpm4
linux-libc-dev locales lsb-invalid-mta lsb-security lto-disabled-list m4
mailutils mailutils-common make man-db manpages manpages-dev mysql-common ncal
patch pax po-debconf psmisc rpcsvc-proto rpm rpm-common rpm2cpio time
Suggested packages:
lintian autoconf-archive gnu-standards autoconf-doc calendar whois vacation
bzip2-doc cpp-doc gcc-11-locales anacron logrotate checksecurity cups
inetutils-inetd | inet-superserver update-inetd smbclient dh-make debian-keyring
g++-multilib g++-11-multilib gcc-11-doc gcc-multilib flex bison gdb gcc-doc
gcc-11-multilib gettext-doc libasprintf-dev libgettextpo-dev lrzip glibc-doc git
bzr libgd-tools libtool-doc libstdc++-11-doc gfortran | fortran95-compiler
gcj-jdk lsb m4-doc mailutils-mh mailutils-doc make-doc groff less www-browser
diffutils-doc libmail-box-perl elfutils rpmlint rpm-i18n
The following NEW packages will be installed:
alien at autoconf automake autopoint autotools-dev bc bsdextrautils bsdmainutils
build-essential bzip2 cpp cpp-11 cron cups-bsd cups-client cups-common debhelper
debugedit dh-autoreconf dh-strip-nondeterminism dpkg-dev dwz ed fakeroot file
fontconfig-config fonts-dejavu-core g++ g++-11 gcc gcc-11 gcc-11-base gettext
gsasl-common guile-3.0-libs intltool-debian libalgorithm-diff-perl
libalgorithm-diff-xs-perl libalgorithm-merge-perl libarchive-cpio-perl
libarchive-zip-perl libarchive13 libasan6 libatomic1 libavahi-client3
libavahi-common-data libavahi-common3 libc-dev-bin libc-devtools libc6-dev
libcc1-0 libcrypt-dev libcups2 libdebhelper-perl libdeflate0 libdpkg-perl
libfakeroot libfile-fcntllock-perl libfile-stripnondeterminism-perl
libfontconfig1 libfribidi0 libfsverity0 libgc1 libgcc-11-dev libgd3 libgomp1
libgsasl7 libidn12 libisl23 libitm1 libjbig0 libjpeg-turbo8 libjpeg8 liblsan0
libltdl-dev libltdl7 liblua5.3-0 libmagic-mgc libmagic1 libmail-sendmail-perl
libmailutils8 libmpc3 libmysqlclient21 libncurses5 libnsl-dev libnspr4 libnss3
libntlm0 libpipeline1 libpq5 libquadmath0 librpm9 librpmbuild9 librpmio9
librpmsign9 libstdc++-11-dev libsub-override-perl libsys-hostname-long-perl
libtiff5 libtinfo5 libtirpc-dev libtool libtsan0 libubsan1 libwebp7 libxpm4
linux-libc-dev locales lsb-core lsb-invalid-mta lsb-security lto-disabled-list
m4 mailutils mailutils-common make man-db manpages manpages-dev mysql-common
ncal patch pax po-debconf psmisc rpcsvc-proto rpm rpm-common rpm2cpio time
0 upgraded, 131 newly installed, 0 to remove and 38 not upgraded.
Need to get 88.7 MB/89.9 MB of archives.
After this operation, 335 MB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 cron amd64 3.0pl1-137ubuntu3
Get:2 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 locales all 2.35-0ubuntu3.1
5%                               79.4 kB/s 18min 13s

Get:1 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 cron amd64 3.0pl1-137ubuntu3
Get:2 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 locales all 2.35-0ubuntu3.1
Get:3 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 bsdextrautils amd64 2.37.2-4ubuntu3
Get:4 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 ed amd64 1.18-1
Get:5 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 libpipeline1 amd64 1.5.5-1
Get:6 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 man-db amd64 2.10.2-1
Get:7 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 manpages all 5.10-1ubuntu1
Get:8 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 psmisc amd64 23.4-2build3
Get:9 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 time amd64 1.9-0.1build2
Get:10 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 autotools-dev all 20220109.1
Get:11 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 m4 amd64 1.4.18-5ubuntu2
Get:12 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 autoconf all 2.71-2
Get:13 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 automake all 1:1.16.5-1.3
Get:14 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 autopoint all 0.21-4ubuntu4
Get:15 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 libdebhelper-perl all 13.6ubuntu1
Ign:16 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 gcc-11-base amd64 11.3.0-1ubuntu1~22.04
Get:17 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 libisl23 amd64 0.24-2build1
Get:18 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 libmpc3 amd64 1.2.1-2build1
Ign:19 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 cpp-11 amd64 11.3.0-1ubuntu1~22.04
Get:20 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 cpp amd64 4:11.2.0-1ubuntu1
Get:21 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libcc1-0 amd64 12.1.0-2ubuntu1~22.04
Get:22 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libitm1 amd64 12.1.0-2ubuntu1~22.04
Get:23 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libatomic1 amd64 12.1.0-2ubuntu1~22.04
15%          115 kB/s 11min 23s

update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/automake.1.gz because associated file /usr/share/man/man1/automake-1.16.1.gz (of link group automake) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/aclocal.1.gz because associated file /usr/share/man/man1/aclocal-1.16.1.gz (of link group automake) doesn't exist
Setting up libfile-stripnondeterminism-perl (1.13.0-1) ...
Setting up cpp-11 (11.3.0-1ubuntu1~22.04.1) ...
Setting up librpm9 (4.17.0+dfsg1-4build1) ...
Setting up manpages-dev (5.10-1ubuntu1) ...
Setting up gettext (0.21-4ubuntu4) ...
Setting up guile-3.0-libs:amd64 (3.0.7-1) ...
Setting up fontconfig-config (2.13.1-4.2ubuntu5) ...
Setting up libavahi-common3:amd64 (0.8-5ubuntu5.1) ...
Setting up libgsasl7:amd64 (1.10.0-5) ...
Setting up libnss3:amd64 (2:3.68.2-0ubuntu1.2) ...
Setting up rpm-common (4.17.0+dfsg1-4build1) ...
Setting up libncurses5:amd64 (6.3-2ubuntu0.1) ...
Setting up dpkg-dev (1.21.1ubuntu2.2) ...
Setting up intltool-debian (0.35.0+20060710.5) ...
Setting up libmail-sendmail-perl (0.80-1.1) ...
Setting up libltdl-dev:amd64 (2.4.6-15build2) ...
Setting up librpmbuild9 (4.17.0+dfsg1-4build1) ...
Setting up libmailutils8:amd64 (1:3.14-1) ...
Setting up dh-strip-nondeterminism (1.13.0-1) ...
Setting up libgcc-11-dev:amd64 (11.3.0-1ubuntu1~22.04.1) ...
Setting up gcc-11 (11.3.0-1ubuntu1~22.04.1) ...
Setting up librpmsign9 (4.17.0+dfsg1-4build1) ...
Setting up cpp (4:11.2.0-1ubuntu1) ...
Setting up libc6-dev:amd64 (2.35-0ubuntu3.1) ...
Setting up libtiff5:amd64 (4.3.0-6ubuntu0.4) ...
Setting up libfontconfig1:amd64 (2.13.1-4.2ubuntu5) ...
Setting up libavahi-client3:amd64 (0.8-5ubuntu5.1) ...
Setting up mailutils (1:3.14-1) ...
update-alternatives: using /usr/bin/frm.mailutils to provide /usr/bin/frm (frm) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/frm.1.gz because associated file /usr/share/man/man1/frm.mailutils.1.gz (of link group frm) doesn't exist
update-alternatives: using /usr/bin/from.mailutils to provide /usr/bin/from (from) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/from.1.gz because associated file /usr/share/man/man1/from.mailutils.1.gz (of link group from) doesn't exist
update-alternatives: using /usr/bin/messages.mailutils to provide /usr/bin/messages (messages) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/messages.1.gz because associated file /usr/share/man/man1/messages.mailutils.1.gz (of link group messages) doesn't exist
update-alternatives: using /usr/bin/movemail.mailutils to provide /usr/bin/movemail (movemail) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/movemail.1.gz because associated file /usr/share/man/man1/movemail.mailutils.1.gz (of link group movemail) doesn't exist
update-alternatives: using /usr/bin/readmsg.mailutils to provide /usr/bin/readmsg (readmsg) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/readmsg.1.gz because associated file /usr/share/man/man1/readmsg.mailutils.1.gz (of link group readmsg) doesn't exist
update-alternatives: using /usr/bin/dotlock.mailutils to provide /usr/bin/dotlock (dotlock) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/dotlock.1.gz because associated file /usr/share/man/man1/dotlock.mailutils.1.gz (of link group dotlock) doesn't exist
update-alternatives: using /usr/bin/mail.mailutils to provide /usr/bin/mailx (mailx) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/mailx.1.gz because associated file /usr/share/man/man1/mail.mailutils.1.gz (of link group mailx) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/mail.1.gz because associated file /usr/share/man/man1/mail.mailutils.1.gz (of link group mailx) doesn't exist
Setting up libtool (2.4.6-15build2) ...
Setting up rpm2cpio (4.17.0+dfsg1-4build1) ...
Setting up po-debconf (1.0.21+nmu1) ...
Setting up rpm (4.17.0+dfsg1-4build1) ...
Setting up lsb-security (11.1.0ubuntu4) ...
Setting up gcc (4:11.2.0-1ubuntu1) ...
Setting up dh-autoreconf (20) ...
Setting up libgd3:amd64 (2.3.0-2ubuntu2) ...
Setting up libstdc++-11-dev:amd64 (11.3.0-1ubuntu1~22.04.1) ...
Setting up libcups2:amd64 (2.4.1op1-1ubuntu4.4) ...
Setting up libc-devtools (2.35-0ubuntu3.1) ...
Setting up g++-11 (11.3.0-1ubuntu1~22.04.1) ...
Setting up debhelper (13.6ubuntu1) ...
Setting up cups-client (2.4.1op1-1ubuntu4.4) ...
Adding group `lpadmin' (GID 114) ...
Done.
Setting up alien (8.95.5) ...
Setting up g++ (4:11.2.0-1ubuntu1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/c++.1.gz because associated file /usr/share/man/man1/g++.1.gz (of link group c++) doesn't exist
Setting up build-essential (12.9ubuntu3) ...
Setting up cups-bsd (2.4.1op1-1ubuntu4.4) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.)
debconf: falling back to frontend: Readline
Setting up lsb-core (11.1.0ubuntu4) ...
Processing triggers for dbus (1.12.20-2ubuntu4.1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.)
debconf: falling back to frontend: Readline
Scanning processes...                                                               
Scanning linux images...                                                            

Running kernel seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.

查看结果:
# lsb_release -a
LSB Version:    core-11.1.0ubuntu4-noarch:security-11.1.0ubuntu4-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.2 LTS
Release:      22.04
Codename:       jammy



问题解决。
页: [1]
查看完整版本: No LSB modules are available.Distributor ID: Ubuntu