Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#41101 - suggestion: pacman -Dy to be added, as an pacman -Sy ~ alias

Attached to Project: Pacman
Opened by castet (castet) - Saturday, 05 July 2014, 11:45 GMT
Last edited by Allan McRae (Allan) - Monday, 04 August 2014, 05:01 GMT
Task Type Feature Request
Category General
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 4.1.2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:

suggestion: should we consider the command

pacman -Dy

as a compatible syntax ?


pacman -Dy # db sync for refresh missing
pacman -Sy # db sync for resfresh ok

Steps to Reproduce:
This task depends upon

Closed by  Allan McRae (Allan)
Monday, 04 August 2014, 05:01 GMT
Reason for closing:  Won't implement
Additional comments about closing:  -D is for local database, -S for sync repos.
Comment by castet (castet) - Saturday, 05 July 2014, 11:51 GMT

... this because,

pacman -S : is related to a package

and

pacmand -D : is related to a batabase or another ( via -b --dbpath ) , ( then a package ... )

...

so here is the point :

how to sync a database located else where, ie
how to process this concept :

pacman -D -y -b /mypath/aa.db

( where -y stands for refres, accordingly the pacman -S syntax )


Comment by Karol Błażewicz (karol) - Saturday, 05 July 2014, 18:13 GMT
I don't understand. What is it supposed to do and why is it needed?
'pacman -Sy' refreshed the dbs. You can set the DBPath in pacman.conf. You can use multiple configs e.g. just 'pacman' for the standard one, 'pacman --config /etc/pac2.conf' with /etc/pac2.conf using different DBPath, different mirrorlist, different repos etc.
Comment by Johannes Löthberg (demize) - Saturday, 05 July 2014, 18:27 GMT
Or just use --dbpath..

-S stands for Sync, as in you're syncing with the repos, et.c.

-D stands for Database, as in you only touch the DBs, you don't sync with the repos.

Loading...