Scriptlet errors during manual installation of Fedora 23
by Andrej Podzimek
Hi,
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.
Cheers,
Andrej
7 years
ATA2:00: link is slow to respond....
by Angelo Moreschini
Hi,
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....
(and after..)
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:
http://codeverge.com/opensuse.org.help.install/-solved-ata1-srst-failed-e...
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
operation..
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
/dev/sdb2
Thank you
regards
Angelo
7 years, 3 months
nc missing option -z
by Suvayu Ali
Hi,
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.
--
Suvayu
Open source is the future. It sets us free.
7 years, 7 months
compile XV?
by dirt bag
I know its not been updated in years, but this is still a must have for me. I just upgraded to fedora 24 (64bit)
and Im trying to compile it from source because the rpms Ive found are either broke or dont work right.
Im following these instructions..
wget ftp://ftp.cis.upenn.edu/pub/xv/xv-3.10a.tar.gz
wget http://prdownloads.sourceforge.net/png-mng/xv-3.10a-jumbo-patches-2005050...
wget http://www.ulich.org/hints/resources/xv-3.10a-jumbo20050501-1.diff.gz
tar xvzf xv-3.10a.tar.gz
tar xvzf xv-3.10a-jumbo-patches-20050501.tar.gz
gzip -d xv-3.10a-jumbo20050501-1.diff.gz
cd xv-3.10a
patch -p1 < ../xv-3.10a-jumbo-fix-patch-20050410.txt
patch -p1 < ../xv-3.10a-jumbo-enh-patch-20050501.txt
patch -p1 < ../xv-3.10a-jumbo20050501-1.diff
make
and Ive gotten as far as ...
[jason@badman xv-3.10a]$ make
gcc -O3 -Wall -DDOPNG -I/usr/include -I/usr/include -DDOJPEG -I/usr/include -DDOTIFF -DUSE_TILED_TIFF_BOTLEFT_FIX -I/usr/include -DDOPDS -DUSLEEP -DLINUX -L/usr/X11R6/lib -DMGCSFXDIR=\"/usr/X11R6//lib/\" -DSYSCONFDIR=\"/etc\" -DXVEXECPATH=\"/usr/X11R6//lib/\" -c xvpng.c
xvpng.c: In function ‘CreatePNGW’:
xvpng.c:97:56: error: ‘Z_NO_COMPRESSION’ undeclared (first use in this function)
DCreate(&cDial, pngW, 12, 25, DWIDE, DHIGH, (double)Z_NO_COMPRESSION,
^~~~~~~~~~~~~~~~
xvpng.c:97:56: note: each undeclared identifier is reported only once for each function it appears in
xvpng.c:98:19: error: ‘Z_BEST_COMPRESSION’ undeclared (first use in this function)
(double)Z_BEST_COMPRESSION, COMPRESSION, 1.0, 3.0,
^~~~~~~~~~~~~~~~~~
In file included from /usr/include/pngconf.h:50:0,
from /usr/include/png.h:371,
from xvpng.c:31:
xvpng.c: In function ‘WritePNG’:
xvpng.c:427:21: error: dereferencing pointer to incomplete type ‘png_struct {aka struct png_struct_def}’
if (setjmp(png_ptr->jmpbuf)) {
^
xvpng.c:453:11: error: dereferencing pointer to incomplete type ‘png_info {aka struct png_info_def}’
info_ptr->width = w;
^~
xvpng.c: In function ‘png_xv_error’:
xvpng.c:1054:18: error: dereferencing pointer to incomplete type ‘png_struct {aka struct png_struct_def}’
longjmp(png_ptr->jmpbuf, 1);
^~
xvpng.c: In function ‘VersionInfoPNG’:
xvpng.c:1078:5: error: ‘ZLIB_VERSION’ undeclared (first use in this function)
ZLIB_VERSION, zlib_version);
^~~~~~~~~~~~
xvpng.c:1078:19: error: ‘zlib_version’ undeclared (first use in this function)
ZLIB_VERSION, zlib_version);
^~~~~~~~~~~~
Makefile:319: recipe for target 'xvpng.o' failed
make: *** [xvpng.o] Error 1
[jason@badman xv-3.10a]$
I have all the zlibs I can find installed..
[jason@badman xv-3.10a]$ rpm -qa | grep zlib
zlib-1.2.8-10.fc24.i686
zlib-devel-1.2.8-10.fc24.x86_64
zlib-1.2.8-10.fc24.x86_64
any ideas?
-db
7 years, 7 months
Alternatives to Theme Font size changer Firefox plugin?
by Sam Varshavchik
The popular theme font size changer Firefox plugin,
https://addons.mozilla.org/en-US/firefox/addon/theme-font-size-changer/, no
longer supports Linux.
The default Firefox font size is too small for people with poor eyesight. As
far as I can tell, the only thing that official "Firefox themes" do is set a
background image for the UI. As Benny Hill would say, biiiiiiiiiiiiig …deal.
The top-ranked comment on that extension page suggests hacking "userChrome-
example.css" in ~/.mozilla/firefox.
$ find ~/.mozilla/firefox -name userChrome-example.css -print
$
There goes that idea.
Googling around the only other suggestion I found was to hack
layout.css.devPixelsPerPx setting in about:config. All that did, apparently,
was making the Firefox UI elements themselves bigger, but their font size –
the menu and the URL bar – remained exactly the same.
Anyone has other suggestions?
7 years, 7 months
Taskbar Panel in Plasma Won't Autohide
by Stephen Morris
Hi,
I am trying to get the Taskbar Panel to autohide, but when I click on
the options button in the panel, the left, right and center options are
permanently highlighted but seem to function in terms of moving the
indicator that reflects which option is active. Also the 'Always
Visible', 'Auto Hide', 'Windows can Cover' and 'Windows go Below'
options are also permanently highlighted but selecting the 2nd or 3rd
option does nothing. It appears these options are highlighted because
the colour scheme I am using, which is forget-me-not thinks they are
push buttons.
Does anyone know why these don't work anymore in Fedora 23? I am using
Breeze for the Windows Style and Windows Decorations themes.
regards,
Steve
7 years, 7 months
adding a package to Fedora's EPEL
by Ranjan Maitra
Hi,
I am the packager for pdf-stapler in Fedora. I would like to make this available on EPEL so that CentOS, etc users may benefit. How do I do that?
Many thanks,
Ranjan
--
Important Notice: This mailbox is ignored: e-mails are set to be deleted on receipt. Please respond to the mailing list if appropriate. For those needing to send personal or professional e-mail, please use appropriate addresses.
____________________________________________________________
Share photos & screenshots in seconds...
TRY FREE IM TOOLPACK at http://www.imtoolpack.com/default.aspx?rc=if1
Works in all emails, instant messengers, blogs, forums and social networks.
7 years, 8 months
Gnome shell high memory usage
by Earl Ramirez
Dear All,
I don't think this is normal but I will like to know if anyone is
experiencing high memory usage from gnome-shell, a week ago was the first
time I saw it and to be honest, I can't say it this is something recent of
if it has always been this memory hungry.
After having my laptop with Fedora 24 on for three days I can see that the
memory consumed by gnome-shell is over 2GB and a week ago it was consuming
6GB.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+
COMMAND
2028 eramirez 20 0 4281540 2.169g 92676 S 10.9 13.9 59:43.98
gnome-shell
Is anyone experiencing this problem?
--
Kind Regards
Earl Ramirez
7 years, 8 months