Bug 48319 - apt-get dedup использует egrep
Summary: apt-get dedup использует egrep
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: apt-scripts (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P1 normal
Assignee: Gleb F-Malinovskiy
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-03 07:33 MSK by Ivan A. Melnikov
Modified: 2025-02-09 17:05 MSK (History)
5 users (show)

See Also:


Attachments
Замена egrep на grep -E (530 bytes, patch)
2024-10-26 09:44 MSK, Vladimir Vaskov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan A. Melnikov 2023-11-03 07:33:53 MSK
Вчера попробовал использовать apt-get dedup, и оно снесло мне пол системы (но это другие баги, они уже есть тут).

Эту я завёл, чтобы напомнить, что в dedup вызывается egrep (по разу на каждый duplicate), так что вывод скрипта оказывается забит его warning'ами.
Comment 1 Anton Farygin 2024-03-12 11:17:20 MSK
тоже нарвался. и на снос полсистемы.
Comment 2 Vladimir Vaskov 2024-10-26 09:44:26 MSK
Created attachment 17065 [details]
Замена egrep на grep -E

Это немного, но это честный труд
Comment 3 Vladimir Vaskov 2025-01-15 18:21:59 MSK
Мне сказали, как тут дела делаются. Приоритет поднял. Вот таск с патчем: #369672
Comment 4 Repository Robot 2025-01-16 17:58:07 MSK
apt-scripts-0.1.5-alt1 -> sisyphus:

 Wed Jan 15 2025 Vladimir Vaskov <rirusha@altlinux> 0.1.5-alt1
 - fixed dedup 'egrep is obsolescent' spam (closes: #48319)
Comment 5 Vladimir D. Seleznev 2025-02-09 17:05:51 MSK
(In reply to Ivan A. Melnikov from comment #0)
> Вчера попробовал использовать apt-get dedup, и оно снесло мне пол системы
> (но это другие баги, они уже есть тут).

    # apt-shell
    # dedup
    # status
    # install important packages that dedub mark for deletion to keep them in the system
    # status
    # install what you have missed at the first time
    # status
    # commit