Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dnf fails - write main() failed to reload written solv file #2

Open
douglax opened this issue Feb 7, 2019 · 4 comments
Open

dnf fails - write main() failed to reload written solv file #2

douglax opened this issue Feb 7, 2019 · 4 comments

Comments

@douglax
Copy link
Contributor

douglax commented Feb 7, 2019

Suddenly dnf started to fail. At first it was working ok but after a few operations it fails.

'''
[root@moximo ~]# dnf group install "Development Tools" -y
write_main() failed to re-load written solv file
'''

@douglax
Copy link
Contributor Author

douglax commented Feb 7, 2019

Following advise from this link , I issued yum remove libsolv and noticed that cockpit-package-kit is marked as dependency.

'''
[root@moximo ~]# yum remove libsolv
Dependencies resolved.

Package Arch Version Repository Size

Removing:
libsolv armv7hl 0.7.2-1.fc28 @System 704 k
Removing dependent packages:
PackageKit armv7hl 1.1.10-1.fc28 @System 2.5 M
cockpit-packagekit noarch 183-1.fc28 @System 628 k
libdnf armv7hl 0.11.1-6.fc28.1 @System 286 k

Transaction Summary

Remove 4 Packages

'''

Still researching

@imcsk8
Copy link
Contributor

imcsk8 commented Feb 7, 2019

Fixed in: d5ce1cf

@imcsk8 imcsk8 closed this as completed Feb 7, 2019
@douglax
Copy link
Contributor Author

douglax commented Feb 7, 2019

VERSION_ID was already set to 28 in /etc/os-release before the issue started to appear. Reopening case

@douglax douglax reopened this Feb 7, 2019
@imcsk8
Copy link
Contributor

imcsk8 commented Feb 7, 2019

  • Boot in rescue mode
  • Reformat / and /var hard drive partitiions
  • Untar image in hard drive partitions
  • Boot in normal mode
  • Reinstall dnf
     # dnf install -y dnf --releasever 28
    
  • Update system
     # dnf update -y
    

Check if problem persist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants