Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: yet more update manager failures

  1. #1
    Join Date
    Jul 2013
    Beans
    12

    yet more update manager failures

    Well, I thought that the problems I experienced previously with update manager were resolved, but apparently not. Here is relevant output from the update manager:

    E:Unable to synchronize mmap - msync (5: Input/output error), E:The package lists or status file could not be parsed or opened.





    Preparing to replace libapt-pkg4.12 0.8.16~exp12ubuntu10.10 (using .../libapt-pkg4.12_0.8.16~exp12ubuntu10.11_amd64.deb) ...
    Unpacking replacement libapt-pkg4.12 ...
    Setting up libapt-pkg4.12 (0.8.16~exp12ubuntu10.11) ...
    Processing triggers for libc-bin ...
    ldconfig deferred processing now taking place
    (Reading database ...


    (Reading database ... 331582 files and directories currently installed.)
    Preparing to replace apt 0.8.16~exp12ubuntu10.10 (using .../apt_0.8.16~exp12ubuntu10.11_amd64.deb) ...
    Unpacking replacement apt ...
    Processing triggers for man-db ...
    debconf: DbDriver "templatedb": could not sync /var/cache/debconf/templates.dat-new: Input/output error
    dpkg: error processing man-db (--unpack):
    subprocess installed post-installation script returned error exit status 1
    No apport report written because MaxReports is reached already
    Errors were encountered while processing:
    man-db
    Error in function:
    SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
    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
    debconf: DbDriver "templatedb": could not sync /var/cache/debconf/templates.dat-new: Input/output error
    dpkg: error processing samba4 (--configure):
    subprocess installed post-installation script returned error exit status 1
    Setting up man-db (2.6.1-2ubuntu1) ...
    Updating database of manual pages ...
    debconf: DbDriver "templatedb": could not sync /var/cache/debconf/templates.dat-new: Input/output error
    dpkg: error processing man-db (--configure):
    subprocess installed post-installation script returned error exit status 1
    Setting up apt (0.8.16~exp12ubuntu10.11) ...
    gpg: key 437D05B5: "Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>" not changed
    gpg: key FBB75451: "Ubuntu CD Image Automatic Signing Key <cdimage@ubuntu.com>" not changed
    gpg: key C0B21F32: "Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>" not changed
    gpg: key EFE21092: "Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu.com>" not changed
    gpg: Total number processed: 4
    gpg: unchanged: 4

    I don't understand the problem, much less how to solve it. Any help would be appreciated.
    Last edited by bamh1d; July 19th, 2013 at 01:51 AM.

  2. #2
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    5,003

    Re: yet more update manager failures

    Run the commands in post #5 and then do a terminal update.
    http://ubuntuforums.org/showthread.p...1#post12641770

    Code:
    sudo apt-get update
    And please post the errors using code tags please

    Code:
    Preparing to replace libapt-pkg4.12 0.8.16~exp12ubuntu10.10 (using .../libapt-pkg4.12_0.8.16~exp12ubuntu10.11_amd64.deb) ...
    Unpacking replacement libapt-pkg4.12 ...
    Setting up libapt-pkg4.12 (0.8.16~exp12ubuntu10.11) ...
    Processing triggers for libc-bin ...
    ldconfig deferred processing now taking place
    (Reading database ... 
    
    
    (Reading database ... 331582 files and directories currently installed.)
    Preparing to replace apt 0.8.16~exp12ubuntu10.10 (using .../apt_0.8.16~exp12ubuntu10.11_amd64.deb) ...
    Unpacking replacement apt ...
    Processing triggers for man-db ...
    debconf: DbDriver "templatedb": could not sync /var/cache/debconf/templates.dat-new: Input/output error
    dpkg: error processing man-db (--unpack):
     subprocess installed post-installation script returned error exit status 1
    No apport report written because MaxReports is reached already
    Errors were encountered while processing:
     man-db
    Error in function: 
    SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
    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
    debconf: DbDriver "templatedb": could not sync /var/cache/debconf/templates.dat-new: Input/output error
    dpkg: error processing samba4 (--configure):
     subprocess installed post-installation script returned error exit status 1
    Setting up man-db (2.6.1-2ubuntu1) ...
    Updating database of manual pages ...
    debconf: DbDriver "templatedb": could not sync /var/cache/debconf/templates.dat-new: Input/output error
    dpkg: error processing man-db (--configure):
     subprocess installed post-installation script returned error exit status 1
    Setting up apt (0.8.16~exp12ubuntu10.11) ...
    gpg: key 437D05B5: "Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>" not changed
    gpg: key FBB75451: "Ubuntu CD Image Automatic Signing Key <cdimage@ubuntu.com>" not changed
    gpg: key C0B21F32: "Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>" not changed
    gpg: key EFE21092: "Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu.com>" not changed
    gpg: Total number processed: 4
    gpg:              unchanged: 4
    code tags.png

  3. #3
    Join Date
    Jul 2013
    Beans
    12

    Re: yet more update manager failures

    I have run the commands from #5 and include the output from Terminal.
    Am I correct in thinking that the terminal update (your last instruction) is performed by the sudo apt-get update command?

    Code:
    owner@ubuntu:~$ sudo rm -r /var/lib/apt/lists/* 
    [sudo] password for owner: 
    owner@ubuntu:~$ sudo mkdir /var/lib/apt/lists/partial 
    owner@ubuntu:~$ sudo apt-get update
    Get:1 http://archive.ubuntu.com precise Release.gpg [198 B]
    Get:2 http://archive.ubuntu.com precise-updates Release.gpg [198 B]            
    Get:3 http://security.ubuntu.com precise-security Release.gpg [198 B]          
    Get:4 http://archive.canonical.com precise Release.gpg [198 B]                 
    Get:5 http://archive.ubuntu.com precise Release [49.6 kB]            
    Get:6 http://security.ubuntu.com precise-security Release [49.6 kB]            
    Get:7 http://ppa.launchpad.net precise Release.gpg [316 B]                     
    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.canonical.com precise/partner amd64 Packages [7,883 B]   
    Get:11 http://archive.ubuntu.com precise-updates Release [49.6 kB]             
    Get:12 http://security.ubuntu.com precise-security/main amd64 Packages [296 kB]
    Get:13 http://archive.canonical.com precise/partner i386 Packages [8,941 B]    
    Ign http://archive.canonical.com precise/partner TranslationIndex              
    Get:14 http://ppa.launchpad.net precise/main Sources [1,150 B]                 
    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://archive.canonical.com precise/partner Translation-en                
    Ign http://ppa.launchpad.net precise/main Translation-en_US                    
    Ign http://ppa.launchpad.net precise/main 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]
    Get:29 http://security.ubuntu.com precise-security/main Translation-en [144 kB]
    Get:30 http://archive.ubuntu.com precise/restricted amd64 Packages [8,452 B]   
    Get:31 http://archive.ubuntu.com precise/universe amd64 Packages [4,786 kB]    
    Get:32 http://security.ubuntu.com precise-security/multiverse Translation-en [995 B]
    Get:33 http://security.ubuntu.com precise-security/restricted Translation-en [1,253 B]
    Get:34 http://security.ubuntu.com precise-security/universe Translation-en [49.6 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 1min 40s (199 kB/s)                                         
    Reading package lists... Done
    owner@ubuntu:~$

  4. #4
    Join Date
    Jun 2008
    Location
    Vancouver Canada
    Beans
    3,137
    Distro
    Xubuntu 13.10 Saucy Salamander

    Re: yet more update manager failures

    Hi bamh1d.

    A slight variation of ibjsb4's post may be better.

    sudo rm -rf /var/lib/apt/lists/*
    sudo apt-get update
    sudo apt-get upgrade
    Last edited by hansdown; July 18th, 2013 at 03:00 AM.
    I learn something ubuntu everyday.
    dell precision T7500 1Tb hdd x 2
    2.67 Ghz intel xeon X5550 cpu
    nvidia quadro fx 4800-1.5 Gb video card

  5. #5
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    5,003

    Re: yet more update manager failures

    Hay hansdown

    Hopefully the upgrade will work, but I been looking at samba4.

    http://www.googlubuntu.com/results/?...ch&cof=FORID:9

  6. #6
    Join Date
    Jun 2008
    Location
    Vancouver Canada
    Beans
    3,137
    Distro
    Xubuntu 13.10 Saucy Salamander

    Smile Re: yet more update manager failures

    Quote Originally Posted by ibjsb4 View Post
    Hay hansdown

    Hopefully the upgrade will work, but I been looking at samba4.

    http://www.googlubuntu.com/results/?...ch&cof=FORID:9
    Good point.

    Not trying to 'dis 'ya.

    My emoticoms don't seem to work?
    Last edited by hansdown; July 18th, 2013 at 03:36 AM.
    I learn something ubuntu everyday.
    dell precision T7500 1Tb hdd x 2
    2.67 Ghz intel xeon X5550 cpu
    nvidia quadro fx 4800-1.5 Gb video card

  7. #7
    Join Date
    Jul 2013
    Beans
    12

    Re: yet more update manager failures

    so...the problem may be the Samba4 installation? Should I remove it to see if doing so solves the problem with update manager?
    If so, what are the precise steps I should take?

  8. #8
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    5,003

    Re: yet more update manager failures

    Did the upgrade work (post #4 - sudo apt-get upgrade)?

    Not sure what your skill level is, so in case you need an explanation of apt-get commands:

    https://help.ubuntu.com/community/Ap...nance_commands

    Apt-get is a text only (no GUI) package manager.

    And 'hansdown', please jump in as I do not use samba and appreciate all input.

  9. #9
    Join Date
    Jul 2013
    Beans
    12

    Re: yet more update manager failures

    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:~$

  10. #10
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    5,003

    Re: yet more update manager failures

    This is what Im looking at

    samba4.png

    I think you should remove it and if you want, replace it with samba.

    In terminal:

    Code:
    sudo apt-get remove --purge samba4

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •