Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] wywalenie wszystkich zbednych pakietow
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt
View previous topic :: View next topic  
Author Message
soban_
l33t
l33t


Joined: 27 Aug 2008
Posts: 668
Location: /home/soban

PostPosted: Sun Sep 23, 2012 7:53 pm    Post subject: [SOLVED] wywalenie wszystkich zbednych pakietow Reply with quote

Tak jak w temacie, czy istnieje jakies polecenie, ktore pozwoli zrobic absolutna czystke w systemie do niezbednego minimum - bez X-ow itp sam basic system? Wiem ze moge:
Code:
eix -CI (tutaj-jakis-frazes) --only-names | xargs emerge -C
ale chce cos bardziej precyzyjnego za jednym strzalem.
_________________
gg: 525600


Last edited by soban_ on Mon Sep 24, 2012 9:00 am; edited 1 time in total
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Sun Sep 23, 2012 9:00 pm    Post subject: Reply with quote

pobierz stage3, zrob tam qlist -I i masz liste podstawowych pakietow, machnij skrypt ktory wywali wszystkie inne, niz te, ktore sa w stage3 i juz.
Back to top
View user's profile Send private message
soban_
l33t
l33t


Joined: 27 Aug 2008
Posts: 668
Location: /home/soban

PostPosted: Sun Sep 23, 2012 9:54 pm    Post subject: Reply with quote

No to jest mysl, tylko zamiast budowac petli - wiem ze chyba moge skorzystac z porownania 2 plikow txtowych, jakas mala podpowiedz w celu dokonania takowego porownania? Bedzie to chyba szybsze niz latanie calego skryptu w petli ze sprawdzaniem czy dany pakiet przypadkiem nie jest na liscie. Wiec zrobie tu i tu qlist -I nastepnie porownam te 2 pliki, a roznice dam do emerge -C. Tylko jak skutecznie porownac zawartosc tych 2 plikow (grep -v -f qlist1 qlist2)?
_________________
gg: 525600


Last edited by soban_ on Sun Sep 23, 2012 9:57 pm; edited 1 time in total
Back to top
View user's profile Send private message
Garrappachc
Guru
Guru


Joined: 26 Dec 2008
Posts: 362
Location: Kraków

PostPosted: Sun Sep 23, 2012 9:55 pm    Post subject: Reply with quote

A nie wystarczy wywalić wszystkiego z world i zrobić depclean?
_________________
De profundis clamavi ad Te, Domine

emerge --info | virtual aviation
Back to top
View user's profile Send private message
soban_
l33t
l33t


Joined: 27 Aug 2008
Posts: 668
Location: /home/soban

PostPosted: Sun Sep 23, 2012 10:31 pm    Post subject: Reply with quote

Tych pakietow w stage3 nie jest az tak duzo:
Quote:
app-admin/eselect
app-admin/eselect-python
app-admin/perl-cleaner
app-admin/python-updater
app-arch/bzip2
app-arch/gzip
app-arch/tar
app-arch/xz-utils
app-editors/nano
app-i18n/man-pages-da
app-i18n/man-pages-de
app-i18n/man-pages-fr
app-i18n/man-pages-it
app-i18n/man-pages-ja
app-i18n/man-pages-nl
app-i18n/man-pages-pl
app-i18n/man-pages-ro
app-i18n/man-pages-ru
app-i18n/man-pages-zh_CN
app-misc/ca-certificates
app-misc/editor-wrapper
app-misc/mime-types
app-misc/pax-utils
app-portage/eix
app-portage/portage-utils
app-shells/bash
app-shells/push
app-shells/zsh
dev-lang/perl
dev-lang/python
dev-libs/elfutils
dev-libs/expat
dev-libs/glib
dev-libs/gmp
dev-libs/libffi
dev-libs/libpcre
dev-libs/libxml2
dev-libs/mpc
dev-libs/mpfr
dev-libs/openssl
dev-libs/popt
dev-perl/Locale-gettext
dev-perl/XML-Parser
dev-util/gperf
dev-util/gtk-doc-am
dev-util/intltool
dev-util/pkgconfig
net-misc/iputils
net-misc/openssh
net-misc/rsync
net-misc/wget
sys-apps/acl
sys-apps/attr
sys-apps/baselayout
sys-apps/busybox
sys-apps/coreutils
sys-apps/debianutils
sys-apps/diffutils
sys-apps/file
sys-apps/findutils
sys-apps/gawk
sys-apps/grep
sys-apps/groff
sys-apps/help2man
sys-apps/kbd
sys-apps/kmod
sys-apps/less
sys-apps/man
sys-apps/man-pages
sys-apps/man-pages-posix
sys-apps/net-tools
sys-apps/openrc
sys-apps/portage
sys-apps/sandbox
sys-apps/sed
sys-apps/shadow
sys-apps/sysvinit
sys-apps/tcp-wrappers
sys-apps/texinfo
sys-apps/util-linux
sys-apps/which
sys-auth/pambase
sys-devel/autoconf
sys-devel/autoconf-wrapper
sys-devel/automake
sys-devel/automake-wrapper
sys-devel/binutils
sys-devel/binutils-config
sys-devel/bison
sys-devel/flex
sys-devel/gcc
sys-devel/gcc-config
sys-devel/gettext
sys-devel/gnuconfig
sys-devel/libtool
sys-devel/m4
sys-devel/make
sys-devel/patch
sys-fs/e2fsprogs
sys-fs/udev
sys-fs/udev-init-scripts
sys-kernel/linux-headers
sys-libs/cracklib
sys-libs/db
sys-libs/e2fsprogs-libs
sys-libs/gdbm
sys-libs/glibc
sys-libs/gpm
sys-libs/ncurses
sys-libs/pam
sys-libs/readline
sys-libs/timezone-data
sys-libs/zlib
sys-process/procps
sys-process/psmisc
virtual/acl
virtual/dev-manager
virtual/editor
virtual/init
virtual/libc
virtual/libffi
virtual/libiconv
virtual/libintl
virtual/man
virtual/modutils
virtual/os-headers
virtual/package-manager
virtual/pager
virtual/pam
virtual/pkgconfig
virtual/shadow
virtual/ssh
virtual/yacc
x11-misc/shared-mime-info
Jakby ktos potrzebowal i metoda jest skuteczna z porownaniem (grep -v -f qlist1 qlist2), pozniej tak jak w pierwszym poscie wystarczy zrobic, uzywajac cat do zlistowania plikow i | xargs emerge -C.
_________________
gg: 525600
Back to top
View user's profile Send private message
joi_
Apprentice
Apprentice


Joined: 28 Mar 2005
Posts: 171

PostPosted: Mon Sep 24, 2012 6:19 pm    Post subject: Reply with quote

soban_ wrote:
No to jest mysl, tylko zamiast budowac petli - wiem ze chyba moge skorzystac z porownania 2 plikow txtowych, jakas mala podpowiedz w celu dokonania takowego porownania?

sort + diff
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum