[Aptitude-devel] Bug#810550: grammar and indentation of unmet dependencies message

積丹尼 Dan Jacobson jidanni at jidanni.org
Sat Jan 9 17:11:05 UTC 2016


Package: aptitude
Version: 0.7.5-3
Severity: minor

$ aptitude install xserver-xorg-core
...
The following packages have unmet dependencies:
 xserver-xorg-video-fbdev : Depends: xorg-video-abi-19 which is a virtual package, provided by:
                                     - xserver-xorg-core (2:1.18.0-1) provides xorg-video-abi-19=2:1.17.3-2, but 2:1.18.0-1 is to be installed.

 xserver-xorg-input-kbd : Depends: xorg-input-abi-21 which is a virtual package, provided by:
                                   - xserver-xorg-core (2:1.18.0-1) provides xorg-input-abi-21=2:1.17.3-2, but 2:1.18.0-1 is to be installed.

 xserver-xorg-input-evdev : Depends: xorg-input-abi-21 which is a virtual package, provided by:
                                     - xserver-xorg-core (2:1.18.0-1) provides xorg-input-abi-21=2:1.17.3-2, but 2:1.18.0-1 is to be installed.

Problem 1: too much indentation. Wraps on many terminals. Try instead:

The following packages have unmet dependencies:
 xserver-xorg-video-fbdev : Depends: xorg-video-abi-19 which is a virtual package, provided by:
  - xserver-xorg-core (2:1.18.0-1) provides xorg-video-abi-19=2:1.17.3-2, but 2:1.18.0-1 is to be installed.
 xserver-xorg-input-kbd : Depends: xorg-input-abi-21 which is a virtual package, provided by:
  - xserver-xorg-core (2:1.18.0-1) provides xorg-input-abi-21=2:1.17.3-2, but 2:1.18.0-1 is to be installed.
 xserver-xorg-input-evdev : Depends: xorg-input-abi-21 which is a virtual package, provided by:
  - xserver-xorg-core (2:1.18.0-1) provides xorg-input-abi-21=2:1.17.3-2, but 2:1.18.0-1 is to be installed.

There. That looks much better.

Problem 2. English:
Let's look at

xserver-xorg-video-fbdev : Depends: xorg-video-abi-19 which is a virtual package, provided by:
  - xserver-xorg-core (2:1.18.0-1) provides xorg-video-abi-19=2:1.17.3-2, but 2:1.18.0-1 is to be installed.

 A : Depends: B which is a virtual package, provided by:
  - C provides D, but E is to be installed.

Maybe this means:

 A : Depends: B which is a virtual package, provided by:
  - C which provides D, but E is to be installed.

If so then please add the word "which".

If not then please reword it "so it at least passes a third grader's
grammar test!" Thanks!



More information about the Aptitude-devel mailing list