You are not logged in.

#1 2023-09-11 12:18:41

Twiki
Banned
Registered: 2018-03-30
Posts: 40

[Resolved] Does yay have a dry-run option like -p of pacman.

I was using cower with some self written Bash scripts. And I've been manually updating packages with 'makepkg -sic' ever since cower died. But it just became too much. Against better judgement, I installed yay just now, to update AUR packages. Just the AUR packages with yay -Sua. But WTF is the dry-run switch / option? The -p switch / option that pacman has: pacman -Syyup.

Last edited by Twiki (2023-09-12 12:29:43)


Bidi-bidi-bidi-bidi.

Offline

#2 2023-09-11 12:20:58

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 12,165
Website

Re: [Resolved] Does yay have a dry-run option like -p of pacman.

Mod note: moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2023-09-11 15:50:35

Twiki
Banned
Registered: 2018-03-30
Posts: 40

Re: [Resolved] Does yay have a dry-run option like -p of pacman.

Thanks WorMzy. Thought that it was such a newb question, I’d better post it here.


Bidi-bidi-bidi-bidi.

Offline

#4 2023-09-11 16:54:15

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,387

Re: [Resolved] Does yay have a dry-run option like -p of pacman.

You basically get what amounts to a dry run when being prompted which AUR packages you want to include and then Ctrl+Cing out. Which usecase do you envision where that isn't sufficient?

Offline

#5 2023-09-11 17:43:45

Twiki
Banned
Registered: 2018-03-30
Posts: 40

Re: [Resolved] Does yay have a dry-run option like -p of pacman.

Using yay from Bash scripts to capture and display what is going to be updated..

Last edited by Twiki (2023-09-11 17:49:45)


Bidi-bidi-bidi-bidi.

Offline

#6 2023-09-11 19:10:45

seth
Member
Registered: 2012-09-03
Posts: 54,569

Re: [Resolved] Does yay have a dry-run option like -p of pacman.

pacman -Syyup

Check the pacman manpage, read up what the second "y" does, then stop using it unless you *actually* mean to.
This also sets you up for a partial update w/ the next "pacman -S foo", so don't do this at all!
Use checkupdates.

Afaict "yay -Qu" will query updates, but I don't actually know what it does.

Offline

#7 2023-09-11 20:00:07

Twiki
Banned
Registered: 2018-03-30
Posts: 40

Re: [Resolved] Does yay have a dry-run option like -p of pacman.

seth wrote:

pacman -Syyup

Check the pacman manpage, read up what the second "y" does, then stop using it unless you *actually* mean to.
This also sets you up for a partial update w/ the next "pacman -S foo", so don't do this at all!
Use checkupdates.

From the man page :

Passing two --refresh or -y flags will force a refresh of all package databases, even if they appear to be up-to-date.

Enlighten me. Because I do not see the issue with the partial updates.

seth wrote:

Afaict "yay -Qu" will query updates, but I don't actually know what it does.

This might be it. Bidi bidi bidi bidi.

yay -Qu
python2-gobject2 2.28.7-6 -> 2.28.7-7
gconfmm 2.28.3-6 -> 2.28.3-7
kodi-addon-inputstream-rtmp-git 2.0.9.Leia.r0.g5311e2f-1 -> 21.0.1.Omega.r0.gc421903-1
python2-pytest 4.6.11-1 -> 4.6.11-2
python2-chardet 4.0.0-2 -> 4.0.0-3
python2-dateutil 2.8.2-1 -> 2.8.2-2
metis 5.1.0.p10-2 -> 5.2.1-2
nvm 0.38.0-2 -> 0.39.5-1
python2-pytz 2021.1-1 -> 2023.3-1
rar 6.0.1-1 -> 6.23.0-1
python2-atomicwrites 1.4.0-3 -> 1.4.1-1
python2-olefile 0.46-3 -> 0.46-5
libuser 0.62-2 -> 0.64-1
python2-funcsigs 1.0.2-3 -> 1.0.2-4
python2-singledispatch 3.4.0.3-4 -> 3.7.0-3
espeak 1:1.48.04-3 -> 1:1.48.04-4
python2-numpy 1.16.6-2 -> 1.16.6-3
python2-cffi 1.14.6-2 -> 1.15.1-3
libmagick6 6.9.12.12-2 -> 6.9.12.93-1
kodi-addon-inputstream-adaptive-git 2.4.6.Leia.r6.g09ec268-1 -> 21.1.3.Omega.r0.gebe8f36-1
python2-wheel 0.37.0-2 -> 0.37.1-4
mprime 303b6-1 -> 2:30.8.15-1
electron9 9.4.4-5 -> 9.4.4-6
libkipi 21.12.3-1 -> 23.04.3-1
ceph-libs 15.2.17-1 -> 18.2.0-1
python-anytree 2.8.0-6 -> 2.9.0-1
python2-urllib3 1.26.7-1 -> 1.26.15-1
python2-beautifulsoup4 4.9.3-3 -> 4.9.3-6
python2-more-itertools 5.0.0-2 -> 5.0.0-3
python2-pytest-runner 5.2-4 -> 5.2-5
kxmlrpcclient 5.97.0-1 -> 5.100.0-1
python2-jinja 2.11.3-3 -> 2.11.3-5
python2-enum34 1.1.9-1 -> 1.1.10-2
gmime 2.6.23+4+g91dcee38-3 -> 1:2.6.23+4+g91dcee38-1
python2-werkzeug 1.0.1-1 -> 1.0.2u.r5.g54acdd16-1
nghttp2 1.47.0-1 -> 1.56.0-1
python2-bcrypt 3.1.7-4 -> 3.1.7-5
python2-simplejson 3.17.2-4 -> 3.19.1-1
python2-asn1crypto 1.4.0-3 -> 1.5.1-1
python2-soupsieve 1.9.6-2 -> 1.9.6-4
python2-cairo 1.18.2-4 -> 1.19.1-2
python2-wcwidth 0.2.5-3 -> 0.2.5-6
python2-typing 3.10.0.0-1 -> 3.10.0.2-1
auracle-git r366.8739929-1 -> r366.8739929-5
python2-pillow 6.2.1-3 -> 6.2.2-3
kmediaplayer 5.97.0-1 -> 5.102.0-1
ttf-iosevka 6.1.3-1 -> 26.3.3-1
python2-nose 1.3.7-10 -> 1.3.7-13
rapidxml 1.13-3 -> 1.13-5
virtualbox-ext-oracle 6.1.22-1 -> 7.0.10-1
qt4 4.8.7-33 -> 4.8.7-35
libglade 2.6.4-7 -> 2.6.4-8
ceph 15.2.17-1 -> 18.2.0-1
python-progress 1.6-5 -> 1.6-8
python2-freezegun 0.3.15-4 -> 0.3.15-8
python2-pycparser 2.20-3 -> 2.21-1
python2-ipy 1.00-1 -> 1.01-1
python2-attrs 21.2.0-1 -> 21.4.0-1
openssl-1.0 1.0.2.u-1 -> 1.0.2.u-6
python2-cryptography 3.3.2-1 -> 3.3.2-2
qt5-webkit 5.212.0alpha4-16 -> 5.212.0alpha4-20
python2-py 1.10.0-1 -> 1.11.0-2
python2-pyopenssl 20.0.1-1 -> 21.0.0-6
python2-requests 2.26.0-1 -> 2.27.1.r5.gfa1b0a36-1
python2-markdown 3.1.1-5 -> 3.1.1-6
python2-mock 3.0.5-6 -> 3.0.5-9
python2-pluggy 0.13.1-4 -> 0.13.1-9
gconfmm-docs 2.28.3-6 -> 2.28.3-7
celt 0.11.3-4 -> 0.11.3-6
kdewebkit 5.97.0-1 -> 5.107.0-1
kjsembed 5.97.0-1 -> 5.100.0-1
opencl-amd 21.10.1247438-1 -> 1:5.6.1-1

Last edited by Twiki (2023-09-11 20:01:44)


Bidi-bidi-bidi-bidi.

Offline

#8 2023-09-11 20:07:50

seth
Member
Registered: 2012-09-03
Posts: 54,569

Re: [Resolved] Does yay have a dry-run option like -p of pacman.

From the man page :

Very good. The nasty implications of that are that you put undue stress on the mirror and risk to corrupt your local database.
It's only to fix existing database problems.

Bidi bidi bidi bidi.

Unfortunately I only know that other quote from Buck Rogers (it's been ages since I saw it)

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#9 2023-09-11 20:25:16

Twiki
Banned
Registered: 2018-03-30
Posts: 40

Re: [Resolved] Does yay have a dry-run option like -p of pacman.

seth wrote:

From the man page :

Very good. The nasty implications of that are that you put undue stress on the mirror and risk to corrupt your local database.
It's only to fix existing database problems.

Bidi bidi bidi bidi.

Unfortunately I only know that other quote from Buck Rogers (it's been ages since I saw it)

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Thanks for explaining. Will mark the thread as resolved.

Unfortunately I only know that other quote from Buck Rogers (it's been ages since I saw it)

If you're not from the USE, but from the USA you can rewatch it here : https://www.amazon.com/Buck-Rogers-25th … B0017106M8. I'm battling it out with Amazon now to stream  it to the USE. And you know what, they are sill responding to my emails. Bidi bidi bidi bidi.


Bidi-bidi-bidi-bidi.

Offline

Board footer

Powered by FluxBB