You are not logged in.

#1 2020-08-09 15:18:01

CaptainKirk
Member
Registered: 2009-06-07
Posts: 393

AUR Upstream Not Allowing me to Upgrade

Around six weeks ago there was a discussion in this thread https://bbs.archlinux.org/viewtopic.php?id=256997 that the

:: xorg-fonts-alias-100dpi and xorg-fonts-alias are in conflict. Remove xorg-fonts-alias? [y/N] y

issue conflicts with culmus, meaning I get this:

$ sudo pacman -Suy
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
:: Replace bind-tools with extra/bind? [Y/n] y
resolving dependencies...
looking for conflicting packages...
:: xorg-fonts-alias-100dpi and xorg-fonts-alias are in conflict. Remove xorg-fonts-alias? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)

On the package page https://aur.archlinux.org/packages/culmus/ there is a note

you have to change the Dependency `xorg-fonts-alias'

to xorg-fonts-alias-100dpi

ezik

Two questions:

1. Can I get some direction how to do that? (Perhaps this question belongs in the Newbie section?)

2. Do I actually want to do that? How can I determine if that will actually break my culmus fonts? To note, these are critical fonts for me as I work in Hebrew

Thank you.

Offline

#2 2020-08-09 15:26:24

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,649

Re: AUR Upstream Not Allowing me to Upgrade

You need directions on editing a text file?

Online

#3 2020-08-09 15:37:47

CaptainKirk
Member
Registered: 2009-06-07
Posts: 393

Re: AUR Upstream Not Allowing me to Upgrade

No, but I normally use a helper to install AUR packages. Now I see it's just a matter of

git clone https://aur.archlinux.org/culmus.git
cd culmus
makepkg -si

which I did just for fun, without editing anything.

Then, for more fun, I ran sudo pacman -Suy and now it works. Not sure why but I will proceed and hopefully still have Hebrew. smile

Thank you.

Offline

#4 2020-08-09 15:50:31

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,687

Re: AUR Upstream Not Allowing me to Upgrade

There's just been a healthy discussion of helpers.

Offline

#5 2020-08-09 15:58:12

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

Re: AUR Upstream Not Allowing me to Upgrade

That worked because the AUR maintainer fixed the PKGBUILD 5 weeks ago.  If you were using the current PKGBUILD, you'd never have faced this error.  Even your AUR helper would have worked just fine if you simply rebuilt your AUR packages which was the solution in the thread you linked to as well.

Last edited by Trilby (2020-08-09 15:58:45)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2020-08-09 16:01:06

CaptainKirk
Member
Registered: 2009-06-07
Posts: 393

Re: AUR Upstream Not Allowing me to Upgrade

I thought  sudo pacman -Suy also upgrades AUR packages. Is that not correct?

Offline

#7 2020-08-09 16:06:54

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

Re: AUR Upstream Not Allowing me to Upgrade

*headdesk*

No, it most certainly isn't correct.  You've been using arch for 11 years and don't yet have the foggiest idea about how the AUR works?

Unless of course you've aliased 'pacman' to your AUR helper.  In fact I suspect you must have as you previously said you use an AUR helper which would pretty much imply that you already know pacman doesn't upgrade AUR packages.

Last edited by Trilby (2020-08-09 16:09:11)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#8 2020-08-09 16:31:50

CaptainKirk
Member
Registered: 2009-06-07
Posts: 393

Re: AUR Upstream Not Allowing me to Upgrade

What I know is that AUR are user-provided packages not part of the official repos. I have always used yaourt but I just now discovered that it's no longer available or developed. I have it of course and so I tried this:

$ sudo yaourt -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community                                              5.1 MiB  2.47 MiB/s 00:02 [##############################################] 100%
 multilib is up to date
No database errors have been found!

I thought I saw once that pacman upgraded an AUR package of mine, and so from then I just assumed that once it was installed on my PC, yes, pacman would upgrade it. The above appears to do the same as pacman.

How do I upgrade AUR packages that I installed with yaourt? And why does the above not upgrade any of them? I suppose I can just install a different helper and use that, but I am confused as to why the above fails, if it is failing...

It may be in order to note that there are plenty of other users out there like me, meaning we are not experts in Linux nor in ArchLinux. We are fans and users and love it, but we are not necessary knowledgeable. I myself know enough to use it successfully as my OS for 11 years, yes, but not a whole lot more than that. To note, I have good knowledge in other FOSS systems and give back to the community via those, but this is not one of them.

Last edited by CaptainKirk (2020-08-09 16:37:21)

Offline

#9 2020-08-09 16:43:40

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

Re: AUR Upstream Not Allowing me to Upgrade

CaptainKirk wrote:

How do I upgrade AUR packages that I installed with yaourt?

https://wiki.archlinux.org/index.php/Ar … Repository

CaptainKirk wrote:

And why does the above not upgrade any of them?

Asking why poorly-written AUR helpers sometimes fail is a futile question.  I'm sure there is a reason, but it will not be fixed. (edit: see, there is, it's in the next post).

CaptainKirk wrote:

I suppose I can just install a different helper and use that

Given that you don't seem to understand how the AUR works, I'd advise against this.  Use makepkg.

CaptainKirk wrote:

It may be in order to note that there are plenty of other users out there like me, meaning we are not experts in Linux nor in ArchLinux. We are fans and users and love it, but we are not necessary knowledgeable.

There's nothng wrong with not being knowledgeable about a tool you use.  But there is danger in using supplemental tools that facilitate maintaining ignorance about the OS.  If you recognize that you need to learn some new way of managing AUR packages, you may as well learn the proper and officially supported way.

Last edited by Trilby (2020-08-09 17:42:08)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#10 2020-08-09 17:10:34

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: AUR Upstream Not Allowing me to Upgrade

yaourt -Syu doesn't check for AUR updates.

yaourt -Syua does.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#11 2020-08-09 18:55:26

CaptainKirk
Member
Registered: 2009-06-07
Posts: 393

Re: AUR Upstream Not Allowing me to Upgrade

eschwartz wrote:

yaourt -Syu doesn't check for AUR updates.

yaourt -Syua does.

Perfect.

Trilby wrote:

There's nothng wrong with not being knowledgeable about a tool you use.  But there is danger in using supplemental tools that facilitate maintaining ignorance about the OS.  If you recognize that you need to learn some new way of managing AUR packages, you may as well learn the proper and officially supported way.

You are probably correct. OTOH yauort worked faithfully for me for 11 years.

I actually installed yay now and it seems much better and I will try that. If I get stuck again in 11 years, I will be back. wink

Thank you both for the information -- I learned a lot through this thread -- I am finally getting Skype upgraded as well. smile

Offline

Board footer

Powered by FluxBB