You are not logged in.

#1 2018-11-15 21:37:13

MS1
Member
Registered: 2018-02-02
Posts: 18

Install package without dependencies and keep it that way with updates

How can I install a package without getting its dependencies and prevent pacman from getting the dependencies when an update to that packages comes to the repo? I did the install step like this:

pacman -Sdd package

It worked.  The problem is when the package is updated in the repo, and I run `pacman -Syyu` to update my system, pacman wants to get the dependencies now.

Offline

#2 2018-11-15 21:40:15

Morganamilo
Member
Registered: 2017-12-05
Posts: 61

Re: Install package without dependencies and keep it that way with updates

Why do you want to do this? Dependencies should be required. If they are not maybe you should open a ticket to have them changed to optdepends.

Offline

#3 2018-11-15 22:14:26

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

Re: Install package without dependencies and keep it that way with updates

Assuming there is a legitimate reason to do this, you may want to check out the following:
https://bbs.archlinux.org/viewtopic.php?id=234936


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

Offline

#4 2018-11-16 20:20:23

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 9,578
Website

Re: Install package without dependencies and keep it that way with updates

May I ask when package(s) are you talking about or is it just a general question?  I can think of a few AUR packages this applies to...


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB