You are not logged in.

#1 2022-07-12 04:00:03

rezad
Member
Registered: 2014-09-17
Posts: 177

[SOLVED]force installation of dependencies but no to make them explici

I have some packages that were installed via a test x64-v3 repo.
I reverted back to official repo.

now many packages (mostly dependencies) are still from that test repo and because their version is higher (via a added .1 at the end of version) they don't get upgraded over to official version.

because they are low level core (like the filesystem,zlib ,xz and so one) packages I cant uninstall them.
I also don't want to explicitly install them (which would pollute the explicit installed package database).

it there a way for my to tell pacman to install a package (say plasma-session) and all of its dependencies that would force them over the left over versions but would not make the dependencies that get reinstalled over ,as explicitly installed packages (which would be shown with 'pacman -Qe'?

Last edited by rezad (2022-07-12 05:42:42)

Offline

#2 2022-07-12 04:28:40

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,409
Website

Re: [SOLVED]force installation of dependencies but no to make them explici

pacman -S <pkg>

Try one and see what it does to the install reason!

Offline

#3 2022-07-12 04:32:49

rezad
Member
Registered: 2014-09-17
Posts: 177

Re: [SOLVED]force installation of dependencies but no to make them explici

Allan wrote:

pacman -S <pkg>

Try one and see what it does to the install reason!

what???
try one for what?
the dependencies?
you mean I should just use "sudo pacman -S filesystem"?
wouldnt that put it in explicitly installed packages database?
if not , would this work with pikaur too?

Last edited by rezad (2022-07-12 04:33:42)

Offline

#4 2022-07-12 05:10:50

Awebb
Member
Registered: 2010-05-06
Posts: 6,314

Re: [SOLVED]force installation of dependencies but no to make them explici

Read this first and see if you've done it that way and if this fixes your immediate problem: https://wiki.archlinux.org/title/Offici … positories. Then read man pacman and find out what passing -u twice does.

What Allan wants you to try out, is taking a single package that's too far ahead because of [testing] and explicitly install it again without [testing] enabled and see what happens regarding the version it installs. I think he didn't want to spoil your fun learning how pacman works.

Offline

#5 2022-07-12 05:12:09

yochananmarqos
Member
Registered: 2020-02-05
Posts: 198

Re: [SOLVED]force installation of dependencies but no to make them explici

In the time you spent questioning the developer of pacman, you could have already found out why he gave you the answer he did.

If you're savvy enough to use a test repo, then you also should be savvy enough to return to a normal state.

Last edited by yochananmarqos (2022-07-12 05:14:50)

Offline

#6 2022-07-12 05:37:26

rezad
Member
Registered: 2014-09-17
Posts: 177

Re: [SOLVED]force installation of dependencies but no to make them explici

yochananmarqos wrote:

In the time you spent questioning the developer of pacman, you could have already found out why he gave you the answer he did.

If you're savvy enough to use a test repo, then you also should be savvy enough to return to a normal state.

I tested and thankfully it worked.
but you are missing something.
if I "In the time you spent questioning the developer of pacman, you could have already found out why he gave you the answer he did." and then the package (like filesystem package) got the explicit installed flag, then that would make my issue double.
one the old issue that maybe some other answer would fix , and the new issue of how to remove explicit installed flag from a system package that I cant just remove.

I am aware of concept of testing and seeing a result of a command.
I just wanted to be sure that the poster knew what I wanted and that also to be sure that I understood his answer.

and also "return to a normal state" is literally my question.
so you are telling my I should know the answer of my own question and not ask it?

Last edited by rezad (2022-07-12 05:39:13)

Offline

#7 2022-07-12 05:41:53

rezad
Member
Registered: 2014-09-17
Posts: 177

Re: [SOLVED]force installation of dependencies but no to make them explici

Awebb wrote:

Read this first and see if you've done it that way and if this fixes your immediate problem: https://wiki.archlinux.org/title/Offici … positories. Then read man pacman and find out what passing -u twice does.

What Allan wants you to try out, is taking a single package that's too far ahead because of [testing] and explicitly install it again without [testing] enabled and see what happens regarding the version it installs. I think he didn't want to spoil your fun learning how pacman works.

thnaks.
I dint know about  pacman -Syuu
I knew about pacman -Syyu but not this.

.

Last edited by rezad (2022-07-12 05:44:16)

Offline

#8 2022-07-12 05:58:21

Awebb
Member
Registered: 2010-05-06
Posts: 6,314

Re: [SOLVED]force installation of dependencies but no to make them explici

Nobody in their right mind expects you to know everything and know all the answers. To be fair, you need to dig deeper into the wiki. I didn't really know the answer, I typed "testing" into the wiki search bar and got your solution in a second. This wiki rocks. I personally think it's the single most condensed collection of "beyond the manual" Linux information.

yochananmarqos wrote:

In the time you spent questioning the developer of pacman, you could have already found out why he gave you the answer he did.

If you're savvy enough to use a test repo, then you also should be savvy enough to return to a normal state.

I like to tell noobs to RTFM as much as the next guy, but this was unnecessarily rude and entirely uncalled-for.

Offline

#9 2022-07-12 06:06:14

rezad
Member
Registered: 2014-09-17
Posts: 177

Re: [SOLVED]force installation of dependencies but no to make them explici

Awebb wrote:

Nobody in their right mind expects you to know everything and know all the answers. To be fair, you need to dig deeper into the wiki. I didn't really know the answer, I typed "testing" into the wiki search bar and got your solution in a second. This wiki rocks. I personally think it's the single most condensed collection of "beyond the manual" Linux information.

yochananmarqos wrote:

In the time you spent questioning the developer of pacman, you could have already found out why he gave you the answer he did.

If you're savvy enough to use a test repo, then you also should be savvy enough to return to a normal state.

I like to tell noobs to RTFM as much as the next guy, but this was unnecessarily rude and entirely uncalled-for.

if this forum had emoji reaction support (like github) I would have added so many hearts.
thank you.

Offline

Board footer

Powered by FluxBB