Porting-advisor
收藏回复举报
Porting-advisor
t('forum.solved') 已解决
发表于2023-08-11 10:03:27
0 查看

./install web安装失败

 

root@user:/home/user/Porting-advisor_23.0.RC2_linux-x86-64# ./install web 

Checking ./Porting-advisor_23.0.RC2_linux-x86-64 ... 

Installing ./Porting-advisor_23.0.RC2_linux-x86-64 ... 

Enter the installation path. The default path is /opt :  

Start to install the Kunpeng Porting Advisor. 

Decompressing files ... 

Checking dependent Installations for Kunpeng Porting Advisor... 

dpkg-query: no packages found matching unzip 

dpkg-query: no packages found matching default-jdk 

sudo already installed! 

dpkg-query: no packages found matching zlib1g-dev 

zlib1g already installed! 

libpcre3 already installed! 

openssl already installed! 

dpkg-query: no packages found matching libssl-dev 

wget already installed! 

dpkg-query: no packages found matching rpm2cpio 

cpio already installed! 

dpkg-deb already installed! 

lsof already installed! 

bzip2 already installed! 

ufw already installed! 

libcap2-bin already installed! 

cron already installed! 

e2fsprogs already installed! 

The following essential dependencies have not been installed: unzip default-jdk expect gcc make zlib1g-dev libpcre3-dev libssl-dev rpm2cpio acl 

The following optional dependencies have not been installed: binutils 

Some risky components, will be automatically installed with the Kunpeng Porting Advisor. Do you allow automatic installation of these components(y/n)?y 

The following dependencies will be automatically installed: unzip default-jdk expect gcc make zlib1g-dev libpcre3-dev libssl-dev rpm2cpio acl binutils 

Reading package lists... Done 

Building dependency tree        

Reading state information... Done 

E: Unable to locate package unzip 

unzip installation failed! 

 

Please select a mirroring source configuration mode or enter n/N to exit the installation. 

 

1. Using a Local Image Source. 

2. Manually enter the network mirror source path. (Select this option in a networked environment.) 

Please select a mirroring source configuration mode(default: 1): 1 

Enter the absolute path of the .iso file. For example, if the local image file is stored in the root directory, enter:/root/localos.iso. 

 

Enter the local image source path: /home/user/ubuntu-20.04.6-live-server-amd64.iso 

 

Following parameters will be used 

 

ISO_PATH             : /home/user/ubuntu-20.04.6-live-server-amd64.iso 

ISO_MOUNT_PATH       : /media/cdrom 

CONFIGURE_FILE_PATH  : /etc/apt/sources.list 

 

mount: /media/cdrom: WARNING: device write-protected, mounted read-only. 

Using CD-ROM mount point /media/cdrom/ 

Identifying... [e2e9021b074342abd39d6c3842902203-2] 

Scanning disc for index files... 

Found 2 package indexes, 0 source indexes, 0 translation indexes and 1 signatures 

This disc is called:  

'Ubuntu-Server 20.04.6 LTS _Focal Fossa_ - Release amd64 (20230314.1)' 

Copying package lists...gpgv: Signature made Tue 14 Mar 2023 11:01:58 PM UTC 

gpgv:using RSA key 843938DF228D22F7B3742BC0D94AA3F0EFE21092 

gpgv: Good signature from "Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu.com>" 

Reading Package Indexes... Done 

Writing new source list 

Source list entries for this disc are: 

deb cdrom:[Ubuntu-Server 20.04.6 LTS _Focal Fossa_ - Release amd64 (20230314.1)]/ focal main restricted 

Repeat this process for the rest of the CDs in your set. 

Get:1 file:/media focal InRelease 

Ign:1 file:/media focal InRelease 

Ign:2 cdrom://Ubuntu-Server 20.04.6 LTS _Focal Fossa_ - Release amd64 (20230314.1) focal InRelease 

Get:3 file:/media focal Release 

Err:3 file:/media focal Release 

File not found - /media/dists/focal/Release (2: No such file or directory) 

Hit:4 cdrom://Ubuntu-Server 20.04.6 LTS _Focal Fossa_ - Release amd64 (20230314.1) focal Release 

Reading package lists... Done 

E: The repository 'file:/media focal Release' no longer has a Release file. 

N: Updating from such a repository can't be done securely, and is therefore disabled by default. 

N: See apt-secure(8) manpage for repository creation and user configuration details. 

Apt source configured successfully. 

Reading package lists... Done 

Building dependency tree        

Reading state information... Done 

E: Unable to locate package unzip 

unzip installation failed! 

Failed to install the essential components. Please manually install the following components: unzip default-jdk expect gcc make zlib1g-dev libpcre3-dev libssl-dev rpm2cpio acl 

Failed to install the optional components. Please manually install the following components: binutils 

Suggestion: 

1. Check whether the yum or apt source is correctly configured. 

2. Manually install the missing components. 

/media/cdrom umount success 

Installation failed. 

本帖最后由 匿名用户2023/11/17 10:23:49 编辑

我要发帖子