[SOLVED] MCC and Add/Remove software GUI can no longer run

This forum is dedicated to testing early releases and cauldron : Howtos, tips, tricks and user global feedback and thoughts...

Helpful tip :
For bugs tracking we use : https://bugs.mageia.org = The Mageia Bug Tracker
In this bug tracker you'll find already reported bugs and you'll be able to report those you have found....

[SOLVED] MCC and Add/Remove software GUI can no longer run

Postby jtmh » Jun 3rd, '12, 14:31

My system was installed with the Mageia-2-alpha1-LiveCD-KDE4-Asia-Noindia-i586-CD iso, and applied all updates up to Mageia 2 final. I didn't change the repos from Cauldron to 2.

Today, I installed rkhunter using Add/Remove software GUI (which was started from within the MCC), and while the installation, there was a dialog saying some dependencies (perl-xxx-x.x.x-x.mga3, drakconf-xxx-x.x.x-x.mga3, etc.) need to be installed. I installed all the dependencies and upon completion of the installation, the MCC and Add/Remove software GUI both disappeared (I remembered I didn't close their windows).

After that, I am no longer able to open either the MCC or the Add/Remove software GUI, i.e., I click on their icons, enter the admin password, and no windows appear. There seems some big problem occurring. And now, if I try using rpmdrake command in Konsole, it ends with the following message:

*** This build of Glib was compiled with glib 2.32.3, but is currently running with 2.32.1, which is too old. We'll continue, but expect problems!
Cannot be run in console mode.

Could anyone help me fix my system? Thanks.
Last edited by jtmh on Jun 6th, '12, 18:49, edited 1 time in total.
jtmh
 
Posts: 29
Joined: Jul 27th, '11, 22:23
Location: Taiwan

Re: MCC and Add/Remove software GUI can no longer run

Postby doktor5000 » Jun 3rd, '12, 20:44

Please post the output of
Code: Select all
rpm -qa | grep mga3
And please use code-tags for that, explained here: ftp://ftp.mandrivauser.de/rpm/rpm/extra ... e_tags.ogv
As you didn't change away from the cauldron repos, chances are a big pile of cauldron packages has already been installed on your system.
Depending on the number and how firm you're in a terminal, it's probably easier, faster and more convenient to reinstall Mageia 2 but keep your /home.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: MCC and Add/Remove software GUI can no longer run

Postby jtmh » Jun 3rd, '12, 22:42

doktor5000 wrote:Please post the output of
Code: Select all
rpm -qa | grep mga3
And please use code-tags for that, explained here: ftp://ftp.mandrivauser.de/rpm/rpm/extra ... e_tags.ogv

Code: Select all
drakx-finish-install-14.21-1.mga3
perl-File-Sync-0.110.0-1.mga3
perl-Glib-1.260.0-1.mga3
harddrake-14.21-1.mga3
perl-Time-Piece-1.200.0-6.mga3
perl-Archive-Tar-1.860.0-1.mga3
perl-XML-LibXML-1.950.0-1.mga3
perl-Filesys-Df-0.920.0-7.mga3
drakxtools-backend-14.21-1.mga3
perl-XML-Parser-2.410.0-1.mga3
perl-Data-Dumper-2.131.0-4.mga3
perl-File-FnMatch-0.20.0-6.mga3
perl-CPANPLUS-0.912.0-2.mga3
perl-HTML-Parser-3.690.0-1.mga3
perl-FCGI-0.740.0-4.mga3
perl-Gtk2-1.244.0-1.mga3
drakxtools-14.21-1.mga3
perl-Gtk2-Notify-0.50.0-5.mga3
perl-WWW-Curl-4.150.0-6.mga3
perl-pcsc-perl-1.4.12-2.mga3
perl-Pango-1.223-2.mga3
drakxtools-curses-14.21-1.mga3
perl-Gtk2-SourceView2-0.100.0-6.mga3
perl-YAML-Syck-1.200.0-2.mga3
perl-DBI-1.618.0-3.mga3
perl-base-5.16.0-6.mga3
perl-Net-DBus-1.0.0-2.mga3
userdrake-1.13.6-2.mga3
perl-List-MoreUtils-0.330.0-1.mga3
perl-Term-ReadKey-2.30-13.mga3
perl-URPM-3.40-1.1.mga3
perl-Gtk2-WebKit-0.90.0-4.mga3
perl-Module-Build-0.400.0-1.mga3
perl-String-CRC32-1.4-12.mga3
perl-Locale-gettext-1.50.0-6.mga3
perl-Module-CoreList-2.670.0-2.mga3
perl-5.16.0-6.mga3
harddrake-ui-14.21-1.mga3
perl-Crypt-SSLeay-0.580.0-8.mga3
perl-Cairo-1.91_1-1.mga3
perl-Gnome2-Vte-0.100.0-2.mga3
perl-Curses-1.280.0-8.mga3

doktor5000 wrote:As you didn't change away from the cauldron repos, chances are a big pile of cauldron packages has already been installed on your system.
Depending on the number and how firm you're in a terminal, it's probably easier, faster and more convenient to reinstall Mageia 2 but keep your /home.

If there is still any chance to fix my system, I'd like to try it. I think I have a basic experience in a terminal, so please give me some hints for fixing my system. Thank you for the quick reply.
jtmh
 
Posts: 29
Joined: Jul 27th, '11, 22:23
Location: Taiwan

Re: MCC and Add/Remove software GUI can no longer run

Postby doktor5000 » Jun 3rd, '12, 23:11

Please post the output of
Code: Select all
urpmq --list-media active
and
Code: Select all
urpmq --list-url
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: MCC and Add/Remove software GUI can no longer run

Postby jtmh » Jun 4th, '12, 00:18

doktor5000 wrote:Please post the output of
Code: Select all
urpmq --list-media active

Code: Select all
Core Release (distrib31)
Core Updates (distrib33)
Core Backports (distrib37)
Nonfree Release (distrib41)
Nonfree Updates (distrib43)
Nonfree Backports (distrib47)
Tainted Release (distrib51)
Tainted Updates (distrib53)
Tainted Backports (distrib57)
Core Release (distrib61)
Core Updates (distrib63)
Core Backports (distrib67)
Nonfree Release (distrib71)
Nonfree Updates (distrib73)
Nonfree Backports (distrib77)
Tainted Release (distrib81)
Tainted Updates (distrib83)
Tainted Backports (distrib87)
Core Updates (distrib91)
Nonfree Updates (distrib92)
Tainted Updates (distrib93)

doktor5000 wrote:and
Code: Select all
urpmq --list-url

Code: Select all
Core Release (distrib31) http://mageia.webconquest.com/distrib/cauldron/i586/media/core/release
Core Release Debug (distrib32) http://mageia.webconquest.com/distrib/cauldron/i586/media/debug/core/release
Core Updates (distrib33) http://mageia.webconquest.com/distrib/cauldron/i586/media/core/updates
Core Updates Debug (distrib34) http://mageia.webconquest.com/distrib/cauldron/i586/media/debug/core/updates
Core Updates Testing (distrib35) http://mageia.webconquest.com/distrib/cauldron/i586/media/core/updates_testing
Core Updates Testing Debug (distrib36) http://mageia.webconquest.com/distrib/cauldron/i586/media/debug/core/updates_testing
Core Backports (distrib37) http://mageia.webconquest.com/distrib/cauldron/i586/media/core/backports
Core Backports Debug (distrib38) http://mageia.webconquest.com/distrib/cauldron/i586/media/debug/core/backports
Core Backports Testing (distrib39) http://mageia.webconquest.com/distrib/cauldron/i586/media/core/backports_testing
Core Backports Testing Debug (distrib40) http://mageia.webconquest.com/distrib/cauldron/i586/media/debug/core/backports_testing
Nonfree Release (distrib41) http://mageia.webconquest.com/distrib/cauldron/i586/media/nonfree/release
Nonfree Release Debug (distrib42) http://mageia.webconquest.com/distrib/cauldron/i586/media/debug/nonfree/release
Nonfree Updates (distrib43) http://mageia.webconquest.com/distrib/cauldron/i586/media/nonfree/updates
Nonfree Updates Debug (distrib44) http://mageia.webconquest.com/distrib/cauldron/i586/media/debug/nonfree/updates
Nonfree Updates Testing (distrib45) http://mageia.webconquest.com/distrib/cauldron/i586/media/nonfree/updates_testing
Nonfree Updates Testing Debug (distrib46) http://mageia.webconquest.com/distrib/cauldron/i586/media/debug/nonfree/updates_testing
Nonfree Backports (distrib47) http://mageia.webconquest.com/distrib/cauldron/i586/media/nonfree/backports
Nonfree Backports Debug (distrib48) http://mageia.webconquest.com/distrib/cauldron/i586/media/debug/nonfree/backports
Nonfree Backports Testing (distrib49) http://mageia.webconquest.com/distrib/cauldron/i586/media/nonfree/backports_testing
Nonfree Backports Testing Debug (distrib50) http://mageia.webconquest.com/distrib/cauldron/i586/media/debug/nonfree/backports_testing
Tainted Release (distrib51) http://mageia.webconquest.com/distrib/cauldron/i586/media/tainted/release
Tainted Release Debug (distrib52) http://mageia.webconquest.com/distrib/cauldron/i586/media/debug/tainted/release
Tainted Updates (distrib53) http://mageia.webconquest.com/distrib/cauldron/i586/media/tainted/updates
Tainted Updates Debug (distrib54) http://mageia.webconquest.com/distrib/cauldron/i586/media/debug/tainted/updates
Tainted Updates Testing (distrib55) http://mageia.webconquest.com/distrib/cauldron/i586/media/tainted/updates_testing
Tainted Updates Testing Debug (distrib56) http://mageia.webconquest.com/distrib/cauldron/i586/media/debug/tainted/updates_testing
Tainted Backports (distrib57) http://mageia.webconquest.com/distrib/cauldron/i586/media/tainted/backports
Tainted Backports Debug (distrib58) http://mageia.webconquest.com/distrib/cauldron/i586/media/debug/tainted/backports
Tainted Backports Testing (distrib59) http://mageia.webconquest.com/distrib/cauldron/i586/media/tainted/backports_testing
Tainted Backports Testing Debug (distrib60) http://mageia.webconquest.com/distrib/cauldron/i586/media/debug/tainted/backports_testing
Core Release (distrib61) ftp://twiska.zarb.org/mageia/distrib/cauldron/i586/media/core/release
Core Updates (distrib63) ftp://twiska.zarb.org/mageia/distrib/cauldron/i586/media/core/updates
Core Backports (distrib67) ftp://twiska.zarb.org/mageia/distrib/cauldron/i586/media/core/backports
Nonfree Release (distrib71) ftp://twiska.zarb.org/mageia/distrib/cauldron/i586/media/nonfree/release
Nonfree Updates (distrib73) ftp://twiska.zarb.org/mageia/distrib/cauldron/i586/media/nonfree/updates
Nonfree Backports (distrib77) ftp://twiska.zarb.org/mageia/distrib/cauldron/i586/media/nonfree/backports
Tainted Release (distrib81) ftp://twiska.zarb.org/mageia/distrib/cauldron/i586/media/tainted/release
Tainted Updates (distrib83) ftp://twiska.zarb.org/mageia/distrib/cauldron/i586/media/tainted/updates
Tainted Backports (distrib87) ftp://twiska.zarb.org/mageia/distrib/cauldron/i586/media/tainted/backports
Core Updates (distrib91) http://ftp.twaren.net/Linux/Mageia/distrib/cauldron/i586/media/core/updates
Nonfree Updates (distrib92) http://ftp.twaren.net/Linux/Mageia/distrib/cauldron/i586/media/nonfree/updates
Tainted Updates (distrib93) http://ftp.twaren.net/Linux/Mageia/distrib/cauldron/i586/media/tainted/updates
jtmh
 
Posts: 29
Joined: Jul 27th, '11, 22:23
Location: Taiwan

Re: MCC and Add/Remove software GUI can no longer run

Postby doktor5000 » Jun 4th, '12, 21:16

Ok, first the easy part, remove all your repos and readd them as Mageia 2 repos:
Code: Select all
urpmi.removemedia -a
urpmi.addmedia --distrib ftp://ftp.mandrivauser.de/mirrors/Mageia/distrib/2/i586

You can also use any other mirror there, but i don't know if the 2 taiwanese mirrors are reliable or sync often, but one of our sysadmins told me both synced ~5 hours ago, and as you can see both have a 1GBit link, so speed should be OK for both of those. You can have a look at http://mirrors.mageia.org/ where you can also filter by country ...

Now for the more complicated part, you need to download all correspondent mga2 packages to the mga3 packages you got by that last command manually into some directory, and from there just do
Code: Select all
rpm --oldpackage ./*.rpm

Currently there is no equivalent functionality in urpmi to downgrade packages, or at least none that i know of, and also no convenient one-liner, or none that comes to my mind when only using rpm.

BTW:
Code: Select all
urpmq --sources name_of_package
will show you the path on the mirror to see which repo it comes from.
Pay attention to query only for the name of the packages.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: MCC and Add/Remove software GUI can no longer run

Postby tac » Jun 4th, '12, 23:29

Hi,

I posted without any search :(
so perhaps you have the same problem:

viewtopic.php?f=15&t=2696

Try to edit:
/usr/lib/libDrakX/common.pm

search at line 399:
Code: Select all
sub check_for_xserver() {


Just add below:
Code: Select all
    return true;


T++

Edit:
this is just a test, not the good solution for your problem!
tac
 
Posts: 4
Joined: Jun 4th, '12, 22:42

Re: MCC and Add/Remove software GUI can no longer run

Postby doktor5000 » Jun 5th, '12, 19:49

Well, he's got a totally different problem, and also a different root cause for that problem ...
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: MCC and Add/Remove software GUI can no longer run

Postby jtmh » Jun 6th, '12, 00:42

doktor5000 wrote:Now for the more complicated part, you need to download all correspondent mga2 packages to the mga3 packages you got by that last command manually into some directory, and from there just do
Code: Select all
rpm --oldpackage ./*.rpm

Sorry, but after I run the command above, rpm says
Code: Select all
rpm:only installation and upgrading may be forced
jtmh
 
Posts: 29
Joined: Jul 27th, '11, 22:23
Location: Taiwan

[SOLVED] Re: MCC and Add/Remove software GUI can no longer r

Postby jtmh » Jun 6th, '12, 18:46

jtmh wrote:
doktor5000 wrote:Now for the more complicated part, you need to download all correspondent mga2 packages to the mga3 packages you got by that last command manually into some directory, and from there just do
Code: Select all
rpm --oldpackage ./*.rpm

Sorry, but after I run the command above, rpm says
Code: Select all
rpm:only installation and upgrading may be forced

I do a search and find the command below may work:
Code: Select all
rpm -Uvh --oldpackage ./*.rpm

and it does work. My system is OK now. Thank you both, doktor5000 and tac.
jtmh
 
Posts: 29
Joined: Jul 27th, '11, 22:23
Location: Taiwan

Re: MCC and Add/Remove software GUI can no longer run

Postby doktor5000 » Jun 6th, '12, 23:46

jtmh wrote:Sorry, but after I run the command above, rpm says
Code: Select all
rpm:only installation and upgrading may be forced


Sorry, hadn't used that since years and type out of my memory. But as it tells you and as you found out you would have only needed to use rpm -i [or -U for upgrade as you did, which means the same in this context] --oldpackage some.rpm
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: MCC and Add/Remove software GUI can no longer run

Postby tac » Jun 7th, '12, 00:04

doktor5000 wrote:Well, he's got a totally different problem, and also a different root cause for that problem ...


Sorry I'm too tired, I only read mcc failed from console :)
tac
 
Posts: 4
Joined: Jun 4th, '12, 22:42


Return to Testing : Alpha, Beta, RC and Cauldron

Who is online

Users browsing this forum: No registered users and 1 guest