Bug 23240 - bash: urpmi : command introuvable
Summary: bash: urpmi : command introuvable
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-27 12:05 CEST by Antonin Roussel
Modified: 2018-07-02 08:44 CEST (History)
0 users

See Also:
Source RPM: urpmi-8.110-2.mga6
CVE:
Status comment:


Attachments

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.

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