package maven 3.5.2-2 failed to install/upgrade: installed maven package post-installation script subprocess returned error exit status 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maven (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hi,
I was trying to install Hue on ubuntu 18.04, however, find that an error when I verify Maven: mvn verify
[INFO] Scanning for projects...
[INFO] -------
[INFO] BUILD FAILURE
[INFO] -------
[INFO] Total time: 0.082 s
[INFO] Finished at: 2018-07-
[INFO] Final Memory: 6M/115M
[INFO] -------
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/home/hduser). Please verify you invoked Maven from the correct directory. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://
And, for Hue it shows that: make apps
......
build/temp.
error: command 'x86_64-
/home/hduser/
make[2]: *** [/home/
make[2]: Leaving directory '/home/
Makefile:70: recipe for target '.recursive-
make[1]: *** [.recursive-
make[1]: Leaving directory '/home/
Makefile:73: recipe for target 'desktop' failed
make: *** [desktop] Error
My wish to report you as Ubuntu OS requests.
Thank you for helping me in such issue.
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: maven 3.5.2-2
ProcVersionSign
Uname: Linux 4.15.0-29-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
AptOrdering:
maven:amd64: Install
NULL: ConfigurePending
Architecture: amd64
Date: Sun Jul 22 23:26:56 2018
DuplicateSignature:
package:
Setting up maven (3.5.2-2) ...
update-
dpkg: error processing package maven (--configure):
installed maven package post-installation script subprocess returned error exit status 2
ErrorMessage: installed maven package post-installation script subprocess returned error exit status 2
InstallationDate: Installed on 2018-05-29 (54 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
PackageArchitec
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3ubuntu1
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageV
dpkg 1.19.0.5ubuntu2
apt 1.6.2
SourcePackage: maven
Title: package maven 3.5.2-2 failed to install/upgrade: installed maven package post-installation script subprocess returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Status changed to 'Confirmed' because the bug affects multiple users.