I am trying to install openproject by following this link to install into amazon centos instance:
https://www.openproject.org/download/packaged-installation-core/
But I am getting below error and it is getting failed.
[root#ip-10-28-11-38 ec2-user]# sudo yum install openproject
Loaded plugins: priorities, update-motd, upgrade-helper amzn-main/latest
| 2.1 kB 00:00 amzn-updates/latest
| 2.3 kB 00:00 openproject
| 2.9 kB 00:00 openproject/primary_db
| 50 kB 00:00 Resolving Dependencies
--> Running transaction check
---> Package openproject.x86_64 0:4.0.6-1422376810.876f3af.centos6 will be installed
--> Processing Dependency: postgresql-libs for package: openproject-4.0.6-1422376810.876f3af.centos6.x86_64
--> Processing Dependency: mysql-libs for package: openproject-4.0.6-1422376810.876f3af.centos6.x86_64
--> Processing Dependency: libevent for package: openproject-4.0.6-1422376810.876f3af.centos6.x86_64
--> Processing Dependency: dialog for package: openproject-4.0.6-1422376810.876f3af.centos6.x86_64
--> Running transaction check
---> Package dialog.x86_64 0:1.1-9.20080819.1.5.amzn1 will be installed
---> Package libevent.x86_64 0:2.0.18-1.10.amzn1 will be installed
---> Package mysql55-libs.x86_64 0:5.5.40-1.3.amzn1 will be installed
---> Package postgresql92-libs.x86_64 0:9.2.9-1.46.amzn1 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================ Package Arch Version Repository
Size
================================================================================ Installing: openproject x86_64 4.0.6-1422376810.876f3af.centos6
openproject 56 M Installing for dependencies: dialog
x86_64 1.1-9.20080819.1.5.amzn1 amzn-main 205 k libevent
x86_64 2.0.18-1.10.amzn1 amzn-main 278 k
mysql55-libs x86_64 5.5.40-1.3.amzn1
amzn-updates 813 k postgresql92-libs x86_64 9.2.9-1.46.amzn1
amzn-main 254 k
Transaction Summary
================================================================================ Install 1 Package (+4 Dependent packages)
Total download size: 58 M
Installed size: 198 M
Is this ok [y/d/N]: y
Downloading packages:
(1/5): dialog-1.1-9.20080819.1.5.amzn1.x86_64.rpm | 205 kB 00:00
(2/5): libevent-2.0.18-1.10.amzn1.x86_64.rpm | 278 kB 00:00
(3/5): mysql55-libs-5.5.40-1.3.amzn1.x86_64.rpm | 813 kB 00:00
(4/5): openproject-4.0.6-1422376810.876f3af.centos6.x86_ | 56 MB 00:03
(5/5): postgresql92-libs-9.2.9-1.46.amzn1.x86_64.rpm | 254 kB 00:00
-------------------------------------------------------------------------------- Total 15 MB/s | 58 MB
00:03 Running transaction check
Running transaction test
Transaction test succeeded
Running transaction Installing :
dialog-1.1-9.20080819.1.5.amzn1.x86_64
1/5 Installing : postgresql92-libs-9.2.9-1.46.amzn1.x86_64
2/5 Installing : mysql55-libs-5.5.40-1.3.amzn1.x86_64
3/5 Installing : libevent-2.0.18-1.10.amzn1.x86_64
4/5 /var/tmp/rpm-tmp.NKChbC: line 18: addgroup: command not found
error: %pre(openproject-4.0.6-1422376810.876f3af.centos6.x86_64)
scriptlet failed, exit status 127 Error in PREIN scriptlet in rpm
package openproject-4.0.6-1422376810.876f3af.centos6.x86_64
Verifying : libevent-2.0.18-1.10.amzn1.x86_64
1/5 Verifying : mysql55-libs-5.5.40-1.3.amzn1.x86_64
2/5 Verifying : postgresql92-libs-9.2.9-1.46.amzn1.x86_64
3/5 Verifying : dialog-1.1-9.20080819.1.5.amzn1.x86_64
4/5 Verifying : openproject-4.0.6-1422376810.876f3af.centos6.x86_64
5/5
Dependency Installed: dialog.x86_64 0:1.1-9.20080819.1.5.amzn1
libevent.x86_64 0:2.0.18-1.10.amzn1 mysql55-libs.x86_64
0:5.5.40-1.3.amzn1 postgresql92-libs.x86_64 0:9.2.9-1.46.amzn1
Failed: openproject.x86_64 0:4.0.6-1422376810.876f3af.centos6
Complete!
Can anybody help me for solving this issue?
It seems to me that the addgroup command is not found on your system. Try if you can execute the addgroup command (e.g.: sudo addgroup). If it is not found try what is suggested here: Bash: groupadd: command not found
Related
I am new to Python/Anaconda and trying to do some self-learning on my company owned laptop (Windows). Downloading Anaconda from the site kept failing, so I downloaded miniconda and ran conda install anaconda. It displayed all of the packages that would be downloaded, installed, updated. I proceeded and most of the packages got to 100% but then I got [Errno 13] which said permission was denied for libtiff package.
Doing some research, I tried running the conda prompt in Admin mode, Didn't help. Tried doing a clean all command and retried the conda install anaconda command multiple times as I thought it may finish where it left off, but no luck, I keep getting some version of permission denied error for the libtiff package. I tried doing conda install anaconda-navigator but that didn't work either. Maybe there is an easy workaround to avoid miniconda altogether? I have some results from my last run today below.
(base) C:\Users\jaugustin>conda install anaconda
Collecting package metadata: done
Solving environment: done
## Package Plan ##
environment location: C:\Users\jaugustin\AppData\Local\Continuum\miniconda3
added / updated specs:
- anaconda
The following packages will be downloaded:
package | build
---------------------------|-----------------
jpeg-9b | hb83a4c4_2 313 KB
xz-5.2.4 | h2fa13f4_4 812 KB
zlib-1.2.11 | h62dcd97_3 128 KB
zstd-1.3.7 | h508b16e_0 536 KB
------------------------------------------------------------
Total: 1.7 MB
The following NEW packages will be INSTALLED:
alabaster pkgs/main/win-64::alabaster-0.7.12-py37_0
anaconda pkgs/main/win-64::anaconda-2019.03-py37_0
anaconda-client pkgs/main/win-64::anaconda-client-1.7.2-py37_0
anaconda-project pkgs/main/win-64::anaconda-project-0.8.2-py37_0
Many more NEW packages listed as well...
The following packages will be UPDATED:
cffi 1.11.5-py37h74b6da3_1 --> 1.12.2-py37h7a1dbc1_1
cryptography 2.4.2-py37h7a1dbc1_0 --> 2.6.1-py37h7a1dbc1_0
menuinst 1.4.14-py37hfa6e2cd_0 --> 1.4.16-py37he774522_0
pip 18.1-py37_0 --> 19.0.3-py37_0
pyopenssl 18.0.0-py37_0 --> 19.0.0-py37_0
python 3.7.1-h8c8aaf0_6 --> 3.7.3-h8c8aaf0_0
setuptools 40.6.3-py37_0 --> 40.8.0-py37_0
sqlite 3.26.0-he774522_0 --> 3.27.2-he774522_0
wheel 0.32.3-py37_0 --> 0.33.1-py37_0
win_inet_pton 1.0.1-py37_1 --> 1.1.0-py37_0
The following packages will be SUPERSEDED by a higher-priority channel:
pyparsing pkgs/main/noarch::pyparsing-2.4.0-py_0 --> pkgs/main/win-64::pyparsing-2.3.1-py37_0
Proceed ([y]/n)? y
Downloading and Extracting Packages
xz-5.2.4 | 812 KB | ############################################################################ | 100%
zlib-1.2.11 | 128 KB | ############################################################################ | 100%
zstd-1.3.7 | 536 KB | ############################################################################ | 100%
jpeg-9b | 313 KB | ############################################################################ | 100%
Preparing transaction: done
Verifying transaction: failed
CondaVerificationError: The package for libtiff located at C:\Users\jaugustin\AppData\Local\Continuum\miniconda3\pkgs\libtiff-4.0.10-hb898794_2
appears to be corrupted. The path 'Library/bin/libtiff.dll'
specified in the package manifest cannot be found.
Many more similar errors are listed all with the libtiff package for various files.
The Problem is, some of the security patches has blacklisted an exe file tiff2pdf.exe.
If you try to create a text file abc.txt at that folder C:\Users\jaugustin\AppData\Local\Continuum\miniconda3\pkgs\libtiff-4.0.10-hb898794_2\Library\bin\ and rename it as tiff2pdf.exe it would ask Admin privilage and still it may block you.
Your System admin may be able to help you resolve.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I want to run a ASP.Net Core application with supervisor package manager in Amazon Linux 2. Execute following command to install supervisor
$sudo yum install supervisor
Its says:
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
No package supervisor available.
Error: Nothing to do
Os detail:
NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"
Also tried with
$sudo yum install epel-release
Same error:
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
No package epel-release available.
Error: Nothing to do
epel-release is available in Amazon Linux Extra topic "epel"
$sudo amazon-linux-extras install epel
And then I tried with
$sudo yum install supervisor
output!
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
150 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package supervisor.noarch 0:3.1.4-1.el7 will be installed
--> Processing Dependency: python-meld3 >= 0.6.5 for package: supervisor-3.1.4-1.el7.noarch
--> Running transaction check
---> Package python-meld3.x86_64 0:0.6.10-1.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================================================================================
Installing:
supervisor noarch 3.1.4-1.el7 epel 446 k
Installing for dependencies:
python-meld3 x86_64 0.6.10-1.el7 epel 73 k
Transaction Summary
=============================================================================================================================================================================================================================================
Install 1 Package (+1 Dependent package)
Total download size: 519 k
Installed size: 2.5 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/2/epel/packages/python-meld3-0.6.10-1.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Public key for python-meld3-0.6.10-1.el7.x86_64.rpm is not installed
(1/2): python-meld3-0.6.10-1.el7.x86_64.rpm | 73 kB 00:00:00
(2/2): supervisor-3.1.4-1.el7.noarch.rpm | 446 kB 00:00:00
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 1.5 MB/s | 519 kB 00:00:00
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Importing GPG key 0x352C64E5:
Userid : "Fedora EPEL (7) <epel#fedoraproject.org>"
Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5
Package : epel-release-7-11.noarch (#amzn2extra-epel)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : python-meld3-0.6.10-1.el7.x86_64 1/2
Installing : supervisor-3.1.4-1.el7.noarch 2/2
Verifying : python-meld3-0.6.10-1.el7.x86_64 1/2
Verifying : supervisor-3.1.4-1.el7.noarch 2/2
Installed:
supervisor.noarch 0:3.1.4-1.el7
Dependency Installed:
python-meld3.x86_64 0:0.6.10-1.el7
Complete!
I'm trying to install Rust on the Windows Subsystem for Linux (WSL) by running the following command which is provided officially here:
curl https://sh.rustup.rs -sSf | sh
I've installed Ubuntu from the Microsoft Store.
The problem is that the fails with 5 similar errors:
error: could not rename component file from '/home/thesdev/.rustup/tmp/glf5z1z643ehld0x_dir/bk' to '/home/thesdev/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/share/man'
...
error: failed to install component: 'rust-docs-x86_64-unknown-linux-gnu', detected conflict: '"share/doc/rust/html"'
Screenshot is from VS Code. Trying it in the Ubuntu application results in the same errors.
Apparently, you need to close Visual Studio Code and run the command directly at the WSL prompt. The underlying issue is among the most-encountered WSL bugs:
npm package fails to install "npm ERR! Error: EACCES: permission denied"
Unable to save file when inotify is in use (using Node)
EACCES when renaming folder that is being watched from nodejs
I wouldn't be surprised if virus scanners could trigger this as well, not just Visual Studio Code.
After several failed installations with the same error, I had to nuke my .rustup directory. I then ran the Rust installer with sudo. I recommend also temporarily turning off your antivirus protection, as that seems to cause issues.
The entire sequence of commands:
$ sudo rm -rf ./home/<your_username>/.rustup
$ curl 'https://sh.rustup.rs' -sSf > rustinstall.sh
$ sudo ./rustinstall.sh -y
It seems that adding sudo to the start of the command does the trick.
Potential solution - disable your real-time antivirus protection during install
I had a very similar issue:
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2019-07-04, rust version 1.36.0 (a53f9df32 2019-07-03)
info: downloading component 'rustc'
91.1 MiB / 91.1 MiB (100 %) 777.6 KiB/s in 1m 30s ETA: 0s
info: downloading component 'rust-std'
61.3 MiB / 61.3 MiB (100 %) 269.1 KiB/s in 6m 2s ETA: 0s
info: downloading component 'cargo'
4.6 MiB / 4.6 MiB (100 %) 499.2 KiB/s in 10s ETA: 0s
info: downloading component 'rust-docs'
11.0 MiB / 11.0 MiB (100 %) 128.8 KiB/s in 1m 24s ETA: 0s
info: installing component 'rustc'
91.1 MiB / 91.1 MiB (100 %) 8.7 MiB/s in 9s ETA: 0s
info: installing component 'rust-std'
61.3 MiB / 61.3 MiB (100 %) 11.4 MiB/s in 5s ETA: 0s
info: installing component 'cargo'
info: installing component 'rust-docs'
11.0 MiB / 11.0 MiB (100 %) 537.6 KiB/s in 44s ETA: 0s
info: rolling back changes
error: could not rename component file from '/home/dg/.rustup/tmp/k_625bkits6oph6j_dir/rust-docs/share/doc/rust/html' to '/home/dg/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/share/doc/rust/html'
info: caused by: Permission denied (os error 13)
I read this thread - Installing rust-docs component on Windows 10 is very slow about an issue with the unpacking of the documentation on windows. They mention the anti-virus contributes to issues with speed.
I turned off my anti-virus real-time protection and ran the install script again, this time with no issues.
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2019-07-04, rust version 1.36.0 (a53f9df32 2019-07-03)
info: downloading component 'rustc'
info: downloading component 'rust-std'
info: downloading component 'cargo'
info: downloading component 'rust-docs'
info: installing component 'rustc'
91.1 MiB / 91.1 MiB (100 %) 9.1 MiB/s in 8s ETA: 0s
info: installing component 'rust-std'
61.3 MiB / 61.3 MiB (100 %) 12.2 MiB/s in 5s ETA: 0s
info: installing component 'cargo'
info: installing component 'rust-docs'
11.0 MiB / 11.0 MiB (100 %) 299.2 KiB/s in 27s ETA: 0s
info: default toolchain set to 'stable'
stable installed - rustc 1.36.0 (a53f9df32 2019-07-03)
Rust is installed now. Great!
For anyone on WSL 2 try this:
export RUSTUP_IO_THREADS=1
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
I'm trying to install Sphinx on my CentOS 6.5 VPS and get the following error.
root#hen [~]# yum localinstall sphinx-2.1.7-1.rhel6.x86_64.rpm
Loaded plugins: downloadonly, fastestmirror
Setting up Local Package Process
Examining sphinx-2.1.7-1.rhel6.x86_64.rpm: sphinx-2.1.7-1.rhel6.x86_64
Marking sphinx-2.1.7-1.rhel6.x86_64.rpm to be installed
Loading mirror speeds from cached hostfile
* base: mirrors.adams.net
* extras: centos-distro.cavecreek.net
* updates: mirrors.bluehost.com
base | 3.7 kB 00:00
extras | 3.4 kB 00:00
hgdedi | 2.5 kB 00:00
updates | 3.4 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package sphinx.x86_64 0:2.1.7-1.rhel6 will be installed
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: sphinx-2.1.7-1.rhel6.x86_64
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: sphinx-2.1.7-1.rhel6.x86_64
--> Processing Dependency: libodbc.so.2()(64bit) for package: sphinx-2.1.7-1.rhel6.x86_64
--> Processing Dependency: libpq.so.5()(64bit) for package: sphinx-2.1.7-1.rhel6.x86_64
--> Running transaction check
---> Package postgresql-libs.x86_64 0:8.4.20-1.el6_5 will be installed
---> Package sphinx.x86_64 0:2.1.7-1.rhel6 will be installed
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: sphinx-2.1.7-1.rhel6.x86_64
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: sphinx-2.1.7-1.rhel6.x86_64
---> Package unixODBC.x86_64 0:2.2.14-12.el6_3 will be installed
--> Finished Dependency Resolution
Error: Package: sphinx-2.1.7-1.rhel6.x86_64 (/sphinx-2.1.7-1.rhel6.x86_64)
Requires: libmysqlclient.so.16()(64bit)
Error: Package: sphinx-2.1.7-1.rhel6.x86_64 (/sphinx-2.1.7-1.rhel6.x86_64)
Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit)
You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
sendmail-cf-8.14.4-8.el6.noarch has missing requires of sendmail = ('0', '8.14.4', '8.el6')
I'm more or less lost when it comes to shell commands so I hope someone can guide me :)
In theory
yum install mysql-devel
first, should sort it.
I have RaspberryPI model B with Fedora Raspberry Remix 17 RC2 (installed at September 2012).
Yesterday, i did try yum update. But i could not do it. Why?
[root#rberry ~]# yum update raspberrypi-kernel
Loaded plugins: langpacks, presto, refresh-packagekit
Resolving Dependencies
--> Running transaction check
---> Package raspberrypi-kernel.armv5tel 0:3.2.27-1.20120926git9245b4c.rpfr17 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
============================================================================
Package Arch Version Repository Size
============================================================================
Installing:
raspberrypi-kernel armv5tel 3.2.27-1.20120926git9245b4c.rpfr17 rasp-pi 12 M
Transaction Summary
============================================================================
Install 1 Package
Total size: 12 M
Installed size: 37 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Check
Running Transaction Test
Transaction Check Error:
file /boot/kernel.img from install of raspberrypi-kernel-3.2.27-1.20120926git9245b4c.rpfr17.armv5tel conflicts with file from package raspberrypi-kernel-3.1.9-11.20120727gitf958199.rpfr17.armv5tel
Error Summary
-------------
Update
[root#rberry opt]# rpm -qa raspberrypi-kernel\*
raspberrypi-kernel-3.1.9-11.20120727gitf958199.rpfr17.armv5tel
[root#rberry opt]# uname -a
Linux rberry 3.1.9 #1 PREEMPT Mon Jul 30 14:50:41 EDT 2012 armv6l armv6l armv6l GNU/Linux
[root#rberry opt]# yum install raspberrypi-kernel-3.2.27-1.20120926git9245b4c.rpfr17.armv5tel
.....
Transaction Check Error:
file /boot/kernel.img from install of raspberrypi-kernel-3.2.27-1.20120926git9245b4c.rpfr17.armv5tel conflicts with file from package raspberrypi-kernel-3.1.9-11.20120727gitf958199.rpfr17.armv5tel
[root#rberry opt]# rpm -qf /boot/kernel.img
raspberrypi-kernel-3.1.9-11.20120727gitf958199.rpfr17.armv5tel
Sorry for my bad English ))
There likely is a packaging problem in which both kernel packages "owns" a common set of files (in this case, /boot/kernel.img is claimed by both packages, ergo they cannot both be installed at the same time)
What kernels do you have installed at the moment? Try
rpm -qa raspberry-kernel\*
If you have another kernel beside the 3.1.9-11 that's causing the problem, boot to it, remove the troublesome one and then install the new kernel update.
Failing that, just update everything but the kernel:
yum update --exclude=raspberry-kernel\*
Have you tried
yum clean all
followed by
yum update
I got the same problem and solved it in a minute. Hope it can still be helpful.