Skip to content

Instantly share code, notes, and snippets.

@vvikramjhu
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vvikramjhu/d6b2f60c4d85ac6ac982 to your computer and use it in GitHub Desktop.
Save vvikramjhu/d6b2f60c4d85ac6ac982 to your computer and use it in GitHub Desktop.
vvjhu@vT61:/media/Yojimbo/gdrives/varun.vikram@airius/safeview_www/www$ sudo apt-get --purge remove samba
[sudo] password for vvjhu:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package samba is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 295 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up samba4 (4.0.0~alpha18.dfsg1-4ubuntu2) ...
unable to open smb.conf at /usr/share/samba/setoption.pl line 22.
dpkg: error processing samba4 (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
samba4
E: Sub-process /usr/bin/dpkg returned an error code (1)
vvjhu@vT61:/media/Yojimbo/gdrives/varun.vikram@airius/safeview_www/www$ sudo apt-get install samba samba-common
samba-common samba-common-bin
vvjhu@vT61:/media/Yojimbo/gdrives/varun.vikram@airius/safeview_www/www$ sudo apt-get install samba samba-common
samba-common samba-common-bin
vvjhu@vT61:/media/Yojimbo/gdrives/varun.vikram@airius/safeview_www/www$ sudo apt-get install samba system-config-samba
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
openbsd-inetd inet-superserver smbldap-tools ctdb
The following NEW packages will be installed:
samba system-config-samba
0 upgraded, 2 newly installed, 0 to remove and 295 not upgraded.
1 not fully installed or removed.
Need to get 13.5 MB of archives.
After this operation, 28.0 MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main samba amd64 2:3.6.3-2ubuntu2.11 [8,045 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise/universe system-config-samba all 1.2.63-0ubuntu5 [5,420 kB]
Fetched 13.5 MB in 4s (3,278 kB/s)
Preconfiguring packages ...
Selecting previously unselected package samba.
(Reading database ... 195929 files and directories currently installed.)
Unpacking samba (from .../samba_2%3a3.6.3-2ubuntu2.11_amd64.deb) ...
Selecting previously unselected package system-config-samba.
Unpacking system-config-samba (from .../system-config-samba_1.2.63-0ubuntu5_all.deb) ...
Processing triggers for man-db ...
Processing triggers for ufw ...
Processing triggers for ureadahead ...
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Processing triggers for hicolor-icon-theme ...
Setting up samba4 (4.0.0~alpha18.dfsg1-4ubuntu2) ...
unable to open smb.conf at /usr/share/samba/setoption.pl line 22.
dpkg: error processing samba4 (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up samba (2:3.6.3-2ubuntu2.11) ...
Generating /etc/default/samba...
update-alternatives: using /usr/bin/smbstatus.samba3 to provide /usr/bin/smbstatus (smbstatus) in auto mode.
smbd start/running, process 12954
nmbd stop/pre-start, process 12995
Setting up system-config-samba (1.2.63-0ubuntu5) ...
Processing triggers for python-central ...
Errors were encountered while processing:
samba4
E: Sub-process /usr/bin/dpkg returned an error code (1)
vvjhu@vT61:/media/Yojimbo/gdrives/varun.vikram@airius/safeview_www/www$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment