You are not logged in.

#1 2006-04-15 01:01:20

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Pacman dependency marker

I'm correct in thinking that pacman doesn't mark in any way packages installed solely as dependencies, aren't I? That would be a great feature to have added.. apt has it already I think; getting a 'suggestion' to uninstall the dependencies of a package you've just uninstalled if they aren't required by other packages would be immensely helpful.


.oO Komodo Dave Oo.

Offline

#2 2006-04-15 04:36:52

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: Pacman dependency marker

pacman -Qe lists all packages that were user installed. so, i suppose that everything not listed by this command is installed as a dependancy.

Offline

#3 2006-04-15 06:41:09

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Pacman dependency marker

As a rule, pacman doesn't suggest anything. However, it(he?) does provide all the necessary flags to handle these kind of options:

Pacman Help wrote:

$ pacman -Rh
usage:  pacman {-R --remove} [options] <package>
options:
  -c, --cascade       remove packages and all packages that depend on them
  -d, --nodeps        skip dependency checks
  -k, --dbonly        only remove database entry, do not remove files
  -n, --nosave        remove configuration files as well
  -s, --recursive     remove dependencies also (that won't break packages)      <==   
      --config <path> set an alternate configuration file
      --noconfirm     do not ask for any confirmation
      --noprogressbar do not show a progress bar when downloading files
  -v, --verbose       be verbose
  -r, --root <path>   set an alternate installation root
  -b, --dbpath <path> set an alternate database location

If you want the automated suggestion, post up a feature request.

Offline

#4 2006-04-15 11:20:43

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Re: Pacman dependency marker

tomk wrote:

If you want the automated suggestion, post up a feature request.

I think it'd be pretty handy, because you don't necessarily want to use -Rs all the time; granted I and probably most of you use it in the majority of cases, but if you're installing a frontend for something for example, it may require only some of the same libraries/packages, and it would be nice to know the non-overlapping ones without visually comparing dependencies.

Where do I post a feature request?

EDIT: Why the smeg isn't my quote showing properly? Gaargh...


.oO Komodo Dave Oo.

Offline

#5 2006-04-15 12:07:59

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Pacman dependency marker

Feature requests go in the bugtracker.

The quote thing is down to heavy-duty upgrade/maintenance work currently in progress - Have a look in Announcements for the details.

Offline

#6 2006-04-15 13:45:44

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Re: Pacman dependency marker

kk, cheers bud wink


.oO Komodo Dave Oo.

Offline

Board footer

Powered by FluxBB