LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Samba didn't get updated correctly (https://www.linuxquestions.org/questions/ubuntu-63/samba-didnt-get-updated-correctly-531044/)

hansalfredche 02-21-2007 10:16 AM

Samba didn't get updated correctly
 
Hi

Some time ago some security update for Samba was released (I'm using Ubuntu-server 6.10). Apt-get complained about some postinstallation configuration that failed. Now, everytime there is an update, it tries to update Samba too, always with the same error. This does not seem to affect the application itself, as it is still working (server is rebooted frequently). The Webmin interface was/is used.

Is there some way of getting the Samba package out of the "queue" so apt-get just ignores it?

Thanks

PS: Will post which version of Samba I have this evening.

hansalfredche 02-21-2007 11:35 AM

Error message is:

Quote:

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up samba (3.0.22-1ubuntu4.1) ...
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)

.. upgrade failed!

Package samba was installed successfully
Installed version: 3.0.22-1ubuntu4.1

Quote:

smbd -V
Version 3.0.22

ctkroeker 02-22-2007 07:46 PM

Try commenting out all the lines in /etc/apt/sources.list
Code:

sudo apt-get update
uncomment the lines
Code:

sudo apt-get update
Code:

sudo apt-get upgrade
Hope that works

hansalfredche 02-24-2007 06:06 AM

Thanks, that seems to work.

ctkroeker 02-24-2007 07:39 PM

It's happend to me before and doing thzat usually helped.


All times are GMT -5. The time now is 11:28 PM.