[DRE-maint] Bug#768850: ruby-activemodel, ruby-activesupport: needs Breaks for the packages it Replaces
Antonio Terceiro
terceiro at debian.org
Fri Nov 14 19:51:45 UTC 2014
On Tue, Nov 11, 2014 at 02:09:50PM +0100, Andreas Beckmann wrote:
> On 2014-11-11 13:55, Antonio Terceiro wrote:
> > The Breaks: relationships were there originally, but removing them was
> > how I achieved a successfull upgrade from wheezy in the first place,
> > after some hours of trial and error. aptitude would figure the upgrade
> > out just fine, but apt-get wouldn't.
>
> Maybe we need to add some more Breaks elsewhere to push apt into the
> right direction ...
>
> > Looking back, what I didn't do was upgrading apt first, then upgrading
> > the rest of the system. Maybe that would help.
>
> upgrades must work out successfully with the apt-get from wheezy.
> Even if you Breaks: apt (<< jessie), apt will be upgraded first, but the
> apt process running the dist-upgrade is still the old one from wheezy
>
> If you can put packages (with a version > jessie) with the Breaks added
> back somewhere (and add a Packages file, too) I could take a look at
> what's happening there. Please describe your failing upgrade scenario
> (wheezy + these packages: foo, bar, baz, ... with/without recommends).
It would be awesome if you could help me figure this out!
I have put packages here:
deb https://people.debian.org/~terceiro/tmp/rails-upgrade-wheezy-jessie/ ./
That repo is signed with my key in the Debian keyring.
I re-tested here and got the same results as before: aptitude will
figure out the upgrade just fine, but apt-get won't. The log below was
taken on a clean wheezy chroot where I had just installed rails (and
removed man-db to workaround #768599 which is unrelated). Note this bit
in the apt-get dist-upgrade call:
The following packages have been kept back:
rails
If I run apt-get dist-upgrade twice in a row, the system will be
eventually in the expected state (rails itself will be upgraded only
during the second call), but that's obviously broken.
# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
gcc-4.7-base
The following NEW packages will be installed:
acl binutils build-essential bundler bzip2 ca-certificates cpp cpp-4.9 dbus
dmsetup dpkg-dev fakeroot g++ g++-4.9 gcc gcc-4.8-base gcc-4.9 gcc-4.9-base
init init-system-helpers iproute2 less libalgorithm-c3-perl
libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
libarchive-extract-perl libasan0 libasan1 libatm1 libatomic1 libaudit-common
libaudit1 libboost-iostreams1.55.0 libc-ares2 libc-dev-bin libc6-dev
libcap-ng0 libcap2 libcap2-bin libcgi-fast-perl libcgi-pm-perl libcilkrts5
libclass-c3-perl libclass-c3-xs-perl libcloog-isl4 libcpan-meta-perl
libcryptsetup4 libdata-optlist-perl libdata-section-perl libdb5.3
libdbus-1-3 libdebconfclient0 libdevmapper1.02.1 libdns-export100
libdpkg-perl libeatmydata1 libestr0 libexpat1 libfakeroot libfcgi-perl
libffi6 libfile-fcntllock-perl libgcc-4.8-dev libgcc-4.9-dev libgcrypt20
libgmp-dev libgmp10 libgmpxx4ldbl libgnutls-deb0-28 libgnutls-openssl27
libgomp1 libhogweed2 libicu52 libirs-export91 libisc-export95
libisccfg-export90 libisl10 libitm1 libjs-coffeescript libjs-jquery
libjs-jquery-ui libjson-c2 liblog-message-perl liblog-message-simple-perl
liblogging-stdlog0 liblognorm1 liblsan0 libmodule-build-perl
libmodule-pluggable-perl libmodule-signature-perl libmpc3 libmpfr4
libmro-compat-perl libnettle4 libpackage-constants-perl libpam-cap
libpam-systemd libparams-util-perl libpcre3 libpod-latex-perl
libpod-readme-perl libprocps3 libpsl0 libquadmath0 libregexp-common-perl
libruby2.1 libsmartcols1 libsoftware-license-perl libstdc++-4.8-dev
libstdc++-4.9-dev libsub-exporter-perl libsub-install-perl libsystemd0
libtasn1-6 libterm-ui-perl libtext-soundex-perl libtext-template-perl
libtimedate-perl libtsan0 libubsan0 libudev1 libv8-3.14.5 libxtables10
linux-libc-dev make manpages-dev nodejs openssl patch perl perl-modules
rename ruby-arel ruby-atomic ruby-celluloid ruby-coffee-script
ruby-coffee-script-source ruby-dev ruby-erubis ruby-execjs ruby-ffi
ruby-hike ruby-json ruby-listen ruby-mail ruby-mime-types ruby-minitest
ruby-multi-json ruby-net-http-persistent ruby-oj ruby-polyglot
ruby-rack-test ruby-rb-inotify ruby-sass ruby-sdoc ruby-spring
ruby-sprockets ruby-sqlite3 ruby-thor ruby-thread-safe ruby-tilt ruby-timers
ruby-treetop ruby-uglifier ruby-yajl ruby2.1 ruby2.1-dev
rubygems-integration startpar sudo systemd systemd-sysv
The following packages have been kept back:
rails
The following packages will be upgraded:
apt apt-utils aptitude aptitude-common base-files base-passwd bash
bsdmainutils bsdutils coreutils cpio cron dash debconf debconf-i18n
debian-archive-keyring debianutils diffutils dmidecode dpkg e2fslibs
e2fsprogs eatmydata findutils gnupg gpgv grep groff-base gzip hostname
ifupdown info initscripts install-info iproute iptables iputils-ping
isc-dhcp-client isc-dhcp-common javascript-common kmod libacl1
libapt-inst1.5 libapt-pkg4.12 libattr1 libblkid1 libbz2-1.0 libc-bin libc6
libcomerr2 libcwidget3 libept1.4.12 libgcc1 libgdbm3 libgpg-error0 libidn11
libjs-prototype libkmod2 liblocale-gettext-perl liblzma5 libmount1
libncurses5 libncursesw5 libnewt0.52 libnfnetlink0 libp11-kit0
libpam-modules libpam-modules-bin libpam-runtime libpam0g libpipeline1
libpopt0 libreadline5 libreadline6 libselinux1 libsemanage-common
libsemanage1 libsepol1 libsigc++-2.0-0c2a libslang2 libsqlite3-0 libss2
libssl1.0.0 libstdc++6 libtext-charwidth-perl libtext-iconv-perl libtinfo5
libusb-0.1-4 libuuid1 libxapian22 libyaml-0-2 login logrotate lsb-base
manpages mount multiarch-support nano ncurses-base ncurses-bin net-tools
netbase netcat-traditional passwd perl-base procps rake readline-common
rsyslog ruby ruby-builder ruby-i18n ruby-memcache-client ruby-rack
ruby-tzinfo sed sensible-utils sysv-rc sysvinit sysvinit-utils tar tasksel
tasksel-data traceroute tzdata udev unzip util-linux vim-common vim-tiny
wget whiptail xz-utils zip zlib1g
135 upgraded, 173 newly installed, 1 to remove and 1 not upgraded.
Need to get 130 MB of archives.
After this operation, 310 MB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
(wheezy-volatile)root at homer:/home/terceiro# aptitude dist-upgrade
The following NEW packages will be installed:
acl{a} binutils{a} build-essential{a} bundler{a} bzip2{a}
ca-certificates{a} cpp{a} cpp-4.9{a} dbus{a} dmsetup{a} dpkg-dev{a}
fakeroot{a} g++{a} g++-4.9{a} gcc{a} gcc-4.9{a} gcc-4.9-base{a} init{a}
init-system-helpers{a} iproute2 less{a} libalgorithm-c3-perl{a}
libalgorithm-diff-perl{a} libalgorithm-diff-xs-perl{a}
libalgorithm-merge-perl{a} libarchive-extract-perl{a} libasan1{a}
libatm1{a} libatomic1{a} libaudit-common{a} libaudit1{a}
libboost-iostreams1.55.0{a} libc-ares2{a} libc-dev-bin{a} libc6-dev{a}
libcap-ng0{a} libcap2{a} libcap2-bin{a} libcgi-fast-perl{a}
libcgi-pm-perl{a} libcilkrts5{a} libclass-c3-perl{a}
libclass-c3-xs-perl{a} libcloog-isl4{a} libcpan-meta-perl{a}
libcryptsetup4{a} libdata-optlist-perl{a} libdata-section-perl{a}
libdb5.3{a} libdbus-1-3{a} libdebconfclient0{a} libdevmapper1.02.1{a}
libdns-export100{a} libdpkg-perl{a} libeatmydata1{a} libestr0{a}
libexpat1{a} libfakeroot{a} libfcgi-perl{a} libffi6{a}
libfile-fcntllock-perl{a} libgcc-4.9-dev{a} libgcrypt20{a} libgmp-dev{a}
libgmp10{a} libgmpxx4ldbl{a} libgnutls-deb0-28{a} libgnutls-openssl27{a}
libgomp1{a} libhogweed2{a} libicu52{a} libirs-export91{a}
libisc-export95{a} libisccfg-export90{a} libisl10{a} libitm1{a}
libjs-coffeescript{a} libjs-jquery{a} libjs-jquery-ui{a} libjson-c2{a}
liblog-message-perl{a} liblog-message-simple-perl{a}
liblogging-stdlog0{a} liblognorm1{a} liblsan0{a} libmodule-build-perl{a}
libmodule-pluggable-perl{a} libmodule-signature-perl{a} libmpc3{a}
libmpfr4{a} libmro-compat-perl{a} libnettle4{a}
libpackage-constants-perl{a} libpam-cap{a} libpam-systemd{a}
libparams-util-perl{a} libpcre3{a} libpod-latex-perl{a}
libpod-readme-perl{a} libprocps3{a} libpsl0{a} libquadmath0{a}
libregexp-common-perl{a} libruby2.1{a} libsmartcols1{a}
libsoftware-license-perl{a} libstdc++-4.9-dev{a} libsub-exporter-perl{a}
libsub-install-perl{a} libsystemd0{a} libtasn1-6{a} libterm-ui-perl{a}
libtext-soundex-perl{a} libtext-template-perl{a} libtimedate-perl{a}
libtsan0{a} libubsan0{a} libudev1{a} libv8-3.14.5{a} libxtables10{a}
linux-libc-dev{a} make{a} manpages-dev{a} nodejs{a} openssl{a} patch{a}
perl{a} perl-modules{a} rename{a} ruby-actionmailer{a} ruby-actionpack{a}
ruby-actionview{a} ruby-activemodel{a} ruby-activerecord{a}
ruby-activesupport{a} ruby-arel{a} ruby-atomic{a} ruby-celluloid{a}
ruby-coffee-rails{a} ruby-coffee-script{a} ruby-coffee-script-source{a}
ruby-dev{a} ruby-erubis{a} ruby-execjs{a} ruby-ffi{a} ruby-hike{a}
ruby-jbuilder{a} ruby-jquery-rails{a} ruby-json{a} ruby-listen{a}
ruby-mail{a} ruby-mime-types{a} ruby-minitest{a} ruby-multi-json{a}
ruby-net-http-persistent{a} ruby-oj{a} ruby-polyglot{a} ruby-rack-test{a}
ruby-rails{a} ruby-railties{a} ruby-rb-inotify{a} ruby-sass{a}
ruby-sass-rails{a} ruby-sdoc{a} ruby-spring{a} ruby-sprockets{a}
ruby-sprockets-rails{a} ruby-sqlite3{a} ruby-thor{a} ruby-thread-safe{a}
ruby-tilt{a} ruby-timers{a} ruby-treetop{a} ruby-turbolinks{a}
ruby-uglifier{a} ruby-yajl{a} ruby2.1{a} ruby2.1-dev{a}
rubygems-integration{a} startpar{a} sudo{a} systemd{a} systemd-sysv
The following packages will be REMOVED:
libjs-prototype{u} libjs-scriptaculous{u} libreadline5{u} libruby1.8{u}
ruby-actionmailer-2.3{u} ruby-actionpack-2.3{u} ruby-activerecord-2.3{u}
ruby-activeresource-2.3{u} ruby-activesupport-2.3{u}
ruby-memcache-client{u} ruby-rails-2.3{u} ruby-rchardet{u}
ruby-text-format{u} ruby-tmail{u} wwwconfig-common{u}
The following packages will be upgraded:
apt apt-utils aptitude aptitude-common base-files base-passwd bash
bsdmainutils bsdutils coreutils cpio cron dash debconf debconf-i18n
debian-archive-keyring debianutils diffutils dmidecode dpkg e2fslibs
e2fsprogs eatmydata findutils gnupg gpgv grep groff-base gzip hostname
ifupdown info initscripts install-info iproute iptables iputils-ping
isc-dhcp-client isc-dhcp-common javascript-common kmod libacl1
libapt-inst1.5 libapt-pkg4.12 libattr1 libblkid1 libbz2-1.0 libc-bin
libc6 libcomerr2 libcwidget3 libept1.4.12 libgcc1 libgdbm3 libgpg-error0
libidn11 libkmod2 liblocale-gettext-perl liblzma5 libmount1 libncurses5
libncursesw5 libnewt0.52 libnfnetlink0 libp11-kit0 libpam-modules
libpam-modules-bin libpam-runtime libpam0g libpipeline1 libpopt0
libreadline6 libselinux1 libsemanage-common libsemanage1 libsepol1
libsigc++-2.0-0c2a libslang2 libsqlite3-0 libss2 libssl1.0.0 libstdc++6
libtext-charwidth-perl libtext-iconv-perl libtinfo5 libusb-0.1-4 libuuid1
libxapian22 libyaml-0-2 login logrotate lsb-base manpages mount
multiarch-support nano ncurses-base ncurses-bin net-tools netbase
netcat-traditional passwd perl-base procps rails rake readline-common
rsyslog ruby ruby-builder ruby-i18n ruby-rack ruby-tzinfo sed
sensible-utils sysv-rc sysvinit sysvinit-utils tar tasksel tasksel-data
traceroute tzdata udev unzip util-linux vim-common vim-tiny wget whiptail
xz-utils zip zlib1g
The following packages are RECOMMENDED but will NOT be installed:
aptitude-doc-cs aptitude-doc-en aptitude-doc-es aptitude-doc-fi
aptitude-doc-fr aptitude-doc-it aptitude-doc-ja aptitude-doc-ru
bash-completion bsd-mailx citadel-mta courier-mta dma esmtp-run exim4
exim4-daemon-heavy exim4-daemon-light gnupg-curl heirloom-mailx
laptop-detect libfribidi0 libgpm2 libldap-2.4-2
libparse-debianchangelog-perl libpng12-0 lsb-invalid-mta mailutils
masqmail msmtp-mta nullmailer opensmtpd postfix psmisc qmail-run
sendmail-bin ssmtp uuid-runtime
133 packages upgraded, 183 newly installed, 15 to remove and 0 not upgraded.
Need to get 127 MB/128 MB of archives. After unpacking 285 MB will be used.
Do you want to continue? [Y/n/?] n
Abort.
--
Antonio Terceiro <terceiro at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20141114/b4f5f986/attachment-0001.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list