New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

apt-get install problems

Got problems with your B2 or B3? Share and get helped!
Post Reply
rewien
Posts: 127
Joined: 27 Sep 2008, 18:10

apt-get install problems

Post 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
squadra
Posts: 96
Joined: 19 Sep 2008, 09:02

Post 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.
rewien
Posts: 127
Joined: 27 Sep 2008, 18:10

got it to work

Post 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
carl
Posts: 474
Joined: 07 May 2008, 04:41

Post by carl »

you shouldn't issues the "mysql -u root" inside the mysql prompt.

/Carl
/Carl Fürstenberg, Excito Software Developer
http://www.excito.com
support@excito.com
rewien
Posts: 127
Joined: 27 Sep 2008, 18:10

Post 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
John W
Posts: 62
Joined: 17 Jan 2007, 11:47

Post 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.
rewien
Posts: 127
Joined: 27 Sep 2008, 18:10

Post 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
Post Reply