我试图在Ubuntu18.04上安装LibrePlan,说明说我应该运行
sudo add-apt-repository ppa:libreplan/ppa
sudo apt-get update
sudo apt-get install libreplan 但在第一个命令中,我得到了这样的信息:
LibrePlan (aka NavalPlan) is a free software web application for
project management. It is written in Java and licensed under
AGPLlicense.
More info: https://launchpad.net/~libreplan/+archive/ubuntu/ppa
Press [ENTER] to continue or Ctrl-c to cancel adding it.
Hit:1 http://bg.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://bg.archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
Ign:3 http://ppa.launchpad.net/libreplan/ppa/ubuntu bionic InRelease
Get:4 http://bg.archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]
Err:5 http://ppa.launchpad.net/libreplan/ppa/ubuntu bionic Release
404 Not Found [IP: 91.189.95.83 80]
Get:6 http://security.ubuntu.com/ubuntu bionic-security InRelease [83,2 kB]
Get:7 http://bg.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [290 kB]
Get:8 http://bg.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [262 kB]
Get:9 http://bg.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [138 kB]
Get:10 http://bg.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [27,5 kB]
Get:11 http://bg.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [53,7 kB]
Get:12 http://bg.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [161 kB]
Get:13 http://bg.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [161 kB]
Get:14 http://bg.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [152 kB]
Get:15 http://bg.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons [153 kB]
Get:16 http://bg.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [265 kB]
Get:17 http://bg.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2468 B]
Get:18 http://bg.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [5096 B]
Get:19 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [204 B]
Get:20 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [5788 B]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/libreplan/ppa/ubuntu bionic Release' does not have 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.我看到url http://ppa.launchpad.net/libreplan/ppa/ubuntu指向一个包含"dists“的存储库,其中不包含仿生文件夹,这是问题所在吗?简单地说,Ubuntu18.04的包还没有准备好(如果我正确地使用了这个词)?
此外,我尝试用sudo apt-key add key.txt添加键D4,但是出现了以下错误,gpg: no valid OpenPGP data found.,键位于https://launchpad.net/~libreplan
发布于 2021-09-25 20:13:18
通过将Ubuntu附加步骤添加到原来的指南中,使其同时在some 18.04和20.04上工作:
安装要求:
apt-get install git-core maven openjdk-8-jdk postgresql postgresql-client python-docutils make gettext cutycaptSet默认JDK:
update-java-alternatives -s java-1.8.0-openjdk-amd64连接到数据库:
su postgres -c psql使用SQL语句:
CREATE DATABASE libreplandev;
CREATE DATABASE libreplandevtest;
CREATE USER libreplan WITH PASSWORD 'libreplan';
GRANT ALL PRIVILEGES ON DATABASE libreplandev TO libreplan;
GRANT ALL PRIVILEGES ON DATABASE libreplandevtest TO libreplan;下载源代码:
git clone git://github.com/LibrePlan/libreplan.gitAdd缺少libreplan/libreplan末尾的依赖项-webapp/pu.xml:
org.olap4j
olap4j
1.2.0编译项目but跳过测试:
cd libreplan/
mvn -DskipTests clean install发射应用程序:
cd libreplan-webapp/
mvn jetty:run转到http://localhost:8080/
https://askubuntu.com/questions/1066857
复制相似问题