16.04 - Unable to install Win font on Ubuntu. couldn't be accessed by user '_apt' - Ask Ubuntu


i trying install windows font on ubuntu 16.04. says package has installed when try reinstall same package fonts not found on libreoffice. also, while installing gives error.

$ sudo apt-get install ttf-mscorefonts-installer reading package lists... done building dependency tree reading state information... done following new packages installed:    ttf-mscorefonts-installer 0 upgraded, 1 newly installed, 0 remove , 5 not upgraded. need 0 b/29.5 kb of archives. after operation, 134 kb of additional disk space used. preconfiguring packages ... selecting unselected package ttf-mscorefonts-installer (reading database ... 208570 files , directories installed.) preparing unpack .../ttf-mscorefonts-installer_3.4+nmu1ubuntu2_all.deb ... mscorefonts-eula license has been accepted unpacking ttf-mscorefonts-installer (3.4+nmu1ubuntu2) ... processing triggers fontconfig (2.11.94-0ubuntu1.1) ... processing triggers update-notifier-common (3.168.2) ... ttf-mscorefonts-installer: processing... ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe get:1 http://downloads.sourceforge.net/corefonts/andale32.exe [198 kb] fetched 198 kb in 5s (35.9 kb/s)                                       w: can't drop privileges downloading file '/var/lib/update-notifier/package-data-downloads/partial/andale32.exe' couldn't accessed user '_apt'. - pkgacquire::run (13: permission denied) ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arial32.exe get:1 http://downloads.sourceforge.net/corefonts/arial32.exe [554 kb] fetched 554 kb in 4s (124 kb/s)                                        w: can't drop privileges downloading file '/var/lib/update-notifier/package-data-downloads/partial/arial32.exe' couldn't accessed user '_apt'. - pkgacquire::run (13: permission denied) ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arialb32.exe get:1 http://downloads.sourceforge.net/corefonts/arialb32.exe [969 b] err:1 http://downloads.sourceforge.net/corefonts/arialb32.exe                hash sum mismatch fetched 969 b in 2s (367 b/s)                        w: can't drop privileges downloading file '/var/lib/update-notifier/package-data-downloads/partial/arialb32.exe' couldn't accessed user '_apt'. - pkgacquire::run (13: permission denied) e: failed fetch http://downloads.sourceforge.net/mirrorproblem?failedmirror=excellmedia.dl.sourceforge.net hash sum mismatch e: download failed 

setting ttf-mscorefonts-installer (3.4+nmu1ubuntu2) ..

i followed this step. there still warning (w) visible no error (e). warning this:

w: can't drop privileges downloading file '/var/lib/update-notifier/package-data-downloads/partial/webdin32.exe' couldn't accessed user '_apt'. - pkgacquire::run (13: permission denied) 

but after steps mentioned in link, can see window font appear in libreoffice font selection list.

old update information dialog box still came. not sure if coming due old process or due one.

do need take more steps or fine?

regarding ttf-mscorefonts-installer thought i'd share since spent few minutes on when upgrading yakkety. experienced both the not-signed eula, lack of priviliges , hash sum mismatch, strangely not @ same time. cured :

chown _apt /var/lib/update-notifier/package-data-downloads chown _apt /var/lib/update-notifier/package-data-downloads/partial rm /var/lib/update-notifier/package-data-downloads/partial/* apt install --reinstall ttf-mscorefonts-installer 

what package maintainer has key right don't know.


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User