You are not logged in.

#1 2016-03-02 06:55:51

stackoverflow
Member
Registered: 2015-09-23
Posts: 43

figure out "next amount update"

hi guys.
i wana to create a conky that show "next amount of Update "
my code here:

sudo pacman -Syu —noconfirm | grep Download | cut -c 25-40

but when i execute this code bash prompt me to enter sudo password.
what should i do to deny this behaviour?

Last edited by stackoverflow (2016-03-02 06:57:04)

Offline

#2 2016-03-02 07:27:02

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: figure out "next amount update"

Updating the sync database without updating the system is a very bad idea. Read this: https://wiki.archlinux.org/index.php/Sy … nsupported

Moving to "Newbie Corner".

Offline

#3 2016-03-02 07:37:19

stackoverflow
Member
Registered: 2015-09-23
Posts: 43

Re: figure out "next amount update"

so what is the best idea for implement this job?

Offline

#4 2016-03-02 07:50:07

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: figure out "next amount update"

checkupdates was written to stop people doing this, but it won't print the amount of pending updates.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2016-03-02 08:23:30

stackoverflow
Member
Registered: 2015-09-23
Posts: 43

Re: figure out "next amount update"

yes i use checkupdates ..but i wana total amount pendign updates.
can i use fakeroot?

Offline

Board footer

Powered by FluxBB