You are not logged in.

#1 2017-03-24 22:43:17

hamhock
Member
Registered: 2015-04-16
Posts: 94

[SOLVED] uninstall make dependencies after AUR install

i wanted to try a package from AUR (hledger).  i downloaded via cower and ran "makepkg -si"  (it has "haskell-stack" as a "make" dependency.)

I then wanted to uninstall it.  I ran

# pacman -Rns hledger

this uninstalled hledger, but seems to have left all the haskell packages.  I'm thinking I'll next try:

# pacman -Rns haskell-stack

i just don't want to bork my system.

here are the haskell packages which are listed when i run "checkupdates"

haskell-aeson 1.0.2.1-6 -> 1.0.2.1-8
haskell-aeson-compat 0.3.6-7 -> 0.3.6-9
haskell-attoparsec 0.13.1.0-3 -> 0.13.1.0-4
haskell-bifunctors 5.4.1-5 -> 5.4.1-6
haskell-binary-tagged 0.1.4.2-8 -> 0.1.4.2-10
haskell-case-insensitive 1.2.0.8-1 -> 1.2.0.8-2
haskell-comonad 5-19 -> 5-20
haskell-conduit-extra 1.1.15-10 -> 1.1.15-11
haskell-connection 0.2.7-5 -> 0.2.8-1
haskell-constraints 0.9.1-1 -> 0.9.1-2
haskell-contravariant 1.4-13 -> 1.4-14
haskell-cryptonite-conduit 0.2.0-1 -> 0.2.0-2
haskell-either 4.4.1.1-13 -> 4.4.1.1-14
haskell-free 4.12.4-24 -> 4.12.4-25
haskell-hashable 1.2.5.0-1 -> 1.2.6.0-1
haskell-hashtables 1.2.1.0-7 -> 1.2.1.0-8
haskell-hit 0.6.3-19 -> 0.6.3-20
haskell-hpack 0.17.0-1 -> 0.17.0-3
haskell-hspec 2.4.2-1 -> 2.4.2-2
haskell-hspec-core 2.4.2-1 -> 2.4.2-2
haskell-hspec-expectations 0.8.2-1 -> 0.8.2-2
haskell-hspec-smallcheck 0.4.2-2 -> 0.4.2-3
haskell-http-api-data 0.3.5-4 -> 0.3.5-6
haskell-http-client 0.5.6.1-1 -> 0.5.6.1-2
haskell-http-client-tls 0.3.4-6 -> 0.3.4-8
haskell-http-conduit 2.2.3.1-6 -> 2.2.3.1-9
haskell-http-types 0.9.1-6 -> 0.9.1-7
haskell-hunit 1.5.0.0-1 -> 1.6.0.0-1
haskell-lifted-async 0.9.1.1-4 -> 0.9.1.1-5
haskell-monad-logger 0.3.21-1 -> 0.3.21-2
haskell-monad-unlift 0.2.0-4 -> 0.2.0-5
haskell-mono-traversable 1.0.2-1 -> 1.0.2-3
haskell-optparse-simple 0.0.3-36 -> 0.0.3-37
haskell-path 0.5.12-2 -> 0.5.13-1
haskell-path-io 1.2.2-5 -> 1.2.2-8
haskell-persistent 2.6.1-3 -> 2.6.1-5
haskell-persistent-sqlite 2.6.2-2 -> 2.6.2-4
haskell-persistent-template 2.5.2-3 -> 2.5.2-5
haskell-profunctors 5.2-22 -> 5.2-23
haskell-project-template 0.2.0-45 -> 0.2.0-46
haskell-quickcheck-io 0.1.4-1 -> 0.1.4-2
haskell-resource-pool 0.2.3.2-11 -> 0.2.3.2-12
haskell-scientific 0.3.4.10-1 -> 0.3.4.10-2
haskell-semigroupoids 5.1-8 -> 5.1-9
haskell-stack 1.4.0-2 -> 1.4.0-7
haskell-store 0.4.1-1 -> 0.4.1-4
haskell-unordered-containers 0.2.7.2-2 -> 0.2.8.0-2
haskell-uri-bytestring 0.2.3.1-1 -> 0.2.3.1-2
haskell-uuid-types 1.0.3-3 -> 1.0.3-4
haskell-void 0.7.1-12 -> 0.7.1-13
haskell-yaml 0.8.22-2 -> 0.8.22-4

Last edited by hamhock (2017-03-26 01:44:06)

Offline

#2 2017-03-24 22:47:20

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

Re: [SOLVED] uninstall make dependencies after AUR install

man makepkg | less -p rmdeps

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-03-24 23:09:33

hamhock
Member
Registered: 2015-04-16
Posts: 94

Re: [SOLVED] uninstall make dependencies after AUR install

jasonwryan wrote:
man makepkg | less -p rmdeps

man says:

Upon successful build, remove any dependencies installed by makepkg during dependency auto-resolution and installation when using -s 

does this mean i should reinstall by running:

makepkg -rs hledger

or can i just run:

makepkg -r hledger

to just remove the dependencies without reinstalling?

Offline

#4 2017-03-24 23:28:51

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,515
Website

Re: [SOLVED] uninstall make dependencies after AUR install

The makepkg -r flag is for future use.  To remove the packages you want to get rid of now, just use pacman.

See the pacman wiki page for advice on finding unneeded packages installed as dependencies.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#5 2017-03-25 00:15:13

hamhock
Member
Registered: 2015-04-16
Posts: 94

Re: [SOLVED] uninstall make dependencies after AUR install

I ran this:

# pacman -Rns haskell-stack

it seems to have worked as all the haskell packages are not listed when I run "checkupdates"

Offline

Board footer

Powered by FluxBB