Page 1 of 1

apt-get install problems

Posted: 01 Nov 2008, 06:09
by rewien
Hello all,
I notices that i'm unable to install on my bubba two using "apt-get install"
I thought there was something wrong with my bubbatwo settings so i reinstalled, but the problem presists.

This is what i get trying to install, gallery2 or phpbb2:

Gallery2

server:/home/rewien# apt-get install gallery2
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
gallery2: Depends: netpbm (>= 9.20) but it is not going to be installed or
imagemagick
Depends: wwwconfig-common but it is not going to be installed
php5-cgi: Depends: php5-common (= 5.2.0-8+etch11) but 5.2.0-8+etch13 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


phpbb2

server:/home/rewien# apt-get install phpbb2
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
php5-cgi: Depends: php5-common (= 5.2.0-8+etch11) but 5.2.0-8+etch13 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

I have the latest bubba two updates installed.
I hope some one cab help me

ps; the system is fresh installed.

Rewien

Posted: 01 Nov 2008, 07:24
by squadra
php5-cgi: Depends: php5-common (= 5.2.0-8+etch11) but 5.2.0-8+etch13 is to be installed


see topic claire, your bubba update itself is not finished correctly, untill now no solution in that topic is given.

got it to work

Posted: 01 Nov 2008, 09:29
by rewien
squadra wrote:php5-cgi: Depends: php5-common (= 5.2.0-8+etch11) but 5.2.0-8+etch13 is to be installed


see topic claire, your bubba update itself is not finished correctly, untill now no solution in that topic is given.
Hello Sguadra,

I think i fixed the problem, i'm able to install again using: "apt-get install"

This is what I did:

1. Downloaded the bubba image from excito
2. unzip and installed it on bubbatwo
3. after installation i rebooted bubba two,
4. Then I run update through the file manager waited about 5 min to update.
5. then rebooted bubbatwo after the update.


Afer that it worked!

But i'm having msql problems now, maybe you can help me?

This is what I did to create a data base for gallery2:

It used to work before but don't know why not anymore

1. mysql -u root;

2. mysql -u root create gallery2;

But i get the error:

server:/home/rewien# mysql -u root ;
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 21
Server version: 5.0.32-Debian_7etch6-log Debian etch distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>
mysql> mysql -u root create gallery2 ;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysql -u root create gallery2' at line 1


Any idea what i did wrong?

Thanks Rewien

Posted: 01 Nov 2008, 10:35
by carl
you shouldn't issues the "mysql -u root" inside the mysql prompt.

/Carl

Posted: 01 Nov 2008, 10:54
by rewien
carl wrote:you shouldn't issues the "mysql -u root" inside the mysql prompt.

/Carl
Hello Carl,

still have the same error:


server:/home/rewien# mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 10
Server version: 5.0.32-Debian_7etch6-log Debian etch distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> mysql -u root;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysql -u root' at line 1
mysql>


I also tried to configure phpbb2 with phpbb2-conf-mysql.
and it can't create a database.

Thanks for youre quick reply,
Rewien

Posted: 01 Nov 2008, 16:34
by John W
rewien wrote:
carl wrote:you shouldn't issues the "mysql -u root" inside the mysql prompt.

/Carl
Hello Carl,

still have the same error:


server:/home/rewien# mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 10
Server version: 5.0.32-Debian_7etch6-log Debian etch distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> mysql -u root;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysql -u root' at line 1
mysql>


I also tried to configure phpbb2 with phpbb2-conf-mysql.
and it can't create a database.

Thanks for youre quick reply,
Rewien
When you executed the line "mysql> mysql -u root;", you did it in the MySQL-cli.

You should have done it in bash.

Posted: 02 Nov 2008, 08:49
by rewien
When you executed the line "mysql> mysql -u root;", you did it in the MySQL-cli.

You should have done it in bash.
Hello John W,

Thanks, how dum of me.
you see I write everything down since i'm a linux newbee, so I can better understand how linux works.
But I wrote it wrong!

Thanks again,
Rewien