libfreetype6 errors are every where!

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












when I run any type of apt-related command there is no way which I don't see an error related to libfreetype6, like this:



nima@cesar:~$ sudo apt-get install phpmyadmin php-mbstring php-gettext
Reading package lists... Done
Building dependency tree
Reading state information... Done
php-gettext is already the newest version (1.0.12-0.1).
php-mbstring is already the newest version (1:7.2+60ubuntu1).
phpmyadmin is already the newest version (4:4.6.6-5).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libfreetype6 : Breaks: libfreetype6:i386 (!= 2.8-0.2) but 2.8.1-2ubuntu2 is to be installed
libfreetype6:i386 : Breaks: libfreetype6 (!= 2.8.1-2ubuntu2) but 2.8-0.2 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


And when I run sudo apt --fix-broken install :



nima@cesar:~$ 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:
libfreetype6
The following packages will be upgraded:
libfreetype6
1 upgraded, 0 newly installed, 0 to remove and 55 not upgraded.
2 not fully installed or removed.
Need to get 0 B/335 kB of archives.
After this operation, 6,144 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 246228 files and directories currently installed.)
Preparing to unpack .../libfreetype6_2.8.1-2ubuntu2_amd64.deb ...
Unpacking libfreetype6:amd64 (2.8.1-2ubuntu2) over (2.8-0.2) ...
dpkg: error processing archive /var/cache/apt/archives/libfreetype6_2.8.1-2ubuntu2_amd64.deb (--unpack):
trying to overwrite shared '/usr/share/doc/libfreetype6/changelog.Debian.gz', which is different from other instances of package libfreetype6:amd64
Errors were encountered while processing:
/var/cache/apt/archives/libfreetype6_2.8.1-2ubuntu2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


And I don't know what is the problem and how I can fix it!







share|improve this question






















  • Please add the error in the description than posting the image link
    – kvmahesh
    May 26 at 15:44










  • @kvmahesh Done!
    – Nima Ra
    May 26 at 15:47






  • 1




    Try the following: sudo dpkg -r libfreetype6 && sudo apt clean && sudo apt update && sudo apt install libfreetype6 After this is done try to install your wanted targets (i.e. phpmyadmin etc.)
    – Videonauth
    May 26 at 15:53










  • @Videonauth I got an error: dpkg: error processing package libfreetype6:amd64 (--remove): dependency problems - not removing Errors were encountered while processing: libfreetype6:amd64
    – Nima Ra
    May 26 at 15:55







  • 2




    Then try: sudo apt-get -o Dpkg::Options::="--force-overwrite" install libfreetype6
    – Videonauth
    May 26 at 15:57














up vote
0
down vote

favorite












when I run any type of apt-related command there is no way which I don't see an error related to libfreetype6, like this:



nima@cesar:~$ sudo apt-get install phpmyadmin php-mbstring php-gettext
Reading package lists... Done
Building dependency tree
Reading state information... Done
php-gettext is already the newest version (1.0.12-0.1).
php-mbstring is already the newest version (1:7.2+60ubuntu1).
phpmyadmin is already the newest version (4:4.6.6-5).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libfreetype6 : Breaks: libfreetype6:i386 (!= 2.8-0.2) but 2.8.1-2ubuntu2 is to be installed
libfreetype6:i386 : Breaks: libfreetype6 (!= 2.8.1-2ubuntu2) but 2.8-0.2 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


And when I run sudo apt --fix-broken install :



nima@cesar:~$ 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:
libfreetype6
The following packages will be upgraded:
libfreetype6
1 upgraded, 0 newly installed, 0 to remove and 55 not upgraded.
2 not fully installed or removed.
Need to get 0 B/335 kB of archives.
After this operation, 6,144 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 246228 files and directories currently installed.)
Preparing to unpack .../libfreetype6_2.8.1-2ubuntu2_amd64.deb ...
Unpacking libfreetype6:amd64 (2.8.1-2ubuntu2) over (2.8-0.2) ...
dpkg: error processing archive /var/cache/apt/archives/libfreetype6_2.8.1-2ubuntu2_amd64.deb (--unpack):
trying to overwrite shared '/usr/share/doc/libfreetype6/changelog.Debian.gz', which is different from other instances of package libfreetype6:amd64
Errors were encountered while processing:
/var/cache/apt/archives/libfreetype6_2.8.1-2ubuntu2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


And I don't know what is the problem and how I can fix it!







share|improve this question






















  • Please add the error in the description than posting the image link
    – kvmahesh
    May 26 at 15:44










  • @kvmahesh Done!
    – Nima Ra
    May 26 at 15:47






  • 1




    Try the following: sudo dpkg -r libfreetype6 && sudo apt clean && sudo apt update && sudo apt install libfreetype6 After this is done try to install your wanted targets (i.e. phpmyadmin etc.)
    – Videonauth
    May 26 at 15:53










  • @Videonauth I got an error: dpkg: error processing package libfreetype6:amd64 (--remove): dependency problems - not removing Errors were encountered while processing: libfreetype6:amd64
    – Nima Ra
    May 26 at 15:55







  • 2




    Then try: sudo apt-get -o Dpkg::Options::="--force-overwrite" install libfreetype6
    – Videonauth
    May 26 at 15:57












up vote
0
down vote

favorite









up vote
0
down vote

favorite











when I run any type of apt-related command there is no way which I don't see an error related to libfreetype6, like this:



nima@cesar:~$ sudo apt-get install phpmyadmin php-mbstring php-gettext
Reading package lists... Done
Building dependency tree
Reading state information... Done
php-gettext is already the newest version (1.0.12-0.1).
php-mbstring is already the newest version (1:7.2+60ubuntu1).
phpmyadmin is already the newest version (4:4.6.6-5).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libfreetype6 : Breaks: libfreetype6:i386 (!= 2.8-0.2) but 2.8.1-2ubuntu2 is to be installed
libfreetype6:i386 : Breaks: libfreetype6 (!= 2.8.1-2ubuntu2) but 2.8-0.2 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


And when I run sudo apt --fix-broken install :



nima@cesar:~$ 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:
libfreetype6
The following packages will be upgraded:
libfreetype6
1 upgraded, 0 newly installed, 0 to remove and 55 not upgraded.
2 not fully installed or removed.
Need to get 0 B/335 kB of archives.
After this operation, 6,144 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 246228 files and directories currently installed.)
Preparing to unpack .../libfreetype6_2.8.1-2ubuntu2_amd64.deb ...
Unpacking libfreetype6:amd64 (2.8.1-2ubuntu2) over (2.8-0.2) ...
dpkg: error processing archive /var/cache/apt/archives/libfreetype6_2.8.1-2ubuntu2_amd64.deb (--unpack):
trying to overwrite shared '/usr/share/doc/libfreetype6/changelog.Debian.gz', which is different from other instances of package libfreetype6:amd64
Errors were encountered while processing:
/var/cache/apt/archives/libfreetype6_2.8.1-2ubuntu2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


And I don't know what is the problem and how I can fix it!







share|improve this question














when I run any type of apt-related command there is no way which I don't see an error related to libfreetype6, like this:



nima@cesar:~$ sudo apt-get install phpmyadmin php-mbstring php-gettext
Reading package lists... Done
Building dependency tree
Reading state information... Done
php-gettext is already the newest version (1.0.12-0.1).
php-mbstring is already the newest version (1:7.2+60ubuntu1).
phpmyadmin is already the newest version (4:4.6.6-5).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libfreetype6 : Breaks: libfreetype6:i386 (!= 2.8-0.2) but 2.8.1-2ubuntu2 is to be installed
libfreetype6:i386 : Breaks: libfreetype6 (!= 2.8.1-2ubuntu2) but 2.8-0.2 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


And when I run sudo apt --fix-broken install :



nima@cesar:~$ 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:
libfreetype6
The following packages will be upgraded:
libfreetype6
1 upgraded, 0 newly installed, 0 to remove and 55 not upgraded.
2 not fully installed or removed.
Need to get 0 B/335 kB of archives.
After this operation, 6,144 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 246228 files and directories currently installed.)
Preparing to unpack .../libfreetype6_2.8.1-2ubuntu2_amd64.deb ...
Unpacking libfreetype6:amd64 (2.8.1-2ubuntu2) over (2.8-0.2) ...
dpkg: error processing archive /var/cache/apt/archives/libfreetype6_2.8.1-2ubuntu2_amd64.deb (--unpack):
trying to overwrite shared '/usr/share/doc/libfreetype6/changelog.Debian.gz', which is different from other instances of package libfreetype6:amd64
Errors were encountered while processing:
/var/cache/apt/archives/libfreetype6_2.8.1-2ubuntu2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


And I don't know what is the problem and how I can fix it!









share|improve this question













share|improve this question




share|improve this question








edited May 26 at 15:47

























asked May 26 at 15:43









Nima Ra

12




12











  • Please add the error in the description than posting the image link
    – kvmahesh
    May 26 at 15:44










  • @kvmahesh Done!
    – Nima Ra
    May 26 at 15:47






  • 1




    Try the following: sudo dpkg -r libfreetype6 && sudo apt clean && sudo apt update && sudo apt install libfreetype6 After this is done try to install your wanted targets (i.e. phpmyadmin etc.)
    – Videonauth
    May 26 at 15:53










  • @Videonauth I got an error: dpkg: error processing package libfreetype6:amd64 (--remove): dependency problems - not removing Errors were encountered while processing: libfreetype6:amd64
    – Nima Ra
    May 26 at 15:55







  • 2




    Then try: sudo apt-get -o Dpkg::Options::="--force-overwrite" install libfreetype6
    – Videonauth
    May 26 at 15:57
















  • Please add the error in the description than posting the image link
    – kvmahesh
    May 26 at 15:44










  • @kvmahesh Done!
    – Nima Ra
    May 26 at 15:47






  • 1




    Try the following: sudo dpkg -r libfreetype6 && sudo apt clean && sudo apt update && sudo apt install libfreetype6 After this is done try to install your wanted targets (i.e. phpmyadmin etc.)
    – Videonauth
    May 26 at 15:53










  • @Videonauth I got an error: dpkg: error processing package libfreetype6:amd64 (--remove): dependency problems - not removing Errors were encountered while processing: libfreetype6:amd64
    – Nima Ra
    May 26 at 15:55







  • 2




    Then try: sudo apt-get -o Dpkg::Options::="--force-overwrite" install libfreetype6
    – Videonauth
    May 26 at 15:57















Please add the error in the description than posting the image link
– kvmahesh
May 26 at 15:44




Please add the error in the description than posting the image link
– kvmahesh
May 26 at 15:44












@kvmahesh Done!
– Nima Ra
May 26 at 15:47




@kvmahesh Done!
– Nima Ra
May 26 at 15:47




1




1




Try the following: sudo dpkg -r libfreetype6 && sudo apt clean && sudo apt update && sudo apt install libfreetype6 After this is done try to install your wanted targets (i.e. phpmyadmin etc.)
– Videonauth
May 26 at 15:53




Try the following: sudo dpkg -r libfreetype6 && sudo apt clean && sudo apt update && sudo apt install libfreetype6 After this is done try to install your wanted targets (i.e. phpmyadmin etc.)
– Videonauth
May 26 at 15:53












@Videonauth I got an error: dpkg: error processing package libfreetype6:amd64 (--remove): dependency problems - not removing Errors were encountered while processing: libfreetype6:amd64
– Nima Ra
May 26 at 15:55





@Videonauth I got an error: dpkg: error processing package libfreetype6:amd64 (--remove): dependency problems - not removing Errors were encountered while processing: libfreetype6:amd64
– Nima Ra
May 26 at 15:55





2




2




Then try: sudo apt-get -o Dpkg::Options::="--force-overwrite" install libfreetype6
– Videonauth
May 26 at 15:57




Then try: sudo apt-get -o Dpkg::Options::="--force-overwrite" install libfreetype6
– Videonauth
May 26 at 15:57















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1040631%2flibfreetype6-errors-are-every-where%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1040631%2flibfreetype6-errors-are-every-where%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Which professions warranted travel in Medieval times?

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error