package samba 2:3.5.8~dfsg-1ubuntu2.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #986485 reported by Lokesh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Incomplete
Low
Unassigned

Bug Description

The installation or removal of a software package failed

installArchives() failed: perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
 LANGUAGE = (unset),
 LC_ALL = (unset),
 LANG = "en_IN.ISO8859-1"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
 LANGUAGE = (unset),
 LC_ALL = (unset),
 LANG = "en_IN.ISO8859-1"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
 LANGUAGE = (unset),
 LC_ALL = (unset),
 LANG = "en_IN.ISO8859-1"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database ...
(Reading database ... 5%%
(Reading database ... 10%%
(Reading database ... 15%%
(Reading database ... 20%%
(Reading database ... 25%%
(Reading database ... 30%%
(Reading database ... 35%%
(Reading database ... 40%%
(Reading database ... 45%%
(Reading database ... 50%%
(Reading database ... 55%%
(Reading database ... 60%%
(Reading database ... 65%%
(Reading database ... 70%%
(Reading database ... 75%%
(Reading database ... 80%%
(Reading database ... 85%%
(Reading database ... 90%%
(Reading database ... 95%%
(Reading database ... 100%%
(Reading database ... 247723 files and directories currently installed.)
Preparing to replace gsettings-desktop-schemas 3.0.0-0ubuntu1 (using .../gsettings-desktop-schemas_3.0.0-0ubuntu1.1_all.deb) ...
Unpacking replacement gsettings-desktop-schemas ...
Processing triggers for libglib2.0-0 ...
Processing triggers for gconf2 ...
Setting up samba (2:3.5.8~dfsg-1ubuntu2.4) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
start: Job failed to start
invoke-rc.d: initscript nmbd, action "start" failed.
dpkg: error processing samba (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up gsettings-desktop-schemas (3.0.0-0ubuntu1.1) ...
Errors were encountered while processing:
 samba
Setting up samba (2:3.5.8~dfsg-1ubuntu2.4) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
start: Job failed to start
invoke-rc.d: initscript nmbd, action "start" failed.
dpkg: error processing samba (--configure):
 subprocess installed post-installation script returned error exit status 1

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: samba 2:3.5.8~dfsg-1ubuntu2.4
ProcVersionSignature: Ubuntu 2.6.38-14.58-generic-pae 2.6.38.8
Uname: Linux 2.6.38-14-generic-pae i686
AptOrdering:
 gsettings-desktop-schemas: Install
 samba: Configure
 gsettings-desktop-schemas: Configure
Architecture: i386
Date: Sat Apr 21 12:12:42 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
RelatedPackageVersions:
 nautilus 1:2.32.2.1-0ubuntu13
 gvfs 1.8.0-0ubuntu4
SambaClientRegression: No
SourcePackage: samba
Title: package samba 2:3.5.8~dfsg-1ubuntu2.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Lokesh (lokesh-ideas2it) wrote :
Tyler Hicks (tyhicks)
security vulnerability: yes → no
security vulnerability: yes → no
visibility: private → public
visibility: private → public
Revision history for this message
James Page (james-page) wrote :

Thanks for taking the time to report this bug.

This might be a duplicate of bug 791944.

Please could you try running the following commands:

  sudo testparm
  echo $?

Please attach the output to this bug report.

Marking 'Incomplete' pending your response and 'Low' for the time being.

Thanks

Changed in samba (Ubuntu):
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
Lokesh (lokesh-ideas2it) wrote : Re: [Bug 986485] Re: package samba 2:3.5.8~dfsg-1ubuntu2.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Download full text (7.2 KiB)

Hi,

Thanks for your kind response for this bug.

i tried running the following commands:

 sudo testparm
 echo $?

and i got following things.

root@ideas2it52-desktop:/home/ideas2it52# sudo testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
WARNING: state directory /var/lib/samba should have permissions 0755 for
browsing to work
WARNING: cache directory /var/cache/samba should have permissions 0755 for
browsing to work
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
server string = %h server (Samba, Ubuntu)
map to guest = Bad User
 obey pam restrictions = Yes
pam password change = Yes
 passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:*
%n\n *password\supdated\ssuccessfully* .
 unix password sync = Yes
syslog = 0
 log file = /var/log/samba/log.%m
max log size = 1000
 dns proxy = No
usershare allow guests = Yes
 panic action = /usr/share/samba/panic-action %d

[printers]
comment = All Printers
path = /var/spool/samba
 create mask = 0700
printable = Yes
 browseable = No

[print$]
 comment = Printer Drivers
path = /var/lib/samba/printers
root@ideas2it52-desktop:/home/ideas2it52# echo $?
1
root@ideas2it52-desktop:/home/ideas2it52#

Up to my knowledge i don't know what is the above result shows
Please fix me the issue asap, because still i cant able to install new
updates in my system. Same error occurs again and again.
Advance Thanks for your reply

On Wed, May 2, 2012 at 4:57 PM, James Page <email address hidden> wrote:

> Thanks for taking the time to report this bug.
>
> This might be a duplicate of bug 791944.
>
> Please could you try running the following commands:
>
> sudo testparm
> echo $?
>
> Please attach the output to this bug report.
>
> Marking 'Incomplete' pending your response and 'Low' for the time being.
>
> Thanks
>
> ** Changed in: samba (Ubuntu)
> Status: New => Incomplete
>
> ** Changed in: samba (Ubuntu)
> Importance: Undecided => Low
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/986485
>
> Title:
> package samba 2:3.5.8~dfsg-1ubuntu2.4 failed to install/upgrade:
> subprocess installed post-installation script returned error exit
> status 1
>
> Status in “samba” package in Ubuntu:
> Incomplete
>
> Bug description:
> The installation or removal of a software package failed
>
>
> installArchives() failed: perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
> LANGUAGE = (unset),
> LC_ALL = (unset),
> LANG = "en_IN.ISO8859-1"
> are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
> locale: Cannot set LC_CTYPE to default locale: No such file or directory
> locale: Cannot set LC_MESSAGES to default locale: No such file or
> directory
> locale: Cannot set LC_ALL to default locale: No such file or directory
> perl: warning: Setting locale failed...

Read more...

Revision history for this message
James Page (james-page) wrote :

Hi Lokesh

This is definitely a duplicate of bug 791944.

That bug contains a fix for this issue - please take a look.

Thanks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.