View previous topic :: View next topic |
Author |
Message |
zomnut n00b
Joined: 25 Aug 2012 Posts: 9
|
Posted: Tue Oct 08, 2024 6:51 pm Post subject: emerge --sync --ask only asks for one repository |
|
|
When I add --ask to emerge --sync, it only asks for verification on the first repository (the default gentoo one) and then proceeds to sync additional repositories regardless of my answer to that first prompt, even if that answer was no.
Code: | $ sudo emerge --sync --ask
Password:
>>> Syncing repository 'gentoo' into '/var/db/repos/gentoo'...
* Using keys from /usr/share/openpgp-keys/gentoo-release.asc
* Refreshing keys via WKD ... [ ok ]
Do you want to sync your ebuild repository with the mirror at
rsync://81.91.253.252/gentoo-portage? [Yes/No] no
Quitting.
>>> Syncing repository 'steam-overlay' into '/var/db/repos/steam-overlay'...
/usr/sbin/git fetch origin --depth 1
remote: Enumerating objects: 35, done.
remote: Counting objects: 100% (35/35), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 18 (delta 10), reused 18 (delta 10), pack-reused 0 (from 0)
Unpacking objects: 100% (18/18), 2.64 KiB | 450.00 KiB/s, done.
From https://github.com/gentoo-mirror/steam-overlay
+ e14708f...1dc5a0d master -> origin/master (forced update)
/usr/sbin/git reset --merge refs/remotes/origin/master
=== Sync completed for steam-overlay
Action: sync for repo: gentoo, returned code = 130
Action: sync for repo: steam-overlay, returned code = 0 |
I would expect a confirmation for each repository sync, or at a minimum I would expect it to use the response given for each repository. Where is my understanding falling short? |
|
Back to top |
|
|
powerN00b n00b
Joined: 11 Jul 2024 Posts: 5
|
Posted: Wed Oct 09, 2024 9:19 am Post subject: |
|
|
Code: | --sync Updates repositories, for which auto-sync, sync-type and sync-uri attributes are set in repos.conf. A list of repos or aliases can be specified, in which case they will be updated regardless of their auto-sync attribute. |
/etc/portage/repos.conf |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|