Your message dated Mon, 4 Mar 2019 00:16:39 +0100
with message-id <[email protected]>
and subject line Re: Bug#675098: dpkg: fails to autoprocess triggers (mawk/gawk 
case)
has caused the Debian Bug report #675098,
regarding dpkg: fails to autoprocess triggers (mawk/gawk case)
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.)


-- 
675098: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=675098
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dpkg
Version: 1.16.3
Severity: normal

Hello maintainers,

The sequence of commands leading for a problem (high-level explanation:
installing gawk, mawk is autoremoved as not needed anymore):

1) dpkg --install --no-triggers 
//var/cache/apt/archives/libsigsegv2_2.9-4_i386.deb
2) dpkg --install --no-triggers 
//var/cache/apt/archives/gawk_1:4.0.1+dfsg-1_i386.deb
3) dpkg --remove --no-triggers mawk

At 3), dpkg refuses to proceed:

| dpkg: dependency problems prevent removal of mawk:
|  base-files depends on awk; however:
|   Package awk is not installed.
|   Package mawk which provides awk is to be removed.
|   Package gawk which provides awk awaits trigger processing.
| dpkg: error processing mawk (--remove):
|  dependency problems - not removing

>From triggers.txt (section "apt and aptitude") I conclude that it's fine for a
high-level package manager to expect this sequence of commands to
work, but please correct me if I'm wrong.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), 
(500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dpkg depends on:
ii  libbz2-1.0   1.0.5-7
ii  libc6        2.13-7
ii  libselinux1  2.0.98-1.1
ii  tar          1.26-4
ii  xz-utils     5.1.1alpha+20110809-3
ii  zlib1g       1:1.2.3.4.dfsg-3

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt  0.8.15.9

-- no debconf information



--- End Message ---
--- Begin Message ---
Hi!

On Tue, 2012-05-29 at 23:40:24 +0300, Eugene V. Lyubimkin wrote:
> Package: dpkg
> Version: 1.16.3
> Severity: normal

> The sequence of commands leading for a problem (high-level explanation:
> installing gawk, mawk is autoremoved as not needed anymore):
> 
> 1) dpkg --install --no-triggers 
> //var/cache/apt/archives/libsigsegv2_2.9-4_i386.deb
> 2) dpkg --install --no-triggers 
> //var/cache/apt/archives/gawk_1:4.0.1+dfsg-1_i386.deb
> 3) dpkg --remove --no-triggers mawk
> 
> At 3), dpkg refuses to proceed:
> 
> | dpkg: dependency problems prevent removal of mawk:
> |  base-files depends on awk; however:
> |   Package awk is not installed.
> |   Package mawk which provides awk is to be removed.
> |   Package gawk which provides awk awaits trigger processing.
> | dpkg: error processing mawk (--remove):
> |  dependency problems - not removing
> 
> >From triggers.txt (section "apt and aptitude") I conclude that it's
> fine for a high-level package manager to expect this sequence of
> commands to work, but please correct me if I'm wrong.

Given that packages in triggers-awaited status will not satisfy
dependencies, the behavior shown looks completely appropriate. Before
doing 3) you'd need to do a «dpkg --configure --pending», as it's
mentioned in the triggers.txt file. Closing this now.

Thanks,
Guillem

--- End Message ---

Reply via email to