Fedora 26 to 27: Update problem.
by Dario Lesca
I have update my notebook since Fedora 18 to Fedora 26 always without
problem.
Today I have try to update Fedora 26 to 27, but after download packages
and run "dnf system-upgrade reboot", when the system restart the update
fail after a while after this boot message:
Starting System Upgrade using DNF...
[ OK ] Listening on D-Bus System Message Bus Socket.
Starting Update the operating system whilst offline...
[ OK ] Started Update the operating system whilst offline.
[ 205.755691] dnf[967]: Errore: Sincronizzazione cache non riuscita per il repo 'updates'
[FAILED] Failed to start System Upgrade using DNF.
See 'systemctl status dnf-system-upgrade.service' for details.
I restart the notebook in Fedora 26 and into log I fount this error:
2017-11-16T15:37:58Z INFO --- logging initialized ---
2017-11-16T15:37:58Z DDEBUG timer: config: 4 ms
2017-11-16T15:37:58Z DEBUG Loaded plugins: builddep, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, repoclosure, repograph, repomanage, reposync, system-upgrade
2017-11-16T15:37:58Z DEBUG DNF version: 2.7.5
2017-11-16T15:37:58Z DDEBUG Command: dnf system-upgrade reboot
2017-11-16T15:37:58Z DDEBUG Installroot: /
2017-11-16T15:37:58Z DDEBUG Releasever: 26
2017-11-16T15:37:58Z DEBUG cachedir: /var/cache/dnf
2017-11-16T15:37:58Z DDEBUG Base command: system-upgrade
2017-11-16T15:37:58Z DDEBUG Extra commands: ['system-upgrade', 'reboot']
2017-11-16T15:37:58Z DDEBUG Cleaning up.
2017-11-16T15:39:15Z INFO --- logging initialized ---
2017-11-16T15:39:15Z DDEBUG timer: config: 1240 ms
2017-11-16T15:39:16Z DEBUG Loaded plugins: builddep, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, repoclosure, repograph, repomanage, reposync, system-upgrade
2017-11-16T15:39:16Z DEBUG DNF version: 2.7.5
2017-11-16T15:39:16Z DDEBUG Command: dnf --releasever=27 system-upgrade upgrade
2017-11-16T15:39:16Z DDEBUG Installroot: /
2017-11-16T15:39:16Z DDEBUG Releasever: 27
2017-11-16T15:39:16Z DEBUG cachedir: /var/cache/dnf
2017-11-16T15:39:16Z DDEBUG Base command: system-upgrade
2017-11-16T15:39:16Z DDEBUG Extra commands: ['--releasever=27', 'system-upgrade', 'upgrade']
2017-11-16T15:39:31Z DEBUG repository: uso della cache per adobe-linux-x86_64
2017-11-16T15:39:31Z DEBUG not found deltainfo for: Adobe Systems Incorporated
2017-11-16T15:39:31Z DEBUG not found updateinfo for: Adobe Systems Incorporated
2017-11-16T15:39:31Z DEBUG adobe-linux-x86_64: usando metadati di gio 26 ott 2017 06:39:15 CEST.
2017-11-16T15:39:31Z DEBUG Impossibile scaricare ' https://mirrors.fedoraproject.org/metalink?repo=updates-released-f27&arch...' : Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f27&arch... [Could not resolve host: mirrors.fedoraproject.org].
2017-11-16T15:39:31Z DDEBUG Cleaning up.
2017-11-16T15:39:32Z SUBDEBUG
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/dnf/repo.py", line 229, in _perform
return super(_Handle, self).perform(result)
File "/usr/lib64/python3.6/site-packages/librepo/__init__.py", line 1522, in perform
_librepo.Handle.perform(self, result)
librepo.LibrepoException: (8, "Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f27&arch... [Could not resolve host: mirrors.fedoraproject.org]", 'An Curl handle error')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/dnf/repo.py", line 909, in load
if self._try_revive():
File "/usr/lib/python3.6/site-packages/dnf/repo.py", line 857, in _try_revive
return self._try_revive_by_metalink()
File "/usr/lib/python3.6/site-packages/dnf/repo.py", line 810, in _try_revive_by_metalink
handle._perform()
File "/usr/lib/python3.6/site-packages/dnf/repo.py", line 233, in _perform
raise _DetailedLibrepoError(exc, source)
dnf.repo._DetailedLibrepoError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 64, in main
return _main(base, args, cli_class, option_parser_class)
File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 99, in _main
return cli_run(cli, base)
File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 115, in cli_run
cli.run()
File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 1010, in run
self._process_demands()
File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 763, in _process_demands
load_available_repos=self.demands.available_repos)
File "/usr/lib/python3.6/site-packages/dnf/base.py", line 353, in fill_sack
self._add_repo_to_sack(r)
File "/usr/lib/python3.6/site-packages/dnf/base.py", line 118, in _add_repo_to_sack
repo.load()
File "/usr/lib/python3.6/site-packages/dnf/repo.py", line 931, in load
raise dnf.exceptions.RepoError(msg)
dnf.exceptions.RepoError: Sincronizzazione cache non riuscita per il repo 'updates'
2017-11-16T15:39:32Z CRITICAL Errore: Sincronizzazione cache non riuscita per il repo 'updates'
Why the offline update try to connect to "updates" online repo?
What's happen ? someone can help me?
Many thanks
--
Dario Lesca
(inviato dal mio Linux Fedora 26 Workstation)
6 years, 6 months
cups-browsed regression?
by David A. De Graaf
I've freshly installed Fedora 27 on two machines; neither have a
printer directly connected, but rely on cups-browsed to display the
LAN's printers that are attached to, and managed by other (F26) machines.
Not any more. cups-browsed seems to have lost its ability to detect
automatically those network printers. Is anyone else seeing this? Or
have I screwed up, somehow?
For earlier Fedoras I've edited /etc/cups/cups-browsed.conf to add:
BrowseAllow 192.168.2.0/24
to restrict browsing to my LAN, but now there's a comment
# If there are no "Browse..." lines at all, all servers are accepted.
so that edit shouldn't be necessary. I've tried with and without it,
but F27 browsing still fails.
In the system-config-printer GUI I can still click thru a bunch of steps
to search for and find those network printers. And then use them. But
that's tedious and much less useful than the previous totally automatic
availability of all printers across the LAN.
Is this a regression?
--
David A. De Graaf DATIX, Inc. Hendersonville, NC
dad(a)datix.us www.datix.us
6 years, 6 months
What the heck is a rc.local stop job?
by Tom Horsley
I just rebooted my fedora 27 partition to get new kernel
running, and I had to hit the reset button because it
stuck here forever:
A stop job is running for /etc/rc.d/rc.local Compatibility
There is no bloody rc.local script that runs on shutdown,
it exists for running stuff at boot. What has systemd
done now and how do I make it stop?
6 years, 6 months
Install Fedora 27 on HP Elitebook Folio 1040: Bootloop
by fedora
Lately, I wanted to install Fedora 27 on the above HW. It uses UEFI
instead of BIOS. Install, that means:
1. Download the Fedora Server Netinstall
Fedora-Server-netinst-x86_64-27-1.6.iso and dd it to a micro SD card.
2. Create an approp ks file on the local Web http://install.lan.
3. Boot from the micro SD card and add the ks file link to the linux
boot-line.
4. Let nature take its course
5. Reboot into runlevel 3
6. dnf -y update
7. dnf -y groupinstall “Xfce Desktop”
8 dnf -y install sddm
9. systemctl enable –force sddm
But when rebooting (setp 5) the laptop went into a boot loop. There was
a message showing up for about half a second, which said:
System BootOrder not found. Initializing default.
Creating boot file BOOT0000 with Fedora on file abcdefghik.
Reset System.
Fortunately there is a Boot-Option “Boot from EFI file”, which let me
select the grubx64.efi file as boot file. Using this, the laptop booted
correctly.
Using efibootmgr (efibootmgr -o 0,1,2)I could not set the BootOrder,
i.e. I could set it, but it was lost across the BootProcess. The only
thing, which was saved across the BootProcess was the BootNext option
(set with efibootmgr -n 3).
To automate the BootProcess I did the following:
su -
cd /boot/efi/EFI
cp fedora/grubx64.efi BOOT
efibootmgr -b 0 -l EFI/BOOT/grubx64.efi
because: apparently the laptop booted from BOOT0000. The above sequence
made it take the file grubx64.efi from BOOT0000 and boot into fedora.
That was, however, not the end of the troubles: After fedora had booted
and the sddm DisplayManager showed up, I could not enter the password,
because the keyboard was irresponsive. But this is another story, which
I solved by installing Centos 7 on the laptop.
suomi
6 years, 6 months
Is there a crypto policy or not?
by Tom Horsley
The /etc/ssh/sshd_config file on my fedora 27 partition says:
# To opt out, uncomment a line with redefinition of CRYPTO_POLICY=
# variable in /etc/sysconfig/sshd to overwrite the policy.
# For more information, see manual page for update-crypto-policies(8).
But there is no CRYPTO_POLICY environment variable setting
in /etc/sysconfig/sshd or in supposed system wide file
/etc/crypto-policies/back-ends/openssh-server.config I see
referenced in the sshd.service definition.
6 years, 6 months
Maven won't pick up JAVA_HOME
by cen
Perhaps I am just going crazy but maven just won't pick up JAVA_HOME on F27.
1. sudo dnf install maven
2. echo $JAVA_HOME returns
/usr/lib/jvm/java-9-openjdk-9.0.0.181-7.fc27.x86_64 (which includes bin
dir with JDK tools such as javac, keytool etc so it is JDK for sure)
3. Any mvn command results in
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE
Also tried JDK8 and Oracel Java 9
export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.fc27.x86_64
export JAVA_HOME=/usr/java/jdk-9.0.1
..same result. I feel like there is some hidden config messing me up
or some weird stuff happening. Anyone has an idea what it could be? Last
time I was still on F26 and it worked.
6 years, 6 months
Login Page changed after last fedora 26 update
by ogio spam
Hi all,
before the last updates, after power on, my fedora 26 showed a list of
users and asked for password.
I use KDE.
After last upgrade (I can't remember what changed, but some related to
KDE and X11) the login requires user and password, and it no more lists
users and pictures.
Can someone explain me why every update change the behaviour of the
system? And what appened?
Thankyou
Ambrogio
6 years, 6 months
printing broken after upgrade to F27
by Kseniya Blashchuk
The printer has always been working before, Canon IR2520. After upgrade to
27 the job is hanging in "Processing" state, and the printers application
crashes. I see some errors in the logs like:
Nov 24 13:08:14 ksy kernel: cnpkmoduleufr2[3582]: segfault at 0 ip
00000000f7d73d33 sp 00000000ff962d80 error 4 in libc-2.26.so
[f7ce5000+1ba000]
and then stack trace:
Nov 24 13:08:33 ksy systemd-coredump[3594]: Process 3364 (gnome-control-c)
of user 1000 dumped core.
Stack trace of thread 3364:
#0 0x00007f7b92b83e87
slab_allocator_free_chunk (libglib-2.0.so.0)
#1 0x00007f7b92b84476
magazine_cache_push_magazine (libglib-2.0.so.0)
#2 0x00007f7b92b85916
g_slice_free_chain_with_offset (libglib-2.0.so.0)
#3 0x00007f7b9460b2ca
_gtk_builder_parser_parse_buffer (libgtk-3.so.0)
I tried to look for a bug but haven't found any. Does anybody have the same?
6 years, 6 months
systemctl openvpn won't start
by Neal Becker
Was working before upgrade to f27. Now:
sudo systemctl start openvpn@client-ibecker2
Failed to start openvpn(a)client-ibecker2.service: Unit openvpn@client-
ibecker2.service not found.
According to
https://fedoraproject.org/wiki/Openvpn#Working_with_systemd
I would need to have /etc/openvpn/client-ibecker2.conf, which is there (as
it's been since 2015).
I don't know why this isn't working, or how to debug it (systemctl doesn't
seem to have any debug flags)
6 years, 6 months