Problem with installing texlive 2017 on Ubuntu 16.04 LTS


up vote
2
down vote
favorite
I tried to update from texlive 2015 to 2017.
I ran the following commands:
sudo add-apt-repository ppa:jonathonf/texlive-2017
sudo apt-get update
sudo apt-get install texlive-full
After running the last line, I get a lot of package names with unmet dependencies and the following error:
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
But running sudo apt-get -f install
results in another error
Preconfiguring packages ...
(Reading database ... 880678 files and directories currently installed.)
Preparing to unpack .../texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb ...
Unpacking texlive-fonts-extra-doc (2017.20170619-1~16.04.york0) over (2015.20160320-1) ...
dpkg: error processing archive /var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb (--unpack):
trying to overwrite '/usr/share/doc/texlive-doc/latex/mweights/README', which is also in package texlive-latex-extra-doc 2015.20160320-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
It looks like I am stuck with a circular problem.
I tried the solution listed in Install texlive 2017 on Ubuntu 16.04 LTS but was not successful.
Can someone help me out please?
apt package-management dpkg latex texlive
add a comment |Â
up vote
2
down vote
favorite
I tried to update from texlive 2015 to 2017.
I ran the following commands:
sudo add-apt-repository ppa:jonathonf/texlive-2017
sudo apt-get update
sudo apt-get install texlive-full
After running the last line, I get a lot of package names with unmet dependencies and the following error:
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
But running sudo apt-get -f install
results in another error
Preconfiguring packages ...
(Reading database ... 880678 files and directories currently installed.)
Preparing to unpack .../texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb ...
Unpacking texlive-fonts-extra-doc (2017.20170619-1~16.04.york0) over (2015.20160320-1) ...
dpkg: error processing archive /var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb (--unpack):
trying to overwrite '/usr/share/doc/texlive-doc/latex/mweights/README', which is also in package texlive-latex-extra-doc 2015.20160320-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
It looks like I am stuck with a circular problem.
I tried the solution listed in Install texlive 2017 on Ubuntu 16.04 LTS but was not successful.
Can someone help me out please?
apt package-management dpkg latex texlive
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I tried to update from texlive 2015 to 2017.
I ran the following commands:
sudo add-apt-repository ppa:jonathonf/texlive-2017
sudo apt-get update
sudo apt-get install texlive-full
After running the last line, I get a lot of package names with unmet dependencies and the following error:
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
But running sudo apt-get -f install
results in another error
Preconfiguring packages ...
(Reading database ... 880678 files and directories currently installed.)
Preparing to unpack .../texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb ...
Unpacking texlive-fonts-extra-doc (2017.20170619-1~16.04.york0) over (2015.20160320-1) ...
dpkg: error processing archive /var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb (--unpack):
trying to overwrite '/usr/share/doc/texlive-doc/latex/mweights/README', which is also in package texlive-latex-extra-doc 2015.20160320-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
It looks like I am stuck with a circular problem.
I tried the solution listed in Install texlive 2017 on Ubuntu 16.04 LTS but was not successful.
Can someone help me out please?
apt package-management dpkg latex texlive
I tried to update from texlive 2015 to 2017.
I ran the following commands:
sudo add-apt-repository ppa:jonathonf/texlive-2017
sudo apt-get update
sudo apt-get install texlive-full
After running the last line, I get a lot of package names with unmet dependencies and the following error:
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
But running sudo apt-get -f install
results in another error
Preconfiguring packages ...
(Reading database ... 880678 files and directories currently installed.)
Preparing to unpack .../texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb ...
Unpacking texlive-fonts-extra-doc (2017.20170619-1~16.04.york0) over (2015.20160320-1) ...
dpkg: error processing archive /var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb (--unpack):
trying to overwrite '/usr/share/doc/texlive-doc/latex/mweights/README', which is also in package texlive-latex-extra-doc 2015.20160320-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
It looks like I am stuck with a circular problem.
I tried the solution listed in Install texlive 2017 on Ubuntu 16.04 LTS but was not successful.
Can someone help me out please?
apt package-management dpkg latex texlive
apt package-management dpkg latex texlive
edited Mar 28 at 19:09


Fabby
24.3k1352153
24.3k1352153
asked Mar 28 at 17:49
shaunaksinha
132
132
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
Usually it is not recommeded, but you can force file overwrite with
sudo dpkg -i --force-all /var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb
and then
sudo apt-get install -f
sudo dpkg --configure -a
sudo apt-get dist-upgrade
1
Thank you very much @N0rbert! I had to use thesudo dpkg -i ...
command andsudu apt-get install -f
iteratively until all the packages were unpacked and installed. Finally I ransudo dpkg --configure -a
andsudo apt-get dist-upgrade
. Now I have texlive 2017 running on Ubuntu 16.04 without a problem.
â shaunaksinha
Mar 29 at 1:08
Great! So you can accept my answer :)
â N0rbert
Mar 29 at 8:37
1
Sorry. I'm a newbie to this forum. Looks like I accepted it now.
â shaunaksinha
Mar 29 at 12:46
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
Usually it is not recommeded, but you can force file overwrite with
sudo dpkg -i --force-all /var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb
and then
sudo apt-get install -f
sudo dpkg --configure -a
sudo apt-get dist-upgrade
1
Thank you very much @N0rbert! I had to use thesudo dpkg -i ...
command andsudu apt-get install -f
iteratively until all the packages were unpacked and installed. Finally I ransudo dpkg --configure -a
andsudo apt-get dist-upgrade
. Now I have texlive 2017 running on Ubuntu 16.04 without a problem.
â shaunaksinha
Mar 29 at 1:08
Great! So you can accept my answer :)
â N0rbert
Mar 29 at 8:37
1
Sorry. I'm a newbie to this forum. Looks like I accepted it now.
â shaunaksinha
Mar 29 at 12:46
add a comment |Â
up vote
2
down vote
accepted
Usually it is not recommeded, but you can force file overwrite with
sudo dpkg -i --force-all /var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb
and then
sudo apt-get install -f
sudo dpkg --configure -a
sudo apt-get dist-upgrade
1
Thank you very much @N0rbert! I had to use thesudo dpkg -i ...
command andsudu apt-get install -f
iteratively until all the packages were unpacked and installed. Finally I ransudo dpkg --configure -a
andsudo apt-get dist-upgrade
. Now I have texlive 2017 running on Ubuntu 16.04 without a problem.
â shaunaksinha
Mar 29 at 1:08
Great! So you can accept my answer :)
â N0rbert
Mar 29 at 8:37
1
Sorry. I'm a newbie to this forum. Looks like I accepted it now.
â shaunaksinha
Mar 29 at 12:46
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
Usually it is not recommeded, but you can force file overwrite with
sudo dpkg -i --force-all /var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb
and then
sudo apt-get install -f
sudo dpkg --configure -a
sudo apt-get dist-upgrade
Usually it is not recommeded, but you can force file overwrite with
sudo dpkg -i --force-all /var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb
and then
sudo apt-get install -f
sudo dpkg --configure -a
sudo apt-get dist-upgrade
answered Mar 28 at 18:08
N0rbert
15.9k33274
15.9k33274
1
Thank you very much @N0rbert! I had to use thesudo dpkg -i ...
command andsudu apt-get install -f
iteratively until all the packages were unpacked and installed. Finally I ransudo dpkg --configure -a
andsudo apt-get dist-upgrade
. Now I have texlive 2017 running on Ubuntu 16.04 without a problem.
â shaunaksinha
Mar 29 at 1:08
Great! So you can accept my answer :)
â N0rbert
Mar 29 at 8:37
1
Sorry. I'm a newbie to this forum. Looks like I accepted it now.
â shaunaksinha
Mar 29 at 12:46
add a comment |Â
1
Thank you very much @N0rbert! I had to use thesudo dpkg -i ...
command andsudu apt-get install -f
iteratively until all the packages were unpacked and installed. Finally I ransudo dpkg --configure -a
andsudo apt-get dist-upgrade
. Now I have texlive 2017 running on Ubuntu 16.04 without a problem.
â shaunaksinha
Mar 29 at 1:08
Great! So you can accept my answer :)
â N0rbert
Mar 29 at 8:37
1
Sorry. I'm a newbie to this forum. Looks like I accepted it now.
â shaunaksinha
Mar 29 at 12:46
1
1
Thank you very much @N0rbert! I had to use the
sudo dpkg -i ...
command and sudu apt-get install -f
iteratively until all the packages were unpacked and installed. Finally I ran sudo dpkg --configure -a
and sudo apt-get dist-upgrade
. Now I have texlive 2017 running on Ubuntu 16.04 without a problem.â shaunaksinha
Mar 29 at 1:08
Thank you very much @N0rbert! I had to use the
sudo dpkg -i ...
command and sudu apt-get install -f
iteratively until all the packages were unpacked and installed. Finally I ran sudo dpkg --configure -a
and sudo apt-get dist-upgrade
. Now I have texlive 2017 running on Ubuntu 16.04 without a problem.â shaunaksinha
Mar 29 at 1:08
Great! So you can accept my answer :)
â N0rbert
Mar 29 at 8:37
Great! So you can accept my answer :)
â N0rbert
Mar 29 at 8:37
1
1
Sorry. I'm a newbie to this forum. Looks like I accepted it now.
â shaunaksinha
Mar 29 at 12:46
Sorry. I'm a newbie to this forum. Looks like I accepted it now.
â shaunaksinha
Mar 29 at 12:46
add a comment |Â
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%2f1020044%2fproblem-with-installing-texlive-2017-on-ubuntu-16-04-lts%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