Code: Select all
apt-get upgrade
Code: Select all
apt-get dist-upgrade
This is the code I receive when I do
Code: Select all
apt-get upgrade
Code: Select all
Setting up biomaj (1.2.3-4) ...
Option dbhost requires an argument
You need to configure the database access before executing the upgrade
Execute the script manually once configuration is done
***************************************************************************************
Before running the migration, please check that database configuration is correctly set
and that the database schema and user are correctly created.
To upgrade the database, the script must be run with the following arguments:
For a first install, all arguments are mandatory, for an upgrade, only some parameters are required.
- First install: [ -dbuser DBUSER -dbpwd DBPASSWORD -dbhost DBHOST -db (mysql|hsql)]
- From v1.1 : [ -admin LOGIN -adminpwd PASSWORD -adminemail ADMINEMAIL]
To get the current version, execute: biomaj --version
Died at /var/lib/biomaj/migration/update.pl line 32.
dpkg: error processing package biomaj (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of biomaj-watcher:
biomaj-watcher depends on biomaj (>= 1.2.1); however:
Package biomaj is not configured yet.
dpkg: error processing package biomaj-watcher (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
biomaj
biomaj-watcher
E: Sub-process /usr/bin/dpkg returned an error code (1)
Code: Select all
apt-get install firmware-linux-nonfree
Code: Select all
Reading package lists... Done
Building dependency tree
Reading state information... Done
firmware-linux-nonfree is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up biomaj (1.2.3-4) ...
Option dbhost requires an argument
You need to configure the database access before executing the upgrade
Execute the script manually once configuration is done
***************************************************************************************
Before running the migration, please check that database configuration is correctly set
and that the database schema and user are correctly created.
To upgrade the database, the script must be run with the following arguments:
For a first install, all arguments are mandatory, for an upgrade, only some parameters are required.
- First install: [ -dbuser DBUSER -dbpwd DBPASSWORD -dbhost DBHOST -db (mysql|hsql)]
- From v1.1 : [ -admin LOGIN -adminpwd PASSWORD -adminemail ADMINEMAIL]
To get the current version, execute: biomaj --version
Died at /var/lib/biomaj/migration/update.pl line 32.
dpkg: error processing package biomaj (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of biomaj-watcher:
biomaj-watcher depends on biomaj (>= 1.2.1); however:
Package biomaj is not configured yet.
dpkg: error processing package biomaj-watcher (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
biomaj
biomaj-watcher
E: Sub-process /usr/bin/dpkg returned an error code (1)
Code: Select all
dist-upgrade
So, guys, should I just erase everything on the hard drive and reinstall? Thanks.[/quote]