dock and update issue
Tofloor
poster avatar
driftwood
deepin
2014-08-10 07:20
Author
First of all i want to approve whole Deepin develope  team on their magnificent work.
I think that this distro will have great future if you continue to work with this kind of creativiti ;)

Now lets get back to some minor problems that i have with this distro.I hope that with every new update will be less issues to solve.

I have problems with dock,sometimes when i turn on laptop i can't see dock and i have to restart laptop to fix problem.

Second problem that i have is with update,when i try to update with terminal i get this text

Im new linux user and i would appreciate every help to solve this problem.
Thank you ;)


sudo apt-get update
...

W: Failed to fetch http://ppa.launchpad.net/yannubuntu/boo ... 4/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/yannubuntu/boo ... 6/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.


sudo apt-get upgrade
...

W: Failed to fetch http://ppa.launchpad.net/yannubuntu/boo ... 4/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/yannubuntu/boo ... 6/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
driftwood@driftwood-pc:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree      
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
kingsoft-office:i386 : Depends: libglu1-mesa:i386 but it is not installed
                        Recommends: ttf-mscorefonts-installer:i386
E: Unmet dependencies. Try using -f

driftwood@driftwood-pc:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  fonts-opensymbol libboost-date-time1.54.0 libcdr-0.0-0 libclucene-contribs1
  libclucene-core1 libcmis-0.4-4 libexttextcat-2.0-0 libexttextcat-data
  libhyphen0 liblangtag-common liblangtag1 libmspub-0.0-0 libmythes-1.2-0
  libneon27-gnutls liborcus-0.6-0 libreoffice-style-galaxy libvisio-0.0-0
  libwpd-0.9-9 libwpg-0.2-2 libwps-0.2-2 lp-solve uno-libs3 ure
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libglu1-mesa:i386
The following NEW packages will be installed:
  libglu1-mesa:i386
0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded.
1 not fully installed or removed.
Need to get 0 B/195 kB of archives.
After this operation, 512 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package libglu1-mesa:i386.
(Reading database ... 200447 files and directories currently installed.)
Preparing to unpack .../libglu1-mesa_9.0.0-2_i386.deb ...
Unpacking libglu1-mesa:i386 (9.0.0-2) ...
dpkg-deb (subprocess): decompressing archive member: internal gzip read error: ': incorrect data check'
dpkg-deb: error: subprocess returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/libglu1-mesa_9.0.0-2_i386.deb (--unpack):
cannot copy extracted data for './usr/lib/i386-linux-gnu/libGLU.so.1.3.1' to '/usr/lib/i386-linux-gnu/libGLU.so.1.3.1.dpkg-new': unexpected end of file or stream
Errors were encountered while processing:
/var/cache/apt/archives/libglu1-mesa_9.0.0-2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reply Favorite View the author
All Replies
safaariman
deepin
2014-08-10 08:01
#1
Hello driftwood,

I have the same problems with this dock, so I do not know how to fix it. About your update problem, it seems that you have added an unsuitable repository into your system. To remove it, please follow this commands.
  1. sudo add-apt-repository -r ppa:yannubuntu/boot-repair
  2. sudo apt-get autoremove
  3. sudo apt-get autoclean
  4. sudo apt-get update
Copy the Code

If you do not see any errors then follow these lines.
  1. sudo apt-get upgrade
  2. sudo apt-get dist-upgrade
Copy the Code

If upgrade is successfully done than reboot your system.
  1. sudo reboot
Copy the Code

Please let me know if this solution does not work.
Reply View the author
Feng Yu
deepin
2014-08-10 18:00
#2
It seems that you have added a ppa repo, but it's not maintenance for now(maybe it has no ubuntu 14.04-trusty's repo), so you can find many "404" errors.

To solve this problem, just delete the ppa which can't access, and run sudo apt-get update, that's OK.

You can delete the file /etc/apt/sources.list.d/${your_ppa_name}.list.
Reply View the author
driftwood
deepin
2014-08-10 21:30
#3
First i want to thank you for you help and for quick respone.
I tried just like safaarima wrote and i got this after all...


driftwood@driftwood-pc:~/Desktop$ sudo add-apt-repository -r ppa:yannubuntu/boot-repair
[sudo] password for driftwood:
Sorry, try again.
[sudo] password for driftwood:
Simple tool to repair frequent boot problems.

Website: https://launchpad.net/boot-repair
More info: https://launchpad.net/~yannubuntu/+arch ... oot-repair
Press [ENTER] to continue or ctrl-c to cancel removing it

driftwood@driftwood-pc:~/Desktop$ sudo apt-get autoremove
Reading package lists... 16%
Reading package lists... Done
Building dependency tree      
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
driftwood@driftwood-pc:~/Desktop$
driftwood@driftwood-pc:~/Desktop$ sudo apt-get autoclean
Reading package lists... Done
Building dependency tree      
Reading state information... Done
driftwood@driftwood-pc:~/Desktop$ sudo apt-get update
Ign http://ca1.packages.linuxdeepin.com trusty InRelease
Ign http://ca1.packages.linuxdeepin.com trusty-security InRelease
Ign http://ca1.packages.linuxdeepin.com trusty-updates InRelease
Hit http://ca1.packages.linuxdeepin.com trusty InRelease
Hit http://ca1.packages.linuxdeepin.com trusty Release.gpg
Hit http://ca1.packages.linuxdeepin.com trusty-security Release.gpg
Hit http://ca1.packages.linuxdeepin.com trusty-updates Release.gpg
Hit http://ca1.packages.linuxdeepin.com trusty/main Sources
Hit http://ca1.packages.linuxdeepin.com trusty/universe Sources
Hit http://ca1.packages.linuxdeepin.com trusty/non-free Sources
Hit http://ca1.packages.linuxdeepin.com trusty/main amd64 Packages
Hit http://ca1.packages.linuxdeepin.com trusty/universe amd64 Packages
Hit http://ca1.packages.linuxdeepin.com trusty/non-free amd64 Packages
Hit http://ca1.packages.linuxdeepin.com trusty/main i386 Packages
Hit http://ca1.packages.linuxdeepin.com trusty/universe i386 Packages
Hit http://ca1.packages.linuxdeepin.com trusty/non-free i386 Packages
Hit http://ca1.packages.linuxdeepin.com trusty Release
Hit http://ca1.packages.linuxdeepin.com trusty-security Release
Hit http://ca1.packages.linuxdeepin.com trusty-updates Release
Hit http://ca1.packages.linuxdeepin.com trusty/main Sources
Hit http://ca1.packages.linuxdeepin.com trusty/restricted Sources
Hit http://ca1.packages.linuxdeepin.com trusty/universe Sources
Hit http://ca1.packages.linuxdeepin.com trusty/multiverse Sources
Hit http://ca1.packages.linuxdeepin.com trusty/main amd64 Packages
Hit http://ca1.packages.linuxdeepin.com trusty/restricted amd64 Packages
Hit http://ca1.packages.linuxdeepin.com trusty/universe amd64 Packages
Hit http://ca1.packages.linuxdeepin.com trusty/multiverse amd64 Packages
Hit http://ca1.packages.linuxdeepin.com trusty/main i386 Packages
Hit http://ca1.packages.linuxdeepin.com trusty/restricted i386 Packages
Hit http://ca1.packages.linuxdeepin.com trusty/universe i386 Packages
Hit http://ca1.packages.linuxdeepin.com trusty/multiverse i386 Packages
Hit http://ca1.packages.linuxdeepin.com trusty/main Translation-en
Hit http://ca1.packages.linuxdeepin.com trusty/multiverse Translation-en
Hit http://ca1.packages.linuxdeepin.com trusty/restricted Translation-en
Hit http://ca1.packages.linuxdeepin.com trusty/universe Translation-en
Hit http://ca1.packages.linuxdeepin.com trusty-security/main Sources
Hit http://ca1.packages.linuxdeepin.com trusty-security/restricted Sources
Hit http://ca1.packages.linuxdeepin.com trusty-security/universe Sources
Hit http://ca1.packages.linuxdeepin.com trusty-security/multiverse Sources
Hit http://ca1.packages.linuxdeepin.com trusty-security/main amd64 Packages
Hit http://ca1.packages.linuxdeepin.com trusty-security/restricted amd64 Packages
Hit http://ca1.packages.linuxdeepin.com trusty-security/universe amd64 Packages
Hit http://ca1.packages.linuxdeepin.com trusty-security/multiverse amd64 Packages
Hit http://ca1.packages.linuxdeepin.com trusty-security/main i386 Packages
Hit http://ca1.packages.linuxdeepin.com trusty-security/restricted i386 Packages
Hit http://ca1.packages.linuxdeepin.com trusty-security/universe i386 Packages
Hit http://ca1.packages.linuxdeepin.com trusty-security/multiverse i386 Packages
Hit http://ca1.packages.linuxdeepin.com trusty-security/main Translation-en
Hit http://ca1.packages.linuxdeepin.com trusty-security/multiverse Translation-en
Hit http://ca1.packages.linuxdeepin.com trusty-security/restricted Translation-en
Hit http://ca1.packages.linuxdeepin.com trusty-security/universe Translation-en
Hit http://ca1.packages.linuxdeepin.com trusty-updates/main Sources
Hit http://ca1.packages.linuxdeepin.com trusty-updates/restricted Sources
Hit http://ca1.packages.linuxdeepin.com trusty-updates/universe Sources
Hit http://ca1.packages.linuxdeepin.com trusty-updates/multiverse Sources
Hit http://ca1.packages.linuxdeepin.com trusty-updates/main amd64 Packages
Hit http://ca1.packages.linuxdeepin.com trusty-updates/restricted amd64 Packages
Hit http://ca1.packages.linuxdeepin.com trusty-updates/universe amd64 Packages
Hit http://ca1.packages.linuxdeepin.com trusty-updates/multiverse amd64 Packages
Hit http://ca1.packages.linuxdeepin.com trusty-updates/main i386 Packages
Hit http://ca1.packages.linuxdeepin.com trusty-updates/restricted i386 Packages
Hit http://ca1.packages.linuxdeepin.com trusty-updates/universe i386 Packages
Hit http://ca1.packages.linuxdeepin.com trusty-updates/multiverse i386 Packages
Hit http://ca1.packages.linuxdeepin.com trusty-updates/main Translation-en
Hit http://ca1.packages.linuxdeepin.com trusty-updates/multiverse Translation-en
Hit http://ca1.packages.linuxdeepin.com trusty-updates/restricted Translation-en
Hit http://ca1.packages.linuxdeepin.com trusty-updates/universe Translation-en
Ign http://ca1.packages.linuxdeepin.com trusty/main Translation-en_US
Ign http://ca1.packages.linuxdeepin.com trusty/main Translation-en
Ign http://ca1.packages.linuxdeepin.com trusty/non-free Translation-en_US
Ign http://ca1.packages.linuxdeepin.com trusty/non-free Translation-en
Ign http://ca1.packages.linuxdeepin.com trusty/universe Translation-en_US
Ign http://ca1.packages.linuxdeepin.com trusty/universe Translation-en
Ign http://ca1.packages.linuxdeepin.com trusty/main Translation-en_US
Ign http://ca1.packages.linuxdeepin.com trusty/multiverse Translation-en_US
Ign http://ca1.packages.linuxdeepin.com trusty/restricted Translation-en_US
Ign http://ca1.packages.linuxdeepin.com trusty/universe Translation-en_US
Reading package lists... Done
driftwood@driftwood-pc:~/Desktop$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  deepin-icon-theme
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/28.4 MB of archives.
After this operation, 47.1 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 198262 files and directories currently installed.)
Preparing to unpack .../deepin-icon-theme_13.06.13+20140722200858~ac9b0c5d1f_all.deb ...
Unpacking deepin-icon-theme (13.06.13+20140722200858~ac9b0c5d1f) over (13.06.13-20140630090444~53dfed0dc5) ...
dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
dpkg-deb: error: subprocess returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/deepin-icon-theme_13.06.13+20140722200858~ac9b0c5d1f_all.deb (--unpack):
cannot copy extracted data for './usr/share/icons/Deepin-blue/places/scalable/user-trash.svg' to '/usr/share/icons/Deepin-blue/places/scalable/user-trash.svg.dpkg-new': unexpected end of file or stream
Processing triggers for dde-daemon (0.0.1+20140723154156~053a483f28) ...
Errors were encountered while processing:
/var/cache/apt/archives/deepin-icon-theme_13.06.13+20140722200858~ac9b0c5d1f_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
driftwood@driftwood-pc:~/Desktop$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  deepin-icon-theme
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/28.4 MB of archives.
After this operation, 47.1 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 198262 files and directories currently installed.)
Preparing to unpack .../deepin-icon-theme_13.06.13+20140722200858~ac9b0c5d1f_all.deb ...
Unpacking deepin-icon-theme (13.06.13+20140722200858~ac9b0c5d1f) over (13.06.13-20140630090444~53dfed0dc5) ...
dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
dpkg-deb: error: subprocess returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/deepin-icon-theme_13.06.13+20140722200858~ac9b0c5d1f_all.deb (--unpack):
cannot copy extracted data for './usr/share/icons/Deepin-blue/places/scalable/user-trash.svg' to '/usr/share/icons/Deepin-blue/places/scalable/user-trash.svg.dpkg-new': unexpected end of file or stream
Processing triggers for dde-daemon (0.0.1+20140723154156~053a483f28) ...
Errors were encountered while processing:
/var/cache/apt/archives/deepin-icon-theme_13.06.13+20140722200858~ac9b0c5d1f_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
driftwood@driftwood-pc:~/Desktop$


If anybody find solution for disappearing dock,please write i would be very grateful ;)
Reply View the author
driftwood
deepin
2014-08-10 22:00
#4
here is another one

i installed kingsoft office and  after i updated packages i tried to upgrade i got this

driftwood@driftwood-pc:~/Desktop$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree      
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
kingsoft-office:i386 : Depends: libglu1-mesa:i386 but it is not installed
E: Unmet dependencies. Try using -f.
driftwood@driftwood-pc:~/Desktop$
Reply View the author
safaariman
deepin
2014-08-11 01:29
#5
Hello,

According to your last post, you do not have any decompression error anymore. So let's clean your apt cache and then try to install necessary things. Please apply this and let us know if you have another error.
  1. sudo apt-get clean && sudo apt-get -f install
Copy the Code

By the way, it is better using code block when you share command line output. It is more understandable and easy to read.
Reply View the author
driftwood
deepin
2014-08-11 03:23
#6
I did just like you wrote,and it solved my problem ;)

I would to thank you for your time and patience and i hope that i won't boder you anymore  
Reply View the author
safaariman
deepin
2014-08-11 04:36
#7
I am happy for you to solve your problem. Feel free to write your problems in this forum. This is what this website for.
Reply View the author
Maggieszd
deepin
2014-08-11 21:13
#8
Thanks for your support and we will continue our effort to improve.
Reply View the author