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
Opened by castet (castet) - Saturday, 05 July 2014, 11:45 GMT
Last edited by Allan McRae (Allan) - Monday, 04 August 2014, 05:01 GMT
|
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.
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.
... 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 )
'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.
-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.