Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#66488 - error: target not found: rm

Attached to Project: Arch Linux
Opened by Rajat Roy (rexdrive) - Friday, 01 May 2020, 04:20 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 01 May 2020, 04:49 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

While trying to remove a file today (Friday, 1 May 2020 GMT), using 'rm' command, I got the error: 'zsh: command not found: rm'. But, I am pretty sure I didn't remove it, so, I tried installing it again using 'sudo pacman -S rm' but it returned: 'error: target not found: rm'.

So, I went to 'https://www.archlinux.org/packages/' and searched for 'rm' but couldn't find it there too.

Then, I went to 'https://archive.archlinux.org/packages/r/' and searched for 'rm' but couldn't find it there too.

What happened to 'rm' ?

Steps to reproduce:
1. Update your system.
2. Trying removing any file/folder using 'rm'.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Friday, 01 May 2020, 04:49 GMT
Reason for closing:  Not a bug
Comment by Allan McRae (Allan) - Friday, 01 May 2020, 04:33 GMT
Try "pacman -F rm" to see the command is part of coreutils. I'd be surprised if that was not installed...
Comment by Rajat Roy (rexdrive) - Friday, 01 May 2020, 04:38 GMT
This is the output:

core/coreutils 8.32-1 [installed]
usr/bin/rm

But 'whereis rm' gives:

rm: /usr/share/man/man1/rm.1.gz /usr/share/man/man1/rm.1p.gz
Comment by Rajat Roy (rexdrive) - Friday, 01 May 2020, 04:47 GMT
'pacman -S coreutils' solved the issue. Thank You!

Loading...