首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装LibrePlan时遇到的问题

安装LibrePlan时遇到的问题
EN

Ask Ubuntu用户
提问于 2018-08-19 14:59:55
回答 1查看 552关注 0票数 1

我试图在Ubuntu18.04上安装LibrePlan,说明说我应该运行

代码语言:javascript
复制
sudo add-apt-repository ppa:libreplan/ppa
sudo apt-get update
sudo apt-get install libreplan 

但在第一个命令中,我得到了这样的信息:

代码语言:javascript
复制
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

EN

回答 1

Ask Ubuntu用户

发布于 2021-09-25 20:13:18

通过将Ubuntu附加步骤添加到原来的指南中,使其同时在some 18.04和20.04上工作:

安装要求:

代码语言:javascript
复制
apt-get install git-core maven openjdk-8-jdk postgresql postgresql-client python-docutils make gettext cutycapt

Set默认JDK

代码语言:javascript
复制
update-java-alternatives -s java-1.8.0-openjdk-amd64

连接到数据库:

代码语言:javascript
复制
su postgres -c psql

使用SQL语句:

代码语言:javascript
复制
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;

下载源代码:

代码语言:javascript
复制
git clone git://github.com/LibrePlan/libreplan.git

Add缺少libreplan/libreplan末尾的依赖项-webapp/pu.xml

代码语言:javascript
复制
    org.olap4j
    olap4j
    1.2.0

编译项目but跳过测试

代码语言:javascript
复制
cd libreplan/
mvn -DskipTests clean install

发射应用程序:

代码语言:javascript
复制
cd libreplan-webapp/
mvn jetty:run

转到http://localhost:8080/

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1066857

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档