You are not logged in.

#1 2020-03-08 19:02:55

ComLarsic
Member
Registered: 2020-03-08
Posts: 2

cant install plasma-desktop, "exists in filesystem"

I tried installing the plasma-desktop using "sudo pacman -S plasma"
but it was interrupted because i accidentally reset my pc.

now i get a bunch of "exists in filesystem" errors when trying to install it again, is there any way to fix this?

i tried "sudo pacman -S --overwrite plasma" but i get "error: no targets specified (use -h for help)"

is there any way to fix this?

thx in advance

Edit: here is the full command output: https://pastebin.com/HMpxYXbW

Last edited by ComLarsic (2020-03-08 19:28:40)

Offline

#2 2020-03-08 19:07:12

loqs
Member
Registered: 2014-03-06
Posts: 19,089

Re: cant install plasma-desktop, "exists in filesystem"

Please post the full output of `sudo pacman -S plasma`
Edit:
If the output is overly long or you only have console access to the system see the tip box from pastebin.

Last edited by loqs (2020-03-08 19:09:02)

Offline

#3 2020-03-08 19:25:13

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,525
Website

Re: cant install plasma-desktop, "exists in filesystem"

man pacman wrote:

--overwrite <glob>
           Bypass file conflict checks and overwrite conflicting files...

The glob is not optional.  So "plasma" is treated as a required parameter to the overwrite option, and which point there is nothing left on the command line ... you did not specify any targets to install.  Of course you intended "plasma" as an install target, but then you need to add the glob you want to overwrite.

In addition to reading the man page you could (should) have read the wiki:
https://wiki.archlinux.org/index.php/Pa … )%22_error

Last edited by Trilby (2020-03-08 19:26:27)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2020-03-08 19:49:29

ComLarsic
Member
Registered: 2020-03-08
Posts: 2

Re: cant install plasma-desktop, "exists in filesystem"

ok, i managed to fix it. i ran "sudo pacman -S --overwrite "*" plasma" witch fixed the problem

Offline

#5 2020-03-08 19:55:41

loqs
Member
Registered: 2014-03-06
Posts: 19,089

Re: cant install plasma-desktop, "exists in filesystem"

Alternatively avoiding using overwrite

# pacman -S --dbonly plasma
# pacman -S plasma

Offline

Board footer

Powered by FluxBB