He vuelto a intentar instalar el FOSUser, y ahora al hacer el php app/console cache:clear me da error!!El error es el siguiente:
   
Código PHP:
Ver original- The autoloader expected  class "Acme\DemoBundle\Entity\User"-  to be  defined-  in  file "/var/www/project2/app/../src/Acme/DemoBundle/Entity/User.php".-  The  file-  was found but the  class-  was not in it ,-  the  class-  name or  namespace-  probably has a typo .
El codigo de la clase en cuestion es el siguiente:   
Código PHP:
Ver original- <?php 
- // src/Acme/UserBundle/Entity/User.php 
-   
- namespace Acme\UserBundle\Entity; 
-   
- use FOS\UserBundle\Entity\User as BaseUser; 
- use Doctrine\ORM\Mapping as ORM; 
-   
- /** 
-  * @ORM\Entity 
-  * @ORM\Table(name="fos_user") 
-  */ 
- class User extends BaseUser 
- { 
-     /** 
-      * @ORM\Id 
-      * @ORM\Column(type="integer") 
-      * @ORM\GeneratedValue(strategy="AUTO") 
-      */ 
-     protected $id; 
-   
-     public function __construct() 
-     { 
-         parent::__construct(); 
-         // your own logic 
-     } 
- }