IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
Also, if there's dkms -- force install of kernel-headers-modules
because dkms may just need it in the filetrigger.
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
Trying to minimize dependence. No need whole library for three simple logging
functions (which used as basic `echo' wrappers).
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
- Tools cannot be used under user anymore because sudo sub-invocation is
removed (call them under root instead).
- Require explicit yes or enter to start installation (previously any key work
work except no).
- Improve package version comparison (ALT#42149).
- Do not show epoch and disttag in package names.
- Warn user if installed package (1 month) or APT database (1 day) are stalled.
- Do not require install of 'apt-scripts' for package availability mark in
list mode.
- Show package age in list mode.
Example message on stderr:
package kernel-image-un-def-1:5.16.18-alt1:sisyphus+297403.100.1.1@1648473578 is not installed
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
Do not treat non-'yes'/'no' answers as 'yes', except for a enter (which is
default choice - 'yes'). User's cat may accidentally press garbage and this
should not be treated as 'yes'. Also, treat `^D' as 'no'.
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
- Allow setting release in old (backward compatibility) format (release or
version-release). This was broken since `@buildtime' is added (few
years ago) to the `apt-cache pkgnames' output. Then it did not become
better when `:disttag' is added to the output recently.
- Allow setting release in `uname -r' compatible format:
version-flavour-release.
- Allow setting release in package name format, RPM style:
[kernel-image-]flavour-[epoch:]version-release or APT style:
[kernel-image-]flavour=[epoch:]version-release,
[kernel-image-]flavour#[epoch:]version-release.
This is for future `--list' option.
Fixes: Bug#39041.
# update-kernel -r alt
Running kernel version: kernel-image-std-def-1:5.4.57-alt1
Checking for available kernel packages...
package kernel-image-std-def- is not installed
Try to install new kernel kernel-image-std-def- and update its modules [y]/n?
# update-kernel -t alt
Running kernel version: kernel-image-std-def-1:5.4.57-alt1
Checking for available kernel packages...
package kernel-image-alt- is not installed
Try to install new kernel kernel-image-alt- and update its modules [y]/n?
rpm-4.13 doesn't need the deleteion of Epoch in the argument for rpm -q.
The old pattern won't work well in the presence of disttags.
(rpm-4.0.4 in p8 is about to be patched to accept such arguments, too.)