0

I have a package in my own local repo that is a newer version of a package normally available on public repo. They have the same name but different version, however, whenever I try to switch between them I get trying to overwrite '/usr/lib/x86_64-linux-gnu/somefile.so', which is also in package somepackage 2.0. But they are different versions of the same package, so they should be able to overwrite each other's file, that's the whole point of upgrading/downgrading.

When creating the local version of the package are there any other settings, other then the name that would tell apt that this is the same package just different version, so it has to overwrite the files that are also in the other package?

  • From your description, the error indicates that the package manager thinks that they are different packages, not different versions of the same package. That's usually the fault of an unwise package name. – user535733 Nov 27 '18 at 23:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.