Author Topic: pamac - simple graphical package manager for Manjaro Linux  (Read 85444 times)

0 Members and 1 Guest are viewing this topic.

Offline tun in a cellar

  • Held Mitglied
  • *****
  • Posts: 553
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Hybrid graphic card (Intel/ATI)
  • GPU driver: free (the discrete card is switched off)
  • Kernel: linux313-x64 (the latest if possible)
  • Skill: Advanced
Re: pamac - simple pacman gui for Manjaro Linux
« Reply #165 on: 25. February 2013, 21:28:19 »
I had a quick question about pamac...when removing a package, is there a setting anywhere to get it to remove the dependencies it installed for that package as well?
as pacman -Rs or as pacman -Rss?
whatever you wish, I think it is a good idea too
Why doing it yourself when manjaro-system can do it for you?

Offline 0xnak

  • Neuling
  • *
  • Posts: 11
Re: pamac - simple pacman gui for Manjaro Linux
« Reply #166 on: 25. February 2013, 21:50:10 »
If I'm not mistaken though, the default behavior in pamac is just to remove that one package you choose and not the dependencies. Correct?

Offline guinux

  • Core Team
  • *****
  • Posts: 328
    • Manjaro
  • Branch: unstable
  • Desktop: Xfce
  • Skill: Guru
Re: pamac - simple pacman gui for Manjaro Linux
« Reply #167 on: 26. February 2013, 07:50:02 »
Last pamac already behaves like "pacman -Rcs"

Offline tun in a cellar

  • Held Mitglied
  • *****
  • Posts: 553
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Hybrid graphic card (Intel/ATI)
  • GPU driver: free (the discrete card is switched off)
  • Kernel: linux313-x64 (the latest if possible)
  • Skill: Advanced
Re: pamac - simple pacman gui for Manjaro Linux
« Reply #168 on: 26. February 2013, 17:28:25 »
Hey!
"Removing a package AND its unused dependencies installed within this package installation" (question from 0xnak, pacman -Rs) is slightly different from "Removing a package AND all the packages which need it" (pacman -Rc)

the current version is mixing the both features (told by Guinux, pacman -Rcs)

by using pacman -Rcs, you can easily hurt your hamster...
Have a look at the pacman wiki page
When I am at home this evening, I will try to remove xorg-server bu using pamac (the list of package to be removed will be large but I guess no error will occur)

using the "pacman -Rs" is enough and safe

I smell a feature request being cooked in my kitchen...
« Last Edit: 26. February 2013, 17:35:02 by tun in a cellar »
Why doing it yourself when manjaro-system can do it for you?

Offline guinux

  • Core Team
  • *****
  • Posts: 328
    • Manjaro
  • Branch: unstable
  • Desktop: Xfce
  • Skill: Guru
Re: pamac - simple pacman gui for Manjaro Linux
« Reply #169 on: 27. February 2013, 08:57:20 »
The cascade option (-c) is needed because without it, trying to remove a package installed as a dependency of another one will always fail.
Removing packages should always be done with caution. This option is safe if you read carefully the transaction summary before proceed.
If you have any doubt of what should be done, post in this forum before...

Offline tun in a cellar

  • Held Mitglied
  • *****
  • Posts: 553
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Hybrid graphic card (Intel/ATI)
  • GPU driver: free (the discrete card is switched off)
  • Kernel: linux313-x64 (the latest if possible)
  • Skill: Advanced
Re: pamac - simple pacman gui for Manjaro Linux
« Reply #170 on: 27. February 2013, 14:04:02 »
The cascade option (-c) is needed because without it, trying to remove a package installed as a dependency of another one will always fail.
So what? As a newbie (I guess I'm not one anymore), I would prefer to fail during a package removing attempt (a nice message which explain that the dependency would be useful) than cascading action.
I understand that as the developer you chose the easiest option to be implemented (-Rsc never fails, so no exception to handle) but it is not the best for stability.
More over, the -Rc option is not reversible

Removing packages should always be done with caution. This option is safe if you read carefully the transaction summary before proceed.
If you have any doubt of what should be done, post in this forum before...
Of course but the transaction summary shoulb be more explicit:
there should be 3 different parts:
packages explicitely removed (the user unticked the checkbox)
unused dependencies implicitely removed (because of the 's' option)
packages to be removed because they need a package being removed (because of the '-c' option)
Why doing it yourself when manjaro-system can do it for you?

Offline guinux

  • Core Team
  • *****
  • Posts: 328
    • Manjaro
  • Branch: unstable
  • Desktop: Xfce
  • Skill: Guru
Re: pamac - simple pacman gui for Manjaro Linux
« Reply #171 on: 27. February 2013, 15:02:09 »
It's not my point of view but of course it can be discussed.
If many people agree that the default options for package removals should be changed, I will certainly do it. Just know that grabbing the reason why a package should be removed (as you suggest) would be complex.

Offline YFDogan

  • Support Team
  • ****
  • Posts: 1211
    • http://www.manjaro-tr.org/
  • Branch: Stable
  • Desktop: KDE
  • GPU Card: Optimus (GeForce GT 540M)
  • GPU driver: Non-free
  • Kernel: Linux manjaro 3.14.4-1-MANJARO #1 SMP PREEMPT Mon May 19 15:45:30 EST 2014 x86_64 GNU/Linux
  • Skill: Novice
Re: pamac - simple pacman gui for Manjaro Linux
« Reply #172 on: 27. February 2013, 15:14:54 »
May be adding these commands as a button into pamac will be useful:

Code: [Select]
Remove all nonneeded packages:

pacman -Sc $(pacman -Qdtq)


Code: [Select]
Clean the nonneeded packages anymore:

pacman -Rs $(pacman -Qtdq)


Code: [Select]
Reinstall all packages:

pacman -S $(pacman -Qq | grep -v "$(pacman -Qmq)")

Code: [Select]
cleaning the cache:

pacman -Sc
Manjaro Linux with DELL Insipiron N5110 i7 8GB Ram, Nvidia-Optimus
http://manjaro-tr.org/forum/index.php

Offline tun in a cellar

  • Held Mitglied
  • *****
  • Posts: 553
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Hybrid graphic card (Intel/ATI)
  • GPU driver: free (the discrete card is switched off)
  • Kernel: linux313-x64 (the latest if possible)
  • Skill: Advanced
Re: pamac - simple pacman gui for Manjaro Linux
« Reply #173 on: 27. February 2013, 15:31:47 »
It's not my point of view but of course it can be discussed.
If many people agree that the default options for package removals should be changed, I will certainly do it. Just know that grabbing the reason why a package should be removed (as you suggest) would be complex.
Guinux, discussions are always great and useful here!
I've just created this poll
Why doing it yourself when manjaro-system can do it for you?

Offline tun in a cellar

  • Held Mitglied
  • *****
  • Posts: 553
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Hybrid graphic card (Intel/ATI)
  • GPU driver: free (the discrete card is switched off)
  • Kernel: linux313-x64 (the latest if possible)
  • Skill: Advanced
Re: pamac - simple pacman gui for Manjaro Linux
« Reply #174 on: 28. February 2013, 14:24:42 »
May be adding these commands as a button into pamac will be useful...
You're right. These features would be nice to have. Let's Guinux choosing the GUI (buttons, dialog box, menu)
Why doing it yourself when manjaro-system can do it for you?

Offline ultima

  • Held Mitglied
  • *****
  • Posts: 1563
Re: pamac - simple pacman gui for Manjaro Linux
« Reply #175 on: 28. February 2013, 14:28:42 »
+1 , I also think that these commands should come in with Pamac .

Offline LCJr

  • Held Mitglied
  • *****
  • Posts: 639
  • Skill: Novice
Re: pamac - simple pacman gui for Manjaro Linux
« Reply #176 on: 28. February 2013, 21:22:02 »
Played with Pamac for a bit and it worked quite well and handled dependencies nicely on install and uninstall.  Couple questions if I may.

Any plans to add terminal output?  Something like the *buntu's Software Center 'show more' button that opens a terminal window.  I don't know about anyone else but I prefer to see if things are going smoothly during updates.

Will/is Pacman-GUI become obsolete now?

Offline eskaini

  • Security Team
  • *****
  • Posts: 10842
  • I eat deleted accounts
  • Skill: Novice
Re: pamac - simple pacman gui for Manjaro Linux
« Reply #177 on: 28. February 2013, 21:50:19 »
Played with Pamac for a bit and it worked quite well and handled dependencies nicely on install and uninstall.  Couple questions if I may.

Any plans to add terminal output?  Something like the *buntu's Software Center 'show more' button that opens a terminal window.  I don't know about anyone else but I prefer to see if things are going smoothly during updates.

Will/is Pacman-GUI become obsolete now?

Don't know about the terminal output. The idea of Pamac is to hide that stuff from new users. You could always learn to use pacman in the terminal, though.

I think the Pacman-GUI should still work, but it really was just there as a transitional step before pamac.

Offline tun in a cellar

  • Held Mitglied
  • *****
  • Posts: 553
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Hybrid graphic card (Intel/ATI)
  • GPU driver: free (the discrete card is switched off)
  • Kernel: linux313-x64 (the latest if possible)
  • Skill: Advanced
Re: pamac - simple pacman gui for Manjaro Linux
« Reply #178 on: 01. March 2013, 14:10:38 »
Any plans to add terminal output?  Something like the *buntu's Software Center 'show more' button that opens a terminal window.  I don't know about anyone else but I prefer to see if things are going smoothly during updates.
pamac is not a pacman-cli wrapper... bad idea
Why doing it yourself when manjaro-system can do it for you?

Offline davidnotcoulthard

  • Sr. Mitglied
  • ****
  • Posts: 298
  • Manipulated image.
Re: pamac - simple pacman gui for Manjaro Linux
« Reply #179 on: 01. March 2013, 14:20:50 »
pamac is not a pacman-cli wrapper... bad idea
I'm not sure - It's OK when Synaptic shows it.