[Bug 210657] Missing rubygem-mysql2 after Redmine upgrade (removed by pkg autoremove)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jun 28 11:48:30 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210657
Bug ID: 210657
Summary: Missing rubygem-mysql2 after Redmine upgrade (removed
by pkg autoremove)
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: 000.fbsd at quip.cz
I got very similar error as in PR #205351.
I upgraded from 3.2.0 to 3.2.3.
# pkg autoremove
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 3 packages:
Installed packages to be REMOVED:
python27-2.7.11_3
python2-2_3
rubygem-mysql2-0.3.20
The operation will free 66 MiB.
Proceed with deinstalling packages? [y/N]: y
[1/3] Deinstalling python2-2_3...
[1/3] Deleting files for python2-2_3: 100%
[2/3] Deinstalling rubygem-mysql2-0.3.20...
[2/3] Deleting files for rubygem-mysql2-0.3.20: 100%
[3/3] Deinstalling python27-2.7.11_3...
[3/3] Deleting files for python27-2.7.11_3: 100%
service redmine restart failed so I tried to run it manually
# /usr/local/bin/thin -D -c /usr/local/www/redmine -u www -g www -a 0.0.0.0 -p
8080 -e production start
Changing process privilege to www:www
Using rack adapter
Could not find gem 'mysql2 (~> 0.3.11)' in any of the gem sources listed in
your Gemfile or available on this machine.
Run `bundle install` to install missing gems.
pkg check don't show missing pkgs / libs
# pkg check -da
Checking all packages: 100%
# pkg check -Ba
Checking all packages: 100%
And pkg install -f redmine didn't install gem too.
Manul install of the mysql2 gem fixed the problem
# pkg install rubygem-mysql2
Few days ago I did fresh install of Redmine 3.2.3 in another jail and
everything works fine without manual installation of dependencies. So I don't
know where is the problem.
Why Redmine doesn't list rubygem-mysql2 as dependency and why pkg autoremove
removes is.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list