← Back to team overview

yade-users team mailing list archive

Re: [Question #663278]: Error X.Org X Server Ubuntu after Yadedaily update

 

Question #663278 on Yade changed:
https://answers.launchpad.net/yade/+question/663278

    Status: Open => Answered

Manfred Hampl proposed the following answer:
The important hint is:

dpkg: error processing archive /var/cache/apt/archives/libdrm-amdgpu1_2.4.89+git1801190630.3509e7~oibaf~x_amd64.deb (--unpack):
trying to overwrite '/usr/share/libdrm/amdgpu.ids', which is also in package libdrm-common

Apparently the file '/usr/share/libdrm/amdgpu.ids' is contained in the
standard Ubuntu package libdrm-common and also in the packages libdrm-
amdgpu1_2.4.89+git1801190630.3509e7~oibaf~x_*.deb from the ppa:oibaf
/graphics-drivers PPA.

And the package management system of course complains that files of one
package are overwritten by another one.

I see the following options:
1. uninstall the libdrm-common common (I am not sure whether some other packages depend on it)
or
2. force the package management system to allow overwriting of files

Ad 1) To check for possible broken dependencies, what is the output of
apt-get --simulate remove libdrm-common

Ad 2) The command to for installation with overwriting would probably be
sudo apt-get -o Dpkg::Options::="--force-overwrite" upgrade
but before trying this you should check whether option 1 is feasible.

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.