You are not logged in.
Greetings!
Is there an option in pacman to query the package info ( like -Si ) from the server repo instead of the local package database? Or maybe some additional program is needed for this?
Update: Maybe this can be done by downloading a fresh copy of package DB with -Sy, but how to specify a custom package DB file? Is this accomplished with --dbpath option? Say
pacman -Sy --dbpath /tmp/tmpdb
Last edited by nbd (2015-06-07 18:44:23)
bing different
Offline
Greetings!
Is there an option in pacman to query the package info ( like -Si ) from the server repo instead of the local package database? Or maybe some additional program is needed for this?
The info displayed by -Si is the info from the server repo. -Qi displays the local info. Please read the Pacman man page for further information.
Moving to newbie corner.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Or maybe some additional program is needed for this?
You could use your browser.
https://www.archlinux.org/packages/
Offline
Update: Maybe this can be done by downloading a fresh copy of package DB with -Sy, but how to specify a custom package DB file? Is this accomplished with --dbpath option? Say
pacman -Sy --dbpath /tmp/tmpdb
The checkupdates script that comes with pacman does something like that.
Offline
nbd wrote:Greetings!
Is there an option in pacman to query the package info ( like -Si ) from the server repo instead of the local package database? Or maybe some additional program is needed for this?
The info displayed by -Si is the info from the server repo. -Qi displays the local info. Please read the Pacman man page for further information.
Moving to newbie corner.
How could one interpret this?
[root@kw etc]# checkupdates | grep pcre
pcre
[root@kw etc]# pacman -Si pcre | grep Version
Version : 8.37-1
[root@kw etc]# pacman -Qi pcre | grep Version
Version : 8.37-1
[root@kw etc]#
bing different
Offline
How could one interpret this?
[root@kw etc]# checkupdates | grep pcre pcre [root@kw etc]# pacman -Si pcre | grep Version Version : 8.37-1 [root@kw etc]# pacman -Qi pcre | grep Version Version : 8.37-1 [root@kw etc]#
Ok, after updating your original post and asking this question I understand what you are actually trying to do. The "local package database" generally refers to /var/lib/pacman/local, not /var/lib/pacman/sync, which is why it was unclear.
fakeroot pacman -Syb /tmp/tmpdb -i pcre
should do what you want, but be very careful never to install anything using that temporary database. Take a look at the checkupgrades script to see how it does things if you want to do more than just check remote package info.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Please explain what you are *really* trying to do.
Also https://github.com/MrElendig/kittypack
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
What I want to do is just to check beforehand what will happen when -Syu is run. E.g. if some package in new version got additional 200 Mb required dependendies for functionality which isn't needed.
Xyne:
Thanks for the advise!
bing different
Offline
what will happen when -Syu is run
Your system will be fully updated.
If you don't like the dependencies pulled in by a package, use the ABS to build it without them.
https://wiki.archlinux.org/index.php/Arch_Build_System
Offline
Check the AUR, it sometimes has various versions of the same package: one with minimal dependencies, another with the kitchensink thrown in.
Offline