dpkg: error processing gforge-plugin-mediawiki (--configure):

Asked by John Wilson

dpkg: error processing gforge-plugin-mediawiki (--configure):
Since upgrading to 10.04 LTS I have been getting error messages about mediawiki
Now it appears I am having problems upgrading programmes
Any suggestions?
John

Question information

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Can you give the output of:

sudo apt-get update; sudo apt-get upgrade; sudo apt-get dist-upgrade; sudo apt-get --reinstall install nano

Thanks

Revision history for this message
John Wilson (jwilsondmartin) said :
#2

Thank you for your reply
Here is the output:
john@john-laptop:~$ sudo apt-get update
Hit http://ca.archive.ubuntu.com lucid Release.gpg
Hit http://ca.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_CA
Hit http://ca.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-en_CA
Hit http://ca.archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_CA
Ign http://ca.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-en_CA
Hit http://ca.archive.ubuntu.com lucid-updates Release.gpg
Ign http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-en_CA
Ign http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-en_CA
Ign http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-en_CA
Ign http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-en_CA
Hit http://ca.archive.ubuntu.com lucid-security Release.gpg
Ign http://ca.archive.ubuntu.com/ubuntu/ lucid-security/main Translation-en_CA
Ign http://ca.archive.ubuntu.com/ubuntu/ lucid-security/restricted Translation-en_CA
Ign http://ca.archive.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_CA
Ign http://ca.archive.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-en_CA
Hit http://ca.archive.ubuntu.com lucid Release
Hit http://ca.archive.ubuntu.com lucid-updates Release
Hit http://ca.archive.ubuntu.com lucid-security Release
Hit http://ca.archive.ubuntu.com lucid/main Packages
Hit http://ca.archive.ubuntu.com lucid/restricted Packages
Hit http://ca.archive.ubuntu.com lucid/main Sources
Hit http://ca.archive.ubuntu.com lucid/restricted Sources
Hit http://ca.archive.ubuntu.com lucid/universe Packages
Hit http://ca.archive.ubuntu.com lucid/universe Sources
Hit http://ca.archive.ubuntu.com lucid/multiverse Packages
Hit http://ca.archive.ubuntu.com lucid/multiverse Sources
Hit http://ca.archive.ubuntu.com lucid-updates/main Packages
Hit http://ca.archive.ubuntu.com lucid-updates/restricted Packages
Hit http://ca.archive.ubuntu.com lucid-updates/universe Packages
Hit http://ca.archive.ubuntu.com lucid-updates/multiverse Packages
Hit http://ca.archive.ubuntu.com lucid-updates/main Sources
Hit http://ca.archive.ubuntu.com lucid-updates/restricted Sources
Hit http://ca.archive.ubuntu.com lucid-security/main Packages
Hit http://ca.archive.ubuntu.com lucid-security/restricted Packages
Hit http://ca.archive.ubuntu.com lucid-security/main Sources
Hit http://ca.archive.ubuntu.com lucid-security/restricted Sources
Hit http://ca.archive.ubuntu.com lucid-security/universe Packages
Hit http://ca.archive.ubuntu.com lucid-security/universe Sources
Hit http://ca.archive.ubuntu.com lucid-security/multiverse Packages
Hit http://ca.archive.ubuntu.com lucid-security/multiverse Sources
Reading package lists... Done

john@john-laptop:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  grass grass-dev libgdal1-dev
The following packages will be upgraded:
  at-spi dpkg dselect empathy empathy-common evince evince-dbg ghostscript
  ghostscript-cups ghostscript-x gnome-orca gnome-panel gnome-panel-data
  gnome-panel-dbg gs-common gs-esp gs-esp-x gwibber gwibber-service
  libatspi-dbg libatspi1.0-0 libevdocument2 libevview2 libgs8
  libnautilus-extension1 libpanel-applet2-0 libservlet2.5-java nautilus
  nautilus-data nautilus-dbg nautilus-sendto-empathy python-pyatspi
32 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
Need to get 18.4MB of archives.
After this operation, 49.2kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main dpkg 1.15.5.6ubuntu4.1 [2,191kB]
Get:2 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main python-pyatspi 1.30.1-0ubuntu1 [47.2kB]
Get:3 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main libatspi-dbg 1.30.1-0ubuntu1 [435kB]
Get:4 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main libatspi1.0-0 1.30.1-0ubuntu1 [147kB]
Get:5 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main at-spi 1.30.1-0ubuntu1 [106kB]
Get:6 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main dselect 1.15.5.6ubuntu4.1 [402kB]
Get:7 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main nautilus-sendto-empathy 2.30.2-0ubuntu1 [284kB]
Get:8 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main empathy 2.30.2-0ubuntu1 [608kB]
Get:9 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main empathy-common 2.30.2-0ubuntu1 [718kB]
Get:10 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main evince-dbg 2.30.3-0ubuntu1.1 [1,168kB]
Get:11 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main libevdocument2 2.30.3-0ubuntu1.1 [85.5kB]
Get:12 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main libevview2 2.30.3-0ubuntu1.1 [94.1kB]
Get:13 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main evince 2.30.3-0ubuntu1.1 [460kB]
Get:14 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main ghostscript 8.71.dfsg.1-0ubuntu5.2 [785kB]
Get:15 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main libgs8 8.71.dfsg.1-0ubuntu5.2 [2,370kB]
Get:16 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main ghostscript-cups 8.71.dfsg.1-0ubuntu5.2 [51.7kB]
Get:17 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main ghostscript-x 8.71.dfsg.1-0ubuntu5.2 [69.3kB]
Get:18 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main gnome-orca 2.30.2-0ubuntu1 [636kB]
Get:19 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main gnome-panel-dbg 1:2.30.2-0ubuntu0.2 [1,220kB]
Get:20 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main libpanel-applet2-0 1:2.30.2-0ubuntu0.2 [108kB]
Get:21 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main gnome-panel-data 1:2.30.2-0ubuntu0.2 [461kB]
Get:22 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main gnome-panel 1:2.30.2-0ubuntu0.2 [410kB]
Get:23 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main gwibber 2.30.1-0ubuntu1 [321kB]
Get:24 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main gwibber-service 2.30.1-0ubuntu1 [60.5kB]
Get:25 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main libnautilus-extension1 1:2.30.1-0ubuntu1.1 [62.1kB]
Get:26 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main libservlet2.5-java 6.0.24-2ubuntu1.2 [190kB]
Get:27 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main nautilus-dbg 1:2.30.1-0ubuntu1.1 [3,170kB]
Get:28 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main nautilus-data 1:2.30.1-0ubuntu1.1 [513kB]
Get:29 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main nautilus 1:2.30.1-0ubuntu1.1 [1,156kB]
Get:30 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main gs-common 8.71.dfsg.1-0ubuntu5.2 [37.0kB]
Get:31 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/universe gs-esp 8.71.dfsg.1-0ubuntu5.2 [36.9kB]
Get:32 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/universe gs-esp-x 8.71.dfsg.1-0ubuntu5.2 [36.5kB]
Fetched 18.4MB in 2min 7s (145kB/s)
Extracting templates from packages: 100%
(Reading database ... 380565 files and directories currently installed.)
Preparing to replace dpkg 1.15.5.6ubuntu4 (using .../dpkg_1.15.5.6ubuntu4.1_i386.deb) ...
Unpacking replacement dpkg ...
Processing triggers for man-db ...
Setting up dpkg (1.15.5.6ubuntu4.1) ...

(Reading database ... 380565 files and directories currently installed.)
Preparing to replace python-pyatspi 1.30.0-0ubuntu2 (using .../python-pyatspi_1.30.1-0ubuntu1_all.deb) ...
Unpacking replacement python-pyatspi ...
Preparing to replace libatspi-dbg 1.30.0-0ubuntu2 (using .../libatspi-dbg_1.30.1-0ubuntu1_i386.deb) ...
Unpacking replacement libatspi-dbg ...
Preparing to replace libatspi1.0-0 1.30.0-0ubuntu2 (using .../libatspi1.0-0_1.30.1-0ubuntu1_i386.deb) ...
Unpacking replacement libatspi1.0-0 ...
Preparing to replace at-spi 1.30.0-0ubuntu2 (using .../at-spi_1.30.1-0ubuntu1_i386.deb) ...
Unpacking replacement at-spi ...
Preparing to replace dselect 1.15.5.6ubuntu4 (using .../dselect_1.15.5.6ubuntu4.1_i386.deb) ...
Unpacking replacement dselect ...
Preparing to replace nautilus-sendto-empathy 2.30.1.1-0ubuntu1 (using .../nautilus-sendto-empathy_2.30.2-0ubuntu1_i386.deb) ...
Unpacking replacement nautilus-sendto-empathy ...
Preparing to replace empathy 2.30.1.1-0ubuntu1 (using .../empathy_2.30.2-0ubuntu1_i386.deb) ...
Unpacking replacement empathy ...
Preparing to replace empathy-common 2.30.1.1-0ubuntu1 (using .../empathy-common_2.30.2-0ubuntu1_all.deb) ...
Unpacking replacement empathy-common ...
Preparing to replace evince-dbg 2.30.3-0ubuntu1 (using .../evince-dbg_2.30.3-0ubuntu1.1_i386.deb) ...
Unpacking replacement evince-dbg ...
Preparing to replace libevdocument2 2.30.3-0ubuntu1 (using .../libevdocument2_2.30.3-0ubuntu1.1_i386.deb) ...
Unpacking replacement libevdocument2 ...
Preparing to replace libevview2 2.30.3-0ubuntu1 (using .../libevview2_2.30.3-0ubuntu1.1_i386.deb) ...
Unpacking replacement libevview2 ...
Preparing to replace evince 2.30.3-0ubuntu1 (using .../evince_2.30.3-0ubuntu1.1_i386.deb) ...
Unpacking replacement evince ...
Preparing to replace ghostscript 8.71.dfsg.1-0ubuntu5.1 (using .../ghostscript_8.71.dfsg.1-0ubuntu5.2_i386.deb) ...
Cleaning up font configuration of gs...
Cleaning up category psprint..
Cleaning up category cmap..
Cleaning up category cid..
Cleaning up category truetype..
Cleaning up category gsfontderivative..
Cleaning up category type3..
Cleaning up category type1..
Unpacking replacement ghostscript ...
Preparing to replace libgs8 8.71.dfsg.1-0ubuntu5.1 (using .../libgs8_8.71.dfsg.1-0ubuntu5.2_i386.deb) ...
Unpacking replacement libgs8 ...
Preparing to replace ghostscript-cups 8.71.dfsg.1-0ubuntu5.1 (using .../ghostscript-cups_8.71.dfsg.1-0ubuntu5.2_i386.deb) ...
Unpacking replacement ghostscript-cups ...
Preparing to replace ghostscript-x 8.71.dfsg.1-0ubuntu5.1 (using .../ghostscript-x_8.71.dfsg.1-0ubuntu5.2_i386.deb) ...
Unpacking replacement ghostscript-x ...
Preparing to replace gnome-orca 2.30.0-0ubuntu3 (using .../gnome-orca_2.30.2-0ubuntu1_all.deb) ...
Unpacking replacement gnome-orca ...
Preparing to replace gnome-panel-dbg 1:2.30.2-0ubuntu0.1 (using .../gnome-panel-dbg_1%3a2.30.2-0ubuntu0.2_i386.deb) ...
Unpacking replacement gnome-panel-dbg ...
Preparing to replace libpanel-applet2-0 1:2.30.2-0ubuntu0.1 (using .../libpanel-applet2-0_1%3a2.30.2-0ubuntu0.2_i386.deb) ...
Unpacking replacement libpanel-applet2-0 ...
Preparing to replace gnome-panel-data 1:2.30.2-0ubuntu0.1 (using .../gnome-panel-data_1%3a2.30.2-0ubuntu0.2_all.deb) ...
Unpacking replacement gnome-panel-data ...
Preparing to replace gnome-panel 1:2.30.2-0ubuntu0.1 (using .../gnome-panel_1%3a2.30.2-0ubuntu0.2_i386.deb) ...
Unpacking replacement gnome-panel ...
Preparing to replace gwibber 2.30.0.1-0ubuntu3 (using .../gwibber_2.30.1-0ubuntu1_all.deb) ...
Unpacking replacement gwibber ...
Preparing to replace gwibber-service 2.30.0.1-0ubuntu3 (using .../gwibber-service_2.30.1-0ubuntu1_all.deb) ...
Unpacking replacement gwibber-service ...
Preparing to replace libnautilus-extension1 1:2.30.1-0ubuntu1 (using .../libnautilus-extension1_1%3a2.30.1-0ubuntu1.1_i386.deb) ...
Unpacking replacement libnautilus-extension1 ...
Preparing to replace libservlet2.5-java 6.0.24-2ubuntu1.1 (using .../libservlet2.5-java_6.0.24-2ubuntu1.2_all.deb) ...
Unpacking replacement libservlet2.5-java ...
Preparing to replace nautilus-dbg 1:2.30.1-0ubuntu1 (using .../nautilus-dbg_1%3a2.30.1-0ubuntu1.1_i386.deb) ...
Unpacking replacement nautilus-dbg ...
Preparing to replace nautilus-data 1:2.30.1-0ubuntu1 (using .../nautilus-data_1%3a2.30.1-0ubuntu1.1_all.deb) ...
Unpacking replacement nautilus-data ...
Preparing to replace nautilus 1:2.30.1-0ubuntu1 (using .../nautilus_1%3a2.30.1-0ubuntu1.1_i386.deb) ...
Unpacking replacement nautilus ...
Preparing to replace gs-common 8.71.dfsg.1-0ubuntu5.1 (using .../gs-common_8.71.dfsg.1-0ubuntu5.2_all.deb) ...
Unpacking replacement gs-common ...
Preparing to replace gs-esp 8.71.dfsg.1-0ubuntu5.1 (using .../gs-esp_8.71.dfsg.1-0ubuntu5.2_all.deb) ...
Unpacking replacement gs-esp ...
Preparing to replace gs-esp-x 8.71.dfsg.1-0ubuntu5.1 (using .../gs-esp-x_8.71.dfsg.1-0ubuntu5.2_all.deb) ...
Unpacking replacement gs-esp-x ...
Processing triggers for man-db ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_CA.utf8.cache...
Processing triggers for desktop-file-utils ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for python-support ...
Processing triggers for shared-mime-info ...
Unknown media type in type 'all/all'

Unknown media type in type 'all/allfiles'

Unknown media type in type 'uri/mms'

Unknown media type in type 'uri/mmst'

Unknown media type in type 'uri/mmsu'

Unknown media type in type 'uri/pnm'

Unknown media type in type 'uri/rtspt'

Unknown media type in type 'uri/rtspu'

Unknown media type in type 'fonts/package'

Unknown media type in type 'interface/x-winamp-skin'

Setting up gforge-plugin-mediawiki (4.8.2-1) ...
DBI connect('dbname=gforge','gforge',...) failed: FATAL: Ident authentication failed for user "gforge" at /usr/share/gforge/lib/include.pl line 35
Uncaught exception from user code:
 Error while connecting to database: at /usr/share/gforge/lib/include.pl line 37.
 at /usr/share/gforge/lib/include.pl line 37
 main::db_connect called at /usr/share/gforge/bin/register-plugin line 15
dpkg: error processing gforge-plugin-mediawiki (--configure):
 subprocess installed post-installation script returned error exit status 255
Setting up libatspi1.0-0 (1.30.1-0ubuntu1) ...

Setting up at-spi (1.30.1-0ubuntu1) ...
Installing new version of config file /etc/xdg/autostart/at-spi-registryd.desktop ...

Setting up python-pyatspi (1.30.1-0ubuntu1) ...

Setting up libatspi-dbg (1.30.1-0ubuntu1) ...
Setting up dselect (1.15.5.6ubuntu4.1) ...
Setting up empathy-common (2.30.2-0ubuntu1) ...

Setting up nautilus-sendto-empathy (2.30.2-0ubuntu1) ...
Setting up empathy (2.30.2-0ubuntu1) ...

Setting up libevdocument2 (2.30.3-0ubuntu1.1) ...

Setting up libevview2 (2.30.3-0ubuntu1.1) ...

Setting up evince (2.30.3-0ubuntu1.1) ...
Installing new version of config file /etc/apparmor.d/abstractions/evince ...

Setting up evince-dbg (2.30.3-0ubuntu1.1) ...
Setting up libgs8 (8.71.dfsg.1-0ubuntu5.2) ...

Setting up ghostscript (8.71.dfsg.1-0ubuntu5.2) ...
update-alternatives: using /usr/bin/ps2pdf14 to provide /usr/bin/ps2pdf (ps2pdf) in auto mode.
Updating font configuration of gs...
Cleaning up category psprint..
Cleaning up category cmap..
Cleaning up category cid..
Cleaning up category truetype..
Cleaning up category gsfontderivative..
Cleaning up category type3..
Cleaning up category type1..
Updating category type1..
Updating category type3..
Updating category gsfontderivative..
Updating category truetype..
Updating category cid..
Updating category cmap..
Updating category psprint..
No CIDSupplement specified for Dotum-Bold, defaulting to 0.
No CIDSupplement specified for Batang-Bold, defaulting to 0.
No CIDSupplement specified for ZenHei-CNS, defaulting to 0.
No CIDSupplement specified for Dotum-Regular, defaulting to 0.
No CIDSupplement specified for Gulim-Regular, defaulting to 0.
No CIDSupplement specified for UKaiCN, defaulting to 0.
No CIDSupplement specified for Batang-Regular, defaulting to 0.
No CIDSupplement specified for ZenHei, defaulting to 0.
No CIDSupplement specified for UMingCN, defaulting to 0.
No CIDSupplement specified for Headline-Regular, defaulting to 0.

Setting up ghostscript-cups (8.71.dfsg.1-0ubuntu5.2) ...

Setting up ghostscript-x (8.71.dfsg.1-0ubuntu5.2) ...
Setting up libpanel-applet2-0 (1:2.30.2-0ubuntu0.2) ...

Setting up gnome-panel-data (1:2.30.2-0ubuntu0.2) ...

Setting up gnome-panel (1:2.30.2-0ubuntu0.2) ...

Setting up gnome-panel-dbg (1:2.30.2-0ubuntu0.2) ...
Setting up gwibber-service (2.30.1-0ubuntu1) ...

Setting up libnautilus-extension1 (1:2.30.1-0ubuntu1.1) ...

Setting up libservlet2.5-java (6.0.24-2ubuntu1.2) ...
Setting up nautilus-data (1:2.30.1-0ubuntu1.1) ...

Setting up nautilus (1:2.30.1-0ubuntu1.1) ...

Setting up nautilus-dbg (1:2.30.1-0ubuntu1.1) ...
Setting up gs-common (8.71.dfsg.1-0ubuntu5.2) ...
Setting up gs-esp (8.71.dfsg.1-0ubuntu5.2) ...
Setting up gs-esp-x (8.71.dfsg.1-0ubuntu5.2) ...
Processing triggers for python-central ...
Setting up gnome-orca (2.30.2-0ubuntu1) ...

Setting up gwibber (2.30.1-0ubuntu1) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for python-support ...
Processing triggers for python-central ...
Errors were encountered while processing:
 gforge-plugin-mediawiki
E: Sub-process /usr/bin/dpkg returned an error code (1)

john@john-laptop:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  grass grass-dev libgdal1-dev
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up gforge-plugin-mediawiki (4.8.2-1) ...
DBI connect('dbname=gforge','gforge',...) failed: FATAL: Ident authentication failed for user "gforge" at /usr/share/gforge/lib/include.pl line 35
Uncaught exception from user code:
 Error while connecting to database: at /usr/share/gforge/lib/include.pl line 37.
 at /usr/share/gforge/lib/include.pl line 37
 main::db_connect called at /usr/share/gforge/bin/register-plugin line 15
dpkg: error processing gforge-plugin-mediawiki (--configure):
 subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
 gforge-plugin-mediawiki
E: Sub-process /usr/bin/dpkg returned an error code (1)

Had trouble with sudo apt-get --reinstall install nano
john@john-laptop:~$ sudo apt-get--reinstall install nano
sudo: apt-get--reinstall: command not found
john@john-laptop:~$ sudo apt-get-reinstall install nano
sudo: apt-get-reinstall: command not found
john@john-laptop:~$ sudo apt-get reinstall install nano
E: Invalid operation reinstall
john@john-laptop:~$ sudo apt-get install nano
Reading package lists... Done
Building dependency tree
Reading state information... Done
nano is already the newest version.
The following packages were automatically installed and are no longer required:
  libfreebob0 plasma-dataengines-workspace libsm-dev libtalloc1
  python-excelerator kdepim-runtime libprocessui4 libtaskmanager4
  linux-headers-2.6.31-14 libqimageblitz4 libice-dev firefox-3.5-branding
  libmapnik0.6 x11proto-xext-dev libboost-regex1.38.0 xulrunner-1.9.1
  libkscreensaver5 libsolidcontrolifaces4 libaudio-dev linux-headers-2.6.32-22
  libglib2.0-dev libicu40 kdebase-runtime-data-common
  xulrunner-1.9.1-gnome-support libqgis1.2.0 freetds-common
  x11proto-xinerama-dev libhttp-response-encoding-perl x11proto-render-dev
  plasma-widgets-workspace libevview1 libindicate-gtk1 python-antlr netcdf-doc
  latex-xft-fonts libdns53 libxi-dev liblog4j1.2-java libxmu-headers
  libxrender-dev libknotificationitem1 openoffice.org-hyphenation-en-us
  libggzmod4 libcompress-bzip2-perl libcairo2-dev libtotem-plparser12 libass3
  gpsd-clients libservlet2.4-java python-dns libplasma-geolocation-interface4
  python-gda kde-icons-oxygen libexiv2-5 python-gdl libsysfs-dev
  libdirectfb-extra librasqal1 libboost-thread1.38.0 python-gtksourceview
  libglu1-xorg-dev libisccc50 libsqlite0-dev gobject-introspection libcdio7
  liblzma0 libfontconfig1-dev libdirectfb-dev python-gtkmozembed sdparm
  libx264-67 libopal3.6.4 redland-utils libgssdp-1.0-1 libxcursor-dev
  libksgrd4 kdebase-runtime-bin-kde4 liblwres50 kdebase-workspace-bin
  libkworkspace4 libcelt0 libprotobuf3 x11proto-randr-dev python-eggtrayicon
  libboost-signals1.38.0 python-sexy libplasmagenericshell4
  libxcb-render-util0-dev libkfontinst4 libggz2 libxt-dev libxmu-dev
  libxext-dev libbind9-50 openoffice.org-thesaurus-en-au
  firefox-3.5-gnome-support libevdocument1 libxml2-dev libffado1
  libboost-iostreams1.38.0 libaqhbci16 libfreetype6-dev libct4
  x11proto-fixes-dev xlibmesa-gl-dev libpt2.6.4-plugins libiso9660-5 libgdata5
  libiw29 libkephal4 libmozjs0d kdebase-workspace-data ksysguardd
  libplasmaclock4 libpt2.6.4 liblcms1-dev libxml++2.6-2 libgmime-2.0-2a
  libweather-ion4 libisccfg50 libgcj9-0-awt kdebase-workspace-kgreet-plugins
  libxrandr-dev fastjar libgupnp-1.0-2 libexpat1-dev libsolidcontrol4
  libqt4-phonon python-4suite-xml khelpcenter4 libxklavier15 libdb4.7
  akonadi-server skytools-modules-8.3 libindicate3 compiz-fusion-plugins-extra
  libggzcore9 libpixman-1-dev libxft-dev python-gksu2
  linux-headers-2.6.32-22-generic libgnome-desktop-2-11 libxcb-render0-dev
  libboost-filesystem1.38.0 libgmime2.2a-cil libxfixes-dev python-nautilusburn
  libisc50 libmng-dev libplasma-applet-system-monitor4
  linux-headers-2.6.31-14-generic libxinerama-dev libprocesscore4
  gnome-blackjack raptor-utils libmx4j-java libboost-system1.38.0
  libgoffice-0-8-common libntfs-3g54 libboost-python1.38.0 libfaad0
  libobject-destroyer-perl
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up gforge-plugin-mediawiki (4.8.2-1) ...
DBI connect('dbname=gforge','gforge',...) failed: FATAL: Ident authentication failed for user "gforge" at /usr/share/gforge/lib/include.pl line 35
Uncaught exception from user code:
 Error while connecting to database: at /usr/share/gforge/lib/include.pl line 37.
 at /usr/share/gforge/lib/include.pl line 37
 main::db_connect called at /usr/share/gforge/bin/register-plugin line 15
dpkg: error processing gforge-plugin-mediawiki (--configure):
 subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
 gforge-plugin-mediawiki
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

OK and what is the output of:

lsb_release -a

Thanks

Revision history for this message
John Wilson (jwilsondmartin) said :
#4

Thank you for your continuing interest
Here is the output:
john@john-laptop:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04 LTS
Release: 10.04
Codename: lucid

Revision history for this message
Sam_ (and-sam) said :
#5
Revision history for this message
Torsten Spindler (tspindler) said :
#6

Can you try to configure the package again, with
$ sudo dpkg-reconfigure gforge-plugin-mediawiki

Revision history for this message
John Wilson (jwilsondmartin) said :
#7

When I try and reconfigure the package Torsten I get the following error message:
/usr/sbin/dpkg-reconfigure: gforge-plugin-mediawiki is broken or not fully installed
Think this might be part of a regression bug as my problems on my desktop and laptop started when I upgraded to Lucid.
On the laptop I have to restart CUPS every time I start up, I cannot print certain .pdf files from my bank as they are corrupted, Adobe flash player crashes etc.
On my desktop I found starting it up on an earlier kernel to 2.6.32-25 cured my problems.
I installed the current MainlineBuild and now my desktop is working very smoothly.
I have reported this as a bug (657754) and have installed the current MainlineBuild so I am about to re-start with kernel 2.6.32-999 and I will test it out

Revision history for this message
John Wilson (jwilsondmartin) said :
#8

Hi Torsten
Updating the kernel did not solve the problem.
When I ran dpkg-reconfigure I got the same error message
Adobe flash player is still crashing.
How can I reiinstall/repair the plugin or will upgrading later this month take care of this problem?

Revision history for this message
Torsten Spindler (tspindler) said :
#9

I believe you best try to uninstall the defect package, e.g.
$ sudo apt-get remove gforge-plugin-mediawiki

This might solve the problem with the updates.

I'm quite sure that the flash player crashes are unrelated.

Updating the kernel or the system should not affect the broken package problem, e.g. it will be still broken after an upgrade of either.

Revision history for this message
John Wilson (jwilsondmartin) said :
#10

Hi Torsten
I don't think I was able to remove the damaged package.
Here is the output from my terminal:
john@john-laptop:~$ sudo apt-get remove gforge-plugin-mediawiki
[sudo] password for john:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  gforge-plugin-mediawiki
0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 573kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 400107 files and directories currently installed.)
Removing gforge-plugin-mediawiki ...
DBI connect('dbname=gforge','gforge',...) failed: FATAL: Ident authentication failed for user "gforge" at /usr/share/gforge/lib/include.pl line 35
Uncaught exception from user code:
 Error while connecting to database: at /usr/share/gforge/lib/include.pl line 37.
 at /usr/share/gforge/lib/include.pl line 37
 main::db_connect called at /usr/share/gforge/bin/unregister-plugin line 15
dpkg: error processing gforge-plugin-mediawiki (--remove):
 subprocess installed pre-removal script returned error exit status 255
Errors were encountered while processing:
 gforge-plugin-mediawiki
E: Sub-process /usr/bin/dpkg returned an error code (1)

I have tried to remove the package with Synaptic and get the same error.
Could I use gedit?
Regards,
John

Revision history for this message
Torsten Spindler (tspindler) said :
#11

Seems bug 383944 is about the same issue. Unfortunately there is no solution for it yet. I will try to reproduce this on a vm and see if I can somehow remove the package.

Revision history for this message
Torsten Spindler (tspindler) said :
#12

Does your /etc/postgresql/8.4/main/pg_hba.conf file contain the
following lines:

### BEGIN GFORGE BLOCK -- DO NOT EDIT
local gforge gforge md5
local gforge gforge_nss trust
local gforge gforge_mta md5
### END GFORGE BLOCK -- DO NOT EDIT

If this is not the case, then your plugin cannot authenticate against
the database.

Also there is a bug in the prerm script in
/var/lib/dpkg/info/gforge-plugin-mediawiki.prerm
It calls 'invoke-rc.d apache reload' instead of
'invoke-rc.d apache2 reload'.

Revision history for this message
John Wilson (jwilsondmartin) said :
#13

Hi Torsten,
Sorry for the delay I was away for the weekend

I fixed the prerm script

When I did gksudo gedit /etc/postgresql/8.4/main/pg_hba.conf I found on my laptop that the gforge block was missing.
Did not know where to paste it in at the start or end of the file so I waited until I could look on my desktop where the file is empty :-0
Where do I put it?

John

Revision history for this message
Torsten Spindler (tspindler) said :
#14

I believe at the top of the file.

Revision history for this message
John Wilson (jwilsondmartin) said :
#15

I pasted the lines:
### BEGIN GFORGE BLOCK -- DO NOT EDIT
into the pg_hba.conf file as follows:

# PostgreSQL Client Authentication Configuration File
# ===================================================
#
# Refer to the "Client Authentication" section in the
# PostgreSQL documentation for a complete description
# of this file. A short synopsis follows.
#
# This file controls: which hosts are allowed to connect, how clients
# are authenticated, which PostgreSQL user names they can use, which
# databases they can access. Records take one of these forms:
#
# local DATABASE USER METHOD [OPTIONS]
# host DATABASE USER CIDR-ADDRESS METHOD [OPTIONS]
# hostssl DATABASE USER CIDR-ADDRESS METHOD [OPTIONS]
# hostnossl DATABASE USER CIDR-ADDRESS METHOD [OPTIONS]
#
# (The uppercase items must be replaced by actual values.)
#
# The first field is the connection type: "local" is a Unix-domain socket,
# "host" is either a plain or SSL-encrypted TCP/IP socket, "hostssl" is an
# SSL-encrypted TCP/IP socket, and "hostnossl" is a plain TCP/IP socket.
#
# DATABASE can be "all", "sameuser", "samerole", a database name, or
# a comma-separated list thereof.
#
# USER can be "all", a user name, a group name prefixed with "+", or
# a comma-separated list thereof. In both the DATABASE and USER fields
# you can also write a file name prefixed with "@" to include names from
# a separate file.
#
# CIDR-ADDRESS specifies the set of hosts the record matches.
# It is made up of an IP address and a CIDR mask that is an integer
# (between 0 and 32 (IPv4) or 128 (IPv6) inclusive) that specifies
# the number of significant bits in the mask. Alternatively, you can write
# an IP address and netmask in separate columns to specify the set of hosts.
#
# METHOD can be "trust", "reject", "md5", "password", "gss", "sspi", "krb5",
# "ident", "pam", "ldap" or "cert". Note that "password" sends passwords
# in clear text; "md5" is preferred since it sends encrypted passwords.
#
# OPTIONS are a set of options for the authentication in the format
# NAME=VALUE. The available options depend on the different authentication
# methods - refer to the "Client Authentication" section in the documentation
# for a list of which options are available for which authentication methods.
#
# Database and user names containing spaces, commas, quotes and other special
# characters must be quoted. Quoting one of the keywords "all", "sameuser" or
# "samerole" makes the name lose its special character, and just match a
# database or username with that name.
#
# This file is read on server startup and when the postmaster receives
# a SIGHUP signal. If you edit the file on a running system, you have
# to SIGHUP the postmaster for the changes to take effect. You can use
# "pg_ctl reload" to do that.

# Put your actual configuration here
# ----------------------------------
#
# If you want to allow non-local connections, you need to add more
# "host" records. In that case you will also need to make PostgreSQL listen
# on a non-local interface via the listen_addresses configuration parameter,
# or via the -i or -h command line switches.
#
### BEGIN GFORGE BLOCK -- DO NOT EDIT
local gforge gforge md5
local gforge gforge_nss trust
local gforge gforge_mta md5
### END GFORGE BLOCK -- DO NOT EDIT

# DO NOT DISABLE!
# If you change this first entry you will need to make sure that the
# database
# super user can access the database using some other method.
# Noninteractive
# access to all databases is required during automatic maintenance
# (custom daily cronjobs, replication, and similar tasks).
#
# Database administrative login by UNIX sockets
local all postgres ident

# TYPE DATABASE USER CIDR-ADDRESS METHOD

# "local" is for Unix domain socket connections only
local all all ident
# IPv4 local connections:
host all all 127.0.0.1/32 md5
# IPv6 local connections:
host all all ::1/128 md5

Still got the same error message.
What have I done wrong?

Revision history for this message
Torsten Spindler (tspindler) said :
#16

I believe the package is just in a bad state, hence causing the
problems. While I had successfully installed and removed the package
with the prerm script fixed, it does not work for you. I am out of ideas
now, sorry.

Can you help with this problem?

Provide an answer of your own, or ask John Wilson for more information if necessary.

To post a message you must log in.