Bug 19697

Summary: mgaapplet crashed (mkdir /var/cache/urpmi: Permission denied)
Product: Mageia Reporter: Gilles Pascual <gpascual>
Component: RPM PackagesAssignee: Mageia tools maintainers <mageiatools>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: marja11, thierry.vignaud
Version: 5Keywords: NEEDINFO
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
See Also: https://bugs.mageia.org/show_bug.cgi?id=12892
Whiteboard:
Source RPM: mgaonline-3.15-1.mga5 CVE:
Status comment:

Description Gilles Pascual 2016-11-01 20:02:42 CET
The "mgaapplet" program crashed. Drakbug-16.104 caught it.

Mageia 5 - Xfce was just starting

mkdir /var/cache/urpmi: Permission non accordée at /usr/lib/perl5/vendor_perl/5.20.1/urpm.pm line 305.
Perl's trace:
drakbug::bug_handler() called from /usr/lib/perl5/5.20.1/Carp.pm:166
Carp::croak() called from /usr/lib/perl5/5.20.1/File/Path.pm:156
File::Path::_mkpath() called from /usr/lib/perl5/5.20.1/File/Path.pm:133
File::Path::_mkpath() called from /usr/lib/perl5/5.20.1/File/Path.pm:114
File::Path::mkpath() called from /usr/lib/perl5/vendor_perl/5.20.1/urpm.pm:305
urpm::create_var_lib_rpm() called from /usr/lib/perl5/vendor_perl/5.20.1/urpm.pm:293
urpm::set_files() called from /usr/lib/perl5/vendor_perl/5.20.1/urpm.pm:151
urpm::new() called from /usr/lib/perl5/vendor_perl/5.20.1/Rpmdrake/open_db.pm:80
Rpmdrake::open_db::fast_open_urpmi_db() called from /usr/bin/mgaapplet:61

Theme name: BlueMenta
Kernel version = 4.4.26-desktop-1.mga5
Distribution=Mageia release 5 (Official) for x86_64
CPU=Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
Comment 1 Marja Van Waes 2016-11-01 20:21:21 CET
What is do the following commands return:

   ll -d /var/cache/


   ll -d /var/cache/urpmi/

Keywords: (none) => NEEDINFO
CC: (none) => marja11
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=12892
Assignee: bugsquad => mageiatools
Summary: mgaapplet crashed => mgaapplet crashed (mkdir /var/cache/urpmi: Permission denied)

Comment 2 Thierry Vignaud 2016-11-04 19:24:17 CET
Looks like savage cleaning from the sysadmin part...

CC: (none) => thierry.vignaud

Comment 3 Gilles Pascual 2016-11-04 19:33:01 CET
I have understood what happened. 
I used first drakdisk to make a partition for /var.
Drakdisk copied files to the new partition but stopped with an error before ending copy.
Then I reboot and bing bang this error occured. 
It's ok now : since this problem (but not for this reason !) I have reinstalled Mageia.

I think I can close this issue.
Please could you tell me what to do when this happens ? a chown on /var/cache ? 

Thanks.
Comment 4 Gilles Pascual 2016-11-04 19:33:59 CET
It's resolved.

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