reopen 311919
retitle 311919 apt-listchanges fails when invoked by apticron - No such device 
or address: '/dev/tty'
owner 311919 !
thanks

On Wed, Apr 11, 2007 at 01:31:52PM +0200, Pierre Habouzit wrote:
>   Nope, we open /dev/tty for nothing, but the fix to #311919 still
> applies and nothing is done with it. So we're safe, we just opened a FD,
> and that does not harm anyone nor anything.
> 
>   Moreover I just tested and this works properly.

Now apticron fails:

apticron report [Thu, 19 Apr 2007 08:04:58 +0300]
========================================================================

apticron has detected that some packages need upgrading on: 

    localhost 
    [ 127.0.0.1 ]

    The following packages are currently pending an upgrade:

    dbus 1.0.2-4
    dcoprss 4:3.5.6-2
    debhelper 5.0.48
    ....

========================================================================

Package Details:

Traceback (most recent call last):
  File "/usr/bin/apt-listchanges", line 225, in ?
    main()
  File "/usr/bin/apt-listchanges", line 61, in main
    tty = open('/dev/tty', 'r+')
IOError: [Errno 6] No such device or address: '/dev/tty'

I see that opening /dev/tty was introduced as a fix for #343423 and
unfortunately have no idea how to avoid breaking apticron.


Thanks for considering,
    dam
-- 
Damyan Ivanov                           Modular Software Systems
phone +359(2)928-2611, 929-3993              fax +359(2)920-0994
mobile +359(88)856-6067              JID [EMAIL PROTECTED]

Attachment: signature.asc
Description: Digital signature

Reply via email to