Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jun 2016 11:48:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 210657] Missing rubygem-mysql2 after Redmine upgrade (removed by pkg autoremove)
Message-ID:  <bug-210657-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210657

            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@FreeBSD.org
          Reporter: 000.fbsd@quip.cz

I got very similar error as in PR #205351.

I upgraded from 3.2.0 to 3.2.3.=20

# 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.=20
Why Redmine doesn't list rubygem-mysql2 as dependency and why pkg autoremove
removes is.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210657-13>