Installing texlive under Fedora 17.
by Rolf Turner
Under Fedora 17 I recently had problems with running latex on a file that
previously (under Ubuntu) I had no difficulty with. (A while back I had to
switch from Ubuntu to Fedora for reasons that I won't go into here.)
I thought that perhaps I might be able to get rid of the flakiness
by re-installing texlive.
I downloaded the install-tl-unx.tar.gz tarball from
http://www.tug.org/texlive/acquire.html
unpacked, changed directories appropriately and executed
./install.tl
as per instructions. I got an error message:
> Can't locate Digest/MD5.pm in @INC (@INC contains: ./tlpkg
> /usr/local/lib64/perl5 /usr/local/share/perl5
> /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl
> /usr/lib64/perl5 /usr/share/perl5 .) at tlpkg/TeXLive/TLUtils.pm line
> 199.
> BEGIN failed--compilation aborted at tlpkg/TeXLive/TLUtils.pm line 199.
> Compilation failed in require at ./install-tl line 53.
> BEGIN failed--compilation aborted at ./install-tl line 53.
I looked at line 53 and it is opaque to me.
I presume that I need to update *something* w.r.t. perl, but it is not
at all
clear to me what I need to do. Doing "yum search perl" gave a plethora of
hits. I have no idea which are the relevant ones. Then "yum search perl5"
basically turned up perl-pgsql_perl5.x86_64. What has pgsql got to do with
the price of eggs in China?
Can anyone suggest what I need to do to remedy the problem?
I have no idea what extra information is relevant, so I have not tried
to provide any. If some Good Samaritan would like more information
about my set-up, please feel free to ask and I will do my best to
supply it.
I am fairly computer/Linux/LaTeX literate, but there are gaping lacunae
in my knowledge, so please be patient with me.
cheers,
Rolf Turner
P. S. I originally posted this query to texhax, but was told that this is a
Fedora issue not a texlive issue, and that I should post to this list.
R. T.
11 years, 1 month
Command grep -
by Bob Goodwin
If I do "less syslog.txt | grep DST=17." I get a mixture of outputs
containing "17."
I would like to do "less syslog.txt | grep 17.0.0.0 - 17.255.255.255" or
"less syslog.txt | grep DST=17.0.0.0/8" but I can't find the correct
incantation. The man page doesn't seem to tell me how, at least not in a
way that I can understand ...
Can someone tell me how?
Apr 12 01:47:54 localhost user.warn kernel: ACCEPT IN=br0 OUT=vlan1
SRC=192.168.1.44 DST=17.171.4.13 LEN=76 TOS=0x00 PREC=0xC0 TTL=63
ID=39455 PROTO=UDP SPT=123 DPT=123 LEN=56
Apr 12 01:56:31 localhost user.warn kernel: ACCEPT IN=br0 OUT=vlan1
SRC=192.168.1.44 DST=17.171.4.13 LEN=76 TOS=0x00 PREC=0xC0 TTL=63
ID=3578 PROTO=UDP SPT=123 DPT=123 LEN=56
Apr 12 02:01:53 localhost user.warn kernel: ACCEPT IN=br0 OUT=vlan1
SRC=192.168.1.44 DST=174.35.3.56 LEN=64 TOS=0x00 PREC=0x00 TTL=63
ID=61581 DF PROTO=TCP SPT=58672 DPT=80 WINDOW=65535 RES=0x00 SYN URGP=0
OPT (020405B4010303040101080A21209C400000000004020000)
Thanks,
Bob
--
http://www.qrz.com/db/W2BOD
box10 Fedora-18 XFCE Linux
11 years, 1 month
ZDNet Recommends Linux
by Temlakos
Everyone:
This might seem a little beyond scope to most of you, but:
Windows XP is approaching its own EOL.
Steven J. Vaughn-Nichols released this article:
http://www.zdnet.com/five-operating-system-alternatives-to-windows-8-and-...
at ZDNet: Five OS alternatives to Windows 8 and Windows XP. And they
are, in his view:
5. Using AndroidOS or iOS in a tablet. (In his view: /not/ for the
"information producer." Looking things up is one thing. But creating the
things for others to look up is quite another.)
4. Mac
3. Linux
2. Google ChromeOS, which he describes as the Chrome browser running
on a bare-bones Linux desktop and accessing Google's SaaS offerings.
1. Windows 7. Interesting: he doesn't recommend going all the way to
Windows 8.
And at the bottom, he adds this:
(Quote)
You should keep in mind that in the long run, it appears Microsoft
really does want to switch you over to a Metro-style interface as part
of the "evolution" of Windows 8. If that idea gives you hives, then now
is the time to start looking for alternatives.
(Unquote)
Vaughn-Nichols gives this link:
http://www.zdnet.com/no-windows-desktop-mode-no-7000013099/
Temlakos
11 years, 1 month
F18, selinux & sensors
by Cristian Sava
Hi all,
I want to monitor hardware temperatures using sensors.
sensors is working ok lunched in a terminal but i want to display the
output on the web.
So i have this simple php:
<?php
echo exec('/var/www/cgi-bin/my_sensors.sh');
?>
and my_sensors.sh in cgi-bin:
#!/usr/bin/bash
/usr/bin/sensors
exit
Why the problem showed in /var/log/messages (and blank web page)?
sensors is supposed to run ok, is it?
my_sensors lunch sensors = OK
sensors try i2c-adapter = deny
Do i miss something?
setroubleshoot: SELinux is preventing /usr/bin/sensors from read access
on the directory i2c-adapter. For complete SELinux messages. run sealert
-l 94ef69e6-5109-4c22-b464-ef220948dd6a
[root@s194 cgi-bin]# sealert -l 94ef69e6-5109-4c22-b464-ef220948dd6a
SELinux is preventing /usr/bin/sensors from read access on the directory
i2c-adapter.
***** Plugin catchall (100. confidence) suggests
***************************
If you believe that sensors should be allowed read access on the
i2c-adapter directory by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep sensors /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp
Additional Information:
Source Context system_u:system_r:httpd_sys_script_t:s0
Target Context system_u:object_r:sysfs_t:s0
Target Objects i2c-adapter [ dir ]
Source sensors
Source Path /usr/bin/sensors
Port <Unknown>
Host s194.central.ucv.ro
Source RPM Packages lm_sensors-3.3.2-5.fc18.x86_64
Target RPM Packages
Policy RPM selinux-policy-3.11.1-87.fc18.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name s194.central.ucv.ro
Platform Linux s194.central.ucv.ro
3.8.6-203.fc18.x86_64 #1
SMP Tue Apr 9 19:33:01 UTC 2013 x86_64
x86_64
Alert Count 2
First Seen 2013-04-12 15:59:12 EEST
Last Seen 2013-04-12 15:59:13 EEST
Local ID 94ef69e6-5109-4c22-b464-ef220948dd6a
Raw Audit Messages
type=AVC msg=audit(1365771553.642:434): avc: denied { read } for
pid=5314 comm="sensors" name="i2c-adapter" dev="sysfs" ino=15234
scontext=system_u:system_r:httpd_sys_script_t:s0
tcontext=system_u:object_r:sysfs_t:s0 tclass=dir
type=SYSCALL msg=audit(1365771553.642:434): arch=x86_64 syscall=openat
success=no exit=EACCES a0=ffffffffffffff9c a1=7fff2e427650 a2=90800 a3=0
items=0 ppid=5313 pid=5314 auid=4294967295 uid=48 gid=48 euid=48 suid=48
fsuid=48 egid=48 sgid=48 fsgid=48 ses=4294967295 tty=(none) comm=sensors
exe=/usr/bin/sensors subj=system_u:system_r:httpd_sys_script_t:s0
key=(null)
Hash: sensors,httpd_sys_script_t,sysfs_t,dir,read
audit2allow
#============= httpd_sys_script_t ==============
allow httpd_sys_script_t sysfs_t:dir read;
audit2allow -R
require {
type httpd_sys_script_t;
}
#============= httpd_sys_script_t ==============
dev_list_sysfs(httpd_sys_script_t)
[root@s194 cgi-bin]#
C. Sava
11 years, 1 month
RE: Fedora vs RHEL
by J.Witvliet@mindef.nl
-----Original Message-----
From: users-bounces(a)lists.fedoraproject.org [mailto:users-bounces@lists.fedoraproject.org] On Behalf Of Steve Searle
Sent: Friday, April 12, 2013 12:15 PM
To: Community support for Fedora users
Subject: Re: Fedora vs RHEL
Around 11:09am on Friday, April 12, 2013 (UK time), Mike Dwiggins scrawled:
> My problem is that I am trying to sell my Boss on Fedora! He refuses
> to let us use CentOS or to pay for RHEL ( Yes cheapskate). But if I
> can show some comparison to RHEL I can sell him on Fedora.
>
> My whole shop run home servers and we all use Fedora. We just need
> something from somewhere to convince him!
I would think it madness to use Fedora in a commercial activity, the upgrade cycle is to frequent and the risks of failure due to the "bleeding edge" to great. What advantage do you think Fedora would give you over whatever you currently use.
If you can't convince him to use RHEL/CentOS then I think it wrong to convince him Fedora would be better.
Obviously I have know knowledge of your actual business.
-----Original Message-----
I wouldn't do it on moral grounds:
If you want to play/learn/experiment/contribute: use fedora by all means!
If you make a living from it / other people depend on it: use RHEL
Hans
______________________________________________________________________
Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet de geadresseerde bent of dit bericht abusievelijk aan u is toegezonden, wordt u verzocht dat aan de afzender te melden en het bericht te verwijderen. De Staat aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die verband houdt met risico's verbonden aan het electronisch verzenden van berichten.
This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. The State accepts no liability for damage of any kind resulting from the risks inherent in the electronic transmission of messages.
11 years, 1 month
Testing.
by Rolf Turner
Apologies for the noise. My previous message to this list seems
not to have gone through; wanted to check/test.
cheers,
Rolf Turner
11 years, 1 month
Off Topic - Block iCloud -
by Bob Goodwin
Can anyone tell me how to block Apple iCloud in my router? I've tried
filtering icloud.com as mentioned in Google but it still downloads at
about 3GB per hour, a rate that would use up my month's allocation in
about 8 hours! There seems to be a dearth of information on Google on
the subject although it is a recognized problem.
Presently I am forced to block all the Apple devices on my LAN. I would
like to be more selective and allow them other functions, e-mail and
browsing, etc. They can use the 3g/4g system for their iCloud needs.
iCloud is really a very inefficient solution to a problem I didn't know
existed until my daughter subscribed and put a half dozen devices on it.
Any information or suggestions will be appreciated.
Bob
--
http://www.qrz.com/db/W2BOD
box10 Fedora-18 XFCE Linux
11 years, 1 month
XDG_CONFIG_HOME
by Jonathan Ryshpan
Font control files and a bunch of other stuff for per-user configuration
is supposed to be stored relative to $XDG_CONFIG_HOME . I would assume
that this is be set by default by either a standard login script, or by
the window manager, which in my case is KDE. But it isn't. Is this a
problem? If it is a problem, how do I fix it?
Thanks - jon
11 years, 1 month
RE:presto
by Alan Gagne
> NoGo : yum-presto has been obsoleted.
Don't know what to tell you.
I have two F18 boxes that are both using the presto plugin for yum.
Linux dw-agagne 3.8.5-201.fc18.x86_64 #1 SMP Thu Mar 28 21:01:19 UTC
2013 x86_64 x86_64 x86_64 GNU/Linux
Alan
11 years, 1 month
[OT] How to get all packages belonging to a group?
by Joachim Backes
Hi all,
is there a method to list all packages belonging to an installed group?
For example, "yum grouplist" lists LibreOffice as installed group, and I
want to know which rpm's are belonging to this group
(not by using "rpm -qa libreoffice*").
Kind regards
Joachim Backes
--
Fedora release 19 (Schrödinger’s Cat): Kernel-3.9.0-0.rc6.git0.1.fc19.x86_64
Joachim Backes <joachim.backes(a)rhrk.uni-kl.de>
https://www-user.rhrk.uni-kl.de/~backes
11 years, 1 month