Because Anaconda doesn't support my usual partitioning scheme (root on Btrfs in LVM in LUKS in LVM in GPT, /boot on Btrfs, etc.), I created the entire layout manually and tried to install Fedora using dnf. The same layout works perfectly fine in ArchLinux.
I basically followed this howto, with adjustments for s/yum/dnf/ and for EFI/GPT: http://dustymabe.com/2014/05/29/manual-linux-installs-with-funky-storage-...
The initial filesystem installation (dnf install -y --releasever=23 --installroot=/mnt/sysimage filesystem) already got a few glitches of this form:
Non-fatal POSTIN scriptlet failure in rpm package filesystem
This^^^ happened to roughly half of the installed packages. I tried to proceed with the rest (i.e., to install @core @standard kernel grub2 grub2-efi sihm grub2-tools), but it failed with scriptlet errors that prevented a few key packages from getting installed at all:
error: %prein(selinux-policy-targeted-3.13.1-157.fc23.noarch) scriptlet failed, exit status 126
Error in PREIN scriptlet in rpm package selinux-policy-targeted
Packages with those errors are reported as failed after the verify step. What I tried next:
* setenforce 0
* upgrading the installation environment and/or the sysimage with dnf and rpm from rawhide
* --releasever=22 instead of 23
* ...and checking for a few other common points with this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1270663
* a plain sysimage directory with no predefined Btrfs subvolumes in it
* unmounting, remounting, checking that everything has seclabel on, no weirdness in dmesg, etc.
Well, nothing of the above helped; the error is still the same.
How can I diagnose this? Where can I dig out the exact reason why the scriptlets are failing?
Provided that Anaconda actually does some steps that I'm missing and can carry out the installation correctly, is there a way to *force* it to just accept whatever is mounted into /mnt/sysimage at the moment, without trying to make sense of it? I'm pretty sure dracut can handle my partition layout just fine, so the entire issue here is about getting the basic installation done somehow.
Theoretically I could create a simple-and-stupid layout that Anaconda can handle, proceed with the installation and reshuffle the partitions afterwards, but that's sooo cumbersome that I thought I'd first ask whether someone knows a workaround to the scriptlet problems.
my computer boot only in emergency mode ...
Looking the journalctl (command journalctl -xb), I found (in thejournalctl
) these lines in red color :
ATA2:00: link is slow to respond....
ATA200: SRST failed (erro 16)
That seem indicate that it is a problem to access the HDs..
I found a possible solution to the problem in this post:
There is wrote that :...the problem can depend by the physic set up of the
HD (as "master", "slave", "single drive", ...): this set up can be done by
changing the position of a jumper on the HD...
I know that, in the past time, the HDs had to be set physically in this
way.., but recently I never heart anymore that the modern HD need this
So actually I don't care anymore of the configuration of the HDs
(my HD is Toshiba 1 TB that I bought few mounts ago).
I would like to have a confirmation that what I read in the post is only an
obsolete information and, in any case, I would like to know also what I can
do to go around in my problem..
>From the command line: ls /dev/sd* I get:
give me this input :
/dev/sda /dev/sda1 /dev/sda2 /dev/sda5 /dev/sdb /dev/sdb1
I used to use netcat to check if a particular host is up or if I have
internet connection before I run a few scripts. I would use the -z
option in particular. But now I see that has been removed:
$ nc -z imap.gmail.com 993 && sync-my-email.sh
ncat: invalid option -- 'z'
Here is the excerpt from the old manual page:
-z Specifies that nc should just scan for listening daemons, without
sending any data to them. It is an error to use this option in
conjunction with the -l option.
Any ideas what happened to it? What can I use as replacement?
Thanks for any ideas.
Open source is the future. It sets us free.
Most messages received from this fedora list are labelled junk by
Thunderbird. This is even though I whitelisted "From" =
"users-request(a)lists.fedoraproject.org". Actually, I have this problem
both in my Fedora-21 and my windows-7 systems. Any ideas? Surely
messages from this list are not junk!
>> Subject: Re: gnuplot help
>> On 2015-11-10 19:04, Antonio Olivares wrote:
>>> The only one that works is the following one:
>>> I wanted to change it, put the dates and the opponent and make it look
>>> like a bar graph. I tried modifing the code and add the style used by
>>> Marco F. a fellow Fedora/open source user:
>>> But I cannot get it to work.
>> Hi Antonio,
>> "Marco F. a fellow Fedora/open source user" here. Thanks for
>> your interest in my pieces.
>> It's been a while since I last seriously worked with Gnuplot,
>> so I am not really current about it anymore, and cannot
>> promise anything :-) Whoever is more up to date than me, please step in!
>> This said, my understanding is that the actual code you are trying to
>> work is NOT the one visible at the plotshare urls you provided,
>> which is only an example.
>> Is this correct? If yes, I (and I think the others too) would need to
>> see the WHOLE gnuplot code and data files that you tried to run, and
>> the complete error message you get. If I'm wrong, please explain. In
>> any case, we'd need to see at least the complete error message, to
> Yes and no. The data is the same, and I tried to modify it but was
> getting things wrong. The plotshare url that is there works.
> [olivares@localhost tmp]$ cat gfga2015.plt
> #set term pngcairo size 800,600 transparent nocrop enhanced font
> 'Verdana,11'#define axis
> #set style line 11 lc rgb '#808080' lt 1
> #set border 3 back ls 11
> set tics nomirror
> #define key
> set key opaque
> # define grid
> #set style line 12 lc rgb '#808080' lt 0 lw 1
> #set grid back ls 12
> # define linecolors
> set style line 1 lc rgb '#0060ad' pt 2 ps 1 lt 1 lw 2 # --- blue
> set style line 1 lc rgb '#8b1a0e' pt 1 ps 1 lt 1 lw 2 # --- red
> set style line 2 lc rgb '#5e9c36' pt 6 ps 1 lt 1 lw 2 # --- green
> #set key bottom right
> set xlabel 'Game '
> set ylabel 'Goals scored'
> #set xrange [0:1]
> #set yrange [0:1]
> set grid
> set xdata time
> set timefmt "%Y%m%d"
> set xtics border in scale 1,0.5 rotate by -90 nomirror offset character
> 0, 0, 0
> plot 'gfga2015.dat' u 1:2 t 'Grulla Goals Scored' w lp ls 1,
> 'gfga2015.dat' u 1:3 t 'Opponents Goals' w lp ls 2
> [olivares@localhost tmp]$ cat gfga2015.dat
> # Date GF GA#Opponent
> 20150103 0 10 # Edinburg Vela
> 20150106 1 0 # Zapata
> 20150113 2 0 # Lyford
> 20150116 0 0 # Roma
> 20150120 0 3 # Mercedes
> 20150123 1 2 # Laredo Nixon
> 20150203 8 1 # Zapata
> 20150210 1 9 # Hidalgo
> 20150213 3 1 # Raymondville
> 20150216 1 0 # Monte Alto
> 20150220 0 0 # Zapata
> 20150226 0 4 # Hidalgo
> 20150306 2 2 # Raymondville
> 20150317 6 1 # Monte Alto
> 20150326 3 0 # Port Isabel
> 20150403 0 7 # Rockport-Fulton
> But I changed it to the above with the dates and it works, but the dates
> don't get formated like I would like. Also our games are on Tues and
> Fridays of every week except on tournaments and scrimmages, I wanted to
> change the code to represent that, and no matter how much I try I get
> tics at two or three spaces using part of the examples, ie.,
> set xtics format "%b %d"
> set xtics "20110105", 259200, "20110430"
> 259200 for 3 days difference
> 172800 for 2 days tics apart and so on.
> I add this to the script and I get different results, If I include tics
> at 1 unit apart, then thing get messy. I want to look at a nice graph.
> The one at url
> I got it to work on my desktop, but I do not know enough of gnuplot for
> it to just plot on top of quadrant 1 and not go below. Here's the code.
> [olivares@localhost tmp]$ cat 2015gfga.plt
> #set terminal postscript eps color solid
> set border linewidth 1.5
> set style histogram errorbars linewidth 1.5
> set style data histograms
> set style fill solid 1 border -1
> set ylabel "Goals Scored" font "Helvetica,16"
> set xtics border in scale 1,0.5 rotate by -90 nomirror offset character
> 0, 0, 0
> #set xtics border in scale 1,0.5 rotate by -45 nomirror offset character
> 0, 0, 0
> set grid
> #set xdata time
> #set timefmt "%Y%m%d"
> #set xtics ( 'Edinburg Vela' 20150103, 'Zapata' 20150106, 'Lyford'
> 20150113, 'Roma' 20150116, 'Mercedes' 20150120, 'Laredo Nixon' 20150123,
> 'Zapata' 20150203, 'Hidalgo' 20150210, 'Raymondville' 20150213, 'Monte
> Alto' 20150217, 'Zapata' 20150220, 'Hidalgo' 20150227, 'Raymondville'
> 20150306, 'Monte Alto' 20150317, 'Port Isabel' 20150326, 'Rockport
> Fulton' 20150403 ) rotate by 90 right
> set ytics 1 nomirror
> set key top left
> #Start of user script
> ExtData1 = '2015gfga.dat'
> plot '2015gfga.dat' using 3:2:xtic(1) title col lc rgb '#084594',
> '2015gfga.dat' using 2:3:xtic(1) title col lc rgb '#f6e8c3'
> [olivares@localhost tmp]$ cat 2015gfga.dat
> Test Opponents Grulla Opponents
> 1-Edinburg-Vela 0 10
> 2-Zapata 1 0
> 3-Lyford 2 0
> 4-Roma 0 0
> 5-Mercedes 0 3
> 6-Laredo-Nixon 1 2
> 7-Zapata 8 1
> 8-Hidalgo 1 9
> 9-Raymondville 3 1
> 10-Monte-Alto 1 0
> 11-Hidalgo 0 4
> 12-Raymondville 2 2
> 13-Monte-Alto 6 1
> 14-Port-Isabel 3 0
> 15-Rockport-Fulton 0 7
> [olivares@localhost tmp]$
> I would like to change the numbers 1 to 20150103 display it along with
> the opponent, but things get messy so my best guess would be to just
> format it manually instead of experimenting things out. If anyone can
> help me fix/adjust the code so that It just prints the bar graphs of
> opponents goals vs our goals and not go below to quadrant 3 please let me
> Best Regards,
I replied to Marco and thought that I automagically replied to the list. I got it to work by manually changing the data with the dates:
Test Opponents Grulla Opponents
2015/01/03-Edinburg-Vela 0 10
2015/01/06-Zapata 1 0
2015/01/13-Lyford 2 0
2015/01/16-Roma 0 0
2015/01/20-Mercedes 0 3
2015/01/23-Laredo-Nixon 1 2
2015/02/03-Zapata 8 1
2015/02/10-Hidalgo 1 9
2015/02/13-Raymondville 3 1
2015/02/17-Monte-Alto 1 0
2015/02/20-Zapata 0 0
2015/02/26-Hidalgo 0 4
2015/03/06-Raymondville 2 2
2015/03/17-Monte-Alto 6 1
2015/03/26-Port-Isabel 3 0
2015/04/03-Rockport-Fulton 0 7
then modified 2015gfga.plt and added a range
set yrange [0:10]
will fix the graph to what I would like
[olivares@localhost tmp]$ cat 2015gfga.plt
#set terminal postscript eps color solid
set border linewidth 1.5
set style histogram errorbars linewidth 1.5
set style data histograms
set style fill solid 1 border -1
set ylabel "Goals Scored" font "Helvetica,16"
set xtics border in scale 1,0.5 rotate by -90 nomirror offset character 0, 0, 0
#set xtics border in scale 1,0.5 rotate by -45 nomirror offset character 0, 0, 0
#set xdata time
#set timefmt "%Y%m%d"
#set xtics ( 'Edinburg Vela' 20150103, 'Zapata' 20150106, 'Lyford' 20150113, 'Roma' 20150116, 'Mercedes' 20150120, 'Laredo Nixon' 20150123, 'Zapata' 20150203, 'Hidalgo' 20150210, 'Raymondville' 20150213, 'Monte Alto' 20150217, 'Zapata' 20150220, 'Hidalgo' 20150227, 'Raymondville' 20150306, 'Monte Alto' 20150317, 'Port Isabel' 20150326, 'Rockport Fulton' 20150403 ) rotate by 90 right
set ytics 1 nomirror
set key top left
#Start of user script
ExtData1 = '2015gfga.dat'
plot '2015gfga.dat' using 3:2:xtic(1) title col lc rgb '#084594', '2015gfga.dat' using 2:3:xtic(1) title col lc rgb '#f6e8c3'
I had in the last line
plot 'ExtData1' using 3:2:xtic(1) title col lc rgb '#084594', '' using 2:3:xtic(1) title col lc rgb '#f6e8c3'
and gnuplot was reporting an error. I modified it to above and removed ExtData1 reference and it worked.
I tried to set the xtics manually and change them according to Marco's reference, but the graph did not refect all the games so I modified the data file and added the date and the opponent and then modified the range to prohibit the line going below and keep everything in quadrant I. If anyone has a nicer way to make the graph look better, or format it using something else please help. I would like for our athletes to see what we need to work on the Goal Differential and not allow too many goals against us.
FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family!
Visit http://www.inbox.com/photosharing to find out more!
I have a brand-new Dell Precision workstation, on which I'm trying to
install Fedora 23 (with my preferred desktop environment, MATE), which
is turning into the most frustrating Linux install I've experienced in a
long time (and I've been using Linux since before Red Hat existed).
I started with Fedora-Workstation-netinst-x86_64-23 on a thumb drive. I
booted, selected automatic partitioning and MATE, and it started
downloading RPMs. When it finished downloading, it rebooted.
Apparently, there's a conflict between release and updates on who owns
/etc/xdg/menus/mate-preferences-categoris.menu, and anaconda just
crashes and reboots (not even a traceback) on an install transaction
After a few passes through that before I figured out anaconda was not
going to install MATE (with frustrating waits for downloads each time),
I gave up and did a minimal install. Then I did a dnf groupinstall
MATE, and that downloaded all the RPMs, then gave me the error about the
file conflict. I tried to exclude one of the choices, use --best, etc.,
and nothing would solve it.
Also, when "dnf groupinstall foo" is run, even if it fails, dnf then
thinks the group is installed (and so a repeated groupinstall does
nothing). I had to do a groupremove first.
I just manually installed the RPMs from the dnf cache to get around the
MATE brokenness, and then got systemd to do a graphical boot.
Now, when I get to the graphical login, my USB is dead. I can boot
single-user mode and the keyboard works fine; as soon as the graphical
login loads, USB appears dead (keyabord is like it is powered off, no
Numlock, Capslock, etc.). Tried unplugging keyboard, moving it to
different USB ports (directly on the computer instead of hub), etc. with
no result. The fact that the keyboard works in single-user mode shows
there's no hardware problem, Linux USB issue, etc.
At this point, I guess I'll roll back and try Fedora 22. If I ever get
a working desktop, I'll try to file some bugs I guess. I found a BZ
about anaconda that appears to match my problem (1287841). That doesn't
explain the MATE conflicts in the repos, dnf groupinstall fail, or
disappearing USB though.
Chris Adams <linux(a)cmadams.net>
$ adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
** daemon still not running
error: cannot connect to daemon
$ ps -ef | grep adb
jd 19967 1 0 19:06 pts/3 00:00:00 adb -P 5037 fork-server
jd 19983 7405 0 19:09 pts/3 00:00:00 grep --color=auto adb
Android is 4.4.2 (nothing newer is available for my phone.
Developer option set. usb debugging enabled.
yet, when I plug my phone to usb on laptop,
laptop does not mount anything, nor does any icon
appear on the panel as a result of plugging in.
Also, the phone does not pop up a screen asking me
to enable USB in data mode or any other mode.
At some point recently, my monitor stopped getting turned off after the
prescribed period of inactivity. I'm using the XFCE power manager, and its
settings remain untouched.
Manually executing "xset dpms force off" turns the monitor off normally.
"xset q" shows that everything appears to be in order:
DPMS (Energy Star):
Standby: 300 Suspend: 360 Off: 420
DPMS is Enabled
Monitor is On
So, what else can I check?
-----BEGIN PGP SIGNED MESSAGE-----
Howdy, all -
I have an Epson Workforce 600 printer, and it's actually a great
printer except for one thing: it goes through ink cartridges like an
out of control tweaker in a room full of meth.
I need a printer with the following features, and I'd love any
advice/experience you have had:
1) networked, works with Linux (the kids and me) and Windows (wife)
3) fast print speed (not as high a priority, but nice)
4) prefer laser printer, as opposed laser jet
I had an HP LaserJet 4, and it was awesome, but it was not color and
it finally died. I'm looking for that sort of experience, just newer.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-----END PGP SIGNATURE-----