Firefly开源社区

12
发表新贴
打印 上一主题 下一主题

[Linux] rk3399 - ubuntu 18.04的img有问题, 导致apt-get无法正常安装opengl

4

积分

0

威望

0

贡献

吃瓜的群众

积分
4

rk3399 - ubuntu 18.04的img有问题, 导致apt-get无法正常安装opengl

发表于 2019-4-23 12:00:35      浏览:17500 | 回复:13        打印      只看该作者   [复制链接] 楼主
rk3399的板子,采用ubuntu 18.04,GPT 20190403的版本。
apt-get 安装更新出问题。
opengl 安装不了

执行的命令:
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
sudo apt-get install libgtk-3-dev
sudo apt-get install libglfw3-dev
和系统缺省的img安装的包有冲突。

请问如何解决?


----------------------------
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)

回复

使用道具 举报

14

积分

0

威望

0

贡献

技术小白

积分
14
发表于 2019-4-24 09:02:35        只看该作者  沙发
我用Qt的程序,每次都会弹出openGL的库缺失或者error;我也无法安装这个库;
1、可以尝试dpkg强制安装,但是有没有问题不是很清楚(其实我强制覆盖了,目前Qt报的另外一个库warming,我也懒得管了,反正可以用);
2、尝试用aptitude,看看它有没有兼容的策略;(反正我是试了,退了好几个软件的版本也无能为力);
3、等官方消息吧;
回复

使用道具 举报

70

积分

0

威望

0

贡献

技术小白

积分
70
发表于 2019-6-14 14:07:27        只看该作者  板凳
111
回复

使用道具 举报

25

积分

0

威望

0

贡献

技术小白

积分
25
发表于 2019-6-21 19:04:44        只看该作者  地板
我也碰到了同样的问题,希望官方能够尽快出新的固件修复。
回复

使用道具 举报

61

积分

0

威望

0

贡献

技术小白

积分
61
发表于 2019-6-22 08:01:03        只看该作者  5#
请问能装Ubuntu16.04么,如果能装是哪个版本?
回复

使用道具 举报

25

积分

0

威望

0

贡献

技术小白

积分
25
发表于 2019-6-24 23:24:56        只看该作者  6#
lsp 发表于 2019-6-22 08:01
请问能装Ubuntu16.04么,如果能装是哪个版本?

我装了 16.04 但是一样有类似报错,没法更新升级软件包
回复

使用道具 举报

12

积分

0

威望

0

贡献

技术小白

积分
12
发表于 2019-7-16 18:48:55        只看该作者  7#
我也是, sudo apt upgrade 就出错了
回复

使用道具 举报

47

积分

0

威望

0

贡献

技术小白

积分
47
发表于 2019-7-24 16:47:16        只看该作者  8#
momandai 发表于 2019-7-16 18:48
我也是, sudo apt upgrade 就出错了

我也遇到了,具体表现为,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

我发现时 rockchip-mali-midgard14 这个包造成的
解决办法:
1、重刷系统
2、先卸载包 sudo apt-get remove  rockchip-mali-midgard14
3、update、upgrade即可
回复

使用道具 举报

12

积分

0

威望

0

贡献

技术小白

积分
12
发表于 2019-7-31 09:21:47        只看该作者  9#
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 的镜像
回复

使用道具 举报

781

积分

2

威望

4

贡献

技术大神

Rank: 3Rank: 3

积分
781
发表于 2019-7-31 11:50:28        只看该作者  10#
官方发布的ubuntu固件都支持opengl,具体请看:
http://wiki.t-firefly.com/zh_CN/ ... port.html#opengl-es
回复

使用道具 举报

返回列表
12
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表