Bug 6274 - rpmdrake doesn't update packages it needs before restarting
Summary: rpmdrake doesn't update packages it needs before restarting
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-01 00:12 CEST by Frédéric "LpSolit" Buclin
Modified: 2012-09-07 17:07 CEST (History)
3 users (show)

See Also:
Source RPM: rpmdrake
CVE:
Status comment:


Attachments

Description Frédéric "LpSolit" Buclin 2012-06-01 00:12:45 CEST
When rpmdrake tries to restart, it throws:

*** 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.

and stops. It should have updated glib before restarting.
Comment 1 Thierry Vignaud 2012-06-01 15:00:43 CEST
which it does since rpmdrake-5.32 (released on 26 March 2012)
What distro are you using?
What were you doing?

Keywords: (none) => NEEDINFO
CC: (none) => thierry.vignaud

Comment 2 Frédéric "LpSolit" Buclin 2012-06-01 15:19:51 CEST
Cauldron. rpmdrake was installing all these new Perl 5.16 packages that jq uploaded this week. The perl packages had higher priority, it looks like, and rpmdrake didn't install glib at the same time. When it tried to restart after updating perl, it failed with the error above.

Keywords: NEEDINFO => (none)

Comment 3 Thierry Vignaud 2012-06-01 16:13:59 CEST
rpmdrake did upgrade perl-Glib prior to restart.

We should just bump "Requires: glib2 => 2.32.0" into
"Requires: glib2 => 2.32.1"

However that's just a warning.
The real issue is that drakx code failed to got access to the X11 server
(the "Cannot be run in console mode" message).
I don't know why it fails

Priority: High => Normal
Severity: major => normal

Comment 4 Thierry Vignaud 2012-06-01 16:19:35 CEST
This would suffices:
Requires: glib2 >= %(pkg-config --modversion glib-2.0)
Comment 5 Jin-tong Hu 2012-06-03 16:42:25 CEST
I have the same problem on my system. I can't start MCC and rpmdrake now. Following is from my post on Mageia forum:

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.

CC: (none) => piscestong

Jin-tong Hu 2012-06-03 16:44:05 CEST

Severity: normal => major

Comment 6 Thierry Vignaud 2012-06-04 10:01:44 CEST
Note that you're now on unstable cauldron, not stable mga2.
running "urpmi --auto-select" in a terminal will install latest cauldron and fix your issues

Severity: major => normal

Manuel Hiebel 2012-06-25 04:10:13 CEST

Component: Release (media or process) => RPM Packages
Source RPM: (none) => rpmdrake

Thierry Vignaud 2012-09-07 17:07:04 CEST

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.