Announcement

Collapse
No announcement yet.

Failed Offline Update

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Failed Offline Update

    For some reason, Discover gives me this notification at every startup:
    Code:
    Failed Offline Update
    Failed to update 1 package
    Error while installing package: trying to overwrite '/usr/share/mlt-7/avformat/blacklist.txt', which is also in package libmlt7-data 7.14.0-1~ubuntu22.04.1
    ​
    I had Kdenlive installed and a recent update caused this error message.

    I've uninstalled Kdenlive:
    Code:
    sudo apt remove kdenlive
    autoclean and autoremove removed all libraries and folders.

    When I search for '/usr/share/mlt-7/avformat/blacklist.txt', the folder doesn't exist.

    How do I get rid of this?

    #2
    Disable offline updates, and try updating manually. Using apt is preferable as it will give a better, more complete error message.

    This error is quite informative, but incomplete. It tells us one package (libmlt7-data) but not the other package that also is providing the file /usr/share/mlt-7/avformat/blacklist.txt, and causing the conflict. Only one should provide this.

    Are you using any third party sources for Kdenlive (which also provides libmlt)? From the version, I am guessing this is true.

    Often, we can force the package to overwrite the existing one, but we need to see which one it is, in order to try this, and to see maybe why., and if it safe. Which it should be, as kdenlive and mlt packages are both provided by that kdenlive PPA.



    There is no libmlt7-data package in Ubuntu , or Kdenlive's official PPA, though there is a libmlt-data (no "7"). Is your message a direct copy/paste?

    This is probably accounting sort of problem, as your libmlt-data has seen 3 updates since your version from the error, and the file contents in their packaging may have seen seen some re-shuffling. Not at all uncommon.


    Seeing the full error message will give us the exact location of the file in your cache, and we can take that and use dpkg to force the file to overwrite.

    Another option would be to uninstall kdenlive, as well as running an apt autoremove to uninstall all the dependencies, and then reinstall Kdenlive. That should make all the packages involved be fully in sync with each other, so the speak.

    I prefer the 'force' fix, which actually takes far, far longer to describe than it is to actually perform.
    Last edited by claydoh; May 19, 2023, 01:44 PM.

    Comment

    Working...
    X