You are not logged in.

#1 2018-06-02 05:30:26

eleius
Member
Registered: 2017-04-25
Posts: 28

[solved] pacman "force" and "overwrite" options

I noticed using pacman's --force option results in the message:
warning: option --force is deprecated; use --overwrite instead

So I tried replacing the option and the result is:

pacman --overwrite -S MYPACKAGE
error: invalid option '--overwrite'

pacman -S --overwrite MYPACKAGE
error: no targets specified

man pacman says overwrite requires a <glob> argument - what is that?

The Arch Wiki still advises to use --force btw (https://wiki.archlinux.org/index.php/pacman)

Can you help me?

Last edited by eleius (2018-06-02 09:26:48)

Offline

#2 2018-06-02 05:31:52

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 7,318

Re: [solved] pacman "force" and "overwrite" options

Read the man page, figure out what --overwrite is.

Online

#3 2018-06-02 06:06:51

eleius
Member
Registered: 2017-04-25
Posts: 28

Re: [solved] pacman "force" and "overwrite" options

Very useful, thanks so much.

Offline

#4 2018-06-02 06:15:03

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 28,123
Website

Re: [solved] pacman "force" and "overwrite" options

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Online

#5 2018-06-02 06:23:08

eleius
Member
Registered: 2017-04-25
Posts: 28

Re: [solved] pacman "force" and "overwrite" options

I was being sarcastic. I have obviously already read the man page as I mentioned it in my question. So much for the "newbie corner".

Nevermind, feel free to delete my question.

Offline

#6 2018-06-02 06:31:00

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 28,123
Website

Re: [solved] pacman "force" and "overwrite" options

See https://bbs.archlinux.org/viewtopic.php?id=237614

A glob is just a pattern for the shell; eg., /etc/file*


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Online

Board footer

Powered by FluxBB