Your message dated Fri, 20 Jul 2018 09:36:23 +0200
with message-id <[email protected]>
and subject line Re: Bug#663134: aptitude: safe-upgrade fails on libgcc1
version skew
has caused the Debian Bug report #663134,
regarding aptitude: safe-upgrade fails on libgcc1 version skew
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
663134: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=663134
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: aptitude
Version: 0.6.5-1
User: [email protected]
Usertags: multiarch
A few days ago there was a situation where libgcc1:amd64 was at a newer
version than libgcc1:i386, and aptitude was unable to perform a
safe-upgrade for this case (the correct solution is not to do anything,
which "apt-get upgrade" indeed does).
I have refrained from running "aptitude update" since then to be able to
reproduce the problem and file this bug report. In the following, i386
is the native architecture, amd64 the (only) foreign one, and aptitude
is a snapshot from git master (commit c3b706f3):
,----
| # apt-cache policy libgcc1 libgcc1:amd64
| libgcc1:amd64:
| Installed: 1:4.6.2-16
| Candidate: 1:4.6.3-1
| Version table:
| 1:4.6.3-1 0
| 500 http://ftp.de.debian.org/debian/ sid/main amd64 Packages
| *** 1:4.6.2-16 0
| 100 /var/lib/dpkg/status
| libgcc1:
| Installed: 1:4.6.2-16
| Candidate: 1:4.6.2-16
| Version table:
| *** 1:4.6.2-16 0
| 500 http://ftp.de.debian.org/debian/ sid/main i386 Packages
| 100 /var/lib/dpkg/status
| # aptitude search "~U"
| i A gcc-4.6-base:amd64 - GCC, the GNU Compiler
Collection (base package)
| i A libgcc1:amd64 - GCC support library
| root@turtle:/# aptitude -V -D safe-upgrade
| Resolving dependencies...
| Unable to resolve dependencies for the upgrade: no solution found.
| Unable to safely resolve dependencies, try running with --full-resolver.
| # aptitude -V -D --full-resolver safe-upgrade
| The following packages will be upgraded:
| gcc-4.6-base:amd64{b} [4.6.2-16 -> 4.6.3-1] (B: gcc-4.6-base)
libgcc1:amd64{b} [1:4.6.2-16 -> 1:4.6.3-1] (B: libgcc1)
| 2 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
| Need to get 182 kB of archives. After unpacking 0 B will be used.
| The following packages have unmet dependencies:
| libgcc1:amd64 : Breaks: libgcc1 (!= 1:4.6.3-1) but 1:4.6.2-16 is installed.
| libgcc1 : Breaks: libgcc1:amd64 (!= 1:4.6.2-16) but 1:4.6.3-1 is to be
installed.
| gcc-4.6-base:amd64 : Breaks: gcc-4.6-base (!= 4.6.3-1) but 4.6.2-16 is
installed.
| gcc-4.6-base : Breaks: gcc-4.6-base:amd64 (!= 4.6.2-16) but 4.6.3-1 is to be
installed.
| The following actions will resolve these dependencies:
|
| Remove the following packages:
| 1) gcc-4.6-base:amd64
| 2) libc6:amd64
| 3) libgcc1:amd64
|
|
|
| Accept this solution? [Y/n/q/?] n
| The following actions will resolve these dependencies:
|
| Remove the following packages:
| 1) libc6:amd64
| 2) libgcc1:amd64
|
| Keep the following packages at their current version:
| 3) gcc-4.6-base:amd64 [4.6.2-16 (now)]
|
|
|
| Accept this solution? [Y/n/q/?] n
|
| *** No more solutions available ***
`----
-- Package-specific info:
Terminal: eterm-color
$DISPLAY is set.
which aptitude: /usr/bin/aptitude
aptitude version information:
aptitude 0.6.5 compiled at Feb 9 2012 19:37:54
Compiler: g++ 4.6.2
Compiled against:
apt version 4.10.1
NCurses version 5.9
libsigc++ version: 2.2.9
Ept support enabled.
Gtk+ support disabled.
Qt support disabled.
Current library versions:
NCurses version: ncurses 5.9.20110404
cwidget version: 0.5.16
Apt version: 4.10.1
aptitude linkage:
linux-gate.so.1 => (0xf76f4000)
libapt-pkg.so.4.10 => /usr/lib/libapt-pkg.so.4.10 (0xf75c3000)
libncursesw.so.5 => /lib/i386-linux-gnu/libncursesw.so.5 (0xf7591000)
libtinfo.so.5 => /lib/i386-linux-gnu/libtinfo.so.5 (0xf7570000)
libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0xf756b000)
libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0xf7468000)
libept.so.1 => /usr/lib/libept.so.1 (0xf7410000)
libxapian.so.22 => /usr/lib/sse2/libxapian.so.22 (0xf7211000)
libz.so.1 => /usr/lib/i386-linux-gnu/libz.so.1 (0xf71f9000)
libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0xf7152000)
libboost_iostreams.so.1.48.0 => /usr/lib/libboost_iostreams.so.1.48.0
(0xf713b000)
libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
(0xf7122000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf7039000)
libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xf7012000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf6ff5000)
libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xf6e98000)
libutil.so.1 => /lib/i386-linux-gnu/i686/cmov/libutil.so.1 (0xf6e94000)
libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xf6e90000)
libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xf6e89000)
libbz2.so.1.0 => /lib/i386-linux-gnu/libbz2.so.1.0 (0xf6e79000)
librt.so.1 => /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xf6e70000)
/lib/ld-linux.so.2 (0xf76f5000)
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 3.3.0-rc6-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages aptitude depends on:
ii apt [libapt-pkg4.10] 0.8.15.10
ii libboost-iostreams1.48.0 1.48.0-3
ii libc6 2.13-27
ii libcwidget3 0.5.16-3.1
ii libept1 1.0.5
ii libgcc1 1:4.6.3-1
ii libncursesw5 5.9-5
ii libsigc++-2.0-0c2a 2.2.9-1.1
ii libsqlite3-0 3.7.10-1
ii libstdc++6 4.6.3-1
ii libtinfo5 5.9-5
ii libxapian22 1.2.8-1
ii zlib1g 1:1.2.6.dfsg-2
Versions of packages aptitude recommends:
ii apt-xapian-index 0.45
ii aptitude-doc-en [aptitude-doc] 0.6.5-1
ii libparse-debianchangelog-perl 1.2.0-1
ii sensible-utils 0.0.6
Versions of packages aptitude suggests:
ii debtags <none>
ii tasksel 3.08
-- no debconf information
--- End Message ---
--- Begin Message ---
On 2012-03-08 20:09 +0100, Sven Joachim wrote:
> Package: aptitude
> Version: 0.6.5-1
> User: [email protected]
> Usertags: multiarch
>
> A few days ago there was a situation where libgcc1:amd64 was at a newer
> version than libgcc1:i386, and aptitude was unable to perform a
> safe-upgrade for this case (the correct solution is not to do anything,
> which "apt-get upgrade" indeed does).
>
> I have refrained from running "aptitude update" since then to be able to
> reproduce the problem and file this bug report. In the following, i386
> is the native architecture, amd64 the (only) foreign one, and aptitude
> is a snapshot from git master (commit c3b706f3):
>
> ,----
> | # apt-cache policy libgcc1 libgcc1:amd64
> | libgcc1:amd64:
> | Installed: 1:4.6.2-16
> | Candidate: 1:4.6.3-1
> | Version table:
> | 1:4.6.3-1 0
> | 500 http://ftp.de.debian.org/debian/ sid/main amd64 Packages
> | *** 1:4.6.2-16 0
> | 100 /var/lib/dpkg/status
> | libgcc1:
> | Installed: 1:4.6.2-16
> | Candidate: 1:4.6.2-16
> | Version table:
> | *** 1:4.6.2-16 0
> | 500 http://ftp.de.debian.org/debian/ sid/main i386 Packages
> | 100 /var/lib/dpkg/status
> | # aptitude search "~U"
> | i A gcc-4.6-base:amd64 - GCC, the GNU Compiler
> Collection (base package)
> | i A libgcc1:amd64 - GCC support library
>
> | root@turtle:/# aptitude -V -D safe-upgrade
> | Resolving dependencies...
> | Unable to resolve dependencies for the upgrade: no solution found.
> | Unable to safely resolve dependencies, try running with --full-resolver.
> | # aptitude -V -D --full-resolver safe-upgrade
> | The following packages will be upgraded:
> | gcc-4.6-base:amd64{b} [4.6.2-16 -> 4.6.3-1] (B: gcc-4.6-base)
> libgcc1:amd64{b} [1:4.6.2-16 -> 1:4.6.3-1] (B: libgcc1)
> | 2 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> | Need to get 182 kB of archives. After unpacking 0 B will be used.
> | The following packages have unmet dependencies:
> | libgcc1:amd64 : Breaks: libgcc1 (!= 1:4.6.3-1) but 1:4.6.2-16 is installed.
> | libgcc1 : Breaks: libgcc1:amd64 (!= 1:4.6.2-16) but 1:4.6.3-1 is to be
> installed.
> | gcc-4.6-base:amd64 : Breaks: gcc-4.6-base (!= 4.6.3-1) but 4.6.2-16 is
> installed.
> | gcc-4.6-base : Breaks: gcc-4.6-base:amd64 (!= 4.6.2-16) but 4.6.3-1 is to
> be installed.
> | The following actions will resolve these dependencies:
> |
> | Remove the following packages:
> | 1) gcc-4.6-base:amd64
> | 2) libc6:amd64
> | 3) libgcc1:amd64
> |
> |
> |
> | Accept this solution? [Y/n/q/?] n
> | The following actions will resolve these dependencies:
> |
> | Remove the following packages:
> | 1) libc6:amd64
> | 2) libgcc1:amd64
> |
> | Keep the following packages at their current version:
> | 3) gcc-4.6-base:amd64 [4.6.2-16 (now)]
> |
> |
> |
> | Accept this solution? [Y/n/q/?] n
> |
> | *** No more solutions available ***
> `----
So today I finally got again into a situation where a foreign libgcc1
was newer than the native libgcc1 (this time amd64 was the native arch,
i386 the foreign one), and aptitude handled it just fine:
,----
| $ aptitude search "~U"
| i A gcc-8-base:i386 - GCC, the GNU
Compiler Collection (base package)
| i A libatomic1:i386 - support library
providing __atomic built-in functions
| i A libgcc1:i386 - GCC support library
| i A libstdc++6:i386 - GNU Standard C++
Library v3
| $ apt-cache policy libgcc1 libgcc1:i386
| libgcc1:
| Installed: 1:8.1.0-11
| Candidate: 1:8.1.0-11
| Version table:
| *** 1:8.1.0-11 500
| 500 http://deb.debian.org/debian unstable/main amd64 Packages
| 100 /var/lib/dpkg/status
| libgcc1:i386:
| Installed: 1:8.1.0-11
| Candidate: 1:8.1.0-12
| Version table:
| 1:8.1.0-12 500
| 500 http://deb.debian.org/debian unstable/main i386 Packages
| *** 1:8.1.0-11 100
| 100 /var/lib/dpkg/status
| $ sudo aptitude -V -D safe-upgrade
| Resolving dependencies...
| No packages will be installed, upgraded, or removed.
| 0 packages upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
| Need to get 0 B of archives. After unpacking 0 B will be used.
`----
Probably this has been fixed long ago, but I cannot really find out
when. So I am closing this bug without version information.
--- End Message ---
_______________________________________________
Aptitude-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/aptitude-devel