how to recover from a failed system-upgrade
by Eyal Lebedinsky
First: this is an upgrade of a USB system and I have an image of f26 before the
upgrade to f27 and I will redo it in full. So no disaster, yet I want to understand
how the upgrade process recovers from such a failure (if at all).
I followed the usual process
# dnf update (and such)
# dnf system-upgrade download --releasever=27
# dnf system-upgrade reboot
but due to an oversight I turned off the power to the laptop (where the USB was
installed) so overnight it shut down.
This morning I tried to restart it. A reboot brought up a f26 kernel (though the
desktop background looked like f27). dnf thinks this is still a f26 system.
I tried
# dnf system-upgrade reboot
which started an upgrade, though with less packages listed. However, when the main
Upgrade/Install phase ended the post scripts were ran only for the recently listed
packages.
On a reboot I still was on f26, sort of, but some packages claimed to be installed
twice (e.g. dnf lists both f26 and f27).
Trying
# dnf system-upgrade download --releasever=27
failed saying some critical packages (e.g. 'dnf') will be removed.
What is the correct way to complete the upgrade? (I kept an image of the failure).
TIA
--
Eyal Lebedinsky (fedora(a)eyal.emu.id.au)
6 years, 5 months
mounting a USB HD with autofs
by Angelo Moreschini
Hi,
only a simple (and maybe stupid) question ...
To use autofs for the automatic mounting of partitions existing on USB HD
(that is permanently connected to the computer), it is also mandatory to
install NFS ?
Thank you
regards
Angelo
6 years, 5 months
Silly question about iconv
by Tom Horsley
If I run "iconv --list" it sticks "//" on the end of every
encoding name, but I don't need the "//" when specifying
a to or from encoding name.
Does anyone have the slightest clue why the slashes
are there in the listing output?
6 years, 5 months
PDF viewers: suggestions? reviews?
by Temlakos
Everyone:
Funny, the things one learns after making the first clean install in ten
or more iterations of Fedora.
For instance, that Adobe long ago abandoned the Adobe ("Acrobat") Reader
for Linux, and the nspluginwrapper project.
So that now, if you still want to use Adobe for Linux, you have to save
an old rpm and install it directly. And do it every time you reinstall
Fedora--or at least reinstall it cleanly.
I need advice on whether I can abandon Adobe Reader completely, and what
to use instead.
I use it all the time for certain PDF's that come with form fields that
you fill out. Not all PDF viewers--and not the PDF viewer native to
Firefox--support form filling. Without form filling, I have to fill in
forms by hand--and my fist is a bit of a strain on anyone's eyes,
especially those of a bureaucrat or his confidential secretary. So I
need form filling.
That aside, I'd love to have something that opens seemlessly in any
browser window.
For the record, I use KDE. But I'll still use any GNOME products that
still open in KDE.
Temlakos
6 years, 5 months
NetworkManager-wait-online is still utterly, and completely, broken
by Sam Varshavchik
Just had another boot that utterly failed because services that were
supposed to start only after the network interfaces came up, didn't. They
started too soon. Privoxy's logfile has the smoking gun:
2017-12-16 09:42:39.875 7f4acdaa6740 Fatal error: can't bind to 192.168.0.1:8000: Cannot assign requested address
This is despite that NetworkManager-wait-online was enabled and active. This
is what everyone kept telling me was the only thing that needed to be done.
Well, it was enabled:
[root@shorty system]# systemctl status NetworkManager-wait-online
● NetworkManager-wait-online.service - Network Manager Wait Online
Loaded: loaded (/usr/lib/systemd/system/NetworkManager-wait-
online.service; e
Active: active (exited) since Sat 2017-12-16 09:42:39 EST; 12min ago
Docs: man:nm-online(1)
Process: 977 ExecStart=/usr/bin/nm-online -s -q --timeout=30 (code=exited,
sta
Main PID: 977 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 4915)
CGroup: /system.slice/NetworkManager-wait-online.service
Dec 16 09:42:32 shorty.email-scan.com systemd[1]: Starting Network Manager Wait
Dec 16 09:42:39 shorty.email-scan.com systemd[1]: Started Network Manager Wait O
It came up at 09:42:39. And, at 09:42:39 privoxy also came up. And privoxy
still blew chunks because the primary network interface wasn't up yet.
Why is it so friggin difficult to get something this simple, this basic
concept of starting things only after the network interfaces are up, working
correctly, and reliably?
Oh yeah, I know. systemd.
6 years, 5 months
Can't create volatile files... -- What is "gluster"?
by Jonathan Ryshpan
Can someone tell me what this is about? A message in the journal
shortly after a boot reads:
Failed to start Create Volatile Files and Directories
which leads me to the following systemd status query.
$ systemctl status systemd-tmpfiles-setup.service
● systemd-tmpfiles-setup.service - Create Volatile Files and Directories
Loaded: loaded (/usr/lib/systemd/system/systemd-tmpfiles-setup.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2018-01-02 21:34:31 PST; 30min ago
Docs: man:tmpfiles.d(5)
man:systemd-tmpfiles(8)
Main PID: 860 (code=exited, status=1/FAILURE)
Jan 02 21:34:31 amito.localdomain systemd[1]: Starting Create Volatile Files and Directories...
Jan 02 21:34:31 amito.localdomain systemd-tmpfiles[860]: [/usr/lib/tmpfiles.d/gluster.conf:2] Unknown user 'gluster'.
Jan 02 21:34:31 amito.localdomain systemd[1]: systemd-tmpfiles-setup.service: Main process exited, code=exited, status=1/FAILURE
Jan 02 21:34:31 amito.localdomain systemd[1]: Failed to start Create Volatile Files and Directories.
Jan 02 21:34:31 amito.localdomain systemd[1]: systemd-tmpfiles-setup.service: Unit entered failed state.
Jan 02 21:34:31 amito.localdomain systemd[1]: systemd-tmpfiles-setup.service: Failed with result 'exit-code'.
6 years, 5 months
USB Broadband mobile
by Patrick Dupre
Hello,
When I try to add a connection, I get
No plugin supported adding this connection (by using Network Manager)
nmcli dev
DEVICE TYPE STATE CONNECTION
virbr0 bridge connected virbr0
ttyUSB4 gsm disconnected --
mmcli -m 0
/org/freedesktop/ModemManager1/Modem/0 (device id '4e4f258144d47542008fa77aaf6bd481f2ca0f09')
-------------------------
Hardware | manufacturer: 'TCT Mobile International Limited'
| model: 'HSPA+ Data Card'
| revision: 'GX120K00XX'
| supported: 'gsm-umts'
| current: 'gsm-umts'
| equipment id: '356698042474859'
-------------------------
System | device: '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4'
| drivers: 'option1'
| plugin: 'X22X'
| primary port: 'ttyUSB4'
| ports: 'ttyUSB3 (at), ttyUSB4 (at)'
-------------------------
Numbers | own : 'unknown'
-------------------------
Status | lock: 'ph-net-puk'
| unlock retries: 'unknown'
| state: 'locked'
| power state: 'on'
| access tech: 'unknown'
| signal quality: '0' (cached)
-------------------------
Modes | supported: 'allowed: any; preferred: none'
| current: 'allowed: any; preferred: none'
-------------------------
Bands | supported: 'unknown'
| current: 'unknown'
-------------------------
IP | supported: 'none'
-------------------------
SIM | path: '/org/freedesktop/ModemManager1/SIM/0'
-------------------------
Bearers | paths: 'none'
mmcli -m 0 --simple-connect="pin=6837,apn=3G"
error: couldn't connect the modem: 'GDBus.Error:org.freedesktop.ModemManager1.Error.MobileEquipment.NetworkPuk: Device is locked: 'ph-net-puk''
Any idea?
Thank
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
6 years, 5 months
Fedora27: Firefox freezes
by Terry Barnaby
Is anyone else seeing issues with Firefox freezing up for 30secs or more
when web pages are opened in TABS ?
Since the latest Firefox 57 this is happening a lot for me (every 10
mins or so). Seems to lockup while downloading the page. You can still
operate Firefox by clicking on menu's/Tab's etc, but no tab windows have
thier web content updated. Normally the new tabs content are blank, but
sometimes a small amount of the web page is rendered before the freeze.
No obvious high CPU usage when it happens. Its as if the network has
stopped, but other applications such as google-chrome are still working.
This is with Fedora27, KDE Plasma and with an NFS mounted home directory.
6 years, 5 months
Is i686 dead and gone??
by Beartooth
I have a Thinkpad T42 which I haven't used for so long I don't
remember what's on it. When I try to boot it, it complains that it can't,
and asks me to use a "kernel appropriate for your CPU."
My main purpose is to get it usable again, preferably with Fedora
27, if that's possible. (I run F27 on all our other machines.)
I'd prefer to examine it first, if there's a way. If I run a USB
cable between it and a F27 PC, can I then mount it as if it were a
storage medium and display the contents??
Fwiw, it mounted and opened UBCD; but when I chose "CPU Info"
from UBCD's menu, it flashed up something about "stress" -- and then went
black.
--
Beartooth Staffwright, Not Quite Clueless Power User
Remember I know little (precious little!) of where up is.
6 years, 5 months
gthumb failing to show jpeg/gif/png thumbnails in browser window
by Max Pyziur
Greetings,
Suddenly, gthumb has stopped showing thumbnails of jpegs and other types
of files in the browser window.
If I do something like <ctrl>-O, I can open a file directly to view it.
However, when I do a <ctrl>-R in a directory, the window doesn't refresh.
Instead, othe types of files (*.txt, *.svg, e.g.) show up.
I can view the contents of directories using other image viewing software.
I know that I was typing quickly, and perhaps something caused the jpegs
and other files to be masked through an inadvertant configuration
procedure.
However, as yet, I haven't been able to restore gthumb to my preferred
configuration.
I've looked of the ~/.thumbnails directories; found one, deleted it. The
new thumbnails that appear are referenced to the *.txt, *svg files only.
None of the other files or thumbnails get recreated.
Any advice in this situation would be appreciated.
In the meantime, I'll keep looking and fiddling.
Thank you.
Max Pyziur
pyz(a)brama.com
6 years, 5 months