zhtengw / deepin-overlay

Gentoo overlay for Deepin APPs
GNU General Public License v2.0
56 stars 14 forks source link

Failed to install dde-extra/deepin-grub2-themes-1.0.0 #102

Closed niuiic closed 4 years ago

niuiic commented 4 years ago

编译没有问题,但是安装错误,详细报错信息请看最下面

  1. 显示的错误是
failed to properly create symlink
Operation not permitted: b'background_origin_source' -> b'/boot/grub/themes/deepin/background_source'
  1. 我查看了一下background_source,发现是一堆看不出意义的数字,但应该也不是乱码

  2. 编译并没有添加什么USE flag [ebuild N ] dde-extra/deepin-grub2-themes-1.0.0

  3. USE flags for dde-base/dde-meta中没有添加的有elogind、multimedia以及mutter

其他信息我不知道有没有用,我先把我认为有用的放上来,您需要更多我再添加,感谢

>>> Installing (1 of 1) dde-extra/deepin-grub2-themes-1.0.0::deepin
 * Your boot partition was detected as being mounted at /boot.
 * Files will be installed there for deepin-grub2-themes to function correctly.
!!! failed to properly create symlink:
!!! /boot/grub/themes/deepin/background_source -> background_origin_source
!!! [Errno 1] Operation not permitted: b'background_origin_source' -> b'/boot/grub/themes/deepin/background_source'
!!! Failed to move file.
!!! /boot/grub/themes/deepin/background_source -> background_origin_source

>>> Failed to install dde-extra/deepin-grub2-themes-1.0.0, Log file:

>>>  '/var/tmp/portage/dde-extra/deepin-grub2-themes-1.0.0/temp/build.log'
niuiic commented 4 years ago

补充一下

/var/tmp/portage/dde-extra/deepin-grub2-themes-1.0.0/image/下看到的background_source是一片空白

/boot/grub/themes/deepin/background_source中大概是这样

*¬t5Õ<90>ã뤧<9a>¶<82>*<99>£¢¬<96><90>±¤<96>ª<95>^X$<8d>^Qf1³©+sk\ûÝM)Ö<88>^F<95>òáÔ?~§[ëÞõ^½×½û¯uï~ëÝwÅ¿7¿ÒÜ[ý^?~Ç^ë¯~ùuî¹^U!C^PBµìÄ^P^M¸6>ܦ:×]^N}û^T¯^ë'ÓÝ:§^¿6÷î½×|<9b>[ëøÿ^@mîÀúõî»±^\<91>ý^G$ÿ^@¼{ß^^µ×-_Ù-Á±<^BAú}~¶ÿ^@[ÞÈ^@W¯uÃ<8f>Ç#þ+Ϻ׭õïz©ëÝ{ߪz÷]<8f>n%|º×]ÿ^@­þóÏ»^A\õîºAÏ7'ó^?Åÿ^@^\}=øõSì<9f>BGôÿ^@_ý<8f>>ëÕzì^Ss^?ë~?ÞÏ¿uî¹^]<[WÓÕ{ZüØ<81>þ·½u¾¸ÿ^@_÷<8f>ñ÷î½×_ï­

后面一部分是这样

otoshop CS6 (Windows)" stEvt:changed="/"/> <rdf:li stEvt:action="converted" stEvt:parameters="from application/vnd.adobe.photoshop to image/jpeg"/> <rdf:li stEvt:action="derived" stEvt:parameters="converted from application/vnd.adobe.photoshop to image/jpeg"/> <rdf:li stEvt:action="saved" stEvt:instanceID="xmp.iid:E23D0B06EABEE31185BFB35B382306FC" stEvt:when="2014-04-08T14:50:32+08:00" stEvt:softwareAgent="Adobe Photoshop CS6 (Windows)" stEvt:changed="/"/> </rdf:Seq> </x
zhtengw commented 4 years ago

问题是无法在/boot分区创建符号链接,原因可能是你的/boot分区是fat32文件系统。这个不影响使用,不需要处理。

PS:background_origin_source是一个JPEG图片文件,直接按文本查看自然是乱码,background_source只是对前者的符号链接。

niuiic commented 4 years ago

嗯,但是有个麻烦是包管理器认为这个包没有成功安装,导致还有十几个包装不了

请问我能怎么解决

多谢

zhtengw commented 4 years ago

emerge 加上 --keep-going 参数,可以继续安装之后的包

niuiic commented 4 years ago

不是这样的,是其他几个包以这个为依赖,--keep-going只是有一个出错了重新计算继续编译,解决不了依赖的问题

我这本来就加上了--keep-going,确实编不过去,比如file-manager、dock、font-manger等,不过这些和grub theme有啥关系(只是从名称瞎猜),感觉怪怪的

我这里还在重新编译系统,暂时试不了,不知道mask掉是否可以

zhtengw commented 4 years ago

那就是你启用了grub USE flag,禁用就好了。在/etc/portage/package.use设定dde-base/dde-meta -grub或者直接USE="-grub" emerge都行。

niuiic commented 4 years ago

明白了,多谢您的帮助

niuiic commented 4 years ago

明白了,多谢您的帮助