On 16/05/15 23:58, Yamaban wrote:
On Sat, 16 May 2015 23:25, buhorojo wrote:
On 16/05/15 22:02, Felix Miata wrote:
buhorojo composed on 2015-05-16 20:53 (UTC+0200): [snip]
Is there a way to choose that ftp5 site permanently, or a quick way of switching? Yes. Each *.repo file in /etc/zypp/repos.d/ is a component of your total repository configuration. Files there with such extensions as .repobak or .repogwdg are ignored. You can create a whole fleet of files there or elsewhere that can be copied to or from valid .repo files according to what repos you want to be active, and as quickly as renaming or copying any small text file. Save Printing.repo to some other name, then edit it to change from download.opensuse.org/ to ftp5.gwdg.de/pub/opensuse/ if you really want to limit yourself to one single mirror that may or may not be up to date or overloaded when you need to use it. I have this:
download.opensuse.org-lxde.repo repo-debug-update-non-oss.repo ftp.gwdg.de-suse.repo repo-debug-update.repo home:darkhado:openSUSE.repo repo-non-oss.repo network:chromium.repo repo-oss.repo openSUSE-13.2-0.repo repo-source.repo opensuse-guide.org-repo.repo repo-update-non-oss.repo Printing.repo repo-update.repo repo-debug.repo
Can you give me a yes/no on these? Are those the repositories which online update reads? If I delete Printing.repo do the packages that were installed from it remain? If I delete Printing.repo will it update any longer?
Also I see that the printing stuff is experimental. Is it possible to freeze the repository and prevent it adding anything else now that I have it working? zypper al <packagename> will lock any package, installed or not, until such time as you do zypper rl <packagename>, or you do something with zypper or yast to induce it to ask you if you wish the lock to be removed and you answer yes.
OK. So If al locks a package. What locks a repository?
Sorry, if these appear to be stupid questions (again) but your help and patience is invaluable.
Please, do yourself a favor and do NOT delete a *.repo file, but rename it. Yep. I remember now. I can then go back to it. Slapped wrists. Bad file management.
e.g. "mv Printing.repo Printing.repobak" Does this prevent it updating? I mean yast online update. If possible. But, a even more easy and transparent way to stop updateing and installing from a repo is to disable it.
e.g. "zypper -mr -R -d Printing" zypper -mr -R -d Printing Unknown option 'm' :(
Why isn't there a disable repository? Usage: zypper [--global-options] <command> [--command-options] [arguments] Global Options: --help, -h Help. --version, -V Output the version number. --promptids Output a list of zypper's user prompts. --config, -c <file> Use specified config file instead of the default. --userdata <string> User defined transaction id used in history and plugins. --quiet, -q Suppress normal output, print only error messages. --verbose, -v Increase verbosity. --[no-]color Whether to use colors in output if tty supports it. --no-abbrev, -A Do not abbreviate text in tables. --table-style, -s Table style (integer). --non-interactive, -n Do not ask anything, use default answers automatically. --non-interactive-include-reboot-patches Do not treat patches as interactive, which have the rebootSuggested-flag set. --xmlout, -x Switch to XML output. --ignore-unknown, -i Ignore unknown packages. --reposd-dir, -D <dir> Use alternative repository definition file directory. --cache-dir, -C <dir> Use alternative directory for all caches. --raw-cache-dir <dir> Use alternative raw meta-data cache directory. --solv-cache-dir <dir> Use alternative solv file cache directory. --pkg-cache-dir <dir> Use alternative package cache directory. Repository Options: --no-gpg-checks Ignore GPG check failures and continue. --gpg-auto-import-keys Automatically trust and import new repository signing keys. --plus-repo, -p <URI> Use an additional repository. --plus-content <tag> Additionally use disabled repositories providing a specific keyword. Try '--plus-content debug' to enable repos indicating to provide debug packages. --disable-repositories Do not read meta-data from repositories. --no-refresh Do not refresh the repositories. --no-cd Ignore CD/DVD repositories. --no-remote Ignore remote repositories. --releasever Set the value of $releasever in all .repo files (default: distribution version) Target Options: --root, -R <dir> Operate on a different root directory. --disable-system-resolvables Do not read installed packages. Commands: help, ? Print help. shell, sh Accept multiple commands at once. Repository Management: repos, lr List all defined repositories. addrepo, ar Add a new repository. removerepo, rr Remove specified repository. renamerepo, nr Rename specified repository. modifyrepo, mr Modify specified repository. refresh, ref Refresh all repositories. clean Clean local caches. Service Management: services, ls List all defined services. addservice, as Add a new service. modifyservice, ms Modify specified service. removeservice, rs Remove specified service. refresh-services, refs Refresh all services. Software Management: install, in Install packages. remove, rm Remove packages. verify, ve Verify integrity of package dependencies. source-install, si Install source packages and their build dependencies. install-new-recommends, inr Install newly added packages recommended by installed packages. Update Management: update, up Update installed packages with newer versions. list-updates, lu List available updates. patch Install needed patches. list-patches, lp List needed patches. dist-upgrade, dup Perform a distribution upgrade. patch-check, pchk Check for patches. Querying: search, se Search for packages matching a pattern. info, if Show full information for specified packages. patch-info Show full information for specified patches. pattern-info Show full information for specified patterns. product-info Show full information for specified products. patches, pch List all available patches. packages, pa List all available packages. patterns, pt List all available patterns. products, pd List all available products. what-provides, wp List packages providing specified capability. Package Locks: addlock, al Add a package lock. removelock, rl Remove a package lock. locks, ll List current package locks. cleanlocks, cl Remove unused locks. Other Commands: versioncmp, vcmp Compare two version strings. targetos, tos Print the target operating system ID string. licenses Print report about licenses and EULAs of installed packages. download Download rpms specified on the commandline to a local directory. source-download Download source rpms for all installed packages to a local directory.
Then installed packages from this repo will remain, but no update for these packages will be done.
The "Online update" aka patches needs these at least: repo-update.repo repo-update-non-oss.repo
(the later only for Acrobat Reader and Adobe Flash Player plugin)
- Yamaban.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org