interrupted update recovery
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2010
    Location
    Australia
    Posts
    64

    Question interrupted update recovery

    Hi,

    I managed to interrupt a update, now it gives me the following error

    Error: Transaction check error:
    file /usr/share/doc/xz/COPYING from install of xz-5.2.4-2.fc28.x86_64 conflicts with file from package xz-libs-5.2.3-7.fc28.x86_64

    I think I can it can be fixed by booting from a livecd then switching the root partition, I just can't seem to find info on how to do that
    though

    any help is appreciated
    pheonixfire

  2. #2
    Join Date
    Oct 2006
    Location
    CN99CF Agassiz BC Canada
    Posts
    398

    Re: interrupted update recovery

    Rather than rebooting to a livecd, you might try
    Code:
    sudo dnf distro-sync xz-5.2.4
    This command brings together all components of a package to the same revision level.
    From man dnf

    Distro-sync command
    dnf distro-sync [<package-spec>...]
    As necessary upgrades, downgrades or keeps selected installed packages to match the latest version available from any enabled repository. If no package is given, all
    installed packages are considered.
    -----
    f26 x86_64 Acer Predator G5910 Quad core Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz

  3. #3
    Join Date
    Jul 2010
    Location
    Australia
    Posts
    64

    Re: interrupted update recovery

    thanks for the suggestion but I had no luck with it

    it gave me the following result for xz and xz-libs

    $ sudo dnf distro-sync xz-5.2.4
    Last metadata expiration check: 1:12:54 ago on Tue 15 May 2018 08:48:57 AEST.
    Dependencies resolved.
    Nothing to do.
    Complete!
    $ sudo dnf distro-sync xz-libs-5.2.4
    Last metadata expiration check: 1:13:02 ago on Tue 15 May 2018 08:48:57 AEST.
    Package xz-libs-5.2.4-2.fc28.x86_64 is already installed, skipping.
    Dependencies resolved.
    Nothing to do.
    Complete!

    best regards
    pheonixfire

  4. #4
    Join Date
    Oct 2006
    Location
    CN99CF Agassiz BC Canada
    Posts
    398

    Re: interrupted update recovery

    Sorry about that suggestion.

    You could try doing
    Code:
    sudo dnf install xz --allowerasing
    .

    This should take of the dependency issues with the leftovers from 5.2.3
    -----
    f26 x86_64 Acer Predator G5910 Quad core Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz

  5. #5
    Join Date
    Sep 2015
    Location
    Austria
    Posts
    3
    Linux (Fedora) Firefox 59.0

    Re: interrupted update recovery

    I am having the same problem, but none of commands above resolved the issue. Did you resolve it in the end?

  6. #6
    Join Date
    Jul 2010
    Location
    Australia
    Posts
    64
    Linux (Fedora) Firefox 61.0

    Re: interrupted update recovery

    Hi Samuel
    I booted the system with a livecd, then used chroot to change the partition,
    after that doing the update worked fine.

    You may need to add the allowerasing dnf flag

    Please keep in mind when using the chroot command that there is a large
    potential chance to break your system with commands that follow it

    I hope this helps

    Best Regards
    Pheonixfire

Similar Threads

  1. [SOLVED]
    Need help with interrupted update
    By jakev383 in forum Installation, Upgrades and Live Media
    Replies: 8
    Last Post: 7th January 2015, 08:41 AM
  2. [SOLVED]
    Please help, interrupted update brings error messages
    By Commander in forum Using Fedora
    Replies: 12
    Last Post: 4th October 2013, 06:51 PM
  3. problems after interrupted YUM update
    By hiberphoptik in forum Using Fedora
    Replies: 5
    Last Post: 4th March 2011, 11:10 PM
  4. [SOLVED]
    graceful recovery from interrupted yum update
    By kyuso in forum Using Fedora
    Replies: 5
    Last Post: 21st December 2010, 08:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •