[SOLVED] Removing all uneeded packages, GNOME Issues

Just setup arch in VirtaulBox, and I got everything working! Hooray, only took 4 tries, but thats what I call the learning process and I love it!
My issue was this:
Gnome wouldn't save my theme settings! Each time I ran it with startx my theme settings were reset to default! I'd change the theme to DarkRoom and change my icon set to Tango, and then after logging out, and running startx again, poof, back to default. My background, however, DID save.
So after that experiment, I've decided to use KDE, just cause I wanna do it, no real reason, besides learning as much as I can
I've gone and removed gnome:
pacman -Rc gnome
Now I'm trying to clear out all the excess packages, so I ran:
pacman -Qdt
It shows a whole bunch of stuff, so what I'm asking is this: How can I clear out all unneeded packages, orphaned packages, etc
Coming from the Debian based world, I know I could use apt-get autoremove to get rid of unneeded packages, and I would like to know if there is a way to do this using pacman
If not, is it possible to run pacman -Qdt and export the output to a file, then run pacman -R  and have it access that file and remove all those packages?
Thank you for the assistance!
Last edited by novafluxx (2009-10-24 21:20:44)

Pierre wrote:1) You should have use pacman -Rcsn gnome
2) You can removed unneeded packages by pacman -Rcsn `pacman -Qqdt`
Thank you for the fast reply, I will try to remember that!
I've tried running what you suggested, but it doesn't seem to be working...
pacman -Rcsn 'pacman -Qqdt"
says its not found in the local db
Mefju wrote:Just use pacman -Rs $(pacman -Qqdt) as root
This will do it! I get it, make it use the string output of pacman -Qqdt as the input for pacman -Rcsn ?
Last edited by novafluxx (2009-10-24 21:10:42)

Similar Messages

  • [solved] list all aur packages installed

    Hi,
    I'm looking a comman which list all AUR packages installed on my system. Man yaourt or man pacman don't help me (but maybe I missed something).
    Is it possible to list these AUR packages ?
    Last edited by ppr (2011-11-13 23:40:49)

    yaourt -Q | grep local/
    Works for me. I'm sure someone will have a better solution though.
    Last edited by WorMzy (2011-11-13 23:24:45)

  • I just purchased a new in factory sealed box ipod 5.5. I removed all from packaging and charged overnight. The battery won't hold a charge. How do I get a new battery under warranty for this NOS item?

    I Just purchased a NOS ipod 5.5 brand new in factory sealed packaging from an apple dealer. I charged the unit overnight but the battery will not hold a charge. I read the Apple warranty and expect Apple to honor the warranty to the original end user purchaser (me). however I do not want to give up this iPod for a newer model because I love the sound from the Wolfson board. The newer iPods sound horrible and give me headaches. Does Apple still provide batteries for the 5.5 30 gb iPod? Or am I out of luck due to obsolescence? Thanks in advance!

    I feel your angst, especially, knowing that Apple has become the most profitable company in the world, by selling us products that breaks down when the warranty run out, and crap service staff, who doesn't know anything about the iPod Classic, except offer to sell us refurbished iPod classic.
    You can get the Battery replaced at 3rd Party store for less.
    BTW, (most contributors might not agree with me) if  you recharged your iPod everyday, it will be dead just 2 months after the warranty expires. My logic, the iPod battery will last for about 400 recharge cycles according to Apple Specs listed below
    Charge Cycles
    A properly maintained iPod battery is designed to retain up to 80% of its original capacity at 400 full charge and discharge cycles
    So if your lifestyle is plugin in to car Audio dock, while driving, and plug in to home stereo while home, then it is 2-3 charge cycles per day.
    But then you cant do anything about it, just switch to another media player.

  • [Solved] Remove all akonadi data footprint

    Hey
    I just wanna delete whole akonadi footprint, it's mean nepomuk index repository, strigi,... and other stuff. reply reflection
    I don't want to delete akonadi itself, actually i want to akonadi retrieve whole of data again.
    Merci beaucoup
    I googl'd a lot, without fair success
    Last edited by Alir3z4 (2011-11-11 20:09:41)

    Akonadi and Nepomuk are different things.
    Akonadi stores the stuff in ~/.config/akonadi
    Nepomuk stores its DB in ~/.kde4/share/apps/nepomuk/repository

  • [Solved] Removing software

    Hello all,
    Lately I've been installing some software to test new applications. I deleted the ones I don't want, but ofcourse they've left quite some dependencies on my system, out of which some I don't even need. Coming from an Ubuntu install, I know that in Ubuntu I've got the command
    sudo apt-get autoremove
    to automatically remove unneeded libs etc. I wonder if Arch Linux has a similar feature? I've tried the man page, but other than
    -u, --unneeded
    Removes the targets that are not required by any other packages.
    This is mostly useful when removing a group without using the -c
    option, to avoid breaking any dependencies.
    I didn't find anything.
    Last edited by Unia (2010-08-17 13:25:02)

    Check under the "Remove" the "-c" "-n" and the "-s".
    REMOVE OPTIONS
           -c, --cascade
               Remove all target packages, as well as all packages that depend on one or more target packages. This
               operation is recursive, and must be used with care since it can remove many potentially needed
               packages.
           -k, --dbonly
               Removes the database entry only. Leaves all files in place.
           -n, --nosave
               Instructs pacman to ignore file backup designations. Normally, when a file is removed from the system
               the database is checked to see if the file should be renamed with a ".pacsave" extension.
           -s, --recursive
               Remove each target specified including all of their dependencies, provided that (A) they are not
               required by other packages; and (B) they were not explicitly installed by the user. This operation is
               recursive and analogous to a backwards --sync operation, and helps keep a clean system without orphans.
               If you want to omit condition (B), pass this option twice.
    So, pacman -Rcn for "autoremove" equivalnt, and -Rcns for a more thorough removal, which will remove deps that could stay as orphans
    Last edited by flamelab (2010-08-17 13:20:57)

  • [SOLVED] Remove completely Gnome and GDM (without messing MATE)

    Hi everybody,
    I wanted to try the new Gnome on my laptop and I installed it following the wiki with the command:
    sudo pacman -S gnome gnome-shell gnome-extra gdm
    I really like it (both the "standard" and the classic interfaces), but unfortunately it makes my laptop quite slow,
    therefore I would like to remove it leaving only MATE on my desktop.
    I noticed that Gnome partially conflicts with my MATE desktop (for example in a Gnome Classic session I would expect Nautilus
    to be the default file browser, instead caja is opened), therefore I would like to know if there is some safe way to remove
    all the installed packages without messing out with MATE.
    Thanks in advance!
    Solution here: https://bbs.archlinux.org/viewtopic.php?id=117144
    Last edited by lucacerone (2014-04-02 00:16:29)

    Ok I think I found out on my own (searching on google send me to an Arch forum thread https://bbs.archlinux.org/viewtopic.php?id=117144, but I was looking for it in the wrong section).
    Sorry for the pointless post.

  • Right click problem: I did not know about the Yahoo sidebar issue, I have removed all toolbars from my browser from 'view' menu. There is nothing in my 'extensions' to disable. Right click is not working. What to do?

    Right clicking is not working on any of the websites. I read up that it's a Yahoo sidebar issue. But, in my extentions, Yahoo sidebar is not there. I had removed all toolbars, but from 'view' menu. Now how do I get my right click to work?
    == This happened ==
    Every time Firefox opened
    == I've noticed it on 1 Aug 2010

    This is a user-supported board. You are not addressing Apple here. Nor is it a good idea to post your private information to a public forum. You should edit your post immediately.
    Unfortunately no one here can access your support history. You must respond to the emails directly.

  • How to remove all packages in a group except x, y, and z?

    When I installed Arch, I installed KDE.  Since then, I've switched to tiling WMs (Awesome, then DWM), and I really have no need of most of KDE any more.  I still really like Dolphin, though.  Is there a simple way to tell pacman to remove the kde group except for dolphin and its dependencies? (i.e., rather than just removing all of kde and reinstalling the few bits I want.)

    Try
    #!/bin/bash
    groups="kde"
    packages="kdebase-dolphin kdeutils-kcalc"
    comm -23 <(comm -12 <(pacman -Sgq $groups|sort) <(pacman -Qq) | sort) <(for i in $packages; do pactree -u $i; done | sort)
    <thisscriptname> | sudo pacman -Rns -
    It allowed me to remove 344 of 396 packages I installed with 'pacman -S kde', both dolphin and kcalc seem to work (they at least start up ;P).
    Of course you need to modify which group(s) you want to remove and which packages you want to keep, as well as pacman options - I'm fine with '-Rns' but you may prefer different ones.

  • Removing the explicitly installed flag for all dependency packages

    From what I gather, pacman -Rs won't remove any packages marked as explicitly installed, which causes a couple of problems for me:
    Say I need to reinstall all my packages for whatever reason; they'll all be marked as explicitly installed, so from that point on I wouldn't be able to search for orphans.
    There other case I can think of would be when I reinstall a dependency of some package for whatever reason, then later delete that top package with -Rs, that would mean the dependency and anything it depends on would remain on my system even if I don't really need it.
    Does pacman support, or are there any scripts that will go through the package databse and mark all packages that are depended on by other packages as dependencies rather than explicitely installed? Basically reset the explicit flag for anything that isnt a leaf on the tree.

    Hi
    There are 2 ways in doing this, either by report filtering or by formula, i would highly suggest using a report filter, just click the funnel icon in your webi report and drag your flag object then select Not Equal to condition then select 0.
    if you want to use a formula you can type in "=[Person Object] where([flag] = "0")". NOTE: only use "" if your flag is a dimension.
    kindly tell me if I'm missing something.
    Regards,
    -John Vincent

  • Need to redownload all installed packages [SOLVED]

    I found the redownloading all installed packages wiki page, but when I attempt either of the suggested commands on the page, pacman chokes on the first package that I installed out of the AUR.  Can someone recommend how I can simply download all of my currently installed packages to my local db?
    Thanks!
    # pacman -Sdw --noconfirm `pacman -Q | awk '{ print $1 }'`
    # wget $(pacman -Sdp `pacman -Q | awk '{ print $1 }'`)
    Last edited by graysky (2009-08-18 19:26:57)

    I actually think it does... when I use your shell command after all my packages are populated, I get a line that reads, "checking package integrity..." then a fresh shell.
    VERIFIED: it does indeed.  I removed /var/cache/pacman/pkg/zvbi-0.2.33-1-x86_64.pkg.tar.gz then touched an empty file of the same name.  After re-running your command, pacman detected the problem, removed the offending package and re-downloaded when I ran it a second time.  Smart
    checking package integrity...
    :: File zvbi-0.2.33-1-x86_64.pkg.tar.gz is corrupted. Do you want to delete it? [Y/n]
    error: failed to commit transaction (invalid or corrupted package)
    zvbi-0.2.33-1-x86_64.pkg.tar.gz is invalid or corrupted
    Errors occurred, no packages were upgraded.
    Last edited by graysky (2009-08-18 21:14:48)

  • [SOLVED] Gray Boxes in GTK3/Gnome 3.4/Gnome Shell

    Greetings,
    I have googled for this, but maybe my lack of ablility to exactly describe the issue as a search term is why I can't find anything. But I hve a problem that is just driving me crazy....
    I have gray boxes that are round menu items, tab names, the clock and user name when screen is locked, etc... that is really throwing off the look of my desktop and driving me crazy.
    Here are some screenshots to hopefully show what I mean.
    The first two are with the adawita theme. The least one is with the evolve theme to show it doesn't seem to matter what the gtk theme is.
    Here is what I've done:
    1.) This might be why it had happened: I tried out gnome-unstable for a few hours, to get a look at gnome shell 3.6. After deciding that I wasn't ready to move to it yet (some of the extensions that I'd still want for it aren't there yet), I removed the repository, did a pacman -Syy, did a pacman -Rcsn of gnome, then reinstalled gnome as per the wiki.
    2.) I have removed all of the stuff on /home to get a fresh start after seeing the boxes.
    3.) I have removed with Rcsn and reinstalled gnome.
    4.) I have made sure to install the gtk2 theme engines, just in case.
    5.) I read through the gtk+, gnome pages on our wiki.
    6.) I googled.
    And yet, I still have those damnable graphic glitches....
    So I am banging my head against a wall here, I do hope someone here can help, at least point me in the right direction. Thanks!
    UPDATE
    Ok, so I have fixed my issue. I ended up pretty much removing everything except the base system, xorg, video drivers, and such. Somehow or another, there were left behind traces of my brief experiment with 3.6 that was causing the issue.
    Once I got down to almost a fresh new start I was able to re-install gnome and the graphic mess-ups were gone.
    Last edited by mythus (2012-10-01 16:37:15)

    Is it a problem with some GNOME libraries? How can i downgrade GNOME to its 3.2 version? (or its "3.4.0" version?)
    This is the current output when i execute it:
    ** (process:2336): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'
    ** (process:2336): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'
    ** (process:2336): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
    Traceback (most recent call last):
    File "/usr/lib/guake/guake.py", line 1353, in <module>
    if not main():
    File "/usr/lib/guake/guake.py", line 1343, in main
    remote_object.show_hide()
    File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
    File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
    File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
    dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
    This is the dmesg's output:
    [ 80.561844] python2[1105]: segfault at 7fff00adafb8 ip 00007f5825ab217a sp 00007fff00adafc0 error 6 in libc-2.15.so[7f5825a49000+197000]
    Last edited by japenagosc (2012-05-05 12:50:45)

  • [SOLVED] error 404 in package downloads

    i tried to install firefox, opera, pm-utils,polkit-gnome gvfs.
    while installation i am getting this errors as mentioned below and nothing got installed and everything is pending hence.
    1.for firefox 2 packages were not downloaded and no install happened
    2.opera not at all downloading
    3.pm utils the same like opera
    4.for polkit-gnome gvfs a few missing and thus again pending work.
    I am trying from yesterday and also did today, i am getting the same results.
    here is a snippet of one of the error .
    sudo pacman -S firefox
    resolving dependencies...
    looking for inter-conflicts...
    Targets (9): hunspell-1.3.2-1 libevent-2.0.19-1 libnotify-0.7.5-1
    libvpx-1.1.0-1 mime-types-8-1 mozilla-common-1.4-3 nspr-4.9.1-1
    nss-3.13.5-1 firefox-14.0.1-1
    Total Download Size: 0.22 MiB
    Total Installed Size: 49.99 MiB
    Proceed with installation? [Y/n] y
    :: Retrieving packages from extra...
    error: failed retrieving file 'nspr-4.9.1-1-x86_64.pkg.tar.xz' from archlinux.polymorf.fr : The requested URL returned error: 404
    error: failed retrieving file 'nspr-4.9.1-1-x86_64.pkg.tar.xz' from mirror.de.leaseweb.net : The requested URL returned error: 404
    error: failed retrieving file 'nspr-4.9.1-1-x86_64.pkg.tar.xz' from mirror.nl.leaseweb.net : The requested URL returned error: 404
    error: failed retrieving file 'nspr-4.9.1-1-x86_64.pkg.tar.xz' from mirror.rit.edu : The requested URL returned error: 404
    warning: failed to retrieve some files from extra
    error: failed to commit transaction (download library error)
    Errors occurred, no packages were upgraded.
    I am just putting one error message as it is same for the rest of all other packages. You see as above in firefox one package is pending, balance got downloaded yesterday. Similar happened in polkit-gnome gvfs . Whereas for opera and pm-utils upower nothing got downloaded at all.
    In all the 4 cases i got the same error with no downloads or partial downloads .
    Now these mirrors have been fast and best for me uptil now and no issue with them.
    So basically what these error is and what i should do about the same to complete the installation.
    Last edited by beopen (2012-08-12 10:20:37)

    WonderWoofy wrote:
    Have you done pacman -Sy lately?  It may be that your database is not in sync with the mirrors, so it is trying to retrieve package versions that aren't there.
    Edit: I was too slow...
    i have done the pacman -Syu just a week back and everything is uptodate.
    @tomk
    Short answer: pacman -Syu, not pacman -S.
    Secondly do you install firefox or any other package with pacman -Syu firefox or pacman -S [packagename] ????
    i have atleast so far installed everrything with pacman -S packagename
    this is what the pacman wiki says
    Installing specific packages
    To install a single package or list of packages (including dependencies), issue the following command:
    # pacman -S package_name1 package_name2 ...
    lastly i solved the problem and the installation went right by unchecking a few more mirrors and the same went alright now.
    So for the moment i am labelling the query as solved.
    Thanks.

  • Can't Login to SharePoint as an invited External User / Can't Remove All Traces of External User with Microsoft Account

    Hi TechNet,
    I have an MS SharePoint Online (SharePoint Plan 2) team site, quite simple, one document library etc.
    I have successfully added all users (E3) within the organisation to groups, and permissioned correctly.
    I have added myself (separate organisation, also Office 365 E3) as an External User, and have access to the website without any problems by authenticating with my Organization account e-mail address.
    I have a single user (separate organisation, also Office 365 E3), who's setup is identical to mine (Also Office 365 E3).
    However, when this user is added as an External User, they are unable to login, and get "Sign In is not complete":
    That didn't work
    We're sorry, but [email protected] can't be found in the CLIENT1.sharepoint.com directory. Please try again later, while we try to automatically fix this for you. 
    Correlation ID: dc1f7f9c-092b-20b8-7b35-89348ba22f71
    Date and Time: 3/20/2014 7:06:55 AM
    URL: https://CLIENT1.sharepoint.com/
    User: [email protected]
    Issue Type: Partner User Invalid.    
    I then remove the user using the Site Collection, and using the PRofile Manager, and using Remove-SPOUser, and using Remove-SPOExternalUser. Which is great, he's gone. However when I go to add him back to a group, as soon as I type his e-mail address, it
    'Resolves' into his full name! If I have completely(?) removed him form the site, how is he being resolved? And therefore me trying to remove him to re-add him to try and solve the user/directory/auth issue is not working.
    Furthermore, upon clicking on said client's username inside SharePoint (after I've 'added him back' of course), his ID, in format: i:0#.f|membership|live.com#[email protected] has an entirely different e-mail address, his Microsoft Account! 
    I'm assuming he must have been already signed into his Microsoft Account when he clicked on the External User e-mail invite? If so, I clearly do not want this, how can I remove lal traces of his Microsoft Account, given that I have gone to the lengths as
    detailed above?
    I have already completed these steps: http://community.office365.com/en-us/forums/148/p/228263/709905.aspx
    Some possible further reading regarding Microsoft ID's and Organization ID's:
    http://sergeluca.wordpress.com/2013/09/23/sharepoint-online-and-external-users-this-invitation-has-already-been-accepted-with-another-account-bug-or-feature/
    Please let me know if you need any more information regarding this issue, and thanks in advance to anyone who can shed some light on this situation for me and anyone whom encounters it in the future.
    Regards,
    Evanly.

    Hi Scott,
    Thank you so much for taking the time to read and respond to my issue.
    Certainly, it makes sense that regardless of where the invitation it sent, the user would authenticate with their Microsoft ID.
    In my case, I want the user to authenticate using their Microsoft Organisation ID, that they use for their seperate Office 365 account.
    This is the way I was able to log in, and worked great. With my client, they are unable to access Sharepoint because once they sign in with their Microsoft Organisation / Office 365 ID, they are told they are not in the directory, because their Microsoft
    ID is in the directory and it doesn't match up.
    I am simultaneously trying to 1) Remove all traces of this users Microsoft ID, which so far using the above steps, has been unsuccessful; and 2) Invite the user using his Microsoft Organisation ID, and have him authenticate with that (which is proved to
    work, as my account uses this).
    Looking forward to any more suggestions. Thanks in advance!

  • This field contains duplicate values. Remove all duplicate values and try the operation again.

    Greetings Everyone,
    I am getting the follow up errors: "This field contains duplicate values. Remove all duplicate values and try the operation again."
    when I tried to make the field "Claim Number" from the list in site collection library. See the screen below:
    1- I selected on the "List" and I clicked on the list name
    "Claim Tracking Report"
    2- After I clicked on the list name then I went to the ribbon and selected list setting to choose Enforce Unique for the Field Column
    "Claim Number"
    3- Then I went down and selected
    "Yes" to Enforced the Unique for the Field Column "Claim Number".
    4- Then after I clicked "Yes" I got the error
    "Sorry, something went wrong. This field contains duplicate values. Remove all duplicate values and try the operation again."  But I don't have any duplicates values Items, because I had them removed before I tried
    to Enforce the field column values to Unique. Can someone help or provide me a suggestions on how I can solve this issue please. Thank you
    FYI: I am using a Nintex Workflow

    Hope this is a list, how many total items are there?
    Please try to open this list as access(link in IE) and run this query in access
    SELECT Claim.[Claim Number], Count(*) AS Expr1
    FROM Claim
    GROUP BY Claim.[Claim Number]
    HAVING (((Count(*))>1));
    Hope it will show something! if this does not show you dups then better to create a separate list and migrate items after configuring unique column.
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • Can one avoid names to be listed in packaged applications (issue tracker, for example)?

    I've installed the packaged app "Issue tracker" in a workspace, but now have a problem with German's law (and maybe others), which does not allow people to make reports that explicitely mention names of employees, except if you are their manager.
    So the issue tracker's reports, which can be used by anybody and display assignees' names, are not allowed by German's law !
    I guess that all packaged apps have the same users control mechanism. If so, this issue is not specific to the issue tracker. Is that right?
    To make the issue tracker compliant with German's law, one should be able to hide names or ideally to make them only visible by the employee's management.
    Hide name would imply:
    - Remove the updaters' name in the projects/issues
    - Remove assignees' name in the projects/issues/reports
    I guess this could be done via a plugin "display names" in the "build options".
    Make names only visible to managers would imply:
    - Assign a manager to each user
    - Adapt the display depending on the identity of the user
    Does this make sense? If so, I guess I should add an entry in Oracle Application Express Feature Requests, right?
    TIA for your feedback,
    Stefane

    [discussion moved to Creating, Editing & Exporting PDFs forum]

Maybe you are looking for