Skip to content

Is it mandatory to upgrade AUR packages ??

I have few AUR packages and I am using Yaourt -Syua to upgrade these AUR packages. Few days back I tried to upgrade package "lib32-qt4" and damn it was running for almost an hour and finally I force stopped it and I have added this package to IgnorePKg list in pacman.conf file.

Will it be an issue if I only upgrade official packages with pacman -Syu and not upgrading AUR packages ???

0 points18 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 100% up
Kind
Text
ID
6261tp

Author

9
posts
33
comments
0
media
View profile

19 comments

You will not get security fixes for those AUR packages.

Qt comes with a webview, all kinds of image viewers and whatnot, all of which may or may be exposed by all the packages that depend on lib32-qt4. I would definitely recommend to upgrade that!

5 points

Really ??

Because I thought only skype depends on lib32-qt4 and hence added to IgnorePKG. There is another package "qt4" in official repository which gets updated normally.

-2 points

No idea why you have the AUR package installed:-)

If Skype needs this one, then I would definitely try to keep that up to date. Skype can be reached from the net, so it has a pretty big attack surface.

2 points
  • lib32-qt4 isn't in the official repositories. Since nothing in the official repo requires a package from the AUR, it means lib32-qt4 is a requirement of an application you also installed out of the AUR. In theory, if you don't update the application, lib32-qt4 shouldn't need to be updated either. You can probably go for a while before everything breaks.
  • However, everything will break eventually. Your application probably depends on other libraries than lib32-qt4, and those in turn depend on something else. Your appliction might be a requirement of another application. The apps in the AUR will rely on something in the official repos, and those will still be updating.
  • Unless you've willing to IgnorePkg the entire dependency chain across the AUR and the official repos, eventually something is going to require an update. The more you IgnorePkg, the sooner something will go wrong. You might have months until it happens, or you might have until the next pacman -Syu.
  • While I get that you don't want to spend hours letting programs compile, that's what the AUR does. If you can't invest the time required, you shouldn't use the AUR.
5 points

Thanks for the explanation .Yes you are right, I installed skype from AUR which required lib32-qt4.

Any better way to upgrade this pkg other than yaourt ??

1 points
  • Using the AUR means you'll be compiling from source, and it will take time. Nothing will change that.

  • However, run this in a terminal:

      lscpu | grep -i 'cpu(s):'
    

You should get a line back that looks like:

      CPU(s):                4

Then do this:

    sudo nano /etc/makepkg.conf  

DO NOT MODIFY ANYTHING ELSE IN THIS FILE EVER, UNLESS YOU KNOW WHAT YOU'RE DOING.
In the second section (ARCHITECTURE, COMPILE FLAGS), there is a line

    #MAKEFLAGS=""

Remove the #, add -jX between the quotes, but replace the X with the number of CPUs you discovered with lscpu. It should look like this:

    MAKEFLAGS="-j4"

Control-O (then Enter) to save, Control-X to exit.
 
This will make the compiler use up more of your CPU when updating from the AUR. It might cause other applications to go slower during the update, but it should finish much sooner.

2 points

Your system will work but anything that has either the AUR program as a dependency or if the AUR package depends on older versions of repo packages then it won't work

3 points

There is also skypeforlinux and skypeforlinux-bin in the AUR. I've never used them, and have no idea if they're any good. But neither require lib32-qt4, and skypeforlinux-bin won't need to be compiled at all (I assume).

2 points

They've gotten a lot better! I have moved to using purple-skypeweb with pidgin for most of my skype needs. It's great for text chat but doesn't do voice or video. When I need to do that, skypeforlinux-bin is the way to go.

2 points

No it's not, but as /u/SuperSonic4 said: Dependencies may become an issue.

It's a better idea to find out what went wrong with the update rather than just chucking it in IgnorePkg.

2 points

Update your AUR packages, and stop using yaourt; it's insecure as hell

1 points
unknown author

Deleted before we saved it.

0 points

Why every post in this subreddit has 0 points? Geez

-1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.