Content
Not able to install packaged installation on ubuntu
Added by Praful Soni almost 10 years ago
Dear All,
I tried following installation package instruction as below —-
wget qO https://deb.packager.io/key | sudo apt-key add - echo “deb https://deb.packager.io/gh/opf/openproject trusty stable” | sudo tee /etc/apt/sources.list.d/openproject.list
and getting OK message after running above command.
But when I try running —- sudo apt-get update I am getting below error and package is not install.
tttt@simplerisk:~$ sudo apt-get update
E: Type ‘OK’ is not known on line 1 in source list /etc/apt/sources.list.d/openproject.list
E: The list of sources could not be read.
I am installing this on latest ubuntu release —
Distributor ID: Ubuntu
Description: Ubuntu 14.10
Release: 14.10
Codename: utopic
Please help me to resolve the issue. I am not linux expert but having basic knowledge only.
Replies (9)
Could you please post the content of
/etc/apt/sources.list.d/openproject.list
?/etc/apt/sources.list.d/openproject.list file just contain one word “OK” in it.
Delete ‘OK’ and add-
deb https://deb.packager.io/gh/opf/openproject trusty stable
And then try running-
sudo apt-get update
./Sanchit
Hai Sanchit,
Thanks… after making to the changes i could able to install packages.
I have now another error while running “openproject configure” wizard. On completion of wizard i m getting below error —-
[openproject] ./bin/configure
[legacy-installer] ./bin/preinstall
[mysql] ./bin/preinstall
[apache2] ./bin/preinstall
[svn-dav] ./bin/preinstall
[smtp] ./bin/preinstall
[memcached] ./bin/preinstall
[openproject] ./bin/preinstall
[legacy-installer] ./bin/postinstall
[mysql] ./bin/postinstall
Can’t find the root password to create the MySQL database
Please let me know where I can configure MySQL password to resolve this error.
Also let me know how to launch application on client browser and what will be default username and password to access application.
I’m stuck with the same error. Please advise.
Just got it running after I chose “use existing database” and provided the correct credentials.
To get those “correct” credentials I first had to set a root password (http://stackoverflow.com/questions/10895163/how-to-find-out-the-mysql-root-password), even though I never did anything with MySQL on my machine. While doing that I also noticed that a “openproject” database has already been set up. I guess, by the automatic installer.
On a side note: My colleague went through the setup procedure and it worked out of the box. No idea what was different. He said, he also didn’t do anything with MySQL before.
Thanks for your inputs.
I also use same options and could resolve that issue. But now I am getting below error while running “openproject configure” command.
[ OK ]
[svn-dav] ./bin/postinstall
cp: cannot create regular file ‘/usr/lib/perl5/Apache/’: No such file or directory
I stuck at every phase of installation and also tried fresh installation of Ubuntu server on two different hardware but result is same.
The problem is you join two commands that should be called separately.
Just run these commands in order to install OpenProject Core edition:
1st command (download a fresh generated key and add it to the key list):
wget
qOhttps://deb.packager.io/key | sudo apt-key add -PS: Note that -qO parameter’s second letter is a capital letter “O” not zero.
2nd command (write the echoed string to the “openproject.list” file):
echo “deb https://deb.packager.io/gh/opf/openproject trusty stable” | sudo tee /etc/apt/sources.list.d/openproject.list
PS: If you want to install OpenProject Community edition instead of Core edition use this command:
echo “deb https://deb.packager.io/gh/finnlabs/pkgr-openproject-community trusty stable” | sudo tee /etc/apt/sources.list.d/pkgr-openproject-community.list
3rd command (because of 2nd command it’ll work):
sudo apt-get update
4th command (install OpenProject):
sudo apt-get install openproject
PS: For OpenProject Community edition use this command:
sudo apt-get install openproject-ce
5th and the last command (configure the openproject :-))
openproject configure
PS: For OpenProject Community edition use this command:
sudo openproject-ce configure
Hope it’ll help you..
try to follow the set of command of "sudo wget -O /etc....../openproject.list \https://dl.packager......."
Note that, there is a space before the backslash of https, and no space after the backslash of that https.
Hope this helps u.
Salam.
May God bless you.