Error 255 amongst other things
Posted: Sat Oct 31, 2009 4:15 pm
Am I missing something here?
Please talk slowly and in single syllables as I only entered the world of Linux 6 days ago, so I am a newbie in the extreme....
This is as far as I got with the damn installer:
brafferton@Cameras:~$ sudo aptitude update
[sudo] password for brafferton:
Writing extended state information... Done
Hit http://archive.canonical.com jaunty Release.gpg
Ign http://archive.canonical.com jaunty/partner Translation-en_GB
Hit http://archive.ubuntu.com karmic Release.gpg
Hit http://gb.archive.ubuntu.com jaunty-backports Release.gpg
Ign http://gb.archive.ubuntu.com jaunty-backports/main Translation-en_GB
Ign http://gb.archive.ubuntu.com jaunty-backports/restricted Translation-en_GB
Get:1 http://archive.ubuntu.com karmic/main Translation-en_GB [63.7kB]
Hit http://archive.canonical.com jaunty Release
Ign http://gb.archive.ubuntu.com jaunty-backports/universe Translation-en_GB
Ign http://gb.archive.ubuntu.com jaunty-backports/multiverse Translation-en_GB
Hit http://gb.archive.ubuntu.com jaunty-backports Release
Hit http://archive.canonical.com jaunty/partner Packages
Hit http://gb.archive.ubuntu.com jaunty-backports/main Packages
Get:2 http://archive.ubuntu.com karmic/restricted Translation-en_GB [3,402B]
Get:3 http://archive.ubuntu.com karmic/universe Translation-en_GB [33.2kB]
Hit http://gb.archive.ubuntu.com jaunty-backports/restricted Packages
Hit http://gb.archive.ubuntu.com jaunty-backports/universe Packages
Hit http://gb.archive.ubuntu.com jaunty-backports/multiverse Packages
Get:4 http://archive.ubuntu.com karmic/multiverse Translation-en_GB [43.8kB]
Hit http://archive.ubuntu.com karmic-updates Release.gpg
Ign http://archive.ubuntu.com karmic-updates/main Translation-en_GB
Ign http://archive.ubuntu.com karmic-updates/restricted Translation-en_GB
Ign http://archive.ubuntu.com karmic-updates/universe Translation-en_GB
Ign http://archive.ubuntu.com karmic-updates/multiverse Translation-en_GB
Hit http://archive.ubuntu.com karmic-security Release.gpg
Ign http://archive.ubuntu.com karmic-security/main Translation-en_GB
Ign http://archive.ubuntu.com karmic-security/restricted Translation-en_GB
Ign http://archive.ubuntu.com karmic-security/universe Translation-en_GB
Ign http://archive.ubuntu.com karmic-security/multiverse Translation-en_GB
Hit http://archive.ubuntu.com karmic Release
Hit http://archive.ubuntu.com karmic-updates Release
Hit http://archive.ubuntu.com karmic-security Release
Hit http://archive.ubuntu.com karmic/main Packages
Hit http://archive.ubuntu.com karmic/restricted Packages
Hit http://archive.ubuntu.com karmic/main Sources
Hit http://archive.ubuntu.com karmic/restricted Sources
Hit http://archive.ubuntu.com karmic/universe Packages
Hit http://archive.ubuntu.com karmic/universe Sources
Hit http://archive.ubuntu.com karmic/multiverse Packages
Hit http://archive.ubuntu.com karmic/multiverse Sources
Hit http://archive.ubuntu.com karmic-updates/main Packages
Hit http://archive.ubuntu.com karmic-updates/restricted Packages
Hit http://archive.ubuntu.com karmic-updates/main Sources
Hit http://archive.ubuntu.com karmic-updates/restricted Sources
Hit http://archive.ubuntu.com karmic-updates/universe Packages
Hit http://archive.ubuntu.com karmic-updates/universe Sources
Hit http://archive.ubuntu.com karmic-updates/multiverse Packages
Hit http://archive.ubuntu.com karmic-updates/multiverse Sources
Hit http://archive.ubuntu.com karmic-security/main Packages
Hit http://archive.ubuntu.com karmic-security/restricted Packages
Hit http://archive.ubuntu.com karmic-security/main Sources
Hit http://archive.ubuntu.com karmic-security/restricted Sources
Hit http://archive.ubuntu.com karmic-security/universe Packages
Hit http://archive.ubuntu.com karmic-security/universe Sources
Hit http://archive.ubuntu.com karmic-security/multiverse Packages
Hit http://archive.ubuntu.com karmic-security/multiverse Sources
Fetched 144kB in 0s (192kB/s)
Reading package lists... Done
brafferton@Cameras:~$ sudo aptitude safe-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done
The following packages will be REMOVED:
binutils-static{u}
The following partially installed packages will be configured:
zoneminder
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 1,425kB will be freed.
Do you want to continue? [Y/n/?] y
(Reading database ... 127591 files and directories currently installed.)
Removing binutils-static ...
Setting up zoneminder (1.24.2-1) ...
Update agent starting at 09/10/31 15:10:58
Initiating database upgrade to version 1.24.2
Please ensure that ZoneMinder is stopped on your system prior to upgrading the database.
Press enter to continue or ctrl-C to stop :
Do you wish to take a backup of your database prior to upgrading?
This may result in a large file in /tmp if you have a lot of events.
Press 'y' for a backup or 'n' to continue : n
Upgrading database to version 1.24.2
Loading config from DB
Saving config to DB
Can't find upgrade from version '1.24.2' at /usr/bin/zmupdate.pl line 889, <STDIN> line 2.
dpkg: error processing zoneminder (--configure):
subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
zoneminder
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up zoneminder (1.24.2-1) ...
Update agent starting at 09/10/31 15:11:09
Initiating database upgrade to version 1.24.2
Please ensure that ZoneMinder is stopped on your system prior to upgrading the database.
Press enter to continue or ctrl-C to stop :
Do you wish to take a backup of your database prior to upgrading?
This may result in a large file in /tmp if you have a lot of events.
Press 'y' for a backup or 'n' to continue : n
Upgrading database to version 1.24.2
Loading config from DB
Saving config to DB
Can't find upgrade from version '1.24.2' at /usr/bin/zmupdate.pl line 889, <STDIN> line 2.
dpkg: error processing zoneminder (--configure):
subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
zoneminder
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done
Writing extended state information... Done
brafferton@Cameras:~$ sudo aptitude install zoneminder
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done
The following partially installed packages will be configured:
zoneminder
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Setting up zoneminder (1.24.2-1) ...
Update agent starting at 09/10/31 15:11:50
Initiating database upgrade to version 1.24.2
Please ensure that ZoneMinder is stopped on your system prior to upgrading the database.
Press enter to continue or ctrl-C to stop :
Do you wish to take a backup of your database prior to upgrading?
This may result in a large file in /tmp if you have a lot of events.
Press 'y' for a backup or 'n' to continue : n
Upgrading database to version 1.24.2
Loading config from DB
Saving config to DB
Can't find upgrade from version '1.24.2' at /usr/bin/zmupdate.pl line 889, <STDIN> line 2.
dpkg: error processing zoneminder (--configure):
subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
zoneminder
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up zoneminder (1.24.2-1) ...
Update agent starting at 09/10/31 15:11:59
Initiating database upgrade to version 1.24.2
Please ensure that ZoneMinder is stopped on your system prior to upgrading the database.
Press enter to continue or ctrl-C to stop :
Do you wish to take a backup of your database prior to upgrading?
This may result in a large file in /tmp if you have a lot of events.
Press 'y' for a backup or 'n' to continue : n
Upgrading database to version 1.24.2
Loading config from DB
Saving config to DB
Can't find upgrade from version '1.24.2' at /usr/bin/zmupdate.pl line 889, <STDIN> line 2.
dpkg: error processing zoneminder (--configure):
subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
zoneminder
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done
Done.. I have been
Please help.
Please talk slowly and in single syllables as I only entered the world of Linux 6 days ago, so I am a newbie in the extreme....
This is as far as I got with the damn installer:
brafferton@Cameras:~$ sudo aptitude update
[sudo] password for brafferton:
Writing extended state information... Done
Hit http://archive.canonical.com jaunty Release.gpg
Ign http://archive.canonical.com jaunty/partner Translation-en_GB
Hit http://archive.ubuntu.com karmic Release.gpg
Hit http://gb.archive.ubuntu.com jaunty-backports Release.gpg
Ign http://gb.archive.ubuntu.com jaunty-backports/main Translation-en_GB
Ign http://gb.archive.ubuntu.com jaunty-backports/restricted Translation-en_GB
Get:1 http://archive.ubuntu.com karmic/main Translation-en_GB [63.7kB]
Hit http://archive.canonical.com jaunty Release
Ign http://gb.archive.ubuntu.com jaunty-backports/universe Translation-en_GB
Ign http://gb.archive.ubuntu.com jaunty-backports/multiverse Translation-en_GB
Hit http://gb.archive.ubuntu.com jaunty-backports Release
Hit http://archive.canonical.com jaunty/partner Packages
Hit http://gb.archive.ubuntu.com jaunty-backports/main Packages
Get:2 http://archive.ubuntu.com karmic/restricted Translation-en_GB [3,402B]
Get:3 http://archive.ubuntu.com karmic/universe Translation-en_GB [33.2kB]
Hit http://gb.archive.ubuntu.com jaunty-backports/restricted Packages
Hit http://gb.archive.ubuntu.com jaunty-backports/universe Packages
Hit http://gb.archive.ubuntu.com jaunty-backports/multiverse Packages
Get:4 http://archive.ubuntu.com karmic/multiverse Translation-en_GB [43.8kB]
Hit http://archive.ubuntu.com karmic-updates Release.gpg
Ign http://archive.ubuntu.com karmic-updates/main Translation-en_GB
Ign http://archive.ubuntu.com karmic-updates/restricted Translation-en_GB
Ign http://archive.ubuntu.com karmic-updates/universe Translation-en_GB
Ign http://archive.ubuntu.com karmic-updates/multiverse Translation-en_GB
Hit http://archive.ubuntu.com karmic-security Release.gpg
Ign http://archive.ubuntu.com karmic-security/main Translation-en_GB
Ign http://archive.ubuntu.com karmic-security/restricted Translation-en_GB
Ign http://archive.ubuntu.com karmic-security/universe Translation-en_GB
Ign http://archive.ubuntu.com karmic-security/multiverse Translation-en_GB
Hit http://archive.ubuntu.com karmic Release
Hit http://archive.ubuntu.com karmic-updates Release
Hit http://archive.ubuntu.com karmic-security Release
Hit http://archive.ubuntu.com karmic/main Packages
Hit http://archive.ubuntu.com karmic/restricted Packages
Hit http://archive.ubuntu.com karmic/main Sources
Hit http://archive.ubuntu.com karmic/restricted Sources
Hit http://archive.ubuntu.com karmic/universe Packages
Hit http://archive.ubuntu.com karmic/universe Sources
Hit http://archive.ubuntu.com karmic/multiverse Packages
Hit http://archive.ubuntu.com karmic/multiverse Sources
Hit http://archive.ubuntu.com karmic-updates/main Packages
Hit http://archive.ubuntu.com karmic-updates/restricted Packages
Hit http://archive.ubuntu.com karmic-updates/main Sources
Hit http://archive.ubuntu.com karmic-updates/restricted Sources
Hit http://archive.ubuntu.com karmic-updates/universe Packages
Hit http://archive.ubuntu.com karmic-updates/universe Sources
Hit http://archive.ubuntu.com karmic-updates/multiverse Packages
Hit http://archive.ubuntu.com karmic-updates/multiverse Sources
Hit http://archive.ubuntu.com karmic-security/main Packages
Hit http://archive.ubuntu.com karmic-security/restricted Packages
Hit http://archive.ubuntu.com karmic-security/main Sources
Hit http://archive.ubuntu.com karmic-security/restricted Sources
Hit http://archive.ubuntu.com karmic-security/universe Packages
Hit http://archive.ubuntu.com karmic-security/universe Sources
Hit http://archive.ubuntu.com karmic-security/multiverse Packages
Hit http://archive.ubuntu.com karmic-security/multiverse Sources
Fetched 144kB in 0s (192kB/s)
Reading package lists... Done
brafferton@Cameras:~$ sudo aptitude safe-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done
The following packages will be REMOVED:
binutils-static{u}
The following partially installed packages will be configured:
zoneminder
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 1,425kB will be freed.
Do you want to continue? [Y/n/?] y
(Reading database ... 127591 files and directories currently installed.)
Removing binutils-static ...
Setting up zoneminder (1.24.2-1) ...
Update agent starting at 09/10/31 15:10:58
Initiating database upgrade to version 1.24.2
Please ensure that ZoneMinder is stopped on your system prior to upgrading the database.
Press enter to continue or ctrl-C to stop :
Do you wish to take a backup of your database prior to upgrading?
This may result in a large file in /tmp if you have a lot of events.
Press 'y' for a backup or 'n' to continue : n
Upgrading database to version 1.24.2
Loading config from DB
Saving config to DB
Can't find upgrade from version '1.24.2' at /usr/bin/zmupdate.pl line 889, <STDIN> line 2.
dpkg: error processing zoneminder (--configure):
subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
zoneminder
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up zoneminder (1.24.2-1) ...
Update agent starting at 09/10/31 15:11:09
Initiating database upgrade to version 1.24.2
Please ensure that ZoneMinder is stopped on your system prior to upgrading the database.
Press enter to continue or ctrl-C to stop :
Do you wish to take a backup of your database prior to upgrading?
This may result in a large file in /tmp if you have a lot of events.
Press 'y' for a backup or 'n' to continue : n
Upgrading database to version 1.24.2
Loading config from DB
Saving config to DB
Can't find upgrade from version '1.24.2' at /usr/bin/zmupdate.pl line 889, <STDIN> line 2.
dpkg: error processing zoneminder (--configure):
subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
zoneminder
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done
Writing extended state information... Done
brafferton@Cameras:~$ sudo aptitude install zoneminder
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done
The following partially installed packages will be configured:
zoneminder
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Setting up zoneminder (1.24.2-1) ...
Update agent starting at 09/10/31 15:11:50
Initiating database upgrade to version 1.24.2
Please ensure that ZoneMinder is stopped on your system prior to upgrading the database.
Press enter to continue or ctrl-C to stop :
Do you wish to take a backup of your database prior to upgrading?
This may result in a large file in /tmp if you have a lot of events.
Press 'y' for a backup or 'n' to continue : n
Upgrading database to version 1.24.2
Loading config from DB
Saving config to DB
Can't find upgrade from version '1.24.2' at /usr/bin/zmupdate.pl line 889, <STDIN> line 2.
dpkg: error processing zoneminder (--configure):
subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
zoneminder
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up zoneminder (1.24.2-1) ...
Update agent starting at 09/10/31 15:11:59
Initiating database upgrade to version 1.24.2
Please ensure that ZoneMinder is stopped on your system prior to upgrading the database.
Press enter to continue or ctrl-C to stop :
Do you wish to take a backup of your database prior to upgrading?
This may result in a large file in /tmp if you have a lot of events.
Press 'y' for a backup or 'n' to continue : n
Upgrading database to version 1.24.2
Loading config from DB
Saving config to DB
Can't find upgrade from version '1.24.2' at /usr/bin/zmupdate.pl line 889, <STDIN> line 2.
dpkg: error processing zoneminder (--configure):
subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
zoneminder
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done
Done.. I have been
Please help.