[Bug 53049] Re: Fails to upgrade non-interactively

2009-10-02 Thread gcc
It just failed for me on hardy while updating samba, resulting in smbd
not being running this morning:

Subject: Cron  apt-get -qq update && apt-get -qq upgrade &&
apt-get clean

(Reading database ... 79236 files and directories currently installed.)
Preparing to replace smbclient 3.0.22-1ubuntu3.8 (using
.../smbclient_3.0.22-1ubuntu3.9_i386.deb) ...
Unpacking replacement smbclient ...
Preparing to replace samba 3.0.22-1ubuntu3.8 (using
.../samba_3.0.22-1ubuntu3.9_i386.deb) ...
 * Stopping Samba daemons...
   ...done.
Unpacking replacement samba ...
Preparing to replace samba-common 3.0.22-1ubuntu3.8 (using
.../samba-common_3.0.22-1ubuntu3.9_i386.deb) ...
Unpacking replacement samba-common ...
Setting up samba-common (3.0.22-1ubuntu3.9) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype

Setting up smbclient (3.0.22-1ubuntu3.9) ...
Setting up samba (3.0.22-1ubuntu3.9) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Couldn't reopen stdin(/dev/tty): No such device or address at
/usr/sbin/update-inetd line 29.
dpkg: error processing samba (--configure):
 subprocess post-installation script returned error exit status 6
Errors were encountered while processing:
 samba
E: Sub-process /usr/bin/dpkg returned an error code (1)

In other words: same problem, fix *not* released in hardy.

-- 
Fails to upgrade non-interactively
https://bugs.launchpad.net/bugs/53049
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 53049] Re: Fails to upgrade non-interactively

2008-07-15 Thread schnollk
here ist the output from the email (had two more since from hourly run
cron job, so by far not the same every run):

/etc/cron.hourly/apt-security-updates:
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:

Date: 15 Jul 2008 19:20:50 +0200 (CEST)

-- 
Fails to upgrade non-interactively
https://bugs.launchpad.net/bugs/53049
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 53049] Re: Fails to upgrade non-interactively

2008-07-11 Thread schnollk
This morning cron mailed me again about this debconf error about not
beeing able to set frontend, TERM not set, etc.

Unfortunatelly I've deleted the mail already. The orcward thing is
aptitude runs fine acording to my logs and installes packages from
hardy-security just fine. Last time was Jul 10 23:17:01 CEST. Any
suggestions? Meight this bug still not be fixed; not for desktop repos?
Or what meight I be doing wrong?

Cheers.

What I run in cron is this:
$cat /etc/cron.hourly/apt-security-updates
#!/bin/sh
LOGFILE="/var/log/apt-security-updates"
echo "**" >> $LOGFILE
date >> $LOGFILE
echo "**" >> $LOGFILE
aptitude update >> $LOGFILE
aptitude safe-upgrade -o Aptitude::Delete-Unused=false --assume-yes 
--target-release `lsb_release -cs`-security >> $LOGFILE

System (Ubuntu Desktop):
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 8.04.1
Release:8.04
Codename:   hardy

$ apt-show-versions -a update-inetd 
update-inetd4.27-0.6install ok installed
update-inetd4.27-0.6hardy
update-inetd/hardy uptodate 4.27-0.6

-- 
Fails to upgrade non-interactively
https://bugs.launchpad.net/bugs/53049
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 53049] Re: Fails to upgrade non-interactively

2008-03-08 Thread Steve Langasek
This was never a bug in samba, but in update-inetd; and the current
version of the update-inetd package is debconf-aware, so doesn't happen
with the current version.  Marking as fixed.

** Changed in: update-inetd (Ubuntu)
Sourcepackagename: samba => update-inetd
   Status: Confirmed => Fix Released

-- 
Fails to upgrade non-interactively
https://bugs.launchpad.net/bugs/53049
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 53049] Re: Fails to upgrade non-interactively

2007-07-12 Thread stiV
you're right Sam Morris, thing is update-inetd does not check the
variable "DEBCONF_FRONTEND", but checks "DEBIAN_FRONTEND" if it is set
to noninteractive ... so this is no bug of samba directly (i encountered
this one when installing postfix via onetime bootscript), but it is a
problem w. debian/ubuntu variables i guess. at least setting
"DEBIAN_FRONTEND=noninteractive" did the trick for me ;)

this is an issue in many packages ... (eg. ssl-cert) some rely on being
called from an interactive console to be installed, even if no
(debconf-)questions need to be asked at all

-- 
Fails to upgrade non-interactively
https://bugs.launchpad.net/bugs/53049
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 53049] Re: Fails to upgrade non-interactively

2007-06-22 Thread Henrik Nilsen Omma
One for the server team.

** Changed in: samba (Ubuntu)
   Importance: Undecided => Low
 Assignee: (unassigned) => Ubuntu Server Team
   Status: New => Confirmed

-- 
Fails to upgrade non-interactively
https://bugs.launchpad.net/bugs/53049
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 53049] Re: Fails to upgrade non-interactively

2007-02-13 Thread Sam Morris
Check update-inetd line 29. I think that if it fails to open /dev/tty
then it should fall back to /dev/null (which is used in the first place
if DEBCONF_FRONTEND=noninteractive).

-- 
Fails to upgrade non-interactively
https://launchpad.net/bugs/53049

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 53049] Re: Fails to upgrade non-interactively

2006-11-18 Thread Sam Morris
** Changed in: samba (Ubuntu)
   Status: Needs Info => Unconfirmed

-- 
Fails to upgrade non-interactively
https://launchpad.net/bugs/53049

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 53049] Re: Fails to upgrade non-interactively

2006-08-23 Thread Sam Morris
Isn't the error the failure of update-inetd?

Anyway, the command in /etc/crontab is: apt-get -qq --yes dist-upgrade

-- 
Fails to upgrade non-interactively
https://launchpad.net/bugs/53049

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 53049] Re: Fails to upgrade non-interactively

2006-08-22 Thread Carthik Sharma
The issue is the line that says "Starting Samba ..." that needed to be
output to the terminal. Shall we mark this bug as a wishlist item that
says the that the output should/could be suppressed when run non-
interactively?

What was the command you were running from Cron, in any case?

Thank you.

** Changed in: samba (Ubuntu)
   Status: Unconfirmed => Needs Info

-- 
Fails to upgrade non-interactively
https://launchpad.net/bugs/53049

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs