LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-21-2007, 10:16 AM   #1
hansalfredche
Member
 
Registered: Jun 2005
Posts: 445

Rep: Reputation: 31
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.

Last edited by hansalfredche; 02-21-2007 at 10:18 AM.
 
Old 02-21-2007, 11:35 AM   #2
hansalfredche
Member
 
Registered: Jun 2005
Posts: 445

Original Poster
Rep: Reputation: 31
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
 
Old 02-22-2007, 07:46 PM   #3
ctkroeker
Senior Member
 
Registered: May 2005
Posts: 1,565
Blog Entries: 1

Rep: Reputation: 50
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
 
Old 02-24-2007, 06:06 AM   #4
hansalfredche
Member
 
Registered: Jun 2005
Posts: 445

Original Poster
Rep: Reputation: 31
Thanks, that seems to work.
 
Old 02-24-2007, 07:39 PM   #5
ctkroeker
Senior Member
 
Registered: May 2005
Posts: 1,565
Blog Entries: 1

Rep: Reputation: 50
It's happend to me before and doing thzat usually helped.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
updated samba, now don't have write access BrianK Fedora 1 10-04-2005 03:10 PM
LQ Wiki Updated jeremy LQ Suggestions & Feedback 3 10-29-2004 02:03 PM
Can't YOU on a updated Suse 9.1 sanshao Linux - Distributions 1 05-16-2004 08:42 AM
Samba 3.0.2 not mangling long names correctly for Win95/98 JLindenmuth Linux - Networking 0 03-25-2004 01:28 PM
getting updated packages dsofreak Slackware 5 03-21-2003 08:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 03:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration