ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Autoinstalled leaf пакеты
@ 2023-12-12 17:55 Aleksey Cheusov
  2023-12-12 19:51 ` Dmitry V. Levin
  0 siblings, 1 reply; 2+ messages in thread
From: Aleksey Cheusov @ 2023-12-12 17:55 UTC (permalink / raw)
  To: community

Привет. Никто не подскажет способ найти leaf пакеты с флагом
autoinstalled?

А то мне тут apt-get autoremove предлагает снести пол системы.
Хочу явно пометить пакеты с помощью "apt-mark manual".

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Comm] Autoinstalled leaf пакеты
  2023-12-12 17:55 [Comm] Autoinstalled leaf пакеты Aleksey Cheusov
@ 2023-12-12 19:51 ` Dmitry V. Levin
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry V. Levin @ 2023-12-12 19:51 UTC (permalink / raw)
  To: ALT Linux Community general discussions

On Tue, Dec 12, 2023 at 09:55:14PM +0400, Aleksey Cheusov wrote:
> Привет. Никто не подскажет способ найти leaf пакеты с флагом
> autoinstalled?

Это все пакеты с флагом autoinstalled:
$ rpm -qa --qf '[%{autoinstalled}:%{name}\n]' | sed '/^1:/!d;s///'
 
А это все leaf пакеты:
$ apt-cache list-nodeps
  
(apt-скрипт list-nodeps из пакета apt-scripts)


-- 
ldv


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-12 19:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-12 17:55 [Comm] Autoinstalled leaf пакеты Aleksey Cheusov
2023-12-12 19:51 ` Dmitry V. Levin

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git