MANPATH
by poma
Hello!
Somehow, along the way, MANPATH hit rather strange value, so that the manuals must be entered manually without the help of completion feature.
# dnf install python3-sphinx
...
Installed:
Lmod.x86_64 6.5.1-2.fc24 python-sphinx-locale.noarch 1.4.8-2.fc24
python3-sphinx.noarch 1.4.8-2.fc24
Complete!
$ echo $MANPATH
/usr/share/lmod/lmod/share/man::
$ alternatives --list | grep lmod
modules.sh auto /usr/share/lmod/lmod/init/profile
$ alternatives --display modules.sh
modules.sh - status is auto.
link currently points to /usr/share/lmod/lmod/init/profile
/usr/share/lmod/lmod/init/profile - priority 20
slave modules.csh: /usr/share/lmod/lmod/init/cshrc
Current `best' version is /usr/share/lmod/lmod/init/profile.
$ grep export.MANPATH /usr/share/lmod/lmod/init/profile
export MANPATH=:
export MANPATH=$(/usr/share/lmod/lmod/libexec/addto MANPATH /usr/share/lmod/lmod/share/man)
$ rpm -qf /usr/share/lmod/lmod/init/profile
Lmod-6.5.1-2.fc24.x86_64
Guys, what is the recommended solution for $MANPATH?
1. Additional installation of "The Environment Modules" package?
# dnf install environment-modules
...
Installed:
environment-modules.x86_64 3.2.10-17.fc24
Complete!
$ echo $MANPATH
$ alternatives --display modules.sh
modules.sh - status is auto.
link currently points to /usr/share/Modules/init/modules.sh
/usr/share/lmod/lmod/init/profile - priority 20
slave modules.csh: /usr/share/lmod/lmod/init/cshrc
/usr/share/Modules/init/modules.sh - priority 40
slave modules.csh: /usr/share/Modules/init/csh
Current `best' version is /usr/share/Modules/init/modules.sh.
$ rpm -qf /usr/share/Modules/init/modules.sh
environment-modules-3.2.10-17.fc24.x86_64
OR
2. Update to "unpushed" and remove "Environmental Modules System in Lua"?
# dnf update ./python*sphinx*.rpm ; dnf remove Lmod
...
Upgraded:
python-sphinx-locale.noarch 1.4.8-3.fc24 python3-sphinx.noarch 1.4.8-3.fc24
Complete!
...
Removed:
Lmod.x86_64 6.5.1-2.fc24
Complete!
$ echo $MANPATH
OR some other solution?
Ref.
"Remove environment-modules as well because aviso doesn't want major changesf24"
https://src.fedoraproject.org/cgit/rpms/python-sphinx.git/commit/?h=f24
https://bodhi.fedoraproject.org/updates/FEDORA-2017-bd6e494a78
- This update has been submitted for testing by toshio.
- This update has been pushed to testing.
...
- This update has been unpushed.
6 years
Re: [...] "How does the new naming scheme look like, precisely?"
by poma
On 14.03.2017 14:43, Zbigniew Jędrzejewski-Szmek wrote:
> On Tue, Mar 14, 2017 at 06:39:29AM +0100, poma wrote:
>> On 13.03.2017 21:37, Stephen Morris wrote:
>> [...]
>>> In fact, for me, Fedora's naming convention raises more questions than
>>> it answers. Without knowing anything about the internal hardware design
>>> of a motherboard, how is a usb port on a pci bus, I would expect pci
>>> ports to be on a pci bus and usb ports to be on a usb bus, and relative
>>> to usb ports I would expect there to be a separate bus for usb 2 and usb
>>> 3 ports.
>
> USB bus is a PCI device connected through the PCI bus. So the "geographical
> location" includes first the information where to find the USB bus,
> and then where to find the USB device starting from that.
>
>> dmesg -t | grep wl -m1
>> r92su 1-3:1.0 wlp0s2f1u3: renamed from wlan0
>>
>> wlp0s2f1u3
>> wl p0 s2 f1 u3
>> wl-wlan p-bus=0 s-slot=2 f-function=1 u-port=3
> So this USB bus in this case is multi-function device in slot
> 2 of PCI bus 0. Different functions probably correspond to different
> USB hubs, and the wireless card happens to be connected underneath
> function 1.
>
> I don't think you're supposed to be able to guess the name on your own.
> Rather, you have a card, and you know that it has this stable name.
> If the card dies, and you replace it with a new one (in the same
> socket), the name will not change.
>
>> lsusb
>> Bus 001 Device 003: ...
>>
>> lsusb -t
>> /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
>> |__ Port 3: Dev 3, If 0, Class=Vendor Specific Class, Driver=r92su, 480M
>>
>> ls /sys/devices/pci0000:00/0000:00:02.1/usb1/1-3/1-3:1.0/net/
>> wlp0s2f1u3
>>
>> lspci -d ::0c03
>> 00:02.1 USB controller: ...
>> 00 02 1
>> <bus>:<device>.<func>
>>
>> udevadm info -q env /sys/class/net/wlp0s2f1u3 | grep PATH
>> DEVPATH=/devices/pci0000:00/0000:00:02.1/usb1/1-3/1-3:1.0/net/wlp0s2f1u3
>> ID_NET_NAME_PATH=wlp0s2f1u3
>> ID_PATH=pci-0000:00:02.1-usb-0:3:1.0
>> ID_PATH_TAG=pci-0000_00_02_1-usb-0_3_1_0
>>
>> udevadm info -a -p /sys/class/net/wlp0s2f1u3 | grep looking -A 3
>> looking at device '/devices/pci0000:00/0000:00:02.1/usb1/1-3/1-3:1.0/net/wlp0s2f1u3':
>> KERNEL=="wlp0s2f1u3"
>> SUBSYSTEM=="net"
>> DRIVER==""
>> --
>> looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1/1-3/1-3:1.0':
>> KERNELS=="1-3:1.0"
>> SUBSYSTEMS=="usb"
>> DRIVERS=="r92su"
>> --
>> looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1/1-3':
>> KERNELS=="1-3"
>> SUBSYSTEMS=="usb"
>> DRIVERS=="usb"
>> --
>> looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1':
>> KERNELS=="usb1"
>> SUBSYSTEMS=="usb"
>> DRIVERS=="usb"
>> --
>> looking at parent device '/devices/pci0000:00/0000:00:02.1':
>> KERNELS=="0000:00:02.1"
>> SUBSYSTEMS=="pci"
>> DRIVERS=="ehci-pci"
>> --
>> looking at parent device '/devices/pci0000:00':
>> KERNELS=="pci0000:00"
>> SUBSYSTEMS==""
>> DRIVERS==""
>>
>> Ref.
>> https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInter...
>> https://github.com/systemd/systemd/blob/master/src/udev/udev-builtin-net_...
>> * [P<domain>]p<bus>s<slot>[f<function>][u<port>][..][c<config>][i<interface>]
>> * — USB port number chain
>>
>
> HTH,
> Zbyszek
>
Yeah, the emphasis is on consistency of names of network interfaces.
Thank you.
6 years
dnf list --showduplicates shows a lot of double entries
by Joachim Backes
Hi all,
dnf list --showduplicates
shows a lot of duplicate entries, with origin fedora and commandline,
for example of the package yelp:
dnf list --showduplicates|grep yelp
yelp.x86_64 2:3.22.0-1.fc25
@@commandline
yelp-libs.x86_64 2:3.22.0-1.fc25
@@commandline
yelp-xsl.noarch 3.20.1-1.fc25
@@commandline
yelp.x86_64 2:3.22.0-1.fc25
@@commandline
yelp.x86_64 2:3.22.0-1.fc25 fedora
yelp-devel.i686 2:3.22.0-1.fc25 fedora
yelp-devel.x86_64 2:3.22.0-1.fc25 fedora
yelp-libs.i686 2:3.22.0-1.fc25 fedora
yelp-libs.x86_64 2:3.22.0-1.fc25
@@commandline
yelp-libs.x86_64 2:3.22.0-1.fc25 fedora
yelp-tools.noarch 3.18.0-3.fc25 fedora
yelp-xsl.noarch 3.20.1-1.fc25
@@commandline
yelp-xsl.noarch 3.20.1-1.fc25 fedora
Is this an known dnf issue, or how to get rid of this annoying effect?
Kind regards
Joachim Backes
--
Kernel-4.10.3-200.fc25.x86_64
Fedora release 25 (Twenty Five)
Joachim Backes <joachim.backes(a)rhrk.uni-kl.de>
https://www-user.rhrk.uni-kl.de/~backes/
6 years
VLC
by jarmo
Just tried open VLC player... No lucky... I get...
VLC media player 3.0.0-git Vetinari (revision 2.2.0-git-10582-g9eb9eb0bd2)
[00005610e6fd81a8] core libvlc: Käynnistetään vlc oletuskäyttöliittymällä. Aja "cvlc", jos haluat käyttää vlc:tä ilman käyttöliittymää.
[00005610e7070938] core playlist: playlist is empty
[00005610e7070938] core playlist: end of playlist, exiting
QObject::~QObject: Timers cannot be stopped from another thread
Sorry some Finnish words...
Jarmo
6 years
gphoto2 problem -
by Bob Goodwin
.
About a week ago I began to have a
problem with gphoto2 which normally just
works.
I don't use it every day and I don't
know exactly when it began doing this
but there were updates from Fedora and
Apple. The only thing I found via Google
was mention of a lock problem and this
does not appear to be a lock problem.
The camera is detected:
photosnew]$ gphoto2 --auto-detect
Model Port
----------------------------------------------------------
Apple iPhone 5 (PTP mode) usb:003,006
[bobg@box10 photosnew]$ gphoto2
--get-all-files
However any command to download from the
camera yields the following error:
photosnew]$ gphoto2 --get-all-files
*** Error ***
PTP Invalid Storage ID
*** Error (-1: 'Unspecified error') ***
For debugging messages, please use the
--debug option.
Debugging messages may help finding a
solution to your problem.
If you intend to send any error or debug
messages to the gphoto
developer mailing list
<gphoto-devel(a)lists.sourceforge.net>,
please run
gphoto2 as follows:
env LANG=C gphoto2 --debug
--debug-logfile=my-logfile.txt
--get-all-files
Please make sure there is sufficient
quoting around the arguments.
I dunno what to do, any help appreciated,
Bob
--
Bob Goodwin - Zuni, Virginia, USA
http://www.qrz.com/db/W2BOD
box10 FEDORA-25/64bit LINUX XFCE Fastmail POP3
6 years
Google chrome gets deadlocked on F25
by Paul Smith
Dear All,
I have
google-chrome-stable-54.0.2840.100-1.x86_64
running on F25, but it deadlocks so often. Any solutions?
Thanks in advance,
Paul
6 years
Tor browsers
by JD
How much effort is involved in setting up tor port(s) and running tor
browsers?
I have never done it to-date, and would like some installation / setup /
configurations links.
6 years
Fedora24 - Firefox copy to clipboard no longer working
by Robert Moskowitz
I am trying to develop a simple html/javascript copy to clipboard button.
I was testing along last week (challenges to support multiline text),
when the copy button stopped working.
Even the demos like at:
http://www.htmlgoodies.com/beyond/javascript/article.php/3458851
Is not working. Perhaps I stepped on something in Firefox. My system
did crash last night, and I did restart Firefox (but did a resume
windows not a fresh restart). I really can't just quit Firefox and
start 'clean', as there are 20+ Firefox windows open, all with multiple
tabs...
Thanks for any help.
6 years
Re: Tor browsers
by J.Witvliet@mindef.nl
Wasnt there a package for this?
Verstuurd vanaf mijn iPhone
> Op 17 mrt. 2017 om 21:54 heeft JD <jd1008(a)gmail.com> het volgende geschreven:
>
>
> How much effort is involved in setting up tor port(s) and running tor browsers?
>
> I have never done it to-date, and would like some installation / setup / configurations links.
> _______________________________________________
> users mailing list -- users(a)lists.fedoraproject.org
> To unsubscribe send an email to users-leave(a)lists.fedoraproject.org
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 elektronisch 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.
6 years