Bug#348679: aptitude: doesn't do downgrade for packages pinned high

2015-12-07 Thread Manuel A. Fernandez Montecelo

Control: tags -1 + pending


Hi Marc,

2006-01-18 11:52 Marc Haber:

Package: aptitude
Version: 0.4.1-1experimental1
Severity: normal

Hi,

I have pinned unstable to 2000 on my box:

Package: *
Pin: release o=Debian,a=unstable
Pin-Priority: 2000

This is obviously processed correctly:

$ apt-cache policy apt
apt:
 Installed: 0.6.43.2exp1
 Candidate: 0.6.43.1
 Version table:
*** 0.6.43.2exp1 0
   -10 http://debian.debian.zugschlus.de experimental/main Packages
   100 /var/lib/dpkg/status
0.6.43.1 0
  2000 http://debian.debian.zugschlus.de sid/main Packages
0.6.43exp2 0
   500 http://zg.debian.zugschlus.de zg/sid/main Packages
0.5.28.6 0
   500 http://debian.debian.zugschlus.de sarge/main Packages
$

Also, apt-get dist-upgrade plans to do some downgrade:

$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
The following NEW packages will be installed:
 libslang1
The following packages will be DOWNGRADED:
 apt apt-utils aptitude exim4 exim4-base exim4-config exim4-daemon-light
 eximon4 jed jed-common libapt-pkg-perl libnasl2 libnessus2 python-apt
 python2.3-apt
0 upgraded, 1 newly installed, 15 downgraded, 0 to remove and 0 not upgraded.
Need to get 7200kB of archives.
After unpacking 512kB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
$

But aptitude doesn't.

$ sudo aptitude dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 15 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
$

Additionally, "U" in interactive aptitude doesn't do anything as well.


Thanks for the report.

I commited a fix to VCS and all of the modalities of upgrades now work
with this.  Will be present in the next release, so marking as +pending.


Cheers.
--
Manuel A. Fernandez Montecelo 



Bug#348679: aptitude: doesn't do downgrade for packages pinned high

2006-01-18 Thread Marc Haber
Package: aptitude
Version: 0.4.1-1experimental1
Severity: normal

Hi,

I have pinned unstable to 2000 on my box:

Package: *
Pin: release o=Debian,a=unstable
Pin-Priority: 2000

This is obviously processed correctly:

$ apt-cache policy apt
apt:
  Installed: 0.6.43.2exp1
  Candidate: 0.6.43.1
  Version table:
 *** 0.6.43.2exp1 0
-10 http://debian.debian.zugschlus.de experimental/main Packages
100 /var/lib/dpkg/status
 0.6.43.1 0
   2000 http://debian.debian.zugschlus.de sid/main Packages
 0.6.43exp2 0
500 http://zg.debian.zugschlus.de zg/sid/main Packages
 0.5.28.6 0
500 http://debian.debian.zugschlus.de sarge/main Packages
$ 

Also, apt-get dist-upgrade plans to do some downgrade:

$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  libslang1
The following packages will be DOWNGRADED:
  apt apt-utils aptitude exim4 exim4-base exim4-config exim4-daemon-light
  eximon4 jed jed-common libapt-pkg-perl libnasl2 libnessus2 python-apt
  python2.3-apt
0 upgraded, 1 newly installed, 15 downgraded, 0 to remove and 0 not upgraded.
Need to get 7200kB of archives.
After unpacking 512kB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
$

But aptitude doesn't.

$ sudo aptitude dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 15 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
$

Additionally, U in interactive aptitude doesn't do anything as well.

Greetings
Marc

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-zgsrv
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6.3-6-4 0.6.43.2exp1 Advanced front-end for dpkg
ii  libc6   2.3.5-12 GNU C Library: Shared libraries an
ii  libgcc1 1:4.1-0exp4  GCC support library
ii  libncursesw55.5-1Shared libraries for terminal hand
ii  libsigc++-2.0-0c2a  2.0.16-2 type-safe Signal Framework for C++
ii  libstdc++6  4.1-0exp4The GNU Standard C++ Library v3

Versions of packages aptitude recommends:
ii  aptitude-doc-en [aptitude-doc 0.4.1-1English manual for aptitude, a ter

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]