Page 1 of 1

[SOLVED] Redshift: No such file or directory

Posted: 20. May 2014, 05:50
by amaro
Hi guys!

Just installed Salix and cannot find repo to install redshift. Tried this but doesn't work

root[vb]# installpkg /home/vb/Downloads/redshift-1.7-i486-1_ejt.txz
Verifying package redshift-1.7-i486-1_ejt.txz.
Installing package redshift-1.7-i486-1_ejt.txz:
Executing install script for redshift-1.7-i486-1_ejt.txz.
Package redshift-1.7-i486-1_ejt.txz installed.

root[vb]# redshift -l 42.59:23.04 -t 5000:4200
bash: /usr/bin/redshift: No such file or directory

Thanks!

Re: Redshift: No such file or directory

Posted: 20. May 2014, 08:05
by mimosa
Where did you get that package from? It appears to be available from Sourcery.

Or from the command line:

Code: Select all

sudo spi -u
sudo spi -i redshift
It builds in a matter of seconds here and seems to work.

Do have a look at the Salix Startup Guide, in particular, the section on package management:

http://guide.salixos.org

Re: Redshift: No such file or directory

Posted: 20. May 2014, 08:54
by amaro
root[vb]# spi -i redshift
No such package or SlackBuild: redshift

The one I installed is from here http://pkgs.org/slackware-13.37/alphage ... t.txz.html

Re: Redshift: No such file or directory

Posted: 20. May 2014, 09:10
by mimosa
Which Salix version are you using?

Re: Redshift: No such file or directory

Posted: 20. May 2014, 09:28
by amaro
salix64-xfce-14.1

This is in the slapt-getrc

Code: Select all

SOURCE=http://salix.hostingxtreme.com/x86_64/slackware-14.1/:OFFICIAL
SOURCE=http://salix.hostingxtreme.com/x86_64/slackware-14.1/extra/:OFFICIAL
SOURCE=http://salix.hostingxtreme.com/x86_64/14.1/:PREFERRED
SOURCE=http://www.slackware.com/~alien/slackbuilds/
SOURCE=repository.slacky.eu/slackware-14.0/
SOURCE=http://ftp.cc.uoc.gr/mirrors/linux/salix/x86_64/14.0/

Re: Redshift: No such file or directory

Posted: 20. May 2014, 09:32
by mimosa
The package you downloaded is for Slackware 13.37, which may explain why it doesn't work. But in any case, you should be able to build and install it using spi. Did you remember to do

Code: Select all

sudo spi -u
?

It works here.

Re: Redshift: No such file or directory

Posted: 20. May 2014, 09:40
by amaro
I did it but since you mention it again I said let's do it again and this time it worked! Miracle!
My eyes are happy now :)
Thank you!

Re: [SOLVED] Redshift: No such file or directory

Posted: 20. May 2014, 10:06
by mimosa
Excellent app by the way! I look forward to seeing how it is at night.

Re: [SOLVED] Redshift: No such file or directory

Posted: 20. May 2014, 10:41
by amaro
Indeed! I can't do without it. The glossy screens are terrible and it helps a lot.