aptitude 產生兩次輸出

aptitude 產生兩次輸出

在相當長的一段時間裡,我從 aptitude 得到了一些訊息的雙重輸出。這是一個例子:

> sudo aptitude install mpw
Couldn't find package "mpw".  However, the following
packages contain "mpw" in their name:
  stumpwm 
Couldn't find package "mpw".  However, the following
packages contain "mpw" in their name:
  stumpwm 
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 1019 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

不過,並不是每個訊息都會發生這種情況:

> sudo aptitude install mpv
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 1019 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

這是我的 aptitude 版本:

> aptitude --version
aptitude 0.6.8.2 compiled at Nov  5 2012 06:20:41
Compiler: g++ 4.7.2
Compiled against:
  apt version 4.12.0
  NCurses version 5.9
  libsigc++ version: 2.2.10
  Ept support enabled.
  Gtk+ support disabled.
  Qt support disabled.

Current library versions:
  NCurses version: ncurses 5.9.20130608
  cwidget version: 0.5.16
  Apt version: 4.12.0

我該如何解決這個問題?

我差點忘了:據我所知,我注意到雙重訊息完全是錯誤。那麼也許這與 stderr 有關?

這是在 Debian 上測試/不穩定的。

答案1

這看起來像Debian bug 498239:警告,狀態列印兩次,2008 年 9 月 8 日提交。

有趣的好奇心:同一個用戶報告了同一個錯誤四次。 :-)

相關內容