答案1
首先阅读整个答案。第一部分显示你的错误和第二部分告诉你那alien
没有必要。
第一部分
用于-d
创建 DEB 文件
alien -d packagename.rpm
或者
alien packagename.rpm
来自外星人
-d, --to-deb
Make debian packages. This is the default.
-g, --generate
Generate a temporary directory suitable for building a package from,
but do not actually create the package. This is useful if you want to
move files around in the package before building it. The package can be
built from this temporary directory by running "debian/rules binary",
if you were creating a Debian package, or by running "rpmbuild -bb
<packagename>.spec" if you were creating a Red Hat package.
第二部分
要安装 Oracle Java,您不需要alien
RPM 文件。只需使用以下命令。
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer