On 07/01/2015 02:39 PM, Steve Ankeny wrote:
thx, I'll look at it when I'm back off my downtime
On 07/01/2015 12:21 PM, Achim Gottinger wrote:
Hello Steve,
You used purge and not remove so all configs got removed as well.
Take an look in /var/lib/samba you may find backup's there done
by apt/dpkg durcing upgrades.
I have an bunch of backed-up-by-dpkg-on-2015-03-10T16.56.tar.gz
files there.
Seems these include all the necessary ldb's but they all have an
suffix like backed-up-by-dpkg-on-2015-03-10T16.56 here which must
be removed.
achim~
ok, finally gave this a try
However, there are STILL errors --
(here are the steps I used in order)
adam@sogo:~$ sudo apt-get remove samba
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libgnutls28 libhogweed2 libldb-dev libldb1 libnettle4 libsmbclient
python-ldb python-samba samba-common samba-common-bin samba-dev
samba-dsdb-modules samba-libs samba-vfs-modules smbclient
Suggested packages:
gnutls-bin heimdal-clients
The following packages will be REMOVED:
libnss-winbind libpam-winbind openchangeproxy openchangeserver
samba winbind
The following NEW packages will be installed:
libgnutls28 libhogweed2 libnettle4
The following packages will be upgraded:
libldb-dev libldb1 libsmbclient python-ldb python-samba samba-common
samba-common-bin samba-dev samba-dsdb-modules samba-libs
samba-vfs-modules
smbclient
12 upgraded, 3 newly installed, 6 to remove and 8 not upgraded.
Need to get 8,559 kB of archives.
After this operation, 16.1 MB disk space will be freed.
Do you want to continue? [Y/n]Y
(completes without error)
(edit 'dns-nameservers' and restart network)
(reinstall packages that were REMOVED -- using "-f" yields same
results)
adam@sogo:~$ sudo apt-get install samba openchangeproxy
openchangeserver winbind libnss-winbind libpam-winbind
python-ocsmanager
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
python-mapistore python-rpclib python-sievelib python-spyne
python-support
python-tz
Suggested packages:
bind9 bind9utils ctdb ntp smbldap-tools
The following NEW packages will be installed:
libnss-winbind libpam-winbind openchangeproxy openchangeserver
python-mapistore python-rpclib python-sievelib python-spyne
python-support
python-tz samba winbind
The following packages will be upgraded:
python-ocsmanager
1 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,833 kB of archives.
After this operation, 21.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(errors follow -- highlighted)
Setting up samba (2:4.1.18+dfsg-3~inverse1) ...
Installing new version of config file /etc/logrotate.d/samba ...
Installing new version of config file /etc/init/smbd.conf ...
Installing new version of config file /etc/init.d/samba ...
*update-rc.d: /etc/init.d/samba exists during rc.d purge (use -f to
force)**
**dpkg: error processing package samba (--configure):**
** subprocess installed post-installation script returned error
exit status 1**
*