libfreetype6 errors are every where!
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
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!
apt libraries
add a comment |Â
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!
apt libraries
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
add a comment |Â
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!
apt libraries
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!
apt libraries
edited May 26 at 15:47
asked May 26 at 15:43
![](https://lh5.googleusercontent.com/-bsrV7Jblnko/AAAAAAAAAAI/AAAAAAAAD0I/e1fPPlRegW8/photo.jpg?sz=32)
![](https://lh5.googleusercontent.com/-bsrV7Jblnko/AAAAAAAAAAI/AAAAAAAAD0I/e1fPPlRegW8/photo.jpg?sz=32)
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
add a comment |Â
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
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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