You are not logged in.

#1 2013-01-23 02:01:12

TiuTalk
Member
From: Rio de Janeiro
Registered: 2013-01-23
Posts: 2
Website

[Resolved] Safely removing orphan packages?

Today I ran sudo pacman -Rs $(pacman -Qtdq) and got:

Alvos (79): glew-1.9.0-2  jade-1.2.1-8  lib32-acl-2.2.51-2  lib32-atk-2.6.0-1
            lib32-cairo-1.12.8-1  lib32-e2fsprogs-1.42.6-1  lib32-gdk-pixbuf2-2.26.5-1
            lib32-harfbuzz-0.9.9-1  lib32-icu-50.1.1-1  lib32-keyutils-1.5.5-1
            lib32-krb5-1.11-1  lib32-libcups-1.6.1-1  lib32-libgpg-error-1.10-1
            lib32-libldap-2.4.33-1  lib32-libltdl-2.4.2-7  lib32-libxcomposite-0.4.4-1
            lib32-libxft-2.3.1-1  lib32-libxinerama-1.1.2-1  lib32-nspr-4.9.4-1
            lib32-pango-1.32.4-1  lib32-pixman-0.28.2-1  lib32-tdb-1.2.11-1
            libutempter-1.1.6-1  perl-encode-locale-1.03-1  perl-file-listing-6.04-1
            perl-html-parser-3.69-2  perl-html-tagset-3.20-3  perl-http-cookies-6.01-1
            perl-http-daemon-6.01-1  perl-http-date-6.02-1  perl-http-message-6.03-1
            perl-http-negotiate-6.01-1  perl-libwww-6.04-1  perl-lwp-mediatypes-6.02-1
            perl-net-http-6.03-1  perl-sgmls-1.03ii-4  perl-uri-1.60-1
            perl-www-robotrules-6.02-1  perl-xml-namespacesupport-1.11-2
            perl-xml-sax-0.99-3  perl-xml-sax-base-1.08-2  python-3.3.0-3
            python2-crypto-2.6-3  wxgtk-2.8.12.1-4  xbitmaps-1.1.1-2  xinetd-2.3.15-2
            xorg-luit-1.1.1-1  boost-1.50.0-4  cabextract-1.4-2  ctemplate-2.2-1
            dkms-2.2.0.3-12  docbook2x-0.8.8-11  gnu-netcat-0.7.1-4  icoutils-0.30.0-1
            lib32-gettext-0.18.2-1  lib32-glu-9.0.0-1  lib32-gtk2-2.24.14-1
            lib32-libcanberra-0.30-2  lib32-libgcrypt-1.5.0-1  lib32-libpng12-1.2.50-2
            lib32-nss-3.14.1.1.93-1  lib32-openal-1.15.1-1  lib32-sdl-1.2.15-3
            libiodbc-3.52.8-1  libzip-0.10.1-1  mesa-demos-8.0.1-2  mysql-python-1.2.3-3
            netkit-bsd-finger-0.17-7  perl-xml-libxml-1.98-1  python-cairo-1.10.0-2
            python2-docutils-0.10-1  python2-paramiko-1.9.0-1  python2-pexpect-2.4-2
            python2-pysqlite-2.6.3-3  scons-2.2.0-1  tinyxml-2.6.2-2  toluapp-1.0.93-6
            wxpython-2.8.12.1-4  xterm-288-1

Total removido:     407,39 MiB

Deseja remover estes pacotes? [S/n]

Sorry for the output beign in portuguese, the question is... is it safe to remove all those packages?

There are a few there that worries me, like Python, xTerm and dkms.

Last edited by TiuTalk (2013-01-23 14:23:08)

Offline

#2 2013-01-23 02:08:51

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Resolved] Safely removing orphan packages?

If you don't need them, sure it is safe to remove them. You can always check if you are uncertain with pacman -Qi $pkg


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-01-23 03:08:31

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,230

Re: [Resolved] Safely removing orphan packages?

Yes.  If you are paranoid, don't clear your cache and save that list to a file.  You can always put them back from cache using the file you created before you removed them.

And remember, just because one is paranoid, it does not mean they are not out to get you tongue


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2013-01-23 04:03:53

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,119

Re: [Resolved] Safely removing orphan packages?

You can probably remove Python 3 if you really want to as long as you have Python 2 installed.

xterm isn't needed if you have another terminal emulator.

dkms is only for recompiling modules after a kernel update. If you're using modules from the main repos, it's not doing anything.

Last edited by Scimmia (2013-01-23 04:06:20)

Online

#5 2013-01-23 12:08:06

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Resolved] Safely removing orphan packages?

You may want to run

pacman -R $(pacman -Qtdq)

and not 'pacman -Rs' first. This will show just the unneeded packages w/o cluttering the output with their unneeded dependencies.


Run

LC_ALL=C <command>

to get output in English.

Offline

#6 2013-01-23 14:22:48

TiuTalk
Member
From: Rio de Janeiro
Registered: 2013-01-23
Posts: 2
Website

Re: [Resolved] Safely removing orphan packages?

My question were answered and i've learned something today! big_smile

Thank you all.

Offline

Board footer

Powered by FluxBB