LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Fedora 22 dnf update error messages (https://www.linuxquestions.org/questions/linux-newbie-8/fedora-22-dnf-update-error-messages-4175554645/)

thanquol1313 09-27-2015 11:17 AM

Fedora 22 dnf update error messages
 
Code:

Failed to synchronize cache for repo 'livna' from 'http://rpm.livna.org/mirrorlist': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried, disabling.
Last metadata expiration check performed 0:15:27 ago on Sun Sep 27 17:34:17 2015.
Dependencies resolved.
==================================================================================
 Package          Arch            Version              Repository        Size
==================================================================================
Skipping packages with broken dependencies:
 firefox          x86_64          41.0-4.fc22          updates            72 M

Transaction Summary
==================================================================================

Nothing to do.
Complete!

Can I do something to fix these errors?

TB0ne 09-28-2015 01:18 PM

Quote:

Originally Posted by thanquol1313 (Post 5426374)
Code:

Failed to synchronize cache for repo 'livna' from 'http://rpm.livna.org/mirrorlist': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried, disabling.
Last metadata expiration check performed 0:15:27 ago on Sun Sep 27 17:34:17 2015.
Dependencies resolved.
==================================================================================
 Package          Arch            Version              Repository        Size
==================================================================================
Skipping packages with broken dependencies:
 firefox          x86_64          41.0-4.fc22          updates            72 M

Transaction Summary
==================================================================================

Nothing to do.
Complete!

Can I do something to fix these errors?

You don't tell us what you did to get that repo into your system in the first place, so what do you think we'll be able to tell you? We can't guess.

Going to their base page, they have VERY clear instructions on how to configure their repository..did you follow them?
http://rpm.livna.org/

thanquol1313 09-28-2015 03:21 PM

Thanks for your reply.
How can I find out what I have installed from a repo?
I tried to follow the instructions from here:

http://www.tecmint.com/things-to-do-...-installation/
http://linoxide.com/linux-how-to/thi...ing-fedora-22/
http://www.attabot.org/linux/things-...llation-guide/

But I tried to install drivers for Nvidia too and
something went terribly wrong. I ended up in a blinking and not responding boot screen.

So I had to reinstall Fedora and these error messages are gone, too.
If it happens again I'll post with a list of the installed programs.

I remember that I cleaned up with
Code:

$dnf clean all
Perhaps I deleted something important?
Can I use this it without danger?

RockDoctor 09-29-2015 01:25 PM

Looking at the Livna repo, it looks like their highest version is Fedora 21, hence the error message. Not sure why Firefox isn't updating for you. However, you might try:
Code:

dnf clean all
dnf check-update
dnf upgrade


thanquol1313 09-29-2015 02:32 PM

Thanks that helps. Seems I haven't read the livna page thoroughly...

I installed firefox manually because it wasn't in the repolist yet.
Without removing the old version. That could have produced a conflict?
Is it better to wait for the official repolist updates? If done right
is there any harm in doing a manual update?

Sorry for such dumb questions but I'm completely new to linuxworld :)

RockDoctor 09-30-2015 07:18 AM

When you say you installed Firefox manually, did you install the Fedora 22 rpm or the tar.bz2 file from Mozilla? If the latter (or if you installed, rather than upgraded the rpm), it could be problematic, but I don't think it would lead to the results you got from dnf.

My advice to you as a new Linux user is to stick with the official repositories unless there's a compelling reason to do otherwise. With respect to Fedora, one compelling reason is to obtain certain potentially patent-encumbered or non-free software, and the recommended source for that is rpmfusion. If you want flash, go to the Adobe site, and either grab the flash-plugin rpm and install it manually, or, add the adobe repository so that you can update via dnf.

thanquol1313 09-30-2015 10:40 AM

I installed Firefox rather than upgrading... however I don't know if dnf is broken.
I recently added
Code:

[thanquol@Base-Camp Documents]$ dnf info mail-notification
Last metadata expiration check performed 13:04:12 ago on Wed Sep 30 03:02:59 2015.
Installed Packages
Name        : mail-notification
Arch        : x86_64
Epoch      : 0
Version    : 5.4
Release    : 83.git.eab5c13.fc22
Size        : 1.3 M
Repo        : @System
From repo  : fedora
Summary    : Status icon that informs you if you have new mail
URL        : http://www.nongnu.org/mailnotify/
License    : GPLv3+
Description : Mail Notification is a status icon (aka tray icon) that informs you
            : if you have new mail. It works with system trays implementing the
            : freedesktop.org System Tray Specification, such as the GNOME Panel
            : Notification Area, the Xfce Notification Area and the KDE System
            : Tray

but it doesn't seem to work properly so I wanted to uninstall the package again with
Code:

[thanquol@Base-Camp Documents]$ sudo dnf remove mail-notification
[sudo] password for thanquol:
Dependencies resolved.
==================================================================================
 Package              Arch      Version                      Repository  Size
==================================================================================
Removing:
 ORBit2                x86_64    2.14.19-13.fc22              @System    597 k
 gamin                x86_64    0.1.10-17.fc22                @System    414 k
 gnome-vfs2            x86_64    2.24.4-18.fc22                @System    1.1 M
 gnome-vfs2-common    noarch    2.24.4-18.fc22                @System    3.3 M
 libIDL                x86_64    0.8.14-9.fc22                @System    214 k
 libbonobo            x86_64    2.32.1-8.fc22                @System    2.0 M
 libgnome              x86_64    2.32.1-9.fc22                @System    4.5 M
 mail-notification    x86_64    5.4-83.git.eab5c13.fc22      @System    1.3 M
 rarian                x86_64    0.8.1-12.fc22                @System    341 k
 rarian-compat        x86_64    0.8.1-12.fc22                @System    256 k

Transaction Summary
==================================================================================
Remove  10 Packages

Installed size: 14 M
Is this ok [y/N]: n
Operation aborted.

As far as I can recall the packages that came with mail-notification are
Code:


 mail-notification    x86_64    5.4-83.git.eab5c13.fc22      @System    1.3 M
 rarian                x86_64    0.8.1-12.fc22                @System    341 k
 rarian-compat        x86_64    0.8.1-12.fc22                @System    256 k

Why does dnf want to remove 10 packages? I looked up some of these packages with dnf info
and they seem to be pretty important to run GNOME for instance libgnome. Have I messed something up?
How can I remove mail-notification or firefox manually and if needed repair dnf?

I'm trying to stick to the official repos but there is freeware without being added
to them I need and/or like. I noticed that Redhat/Fedora is pretty strict regarding the freeware licences
and I'm not ;) Perhaps I should change the distro on the long run but I want to get that machine
running first.. and get used to deal with linux :)

RockDoctor 10-01-2015 09:38 AM

I'm pretty sure dnf has an undo option. With yum I first check the history
Code:

~# yum history
ID    | Command line            | Date and time    | Action(s)      | Altered
-------------------------------------------------------------------------------
  135 | remove kernel-core-4.3.0 | 2015-10-01 06:16 | Erase          |    4 
  134 | upgrade                  | 2015-09-30 15:10 | I, O, U        |  29 EE
  133 | install python-xlib      | 2015-09-28 11:16 | Install        |    1 
  132 |                          | 2015-09-28 09:15 | Update        |  22 
  131 | install yad              | 2015-09-28 08:53 | Install        |    1 EE
  130 |                          | 2015-09-27 07:42 | Update        |  28 EE
  129 |                          | 2015-09-26 06:32 | Update        |  50 EE
  128 | remove kernel-core-4.3.0 | 2015-09-23 17:00 | Erase          |    4

If I want to reverse the installation of yad, I'd run
Code:

~# yum history undo 131

thanquol1313 10-02-2015 04:52 PM

dnf has an undo option like yum and it worked fine. I think all current problems with dnf are solved.

Thanks a lot :)


All times are GMT -5. The time now is 11:31 PM.