Bug#784336: redmine package dependence failure upgrading to jessie

2015-05-11 Thread Bram Diederik
Hi, Antonio,

The dist-upgrade now behaves like you mentioned. redmine now is upgraded,
but the migration failes because mysql-server is not running. wich is
executed after the next apt-get upgrade.
Here my dist-upgrade output. (Not complete because i forgot to log the
output and i reran the process which is still upgrading as i write this
email, and im off to hope after sending this)

Cheers, thanks and good luck
Bram


=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2015.05.11 15:08:23
=~=~=~=~=~=~=~=~=~=~=~=
root@debianMigrate:~# apt-get dist-upgrade -o Debug::pkgProblemResolver=yes
Reading package lists... 0%
Reading package lists... 100%
Reading package lists... Done
Building dependency tree... 0%
Building dependency tree... 0%
Building dependency tree... 50%
Building dependency tree... 50%
Building dependency tree
Reading state information... 0%
Reading state information... 0%
Reading state information... Done

Calculating upgrade... Starting
Starting 2
Investigating (0) ruby [ amd64 ]  1:1.9.3 - 1:2.1.5+deb8u1  ( ruby )
Broken ruby:amd64 Conflicts on ruby-activesupport-2.3 [ amd64 ]  2.3.14-7
- 2:4.1.8-1  ( ruby )
  Considering ruby-activesupport-2.3:amd64 22 as a solution to ruby:amd64
159
  Added ruby-activesupport-2.3:amd64 to the remove list
  Conflicts//Breaks against version 2.3.14-7 for ruby-activesupport-2.3 but
that is not InstVer, ignoring
  Fixing ruby:amd64 via remove of ruby-activesupport-2.3:amd64
Investigating (0) gcc-4.9-base [ amd64 ]  none - 4.9.2-10  ( libs )
Broken gcc-4.9-base:amd64 Breaks on gcc-4.7-base [ amd64 ]  4.7.2-5  (
libs ) ( 4.7.3)
  Considering gcc-4.7-base:amd64 6 as a solution to gcc-4.9-base:amd64 120
  Added gcc-4.7-base:amd64 to the remove list
  Fixing gcc-4.9-base:amd64 via remove of gcc-4.7-base:amd64
Investigating (0) ruby-activerecord-2.3 [ amd64 ]  2.3.14-6  ( ruby )
Broken ruby-activerecord-2.3:amd64 Depends on ruby-activesupport-2.3 [
amd64 ]  2.3.14-7 - 2:4.1.8-1  ( ruby ) (= 2.3.14)
  Considering ruby-activesupport-2.3:amd64 22 as a solution to
ruby-activerecord-2.3:amd64 9
  Removing ruby-activerecord-2.3:amd64 rather than change
ruby-activesupport-2.3:amd64
Investigating (0) ruby-actionview [ amd64 ]  none - 2:4.1.8-1  ( ruby )
Broken ruby-actionview:amd64 Breaks on ruby-actionpack-2.3 [ amd64 ] 
2.3.14-5  ( ruby )
  Considering ruby-actionpack-2.3:amd64 5 as a solution to
ruby-actionview:amd64 6
  Added ruby-actionpack-2.3:amd64 to the remove list
  Fixing ruby-actionview:amd64 via remove of ruby-actionpack-2.3:amd64
Investigating (0) ruby-railties [ amd64 ]  none - 2:4.1.8-1  ( ruby )
Broken ruby-railties:amd64 Breaks on ruby-rails-2.3 [ amd64 ]  2.3.14-4 
( ruby )
  Considering ruby-rails-2.3:amd64 -1 as a solution to ruby-railties:amd64 5
  Added ruby-rails-2.3:amd64 to the remove list
  Fixing ruby-railties:amd64 via remove of ruby-rails-2.3:amd64
Investigating (0) ruby-actionmailer-2.3 [ amd64 ]  2.3.14-3  ( ruby )
Broken ruby-actionmailer-2.3:amd64 Depends on ruby-actionpack-2.3 [ amd64 ]
 2.3.14-5  ( ruby ) (= 2.3.14)
  Considering ruby-actionpack-2.3:amd64 5 as a solution to
ruby-actionmailer-2.3:amd64 1
  Removing ruby-actionmailer-2.3:amd64 rather than change
ruby-actionpack-2.3:amd64
Investigating (0) ruby-activeresource-2.3 [ amd64 ]  2.3.14-3  ( ruby )
Broken ruby-activeresource-2.3:amd64 Depends on ruby-activesupport-2.3 [
amd64 ]  2.3.14-7 - 2:4.1.8-1  ( ruby ) (= 2.3.14)
  Considering ruby-activesupport-2.3:amd64 22 as a solution to
ruby-activeresource-2.3:amd64 1
  Removing ruby-activeresource-2.3:amd64 rather than change
ruby-activesupport-2.3:amd64
Investigating (0) g++-4.7 [ amd64 ]  4.7.2-5  ( devel )
Broken g++-4.7:amd64 Depends on gcc-4.7-base [ amd64 ]  4.7.2-5  ( libs )
(= 4.7.2-5)
  Considering gcc-4.7-base:amd64 6 as a solution to g++-4.7:amd64 0
  Removing g++-4.7:amd64 rather than change gcc-4.7-base:amd64
Investigating (0) gcc-4.7 [ amd64 ]  4.7.2-5  ( devel )
Broken gcc-4.7:amd64 Depends on gcc-4.7-base [ amd64 ]  4.7.2-5  ( libs )
(= 4.7.2-5)
  Considering gcc-4.7-base:amd64 6 as a solution to gcc-4.7:amd64 0
  Removing gcc-4.7:amd64 rather than change gcc-4.7-base:amd64
Investigating (0) cpp-4.7 [ amd64 ]  4.7.2-5  ( interpreters )
Broken cpp-4.7:amd64 Depends on gcc-4.7-base [ amd64 ]  4.7.2-5  ( libs )
(= 4.7.2-5)
  Considering gcc-4.7-base:amd64 6 as a solution to cpp-4.7:amd64 0
  Removing cpp-4.7:amd64 rather than change gcc-4.7-base:amd64
Investigating (0) libstdc++6-4.7-dev [ amd64 ]  4.7.2-5  ( libdevel )
Broken libstdc++6-4.7-dev:amd64 Depends on gcc-4.7-base [ amd64 ]  4.7.2-5
 ( libs ) (= 4.7.2-5)
  Considering gcc-4.7-base:amd64 6 as a solution to
libstdc++6-4.7-dev:amd64 0
  Removing libstdc++6-4.7-dev:amd64 rather than change gcc-4.7-base:amd64
Investigating (0) db5.1-util [ amd64 ]  5.1.29-5 - 5.1.29-9  ( database )
Broken db5.1-util:amd64 Breaks on libdb5.1 [ amd64 ]  5.1.29-5  ( libs )
( 5.1.29-8~)
  Considering libdb5.1:amd64 4 as a solution to db5.1-util:amd64 0
  Holding Back db5.1-util:amd64 rather than 

Bug#784336: redmine package dependence failure upgrading to jessie

2015-05-10 Thread Antonio Terceiro
On Tue, May 05, 2015 at 12:23:15PM -0300, Antonio Terceiro wrote:
 Hi,
 
 On Tue, May 05, 2015 at 04:15:58PM +0200, Bram Diederik wrote:
  Package: redmine
  Version: 3.0~20140825-5
  Severity: normal
  
  Dear Maintainer,
  
  there are several issues concerning the upgrade of the redmine package for 
  jessie.
  the apt-get dist-upgrade wants to deinstall redmine
  
  apt-get install redmine will upgrade redmine but ends up with an not 
  installation that misses dependencies 
 
 Do you have plugins installed locally by hand?  e.g. could you send the
 output of
 
 find /usr/share/redmine/plugins -name Gemfile | xargs tail -n 1000
 
 Also, can you try version 3.0~20140825-7 from (sources.list line)
 
   deb https://people.debian.org/~terceiro/redmine-jessie/ ./
 
 and see if it fixes things for you? That version should be uploaded as a
 jessie stable update in a few days.

I have just updated an updated `ruby` package to that same repository,
which will help with the upgrade path. It just adds a

  Conflicts: ruby-activesupport-2.3

relationship. I will propose a ruby stable update with that very
package.

When testing with mysql, though there is one problem: at the redmine
redmine postinst runs, mysql is stopped so the redmine upgrade will
fail. One might want to upgrade mysql-server first, and then upgrade
the rest of the system.

Bram, if you followup please remember to reply to all to keep the bug
in the loop (this messages summarizes the results of our private,
though).

-- 
Antonio Terceiro terce...@debian.org


signature.asc
Description: Digital signature


Bug#784336: redmine package dependence failure upgrading to jessie

2015-05-05 Thread Bram Diederik
Package: redmine
Version: 3.0~20140825-5
Severity: normal

Dear Maintainer,

there are several issues concerning the upgrade of the redmine package for 
jessie.
the apt-get dist-upgrade wants to deinstall redmine

apt-get install redmine will upgrade redmine but ends up with an not 
installation that misses dependencies 

Setting up redmine (3.0~20140825-5) ...
Inconsistent link in vendor/rails, please remove manually
Could not find gem 'net-ldap (= 0.3.1) ruby' in the gems available on this 
machine.
Run `bundle install` to install missing gems.
dpkg: error processing package redmine (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 redmine
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@debianMigrate:~# apt-get install ruby-net-ldap
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  apache2.2-bin apache2.2-common libgd2-xpm libgssglue1 libjpeg8 ruby-fastercsv 
ruby-memcache-client ruby-rchardet ruby-text-format ruby-tmail rubygems
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
  ruby-net-ldap
1 upgraded, 0 newly installed, 0 to remove and 299 not upgraded.
1 not fully installed or removed.
Need to get 50.6 kB of archives.
After this operation, 3,072 B of additional disk space will be used.
Get:1 http://ftp.nl.debian.org/debian/ stable/main ruby-net-ldap all 0.8.0-1 
[50.6 kB]
Fetched 50.6 kB in 5s (9,941 B/s)
Reading changelogs... Done
(Reading database ... 46179 files and directories currently installed.)
Preparing to unpack .../ruby-net-ldap_0.8.0-1_all.deb ...
Unpacking ruby-net-ldap (0.8.0-1) over (0.3.1-2) ...
Setting up ruby-net-ldap (0.8.0-1) ...
Setting up redmine (3.0~20140825-5) ...
Inconsistent link in vendor/rails, please remove manually
Could not find gem 'coderay (~ 1.1.0) ruby' in the gems available on this 
machine.
Run `bundle install` to install missing gems.

enz enz 



root@debianMigrate:~# cat /etc/apt/sources.list
#
# deb cdrom:[Debian GNU/Linux 7.8.0 _stable_ - Official amd64 NETINST Binary-1 
20150110-14:41]/ stable main
#deb cdrom:[Debian GNU/Linux 7.8.0 _stable_ - Official amd64 NETINST Binary-1 
20150110-14:41]/ stable main

deb http://ftp.nl.debian.org/debian/ stable main
deb-src http://ftp.nl.debian.org/debian/ stable main

deb http://security.debian.org/ stable/updates main
deb-src http://security.debian.org/ stable/updates main

# stable-updates, previously known as 'volatile'
deb http://ftp.nl.debian.org/debian/ stable-updates main
deb-src http://ftp.nl.debian.org/debian/ stable-updates main


root@debianMigrate:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
  cpp-4.7 g++-4.7 gcc-4.7 gcc-4.7-base libstdc++6-4.7-dev redmine
  ruby-actionmailer-2.3 ruby-actionpack-2.3 ruby-activerecord-2.3
  ruby-activeresource-2.3 ruby-rails-2.3
The following NEW packages will be installed:
  acl apache2 apache2-bin apache2-data attr cpp-4.9 docutils-common
  docutils-doc emacsen-common firmware-linux-free fontconfig fonts-dejavu-core
  fonts-droid g++-4.9 gcc-4.9 gcc-4.9-base ghostscript gnupg-agent gnupg2
  gsfonts hicolor-icon-theme imagemagick-common init init-system-helpers
  iproute2 irqbalance libalgorithm-c3-perl libarchive-extract-perl libasan1
  libasn1-8-heimdal libassuan0 libatk1.0-0 libatk1.0-data libatm1 libatomic1
  libaudit-common libaudit1 libauthen-sasl-perl libbind9-90
  libboost-iostreams1.55.0 libc-ares2 libcairo2 libcap-ng0 libcap2-bin
  libcgi-fast-perl libcgi-pm-perl libcilkrts5 libclass-c3-perl
  libclass-c3-xs-perl libcloog-isl4 libcpan-meta-perl libcryptsetup4
  libcupsfilters1 libcupsimage2 libcurl3-gnutls libdata-optlist-perl
  libdata-section-perl libdatrie1 libdb5.3 libdebconfclient0 libdns-export100
  libdns100 libencode-locale-perl libestr0 libfakeroot libfcgi-perl
  libfcgi-ruby1.9.1 libfcgi0ldbl libffi6 libfftw3-double3 libfile-listing-perl
  libfont-afm-perl libgcc-4.9-dev libgcrypt20 libgd3 libgdk-pixbuf2.0-0
  libgdk-pixbuf2.0-common libglib2.0-0 libglib2.0-data libgnutls-deb0-28
  libgnutls-openssl27 libgraphite2-3 libgs9 libgs9-common libgssapi3-heimdal
  libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libharfbuzz0b libhcrypto4-heimdal
  libhdb9-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhogweed2
  libhtml-form-perl libhtml-format-perl libhtml-parser-perl
  libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl
  libhttp-daemon-perl libhttp-date-perl libhttp-message-perl
  libhttp-negotiate-perl libhx509-5-heimdal libicu52 libijs-0.35 libintl-perl
  libio-html-perl libio-socket-ssl-perl libirs-export91 libisc-export95
  libisc95 libisccc90 libisccfg-export90 libisccfg90 libisl10 libjasper1
  libjbig0 libjbig2dec0 libjpeg62-turbo libjs-coffeescript libjs-jquery
  

Bug#784336: redmine package dependence failure upgrading to jessie

2015-05-05 Thread Antonio Terceiro
Hi,

On Tue, May 05, 2015 at 04:15:58PM +0200, Bram Diederik wrote:
 Package: redmine
 Version: 3.0~20140825-5
 Severity: normal
 
 Dear Maintainer,
 
 there are several issues concerning the upgrade of the redmine package for 
 jessie.
 the apt-get dist-upgrade wants to deinstall redmine
 
 apt-get install redmine will upgrade redmine but ends up with an not 
 installation that misses dependencies 

Do you have plugins installed locally by hand?  e.g. could you send the
output of

find /usr/share/redmine/plugins -name Gemfile | xargs tail -n 1000

Also, can you try version 3.0~20140825-7 from (sources.list line)

  deb https://people.debian.org/~terceiro/redmine-jessie/ ./

and see if it fixes things for you? That version should be uploaded as a
jessie stable update in a few days.

-- 
Antonio Terceiro terce...@debian.org


signature.asc
Description: Digital signature