Package Details: aarchup 2.1.7-3

Git Clone URL: https://aur.archlinux.org/aarchup.git (read-only, click to copy)
Package Base: aarchup
Description: Fork of archup a small and lightweight update-notifier for archlinux.
Upstream URL: https://gitlab.com/artafinde/aarchup/
Licenses: GPL3
Submitter: aericson
Maintainer: artafinde
Last Packager: artafinde
Votes: 69
Popularity: 0.067023
First Submitted: 2011-05-16 20:39 (UTC)
Last Updated: 2021-11-02 08:28 (UTC)

Latest Comments

dc14 commented on 2020-03-31 11:30 (UTC)

pacman-contrib should be listed as a dependency. /usr/bin/checkupdates was moved to pacman-contrib around two years ago...

artafinde commented on 2020-03-26 10:09 (UTC) (edited on 2020-04-15 09:31 (UTC) by artafinde)

@aericson: I have rewritten it in C++ to refresh my skills but code remains largely the same ;)

aericson commented on 2020-03-26 09:45 (UTC)

Really nice to see this still alive! Thanks artafinde!

artafinde commented on 2020-03-26 09:31 (UTC)

@bidulock: thanks for reporting it - fixed.

bidulock commented on 2020-03-26 03:26 (UTC)

Won't build in clean chroot without git in makedepends.

artafinde commented on 2018-11-06 08:47 (UTC)

Anyone want to test the cpp branch? https://github.com/inglor/aarchup/tree/cpp

stefan.skupin commented on 2018-07-23 13:14 (UTC)

Correcting the service file works. Thansk a lot, and sorry for the delay.

artafinde commented on 2018-07-14 08:02 (UTC) (edited on 2018-07-14 08:04 (UTC) by artafinde)

@stefan.skupin: Try editing the /usr/lib/systemd/user/aarchup.service

ExecStart=/bin/aarchup

Reload daemon with systemctl daemon-reload and start the service systemctl --user start aarchup.service. Let me know of results and I will amend the service file.

stefan.skupin commented on 2018-07-05 11:50 (UTC)

with version 1.8.2-1 systemd service is broken. it seems that aarchup.service and aarchup.timer have been moved to usr/lib/systemd/user/, so i activated the timer as a systemd user service. however, the service file fails:

[skupin@archbox ~]$ systemctl --user status aarchup ● aarchup.service - Run aarchup Loaded: loaded (/usr/lib/systemd/user/aarchup.service; static; vendor preset: enabled) Active: inactive (dead) since Thu 2018-07-05 13:31:02 CEST; 16min ago Process: 7318 ExecStart=/usr/share/aarchup/noxaarchup.sh (code=exited, status=0/SUCCESS) Main PID: 7318 (code=exited, status=0/SUCCESS)

Jul 05 13:30:57 archbox systemd[1612]: Started Run aarchup. Jul 05 13:30:57 archbox noxaarchup.sh[7318]: /usr/share/aarchup/noxaarchup.sh: line 5: warning: command substitution: ignored null byte in input Jul 05 13:30:57 archbox noxaarchup.sh[7318]: /usr/share/aarchup/noxaarchup.sh: line 6: warning: command substitution: ignored null byte in input Jul 05 13:30:59 archbox aarchup[7328]: notify_notification_show: assertion 'error == NULL || *error == NULL' failed Jul 05 13:30:59 archbox noxaarchup.sh[7318]: DEBUG(error): It could have been caused by an enviroment restart. Jul 05 13:30:59 archbox noxaarchup.sh[7318]: DEBUG(error): Trying to work around it by reinitin libnotify.

aarchup launched from command line works.

artafinde commented on 2018-07-04 23:30 (UTC) (edited on 2018-07-05 06:22 (UTC) by artafinde)

@ValHue Did some changes and released a new version. I also modified the aur package. I added you as contributor to my repo.

ValHue commented on 2018-07-04 11:20 (UTC)

@artafinde In that case we will use your repo. :D

artafinde commented on 2018-07-04 11:01 (UTC) (edited on 2018-07-04 11:02 (UTC) by artafinde)

I will probably have some time today to do some fixes (maybe the auracle & provide sensible systemd files) - I've already forked it in my GitHub account - I will be raising PRs against yours @ValHue.

ValHue commented on 2018-07-04 10:50 (UTC)

@artafinde It seems perfect. Or simply change the code so that it is not necessary to apply a patch. As simple as that...

artafinde commented on 2018-07-04 10:46 (UTC)

ValHue you can add me as Co-Maintainer if you want and I can try updating as well. What kind of improvements we are talking about? It's a very simple tool which does the job currently. My improvement would be to re-write it with unit tests and in different language (probably c++) :P

ValHue commented on 2018-07-04 10:38 (UTC)

@aericson https://github.com/ValHue

But I think it would still be better to create a fork and leave your repository intact with your work.

I also do not have time to devote to him. I hope that some of the participants of these comments want to maintain and develop it.

aericson commented on 2018-07-04 08:32 (UTC)

@ValHue can you tell me your GitHub username?

ValHue commented on 2018-07-04 08:27 (UTC) (edited on 2018-07-04 08:29 (UTC) by ValHue)

Well, while nobody dares to maintain and / or improve it, I will adopt it myself. I will update the PKGBULD with the improvements proposed here.

As soon as someone is willing to adopt it and improve it to say so, yours is ...

artafinde commented on 2018-07-02 17:48 (UTC) (edited on 2018-07-02 17:49 (UTC) by artafinde)

How hard can it be.. I guess I can give it a go!? But I haven't touch C code for ages so I will be doing only minor fixes (like the change to auracle :) )

aericson commented on 2018-07-02 08:51 (UTC)

If someone wants to maintain it I will gladly give access to the GitHub repository.

aericson commented on 2018-07-02 08:50 (UTC)

Disowned! Sorry, it's been impossible for me to maintain it. Good luck.

ValHue commented on 2018-07-02 07:57 (UTC)

@Alad, I have asked that this package be declared orphaned, since it has not been updated for a long time and it does not make sense that the current maintainer does not take care of it. Do you take care of it when they declare it orphan?

;)

haawda commented on 2018-04-02 15:42 (UTC) (edited on 2018-04-02 15:45 (UTC) by haawda)

namcap tells that the two systemd related files are at the wrong place.

And can you please rename the downloaded tarball using ::-syntax in the source array?

Alad commented on 2018-02-09 11:05 (UTC) (edited on 2018-02-10 00:48 (UTC) by Alad)

@artafinde: Thanks for testing!

PR filed: https://github.com/aericson/aarchup/pull/13/files

artafinde commented on 2018-02-09 08:17 (UTC)

@Alad: works OK. Had to modify the patch a bit as aericson is doing some renaming during prepare() (maybe I am missing a patch argument to ignore the src bit - but I'm not that great with patch cmd). Patch: https://ptpb.pw/Ltdg PKGBUILD: https://ptpb.pw/Or1s Screenshot: https://box.artafinde.me/cloud/index.php/s/B60Z2W5rKIhVeRq

Alad commented on 2018-02-09 01:38 (UTC)

Proposed patch:

https://paste.xinu.at/wgp/

I however have no Xorg environment available so can't tell if this works as intended...

Alad commented on 2018-02-09 01:05 (UTC)

The only non-trivial change is changing void parse(char *line) to use

package_name version -> new_version

instead of

:: package_name version -> new_version

aericson commented on 2018-02-08 22:29 (UTC)

@Alad, I'm no longer using Arch. I'm not sure if/when I will be able to do that.

Pull requests on the github's repo are welcome.

Alad commented on 2018-02-08 20:27 (UTC)

Would you mind updating this to use auracle? cower poses a heavy tax on the AUR due to it filing one request per package.

https://lists.archlinux.org/pipermail/aur-dev/2018-January/004416.html

aericson commented on 2016-02-27 00:02 (UTC)

Updated

AnbuBlack commented on 2016-02-26 14:53 (UTC)

license=('GPL')

aericson commented on 2016-02-04 16:00 (UTC)

Thanks for reporting, will update.

artafinde commented on 2016-02-04 10:04 (UTC)

@nightsense: see this [0] change to make it build. [0]https://gist.github.com/inglor/8aa920f88f54077d5e36

commented on 2016-02-04 07:24 (UTC)

makepkg fails with "==> ERROR: license should be an array"

aericson commented on 2015-07-11 21:42 (UTC)

Migrated the wrong version to AUR4, fixed.

artafinde commented on 2015-07-11 12:41 (UTC)

md5 is still wrong.

aericson commented on 2015-05-28 13:23 (UTC)

Fixed, thanks

nbvcxz commented on 2015-05-28 11:29 (UTC)

==> Validating source files with md5sums... 1.7.3.zip ... FAILED ==> ERROR: One or more files did not pass the validity check! for me 1.7.3.zip md5sum is 89e1e830cb9b10ee29bb561ad3c3cde9

aericson commented on 2015-03-19 01:26 (UTC)

Yep, thats the easier setup. Check the man page for aarchup. Wiki is for the old archup. Would be nice if someone could create a page for it. But it's not really a priority. Man page is the most updated doc.

UncleSlug commented on 2015-03-19 01:20 (UTC)

Right i think i got it after tearing some hair out. Edit /etc/systemd/system/aarchup.timer to set the interval. systemctl enable aarchup.timer this periodically runs aarchup.service which runs the noxaarchup.sh script?

UncleSlug commented on 2015-03-19 01:07 (UTC)

The wiki for archup (and sort of aarchup) is horribly out of date. Perhaps someone who knows how this is supposed to be set up and work could update it?

aericson commented on 2015-02-02 07:00 (UTC)

@nbvcxz: Thanks @Br1: seems fine here, could you try to download the PKGBUILD again?

nbvcxz commented on 2015-01-30 11:31 (UTC)

The display script works now like charm :) But you probably forgot to add pacman -Sy to synchronize pacman databases

aericson commented on 2015-01-30 00:24 (UTC)

@nbvcxz: could you review this please? https://gist.github.com/aericson/e18c6e83a0c4a4b32d3f

nbvcxz commented on 2015-01-29 22:35 (UTC)

aarchup 1.7.0 introduces systemd timer ans new script noxaarchup.sh to . but it sucks for me because in fact it uses gconf (I don't want it). The solution is simple - just change noxaarchup.sh: call_aarchup(){ dbus=$(grep -z DBUS_SESSION_BUS_ADDRESS /proc/self/environ | sed 's/DBUS_SESSION_BUS_ADDRESS=//') user=$(grep -m 1 -z USER /proc/self/environ | sed 's/USER=//') dply=$(grep -z DISPLAY /proc/self/environ | sed 's/DISPLAY=//') sudo -u $user sh -c "DBUS_SESSION_BUS_ADDRESS=\"$dbus\" DISPLAY=\"$dply\" /usr/bin/aarchup" }

aericson commented on 2014-07-08 11:14 (UTC)

@dape I will unflag as out-of-date as it's up to date. If you have a bug report please post it at https://bbs.archlinux.org/viewtopic.php?id=119129 instead of marking it as out-of-date. Thanks

aericson commented on 2014-04-06 16:21 (UTC)

@qvamatel just use the --loop-time mode instead of with a cronjob, it's easier to setup

qvamatel commented on 2014-04-01 16:13 (UTC)

Hello! Hourly synchronization is not work with chronjob in kde desktop. I see the /etc/cron.hourly/aarchup file and modify the next row: su - $arch_user -c "XAUTHORITY=/home/$arch_user/.Xauthority DISPLAY=:0.0 /usr/bin/aarchup --uid $(id -u $arch_user) --icon /usr/share/aarchup/archlogo.svg" to: su $arch_user -c "XAUTHORITY=/home/$arch_user/.Xauthority DISPLAY=:0.0 /usr/bin/aarchup --uid $(id -u $arch_user) --icon /usr/share/aarchup/archlogo.svg" I removed the fourth character `-`. If I run this command in terminal (with root) then work aarchup and display the update notification. :) If cronjob run this command in /etc/cron.hourly/aarchup file then not work. :( Why?

RaphaelRochet commented on 2013-09-26 20:35 (UTC)

Hi, I got it to work with crontab and gnome-shell/gdm . Details here : https://bbs.archlinux.org/viewtopic.php?pid=1329897#p1329897 In short, it was missing DBUS env.

aericson commented on 2013-09-11 17:34 (UTC)

will update it soon. Thanks!

commented on 2013-09-07 14:41 (UTC)

note: aarchup cronjob was fixed for me by renaming "aarchup.sh" located in "/etc/cron.hourly/" to just "aarchup". see https://wiki.archlinux.org/index.php/Cronie#run-parts_issue maybe it's good to adjust the example/doc in the package. thanks!

aericson commented on 2013-06-30 15:42 (UTC)

@amielke we are all having troubles to make it work at the crontab, if you could let us know how you did it at https://bbs.archlinux.org/viewtopic.php?id=119129&p=3 ?

amielke commented on 2013-05-07 12:32 (UTC)

To run this Script under Gnome3, gdm you need to make the following change in /etc/cron.hourly/cronhourly.sh comment out the line: # su - $ arch_user-c "XAUTHORITY = / home / $ arch_user / .Xauthority DISPLAY =: 0.0 / usr / bin / aarchup - uid $ (id-u $ arch_user) - icon / usr / share / aarchup / archlogo . svg " # IF YOU USE THE followin uncomment GDM PLEASE COMMENT AND THE ABOVE # su - $ arch_user-c "XAUTHORITY = $ (/ usr / bin / find / var / run / gdm-path" $ {*} * arch_user / database ") DISPLAY =: 0.0 / usr / bin / aarchup - uid $ (id-u $ arch_user) - icon / usr / share / aarchup / archlogo.svg " Add the line DISPLAY =: 0 / usr / bin / aarchup - uid $ (id-u $ arch_user) - icon / usr / share / aarchup / archlogo.svg

aericson commented on 2012-02-24 04:58 (UTC)

@cvillelk somehow I didn't get notified when you posted that ; / anyway, fixed it, better late than never. Thanks : )

cvillelk commented on 2012-01-22 21:43 (UTC)

The PKGBUILD didnt work using an AUR helper (Packer). ==> ERROR: install file (('aarchup.install')) does not exist. The build failed. To fix this, I had to change: install=('aarchup.install') needs to be install=$pkgname.install

aericson commented on 2011-09-02 15:44 (UTC)

I have replied your forum post at https://bbs.archlinux.org/viewtopic.php?pid=985452#p985452

innn commented on 2011-09-02 07:26 (UTC)

it does not work for me, tried launching aarchupstartup.sh but gives me this: [code](process:1670): libnotify-CRITICAL **: notify_notification_show: assertion `error == NULL || *error == NULL' failed[/code]