cattlerun@firefly:~$ sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
Hit:1 http://wiki.t-firefly.com/firefly-rk3399-repo bionic InRelease
Hit:2 http://archive.canonical.com/ubuntu bionic InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease
Hit:5 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease
Hit:6 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease
Reading package lists… Done
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following packages have been kept back:
libcogl20 libdrm-amdgpu1 libdrm-dev libdrm-freedreno1 libdrm-nouveau2 libdrm-radeon1 libdrm-tegra0 libdrm2 libgl1-mesa-dri
libgtk-3-0 libgtk-3-bin libsdl2-2.0-0 libwayland-egl1-mesa mesa-va-drivers mesa-vdpau-drivers xserver-common
xserver-xorg-core
The following packages will be upgraded:
mesa-common-dev
1 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.
168 not fully installed or removed.
Need to get 0 B/559 kB of archives.
After this operation, 174 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database … 102962 files and directories currently installed.)
Preparing to unpack …/mesa-common-dev_18.2.8-0ubuntu0~18.04.2_arm64.deb …
Unpacking mesa-common-dev:arm64 (18.2.8-0ubuntu0~18.04.2) over (18.0.5-0ubuntu0~18.04.1) …
dpkg: error processing archive /var/cache/apt/archives/mesa-common-dev_18.2.8-0ubuntu0~18.04.2_arm64.deb (–unpack):
trying to overwrite ‘/usr/include/KHR/khrplatform.h’, which is also in package libmali-rk-dev:arm64 1.6-1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/mesa-common-dev_18.2.8-0ubuntu0~18.04.2_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
我也遇到了,具体表现为,upgrade时报错
The following packages have unmet dependencies:
libegl1 : Depends: libglvnd0 (= 1.0.0-2ubuntu2.2) but 1.0.0-2ubuntu2.3 is installed
libgles2 : Depends: libglvnd0 (= 1.0.0-2ubuntu2.2) but 1.0.0-2ubuntu2.3 is installed
dolbyyu 发表于 2019-7-24 16:47
我也遇到了,具体表现为,upgrade时报错
The following packages have unmet dependencies:
libegl1 : …
The following package was automatically installed and is no longer required:
libllvm6.0
Use ‘sudo apt autoremove’ to remove it.
The following additional packages will be installed:
mesa-common-dev
The following packages will be upgraded:
mesa-common-dev
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
30 not fully installed or removed.
Need to get 0 B/598 kB of archives.
After this operation, 398 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database … 103537 files and directories currently installed.)
Preparing to unpack …/mesa-common-dev_19.0.2-1ubuntu1.1~18.04.2_arm64.deb …
Unpacking mesa-common-dev:arm64 (19.0.2-1ubuntu1.1~18.04.2) over (18.0.5-0ubuntu0~18.04.1) …
dpkg: error processing archive /var/cache/apt/archives/mesa-common-dev_19.0.2-1ubuntu1.1~18.04.2_arm64.deb (–unpack):
trying to overwrite ‘/usr/include/KHR/khrplatform.h’, which is also in package libmali-rk-dev:arm64 1.6-1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/mesa-common-dev_19.0.2-1ubuntu1.1~18.04.2_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
出现了这个问题,我用的是官方的ubuntu18.04 20190403 的镜像