Re: [Bug 791944] Re: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Thank you James. Problem solved here! 2011/7/7 James Page 791...@bugs.launchpad.net So the workaround for the moment is to run the following commands in a terminal: sudo chmod 0755 /var/lib/samba /var/cache/samba sudo apt-get -f install This should fixup the permissions and complete the installation of samba. -- You received this bug notification because you are subscribed to a duplicate bug report (782203). https://bugs.launchpad.net/bugs/791944 Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 Status in “samba” package in Ubuntu: Incomplete Bug description: Binary package hint: samba Happens any time I install or uninstall a program. But does not seem to effect the operation of the programs. ProblemType: Package DistroRelease: Ubuntu 11.04 Package: samba 2:3.5.8~dfsg-1ubuntu2.2 ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic i686 NonfreeKernelModules: nvidia AptOrdering: gdm: Install samba: Configure gadmin-samba: Configure system-config-samba: Configure gdm: Configure Architecture: i386 BothFailedConnect: Yes Date: Thu Jun 2 11:53:20 2011 ErrorMessage: subprocess installed post-installation script returned error exit status 1 InstallationMedia: Ubuntu 10.04 LTS Lucid Lynx - Release i386 (20100429) NmbdLog: SambaServerRegression: Yes SmbConfIncluded: Yes SmbLog: SourcePackage: samba Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 UpgradeStatus: Upgraded to natty on 2011-05-01 (31 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/791944/+subscriptions -- Atenciosamente, Eduardo Monteiro twitter.com/ducrz -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/791944 Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/791944/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 791944] Re: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
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] workgroup = AVAL 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 2011/7/6 James Page 791...@bugs.launchpad.net Carlos I think that your issue might be different to Peters as your are getting a exit status code of 1 (which would indicate that testparm is runing but returning non-zero exit code); please could you try running: sudo testparm echo $? Please post the output to this bug report. Thanks -- You received this bug notification because you are subscribed to a duplicate bug report (782203). https://bugs.launchpad.net/bugs/791944 Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 Status in “samba” package in Ubuntu: Incomplete Bug description: Binary package hint: samba Happens any time I install or uninstall a program. But does not seem to effect the operation of the programs. ProblemType: Package DistroRelease: Ubuntu 11.04 Package: samba 2:3.5.8~dfsg-1ubuntu2.2 ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic i686 NonfreeKernelModules: nvidia AptOrdering: gdm: Install samba: Configure gadmin-samba: Configure system-config-samba: Configure gdm: Configure Architecture: i386 BothFailedConnect: Yes Date: Thu Jun 2 11:53:20 2011 ErrorMessage: subprocess installed post-installation script returned error exit status 1 InstallationMedia: Ubuntu 10.04 LTS Lucid Lynx - Release i386 (20100429) NmbdLog: SambaServerRegression: Yes SmbConfIncluded: Yes SmbLog: SourcePackage: samba Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 UpgradeStatus: Upgraded to natty on 2011-05-01 (31 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/791944/+subscriptions -- Atenciosamente, Eduardo Monteiro twitter.com/ducrz -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/791944 Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/791944/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 791944] Re: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
root 4096 2010-03-05 07:20 upower drwxrwxrwx 2 root root 4096 2011-07-06 08:00 urandom drwxrwxrwx 3 root root 4096 2011-06-24 17:21 ureadahead drwxrwxrwx 2 root root 4096 2010-09-08 09:30 usb_modeswitch drwxrwxrwx 2 root root 4096 2011-04-28 14:37 usbutils drwxrwxrwx 3 root root 4096 2010-04-29 09:18 vim drwxrwxrwx 2 root root 4096 2011-04-28 15:01 xfonts drwxrwxrwx 2 root root 4096 2010-10-08 11:16 xkb drwxrwxrwx 2 root root 4096 2011-04-28 15:00 xml-core sudo ls -l /var/cache total 88 drwxrwxrwx 3 www-data www-data 4096 2010-09-22 08:22 apache2 drwxrwxrwx 3 root root 4096 2011-07-06 14:47 apt drwxr-xr-x 3 root root 4096 2011-07-04 08:10 apt-xapian-index drwxrwxr-x 3 root lp 4096 2011-06-09 10:23 cups drwxrwxrwx 3 root root 4096 2010-09-13 16:08 dbconfig-common drwxrwxrwx 2 root root 4096 2011-07-06 11:06 debconf drwxrwxrwx 2 root root 4096 2011-07-01 12:00 flashplugin-installer drwxrwxrwx 2 root root 4096 2011-05-25 09:32 fontconfig drwxrwxrwx 2 root root 4096 2010-06-20 05:30 fonts drwxrwxrwx 3 root root 4096 2011-06-27 17:58 gdm drwxrwxrwx 2 root root 4096 2010-07-28 15:35 git drwxrwxrwx 2 root root 4096 2011-04-29 08:34 hald drwxrwsr-t 2 root admin4096 2010-09-23 17:11 jockey drwxrwxrwx 2 root root 4096 2009-06-02 04:02 jpgraph drwxrwxrwx 2 root root 4096 2011-07-05 16:52 ldconfig drwxrwsrwx 36 man root 4096 2011-07-06 11:05 man drwxrwxrwx 2 root root 4096 2010-04-19 07:11 pm-utils drwxrwxrwx 3 root root 4096 2011-01-13 12:11 postgresql drwxrwxrwx 2 root root 4096 2009-02-20 14:56 pppconfig drwxrwxrwx 3 root root 4096 2011-07-06 08:00 samba drwxrwxrwx 3 root root 4096 2011-06-20 15:56 software-center drwxrwxrwx 2 root root 4096 2011-02-28 14:36 system-tools-backends 2011/7/6 James Page 791...@bugs.launchpad.net On Wed, 2011-07-06 at 11:41 +, EduardoMonteiro wrote: 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 This might be pointing at the issue - please could you confirm the permissions on /var/lib/samba and /var/cache/samba by running the following commands: sudo ls -l /var/lib sudo ls -l /var/cache Please post the output on this bug report Thanks -- James Page Ubuntu Server Developer -- You received this bug notification because you are subscribed to a duplicate bug report (782203). https://bugs.launchpad.net/bugs/791944 Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 Status in “samba” package in Ubuntu: Incomplete Bug description: Binary package hint: samba Happens any time I install or uninstall a program. But does not seem to effect the operation of the programs. ProblemType: Package DistroRelease: Ubuntu 11.04 Package: samba 2:3.5.8~dfsg-1ubuntu2.2 ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic i686 NonfreeKernelModules: nvidia AptOrdering: gdm: Install samba: Configure gadmin-samba: Configure system-config-samba: Configure gdm: Configure Architecture: i386 BothFailedConnect: Yes Date: Thu Jun 2 11:53:20 2011 ErrorMessage: subprocess installed post-installation script returned error exit status 1 InstallationMedia: Ubuntu 10.04 LTS Lucid Lynx - Release i386 (20100429) NmbdLog: SambaServerRegression: Yes SmbConfIncluded: Yes SmbLog: SourcePackage: samba Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 UpgradeStatus: Upgraded to natty on 2011-05-01 (31 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/791944/+subscriptions -- Atenciosamente, Eduardo Monteiro twitter.com/ducrz -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/791944 Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/791944/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 791944] Re: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
root@pc-03:~# apt-cache policy samba-common-bin samba-common-bin: Instalado: 2:3.5.8~dfsg-1ubuntu2.2 Candidato: 2:3.5.8~dfsg-1ubuntu2.2 Tabela de versão: *** 2:3.5.8~dfsg-1ubuntu2.2 0 500 http://br.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages 100 /var/lib/dpkg/status 2:3.5.8~dfsg-1ubuntu2 0 500 http://br.archive.ubuntu.com/ubuntu/ natty/main i386 Packages root@pc-03:~# ls -l /usr/bin/testparm* lrwxrwxrwx 1 root root 26 2011-04-28 14:56 /usr/bin/testparm - /etc/alternatives/testparm -rwxr-xr-x 1 root root 1354284 2011-05-09 17:26 /usr/bin/testparm.samba3 root@pc-03:~# cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=11.04 DISTRIB_CODENAME=natty DISTRIB_DESCRIPTION=Ubuntu 11.04 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/791944 Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/791944/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 782203] [NEW] package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1
Public bug reported: Binary package hint: samba Its a really new bug on ubuntu 11.04 ProblemType: Package DistroRelease: Ubuntu 11.04 Package: samba 2:3.5.8~dfsg-1ubuntu2.2 ProcVersionSignature: Ubuntu 2.6.38-9.43-generic 2.6.38.4 Uname: Linux 2.6.38-9-generic i686 Architecture: i386 Date: Fri May 13 09:00:39 2011 ErrorMessage: sub-processo script post-installation instalado retornou estado de saída de erro 1 InstallationMedia: NmbdLog: SambaServerRegression: Yes SmbConfIncluded: Yes SmbLog: SourcePackage: samba Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1 UbuntuFailedConnect: Yes UpgradeStatus: Upgraded to natty on 2011-04-28 (14 days ago) ** Affects: samba (Ubuntu) Importance: Undecided Status: New ** Tags: apport-package i386 natty -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/782203 Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: sub- processo script post-installation instalado retornou estado de saída de erro 1 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 782203] Re: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1
-- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/782203 Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: sub- processo script post-installation instalado retornou estado de saída de erro 1 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs