Announcement

Collapse
No announcement yet.

Apt Problem

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Apt Problem

    Hi to all,
    I've just ran a sudo apt-get dist-upgrade and got this error from console:

    steve@Mernivia:~$ sudo apt-get dist-upgrade
    Password:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Calculating upgrade... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    5 not fully installed or removed.
    Need to get 0B of archives.
    After unpacking 0B of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Setting up gforge-web-apache (4.5.14-22ubuntu1) ...
    /etc/apache/httpd.conf replacement already wanted, not changing.
    /etc/apache2/httpd.conf replacement already wanted, not changing.
    WARNING: No /etc/php4/cgi/php.ini to modify
    Calculating defaults
    Reading defaults from /etc/gforge/gforge.conf
    [: 104: ==: unexpected operator
    Creating /etc/gforge/gforge.conf
    [: 107: ==: unexpected operator
    [: 107: ==: unexpected operator
    [: 107: ==: unexpected operator
    Creating /etc/gforge/httpd.conf
    Creating /etc/gforge/httpd.secrets
    Creating /etc/gforge/local.inc
    Creating other includes
    Found /etc/apache/conf.d/gforge.httpd.conf
    Searching APACHE config file [OK]
    Searching GFORGE config file [OK]
    Using /etc/gforge/httpd.conf
    WARNING: /etc/apache/httpd.conf.gforge-new replacement not generated, this shouldn't happen
    WARNING: /etc/apache2/httpd.conf.gforge-new replacement not generated, this shouldn't happen
    Searching APACHE config file [OK]
    Searching GFORGE config file [OK]
    Using /etc/gforge/httpd.conf
    [: 258: ==: unexpected operator
    [: 258: ==: unexpected operator
    [: 258: ==: unexpected operator
    [: 258: ==: unexpected operator
    Removing symlink
    This module does not exist!
    dpkg: error processing gforge-web-apache (--configure):
    subprocess post-installation script returned error exit status 1
    Setting up gforge-lists-mailman (4.5.14-22ubuntu1) ...
    Calculating defaults
    Reading defaults from /etc/gforge/gforge.conf
    [: 104: ==: unexpected operator
    Creating /etc/gforge/gforge.conf
    [: 107: ==: unexpected operator
    [: 107: ==: unexpected operator
    [: 107: ==: unexpected operator
    Creating /etc/gforge/httpd.conf
    Creating /etc/gforge/httpd.secrets
    Creating /etc/gforge/local.inc
    Creating other includes
    Found /etc/apache/conf.d/gforge.httpd.conf
    Fixing past damage in mailing-lists...
    DBI connect('dbname=gforge;host=127.0.1.1','gforge',.. .) failed: could not connect to server: Connection refused
    Is the server running on host "127.0.1.1" and accepting
    TCP/IP connections on port 5432?
    at /usr/lib/gforge/lib/include.pl line 38
    Uncaught exception from user code:
    Cannot connect to database: at /usr/lib/gforge/lib/include.pl line 40.
    at /usr/lib/gforge/lib/include.pl line 40
    main::db_connect called at /usr/lib/gforge/bin/fix-mailing-lists.pl line 22
    dpkg: error processing gforge-lists-mailman (--configure):
    subprocess post-installation script returned error exit status 255
    dpkg: dependency problems prevent configuration of gforge:
    gforge depends on gforge-web-apache (= 4.5.14-22ubuntu1); however:
    Package gforge-web-apache is not configured yet.
    gforge depends on gforge-lists-mailman (= 4.5.14-22ubuntu1); however:
    Package gforge-lists-mailman is not configured yet.
    dpkg: error processing gforge (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of gforge-plugin-scmcvs:
    gforge-plugin-scmcvs depends on gforge-web-apache | gforge-web; however:
    Package gforge-web-apache is not configured yet.
    Package gforge-web is not installed.
    Package gforge-web-apache which provides gforge-web is not configured yet.
    dpkg: error processing gforge-plugin-scmcvs (--configure):
    dependency problems - leaving unconfigured
    Setting up bonsai (1.3+cvs20060111-2) ...
    DBI connect(';localhost;3306','root',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /var/lib/dpkg/info/bonsai.postinst line 34
    Can't connect as admin to the database at /var/lib/dpkg/info/bonsai.postinst line 34, <STDIN> line 9.
    dpkg: error processing bonsai (--configure):
    subprocess post-installation script returned error exit status 255
    Errors were encountered while processing:
    gforge-web-apache
    gforge-lists-mailman
    gforge
    gforge-plugin-scmcvs
    bonsai
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    steve@Mernivia:~$

    I have been getting this error recently when I try to install somthing,but when I run sudo apt-get update,I don't get any errors at all

    Regards,
    STEVE555

    #2
    Re: Apt Problem(seems to be solved)

    Hi to all,
    I think I might've solved the my problem,I had a look at my post and I removed Bonsai and apt seems to be running ok now.

    Regards,
    STEVE555

    Comment

    Working...
    X