Your message dated Fri, 18 Mar 2016 12:28:28 +0000
with message-id <[email protected]>
and subject line Re: Bug#511366: full-upgrade requires its piece of meat
has caused the Debian Bug report #511366,
regarding aptitude: suggests to downgrade package instead of keeping current
version on full-upgrade
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.)
--
511366: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=511366
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: aptitude
Version: 0.4.11.11-1+b2
Severity: normal
Hi,
if a new version of package foo introduces a Breaks: foo (<< 1.2), but
only older versions of foo are available, aptitude full-upgrade will
suggest to downgrade foo and bar instead of keeping the current version:
% apt-cache show libdatetime-locale-perl | grep -e
% '^Version:\|^Breaks:\|^$'
Version: 1:0.45-1+ab1
Breaks: libdatetime-format-strptime-perl (<< 1.2000)
Version: 1:0.44-1
Version: 1:0.35-1+1.5.0
% apt-cache show libdatetime-format-strptime-perl | grep -e '^Version:'
Version: 1.1000-1
Version: 1.0702-2
% dpkg -l libdatetime-locale-perl | grep ii
ii libdatetime-locale-perl 1:0.44-1 [...]
# aptitude full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages are BROKEN:
libdatetime-locale-perl
1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/2272kB of archives. After unpacking 4096B will be freed.
The following packages have unmet dependencies:
libdatetime-locale-perl: Breaks: libdatetime-format-strptime-perl
(< 1.2000) but 1.1000-1 is installed.
The following actions will resolve these dependencies:
Downgrade the following packages:
libdatetime-format-strptime-perl [1.1000-1 (testing, unstable, now) ->
1.0702-2 (stable)]
libdatetime-locale-perl [1:0.44-1 (testing, unstable, now) ->
1:0.35-1+1.5.0 (stable)]
Score is -10
Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:
Remove the following packages:
libcatalyst-modules-perl
libdatetime-format-builder-perl
libdatetime-format-iso8601-perl
libdatetime-format-strptime-perl
libhtml-formfu-model-dbic-perl
libhtml-formfu-perl
pak2deb
Score is -547
Accept this solution? [Y/n/q/?] n
Setting Aptitude::ProblemResolver::Discard-Null-Solution=false makes aptitude
suggest to keep the currently installed version instead of downgrading:
# aptitude -oAptitude::ProblemResolver::Discard-Null-Solution=false
full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages are BROKEN:
libdatetime-locale-perl
1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/2272kB of archives. After unpacking 4096B will be freed.
The following packages have unmet dependencies:
libdatetime-locale-perl: Breaks: libdatetime-format-strptime-perl
(< 1.2000) but 1.1000-1 is installed.
The following actions will resolve these dependencies:
Keep the following packages at their current version:
libdatetime-locale-perl [1:0.44-1 (testing, unstable, now)]
Score is 60
Accept this solution? [Y/n/q/?]
I think aptitude should prefer to keep the currently installed version
over downgrading (at least when calling aptitude full-upgrade), even
when this means no action at all will be taken.
Regards,
Ansgar
PS: I'm not sure if this is the same issue as #338386 so I reported a
seperate bug.
-- Package-specific info:
aptitude 0.4.11.11 compiled at Aug 3 2009 16:22:21
Compiler: g++ 4.3.3
Compiled against:
apt version 4.8.0
NCurses version 5.7
libsigc++ version: 2.0.18
Ept support enabled.
Current library versions:
NCurses version: ncurses 5.7.20090803
cwidget version: 0.5.16
Apt version: 4.8.0
linux-vdso.so.1 => (0x00007fff129ff000)
libapt-pkg-libc6.9-6.so.4.8 => /usr/lib/libapt-pkg-libc6.9-6.so.4.8
(0x00007f8d38861000)
libncursesw.so.5 => /lib/libncursesw.so.5 (0x00007f8d38610000)
libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0x00007f8d3840a000)
libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0x00007f8d3813e000)
libept.so.0 => /usr/lib/libept.so.0 (0x00007f8d37ec7000)
libxapian.so.15 => /usr/lib/libxapian.so.15 (0x00007f8d37b75000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007f8d3795e000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f8d37742000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f8d37431000)
libm.so.6 => /lib/libm.so.6 (0x00007f8d371af000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f8d36f99000)
libc.so.6 => /lib/libc.so.6 (0x00007f8d36c44000)
libutil.so.1 => /lib/libutil.so.1 (0x00007f8d36a41000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f8d3683d000)
/lib64/ld-linux-x86-64.so.2 (0x00007f8d38b40000)
Terminal: xterm
$DISPLAY is set.
`which aptitude`: /usr/bin/aptitude
aptitude version information:
aptitude linkage:
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (900, 'testing'), (500, 'unstable'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages aptitude depends on:
ii apt [libapt-pkg-libc6.9 0.7.25.3 Advanced front-end for dpkg
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
ii libcwidget3 0.5.16-3 high-level terminal interface libr
ii libept0 0.5.30 High-level library for managing De
ii libgcc1 1:4.4.2-9 GCC support library
ii libncursesw5 5.7+20090803-2 shared libraries for terminal hand
ii libsigc++-2.0-0c2a 2.2.4.2-1 type-safe Signal Framework for C++
ii libstdc++6 4.4.2-9 The GNU Standard C++ Library v3
ii libxapian15 1.0.18-1 Search engine library
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages aptitude recommends:
ii aptitude-doc-en [aptitude-do 0.4.11.11-1 English manual for aptitude, a ter
ii libparse-debianchangelog-per 1.1.1-2 parse Debian changelogs and output
Versions of packages aptitude suggests:
ii debtags 1.7.9+b2 Enables support for package tags
ii tasksel 2.81 Tool for selecting tasks for insta
-- no debconf information
--- End Message ---
--- Begin Message ---
Hi,
2009-01-15 04:49 Daniel Burrows:
On Thu, Jan 15, 2009 at 06:24:21AM +0800, [email protected] was heard to say:
I am little worried that maybe your reply was meant for a different
bug. All I know is that I am just the lowest of users using a command
line (never using the curses part of aptitude) and never have looked
at the source code.
No problem. I was just trying to say that this is a deliberate design
decision due to past feedback, but there are even better ways to do it
that I have planned out and that avoid the problem you ran into. The
rest was technical details for my own consumption when I take a look at
this bug again. (or for anyone else interested in working on it)
I think that this has been fixed for many years, full-upgrade is happy
to not do anything:
# aptitude full-upgrade
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
As for the merged bugs:
- #574928 about Aptitude::ProblemResolver::Discard-Null-Solution=false,
should be the default now (or equivalent, so it seems to be the same
problem as the merged bug. if there's still some issue, please reopen
(and unmerge)
- #511366 is also probably the same underlying problems because
downgrades are usually not preferred over keeping current versions,
but if there's still a problem please reopen (and unmerge)
Cheers.
--
Manuel A. Fernandez Montecelo <[email protected]>
--- End Message ---
_______________________________________________
Aptitude-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/aptitude-devel