12-25-2017, 03:09 PM
i'm runing into an issue with the new stretch mate 0.5.15-136. i think the issue arose during the install of vlc media player which came pre-installed on the build but the install is reported as broken due to a problem with libgles1-mesa. when i try "sudo apt --fix-broken install" the repair process starts but halts
rock64@rock64:~/Downloads$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libgles1-mesa
The following NEW packages will be installed:
libgles1-mesa
0 upgraded, 1 newly installed, 0 to remove and 19 not upgraded.
2 not fully installed or removed.
Need to get 0 B/46.2 kB of archives.
After this operation, 87.0 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 85649 files and directories currently installed.)
Preparing to unpack .../libgles1-mesa_13.0.6-1+b2_arm64.deb ...
Unpacking libgles1-mesa:arm64 (13.0.6-1+b2) ...
dpkg: error processing archive /var/cache/apt/archives/libgles1-mesa_13.0.6-1+b2_arm64.deb (--unpack):
trying to overwrite '/usr/lib/aarch64-linux-gnu/libGLESv1_CM.so.1', which is also in package libmali-rk-utgard-2th-r7p0:arm64 1.5-4ayufan12
Errors were encountered while processing:
/var/cache/apt/archives/libgles1-mesa_13.0.6-1+b2_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
as best i can tell is the issue is dpkg is trying to overwrite the current libmesgles1 , specifically the file '/usr/lib/aarch64-linux-gnu/libGLESv1_CM.so.1, that is associated with vlc media player but errors out due to the file also being in the installed libmali from ayufan. here is the dpkg error,
dpkg: error processing archive /var/cache/apt/archives/libgles1-mesa_13.0.6-1+b2_arm64.deb (--unpack):
trying to overwrite '/usr/lib/aarch64-linux-gnu/libGLESv1_CM.so.1', which is also in package libmali-rk-utgard-2th-r7p0:arm64 1.5-4ayufan12
the interesting thing about all this is i'm unable to install any packages due to this broken package issue until i fix this same file in two places and not alloed to update one of them because the same file is elsewhere and i guess 2 different builds of the same file can not exist at the same time even though in different directories i'm not really sure of the resolution since i've never faced it and thought to report it in the forum before doing a net search. but i think the original install of vlc media player was broken due to libmali having the same file but probably a different build of the file than vlc media player.
so if anyone has any ideas i'd appreciate the help. thanks.
rock64@rock64:~/Downloads$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libgles1-mesa
The following NEW packages will be installed:
libgles1-mesa
0 upgraded, 1 newly installed, 0 to remove and 19 not upgraded.
2 not fully installed or removed.
Need to get 0 B/46.2 kB of archives.
After this operation, 87.0 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 85649 files and directories currently installed.)
Preparing to unpack .../libgles1-mesa_13.0.6-1+b2_arm64.deb ...
Unpacking libgles1-mesa:arm64 (13.0.6-1+b2) ...
dpkg: error processing archive /var/cache/apt/archives/libgles1-mesa_13.0.6-1+b2_arm64.deb (--unpack):
trying to overwrite '/usr/lib/aarch64-linux-gnu/libGLESv1_CM.so.1', which is also in package libmali-rk-utgard-2th-r7p0:arm64 1.5-4ayufan12
Errors were encountered while processing:
/var/cache/apt/archives/libgles1-mesa_13.0.6-1+b2_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
as best i can tell is the issue is dpkg is trying to overwrite the current libmesgles1 , specifically the file '/usr/lib/aarch64-linux-gnu/libGLESv1_CM.so.1, that is associated with vlc media player but errors out due to the file also being in the installed libmali from ayufan. here is the dpkg error,
dpkg: error processing archive /var/cache/apt/archives/libgles1-mesa_13.0.6-1+b2_arm64.deb (--unpack):
trying to overwrite '/usr/lib/aarch64-linux-gnu/libGLESv1_CM.so.1', which is also in package libmali-rk-utgard-2th-r7p0:arm64 1.5-4ayufan12
the interesting thing about all this is i'm unable to install any packages due to this broken package issue until i fix this same file in two places and not alloed to update one of them because the same file is elsewhere and i guess 2 different builds of the same file can not exist at the same time even though in different directories i'm not really sure of the resolution since i've never faced it and thought to report it in the forum before doing a net search. but i think the original install of vlc media player was broken due to libmali having the same file but probably a different build of the file than vlc media player.
so if anyone has any ideas i'd appreciate the help. thanks.