Linux command
urpmi.update 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Example
urpmi.update -a
Example
urpmi.update [medium1] [medium2]
Example
urpmi.update --update
Example
urpmi.update -a --limit-rate [100k]
Example
urpmi.update -a -q
Example
urpmi.update -a --force-key
说明
urpmi.update updates the list of packages from configured repositories in Mageia Linux. This should be run before installing or upgrading packages to ensure the latest package lists are available. In Mageia documentation, "medium" and "repository" are used synonymously.
参数
- -a
- Update all enabled non-static media.
- --update
- Use only update media.
- --no-md5sum
- Disable MD5SUM file checking.
- --force-key
- Force update of GPG keys.
- -q, --quiet
- Quiet mode.
- -v, --verbose
- Verbose mode.
- --limit-rate _rate_
- Limit download speed in bytes/sec (suffixes k, m accepted).
- --wget
- Use wget for downloading.
- --curl
- Use curl for downloading.
- --proxy _url_
- Use specified HTTP proxy.
- --proxy-user _user:pass_
- Proxy authentication credentials.
FAQ
What is the urpmi.update command used for?
urpmi.update updates the list of packages from configured repositories in Mageia Linux. This should be run before installing or upgrading packages to ensure the latest package lists are available. In Mageia documentation, "medium" and "repository" are used synonymously.
How do I run a basic urpmi.update example?
Run `urpmi.update -a` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -a do in urpmi.update?
Update all enabled non-static media.