[DRE-maint] Bug#850575: diaspora: cannot install because broken maintscript line in preinst and missing gem files

Julian Gilbey jdg at debian.org
Sun Jan 8 01:19:08 UTC 2017


Package: diaspora
Version: 0.6.0.0+debian-7
Severity: grave

In the debian/maintscript file, you have:
dir_to_symlink /usr/share/diaspora/config 0.5.9.1+debian3 diaspora-common

This is not the correct syntax for the dir_to_symlink command: it
should be
dir_to_symlink pathname new-target [prior-version [package]]

So I guess this line should read:
dir_to_symlink /usr/share/diaspora/config /etc/diaspora 0.5.9.1+debian3 diaspora-common

With this change, then diaspora installs more successfully.  (Well,
successfully, except that it couldn't find the gem mysql2 (I've gone
for the mysql option.):

Could not find gem 'mysql2 (~> 0.4.4)' in any of the gem sources listed in your
Gemfile or available on this machine.

Installing ruby-mysql2 then gave the error:

export DB_NAME=diaspora_production
RAILS_ENV=production DB=mysql ENVIRONMENT_URL=https://diaspora.d-and-j.net
Verifying we have all required libraries...
Resolving dependencies...
Bundler could not find compatible versions for gem "jquery-ui-rails":
  In Gemfile:
    jquery-ui-rails (~> 6.0)

    rails_admin (~> 0.8.1) was resolved to 0.8.1, which depends on
      jquery-ui-rails (~> 5.0)

Oh dear :-(

Any suggestions?

   Julian

-- System Information:
Debian Release: stretch/sid
  APT prefers jessie
  APT policy: (500, 'jessie'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- no debconf information



More information about the Pkg-ruby-extras-maintainers mailing list