Bug 23240

Summary: bash: urpmi : command introuvable
Product: Mageia Reporter: Antonin Roussel <antonin.roussel>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal    
Version: 6   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: urpmi-8.110-2.mga6 CVE:
Status comment:

Description Antonin Roussel 2018-06-27 12:05:12 CEST
Description of problem:
While running urpmi.update -a && urpmi --auto-select
media up to date (ok)
bash: urpmi : commande introuvable

By the way, mouse problem on compiz-fusion / plasma (no click available)


Version-Release number of selected component (if applicable):
8.110

How reproducible:
every time

Steps to Reproduce:
1. open a konsole
2. run the command
3. bug
Comment 1 Antonin Roussel 2018-06-27 12:18:45 CEST
I wrote this bug report because of my mouse problem. It was consistent even after two reboots (Alt+Sys+RSEIUB). Thinking it was caused by recent kernel, glibc update, I intented to update and encountered urpmi problem... right now, after several unsuccessful action and a final session killed (Alt+Backspace), mouse is ok again, maybe my plasma config was not clean enough ???

Anyway, urpmi is still "introuvable".
Comment 2 Rémi Verschelde 2018-06-27 13:43:06 CEST
urpmi is in /usr/sbin/urpmi, which means that it's only available for the root user. You need to use either:

  $ su
  # urpmi --auto-select

or, if you configured sudo,

  $ sudo urpmi --auto-select


For the mouse problem, it would be better to open a new bug report focusing on it.

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

Comment 3 Antonin Roussel 2018-06-27 14:12:50 CEST
As root, urpmi is "introuvable".

# ls -al /usr/sbin/urpmi*
-r-xr-xr-x 1 root root 27737 juil. 13  2017 /usr/sbin/urpmi
-r-xr-xr-x 1 root root  7371 juil. 13  2017 /usr/sbin/urpmi.addmedia
-r-xr-xr-x 1 root root  2550 juil. 13  2017 /usr/sbin/urpmi.removemedia
lrwxrwxrwx 1 root root    30 juil. 13  2017 /usr/sbin/urpmi.update -> ../../usr/libexec/urpmi.update

But, as my mouse problem is gone, mcc + update is now enough to keep system updated.
Thank you for your advice.

Resolution: OLD => FIXED

Comment 4 Antonin Roussel 2018-07-02 08:44:53 CEST
RESOLVED, problem was due to a mistake (deleting files in root profile directory °_°). Hopefully this was reverted thanks a backup.