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#23478 - Pacman (nonworking -d option)

Attached to Project: Arch Linux
Opened by Jack Black (JackBlack) - Monday, 28 March 2011, 13:03 GMT
Last edited by Dan McGee (toofishes) - Monday, 28 March 2011, 14:23 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Hello, guys. I have upgraded Pacman to the new version (see below) from AUR. And I found a bug (I hope it is a program mistake). When you are trying to remove package that is required by another package using option "-Rd" (remove with skipping dependencies), it says that this option is unavailable ("error: invalid option"). Could you please check is there a mistake in a new pacman version or it is new kind of pacman behavior.

Cheers,
Jack Black.

Additional info:
* package version(s): Pacman v3.5.1 - libalpm v6.0.1 (this is the version of pacman that I have)

The same, but more detailed. I took it from the pacman output.
Name : pacman
Version : 3.5.1-1
URL : http://www.archlinux.org/pacman/
Licenses : GPL
Groups : base
Provides : None
Depends On : bash libarchive>=2.8.4 libfetch>=2.28 pacman-mirrorlist
Optional Deps : fakeroot: for makepkg usage as normal user
curl: for rankmirrors usage
Required By : None
Conflicts With : None
Replaces : None
Installed Size : 896.00 K
Packager : Jack Black <ezamlinsky@gmail.com>
Architecture : x86_64
Build Date : Sat 26 Mar 2011 02:43:37 PM EET
Install Date : Sat 26 Mar 2011 02:50:24 PM EET
Install Reason : Explicitly installed
Install Script : Yes
Description : A library-based package manager with dependency support



Steps to reproduce:
This task depends upon

Closed by  Dan McGee (toofishes)
Monday, 28 March 2011, 14:23 GMT
Reason for closing:  Won't fix
Additional comments about closing:  Not a bug, use -Rdd, or better yet, stop forcing dependency overrides. You also provided zero output in the "Steps to reproduce" instructions.
Comment by Allan McRae (Allan) - Monday, 28 March 2011, 13:08 GMT
Are you sure it says "error: invalid option" and not "error: failed to prepare transaction (could not satisfy dependencies)". That would be a bug...

To actually remove a package ignoring dependencies, read the man page. You want -Rdd.
Comment by synflag (synflag) - Monday, 28 March 2011, 14:08 GMT
Yes, i have the same problem, my error, the new pacman is -Rdd, old version are -Rd.

Loading...