Package: aptitude-robot
Version: 1.5.1-1
Severity: normal

If I flag the new (e.g. uninstablable) version of an upgradable package
as "forbid-version" (e.g. with Shift-F inside the aptitude TUI) and then
run aptitude-robot-session, these flags are reproducibly no more set.

They should be kept like e.g. hold flags are kept and honoured.

Workaround: Use /etc/apt/preferences or /etc/apt/preferences.d/ for
this, e.g. like this:

# cat /etc/apt/preferences.d/dont-upgrade-to-version-without-plugin
Explanation: 1.6.2-3.1+deb9u1 only removes the browser plugins which we still 
need for old IMMs
Package: icedtea-netx*
Pin: version 1.6.2-3.1+deb9u1
Pin-Priority: -1
#

-- System Information:
Debian Release: 9.9
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-8-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages aptitude-robot depends on:
ii  aptitude           0.8.7-1
ii  libmoo-perl        2.002005-1
ii  librun-parts-perl  0.09-2
ii  lsb-base           9.20161125
ii  perl               5.24.1-3+deb9u5
ii  psmisc             22.21-2.1+b2

Versions of packages aptitude-robot recommends:
ii  perl-doc  5.24.1-3+deb9u5

Versions of packages aptitude-robot suggests:
ii  apt-listbugs                  0.1.22
ii  bsd-mailx [mailx]             8.1.2-0.20160123cvs-4
ii  needrestart                   2.11-3+deb9u1
pn  needrestart-session           <none>
ii  xymon-client [hobbit-client]  4.3.28-2

-- Configuration Files:
/etc/default/aptitude-robot changed:
RUN_DAILY=yes
MAX_RANDOM_DELAY_SECONDS=900
RUN_ON_BOOT=yes
LOG_SESSION=/var/log/aptitude-robot-session.log
LOGFILE=/var/log/aptitude-robot.log
MAX_LOGFILES_SIZE_BLOCKS=1000000
SESSION_REPORT_COMMAND=/usr/share/aptitude-robot/xymon-report
SUPPRESS_CRON_MAILS=no
POST_SESSION_HOOK=


-- no debconf information

Reply via email to