I have just now run the commands suggested by hansdown, results shown below.
Not sure how to interpret this, as several things apparently did not go as expected.
Samba4 does seem to consistently resist update/upgrade.
What's next?
Code:
owner@ubuntu:~$ sudo rm -rf /var/lib/apt/lists/*
[sudo] password for owner:
owner@ubuntu:~$ sudo apt-get update
Get:1 http://ppa.launchpad.net precise Release.gpg [316 B]
Get:2 http://archive.canonical.com precise Release.gpg [198 B]
Get:3 http://security.ubuntu.com precise-security Release.gpg [198 B]
Get:4 http://archive.ubuntu.com precise Release.gpg [198 B]
Get:5 http://archive.ubuntu.com precise-updates Release.gpg [198 B]
Get:6 http://archive.ubuntu.com precise Release [49.6 kB]
Get:7 http://security.ubuntu.com precise-security Release [49.6 kB]
Get:8 http://archive.canonical.com precise Release [7,078 B]
Get:9 http://ppa.launchpad.net precise Release [11.9 kB]
Get:10 http://archive.ubuntu.com precise-updates Release [49.6 kB]
Get:11 http://archive.canonical.com precise/partner amd64 Packages [7,883 B]
Get:12 http://security.ubuntu.com precise-security/main amd64 Packages [296 kB]
Get:13 http://ppa.launchpad.net precise/main Sources [1,150 B]
Get:14 http://archive.canonical.com precise/partner i386 Packages [8,941 B]
Ign http://archive.canonical.com precise/partner TranslationIndex
Get:15 http://archive.ubuntu.com precise/main amd64 Packages [1,273 kB]
Get:16 http://ppa.launchpad.net precise/main amd64 Packages [2,143 B]
Get:17 http://ppa.launchpad.net precise/main i386 Packages [2,157 B]
Ign http://ppa.launchpad.net precise/main TranslationIndex
Get:18 http://security.ubuntu.com precise-security/restricted amd64 Packages [4,627 B]
Get:19 http://security.ubuntu.com precise-security/universe amd64 Packages [77.7 kB]
Get:20 http://security.ubuntu.com precise-security/multiverse amd64 Packages [2,186 B]
Get:21 http://security.ubuntu.com precise-security/main i386 Packages [311 kB]
Ign http://archive.canonical.com precise/partner Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://archive.canonical.com precise/partner Translation-en
Get:22 http://security.ubuntu.com precise-security/restricted i386 Packages [4,620 B]
Get:23 http://security.ubuntu.com precise-security/universe i386 Packages [80.4 kB]
Get:24 http://security.ubuntu.com precise-security/multiverse i386 Packages [2,371 B]
Get:25 http://security.ubuntu.com precise-security/main TranslationIndex [74 B]
Get:26 http://security.ubuntu.com precise-security/multiverse TranslationIndex [71 B]
Get:27 http://security.ubuntu.com precise-security/restricted TranslationIndex [72 B]
Get:28 http://security.ubuntu.com precise-security/universe TranslationIndex [73 B]
Ign http://ppa.launchpad.net precise/main Translation-en
Get:29 http://security.ubuntu.com precise-security/main Translation-en [144 kB]
Get:30 http://security.ubuntu.com precise-security/multiverse Translation-en [995 B]
Get:31 http://security.ubuntu.com precise-security/restricted Translation-en [1,253 B]
Get:32 http://security.ubuntu.com precise-security/universe Translation-en [49.6 kB]
Get:33 http://archive.ubuntu.com precise/restricted amd64 Packages [8,452 B]
Get:34 http://archive.ubuntu.com precise/universe amd64 Packages [4,786 kB]
Get:35 http://archive.ubuntu.com precise/multiverse amd64 Packages [119 kB]
Get:36 http://archive.ubuntu.com precise/main i386 Packages [1,274 kB]
Get:37 http://archive.ubuntu.com precise/restricted i386 Packages [8,431 B]
Get:38 http://archive.ubuntu.com precise/universe i386 Packages [4,796 kB]
Get:39 http://archive.ubuntu.com precise/multiverse i386 Packages [121 kB]
Get:40 http://archive.ubuntu.com precise/main TranslationIndex [3,706 B]
Get:41 http://archive.ubuntu.com precise/multiverse TranslationIndex [2,676 B]
Get:42 http://archive.ubuntu.com precise/restricted TranslationIndex [2,596 B]
Get:43 http://archive.ubuntu.com precise/universe TranslationIndex [2,922 B]
Get:44 http://archive.ubuntu.com precise-updates/main amd64 Packages [650 kB]
Get:45 http://archive.ubuntu.com precise-updates/restricted amd64 Packages [10.1 kB]
Get:46 http://archive.ubuntu.com precise-updates/universe amd64 Packages [209 kB]
Get:47 http://archive.ubuntu.com precise-updates/multiverse amd64 Packages [13.6 kB]
Get:48 http://archive.ubuntu.com precise-updates/main i386 Packages [671 kB]
Get:49 http://archive.ubuntu.com precise-updates/restricted i386 Packages [10.0 kB]
Get:50 http://archive.ubuntu.com precise-updates/universe i386 Packages [213 kB]
Get:51 http://archive.ubuntu.com precise-updates/multiverse i386 Packages [13.8 kB]
Get:52 http://archive.ubuntu.com precise-updates/main TranslationIndex [3,564 B]
Get:53 http://archive.ubuntu.com precise-updates/multiverse TranslationIndex [2,605 B]
Get:54 http://archive.ubuntu.com precise-updates/restricted TranslationIndex [2,461 B]
Get:55 http://archive.ubuntu.com precise-updates/universe TranslationIndex [2,850 B]
Get:56 http://archive.ubuntu.com precise/main Translation-en [726 kB]
Get:57 http://archive.ubuntu.com precise/multiverse Translation-en [93.4 kB]
Get:58 http://archive.ubuntu.com precise/restricted Translation-en [2,395 B]
Get:59 http://archive.ubuntu.com precise/universe Translation-en [3,341 kB]
Get:60 http://archive.ubuntu.com precise-updates/main Translation-en [299 kB]
Get:61 http://archive.ubuntu.com precise-updates/multiverse Translation-en [7,834 B]
Get:62 http://archive.ubuntu.com precise-updates/restricted Translation-en [2,432 B]
Get:63 http://archive.ubuntu.com precise-updates/universe Translation-en [123 kB]
Fetched 20.0 MB in 2min 0s (165 kB/s)
W: Failed to fetch bzip2:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise-updates_main_binary-i386_Packages Hash Sum mismatch
W: Failed to fetch bzip2:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise-updates_universe_binary-i386_Packages Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
owner@ubuntu:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
libxml2 python-libxml2
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 860 kB of archives.
After this operation, 5,120 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://security.ubuntu.com/ubuntu/ precise-security/main libxml2 amd64 2.7.8.dfsg-5.1ubuntu4.6 [673 kB]
Get:2 http://security.ubuntu.com/ubuntu/ precise-security/main python-libxml2 amd64 2.7.8.dfsg-5.1ubuntu4.6 [187 kB]
Fetched 860 kB in 2s (333 kB/s)
(Reading database ... 331582 files and directories currently installed.)
Preparing to replace libxml2 2.7.8.dfsg-5.1ubuntu4.5 (using .../libxml2_2.7.8.dfsg-5.1ubuntu4.6_amd64.deb) ...
Unpacking replacement libxml2 ...
Preparing to replace python-libxml2 2.7.8.dfsg-5.1ubuntu4.5 (using .../python-libxml2_2.7.8.dfsg-5.1ubuntu4.6_amd64.deb) ...
Unpacking replacement python-libxml2 ...
Setting up samba4 (4.0.0~alpha18.dfsg1-4ubuntu2) ...
Unknown parameter encountered: "max log size"
Ignoring unknown parameter "max log size"
Unknown parameter encountered: "syslog"
Ignoring unknown parameter "syslog"
Unknown parameter encountered: "unix password sync"
Ignoring unknown parameter "unix password sync"
Unknown parameter encountered: "passwd program"
Ignoring unknown parameter "passwd program"
Unknown parameter encountered: "pam password change"
Ignoring unknown parameter "pam password change"
Unknown parameter encountered: "map to guest"
Ignoring unknown parameter "map to guest"
Unknown parameter encountered: "usershare allow guests"
Ignoring unknown parameter "usershare allow guests"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
Unknown parameter encountered: "max log size"
Ignoring unknown parameter "max log size"
Unknown parameter encountered: "syslog"
Ignoring unknown parameter "syslog"
Unknown parameter encountered: "unix password sync"
Ignoring unknown parameter "unix password sync"
Unknown parameter encountered: "passwd program"
Ignoring unknown parameter "passwd program"
Unknown parameter encountered: "pam password change"
Ignoring unknown parameter "pam password change"
Unknown parameter encountered: "map to guest"
Ignoring unknown parameter "map to guest"
Unknown parameter encountered: "usershare allow guests"
Ignoring unknown parameter "usershare allow guests"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
/var/lib/dpkg/info/samba4.postinst: 14: /var/lib/dpkg/info/samba4.postinst: /usr/share/samba/setoption.pl: Permission denied
dpkg: error processing samba4 (--configure):
subprocess installed post-installation script returned error exit status 126
Setting up libxml2 (2.7.8.dfsg-5.1ubuntu4.6) ...
Setting up python-libxml2 (2.7.8.dfsg-5.1ubuntu4.6) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
samba4
E: Sub-process /usr/bin/dpkg returned an error code (1)
owner@ubuntu:~$
Bookmarks