ubuntu12.04 upgrade issue: constant apt-get installation errors

ping songpingemail at gmail.com
Wed Sep 19 20:33:38 UTC 2012


correction the email subject, that's another issue that I'm reporting...

On 09/19/2012 04:31 PM, ping wrote:
> guys/folks/experts:
> this is my 1st post on ubuntu user group...
>
> I yesterday just upgraded to ubntu12.04 from 10.04, after 2 and half
> years usage as my only work platform.
> It seems I don't have to but, since I need to do it sooner or later
> anyway, plus I have need to install some packages that looks only easily
> available in the new LTS, I wanted to give it a trial...
>
> the way I upgrade my system is, ssh into it and simply just
> "do-release-upgrade".
>
> I did see a lot of errors during the long time upgrade procedures, but
> finally it end up not bad.
>
> here is one annoying issues I got , it actually appears for every
> package installations:
>
>
>
>
>
> ping at 640g-laptop:~$ sudo apt-get install xtermcontrol
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following packages were automatically installed and are no longer
> required:
>    aisleriot gnome-mag vinagre gnome-utils libgail-gnome-module
> gnome-orca pulseaudio-esound-compat at-spi install-package gdebi-kde
>    quadrapassel
> Use 'apt-get autoremove' to remove them.
> The following NEW packages will be installed:
>    xtermcontrol
> 0 upgraded, 1 newly installed, 0 to remove and 439 not upgraded.
> 2 not fully installed or removed.
> Need to get 34.5kB of archives.
> After this operation, 102kB of additional disk space will be used.
> Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/universe xtermcontrol
> 2.10-1 [34.5kB]
> Fetched 34.5kB in 0s (314kB/s)
> dpkg: warning: parsing file '/var/lib/dpkg/available' near line 27775
> package 'linuxqq:i386':
>   error in Version string 'v1.0.2-beta1': version number does not start
> with digit
> dpkg: warning: parsing file '/var/lib/dpkg/available' near line 34031
> package 'spoonwep-spoonwpa:i386':
>   error in Version string 'BT3': version number does not start with digit
> Selecting previously unselected package xtermcontrol.
> (Reading database ... 726861 files and directories currently installed.)
> Unpacking xtermcontrol (from .../xtermcontrol_2.10-1_amd64.deb) ...
> Processing triggers for man-db ...
> 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: line 14:
> /usr/share/samba/setoption.pl: Permission denied
> dpkg: error processing samba4 (--configure):
>   subprocess installed post-installation script returned error exit status 1
> Setting up zoneminder (1.25.0-1) ...
> Stopping ZoneMinder: DBD::mysql::st execute failed: Table 'zm.Logs'
> doesn't exist at /usr/share/perl5/ZoneMinder/Logger.pm line 609.
> Zoneminder already stopped
>
>
> Initiating database upgrade to version 1.25.0 from version 1.24.2
>
> Upgrading database to version 1.25.0
> Loading config from DB
> Saving config to DB
>
> Database successfully upgraded from version 1.24.2.
>
> Database successfully upgraded from version 1.24.3.
>
> Converting filters from PHP to JSON format
>    PurgeWhenFull - failed, please check or report. Query is
> '{"sort_field":"Id","terms":[{"val":0,"attr":"Archived","op":"="},{"cnj":"and","val":95,"attr":"DiskPercent","op":">="}],"limit":5,"sort_asc":1}'
> ERROR: Unknown type {. at /usr/bin/zmupdate.pl line 930
> Conversion complete
> ERROR 1142 (42000) at line 10: CREATE command denied to user
> 'zmuser'@'localhost' for table 'Logs'
> Output:
> Command 'mysql -hlocalhost -uzmuser -pzmpass zm <
> /usr/share/zoneminder/db/zm_update-1.24.4.sql' exited with status: 1
> dpkg: error processing zoneminder (--configure):
>   subprocess installed post-installation script returned error exit status 1
> Setting up xtermcontrol (2.10-1) ...
> Errors were encountered while processing:
>   samba4
>   zoneminder
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
>
> my question is , how to stop these things from popping up everytime?
> dpkg: warning: parsing file '/var/lib/dpkg/available' near line 27775
> package 'linuxqq:i386':
>   error in Version string 'v1.0.2-beta1': version number does not start
> with digit
> dpkg: warning: parsing file '/var/lib/dpkg/available' near line 34031
> package 'spoonwep-spoonwpa:i386':
>   error in Version string 'BT3': version number does not start with digit
>
>
> Errors were encountered while processing:
>   samba4
>   zoneminder
>
>
>




More information about the ubuntu-users mailing list