You are not logged in.

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

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

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
Package Maintainer (PM)
Registered: 2017-12-05
Posts: 77

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: 29,449
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: 10,595
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

#5 2020-10-07 18:20:01

skikky94
Member
Registered: 2020-10-06
Posts: 2

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

Hi! Do this work for a non AUR package? I have moved from sistemd to s6 init and there are some dependencies that are not required...
I didn't understood how the guide works (sorry I'm a newbie that pretend to do too much big_smile)

Offline

#6 2020-10-07 18:29:07

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

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

That's the point of what trilby linked yes. You'll still have to go to the obarun support channel if you need more information on this: https://forum.obarun.org/

Closing this old thread.

Offline

Board footer

Powered by FluxBB