0

I want to use \usepackage{framed, color} and \usepackage{wrapfig}. I am trying to install the packages using sudo apt-get install texlive-latex-extra but after a lot of downloading, it results in this error:

>> sudo apt-get install texlive-latex-extra
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following packages were automatically installed and are no longer required:
  account-plugin-windows-live libupstart1 linux-headers-3.16.0-30
  linux-headers-3.16.0-30-generic linux-image-3.16.0-30-generic
  linux-image-extra-3.16.0-30-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  preview-latex-style texlive-latex-extra-doc texlive-pictures
  texlive-pictures-doc
Suggested packages:
  libfile-which-perl python-pygments dot2tex libtcltk-ruby
The following NEW packages will be installed:
  preview-latex-style texlive-latex-extra texlive-latex-extra-doc
  texlive-pictures texlive-pictures-doc
0 upgraded, 5 newly installed, 0 to remove and 11 not upgraded.
Need to get 385 MB of archives.
After this operation, 558 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
WARNING: The following packages cannot be authenticated!
  preview-latex-style texlive-pictures texlive-latex-extra
  texlive-latex-extra-doc texlive-pictures-doc
Install these packages without verification? [y/N] y
Get:1 http://in.archive.ubuntu.com/ubuntu/ trusty/main preview-latex-style all 11.87-1ubuntu2 [187 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu/ trusty/main texlive-pictures all 2013.20140215-1 [2,414 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu/ trusty/main texlive-latex-extra all 2013.20140215-2 [7,286 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu/ trusty/main texlive-latex-extra-doc all 2013.20140215-2 [317 MB]
Err http://in.archive.ubuntu.com/ubuntu/ trusty/main texlive-latex-extra-doc all 2013.20140215-2
  Cannot initiate the connection to in.archive.ubuntu.com:80 (2001:67c:1360:8c01::19). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8c01::19 80]
Err http://in.archive.ubuntu.com/ubuntu/ trusty/main texlive-pictures-doc all 2013.20140215-1
  Cannot initiate the connection to in.archive.ubuntu.com:80 (2001:67c:1360:8c01::19). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8c01::19 80]
Fetched 9,887 kB in 5min 47s (28.4 kB/s)                                      
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/t/texlive-extra/texlive-latex-extra-doc_2013.20140215-2_all.deb  Cannot initiate the connection to in.archive.ubuntu.com:80 (2001:67c:1360:8c01::19). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8c01::19 80]

E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/t/texlive-base/texlive-pictures-doc_2013.20140215-1_all.deb  Cannot initiate the connection to in.archive.ubuntu.com:80 (2001:67c:1360:8c01::19). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8c01::19 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

How can I install these packages?

  • 1
    Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. Please add the error to your post. We do not like to open external links. Thank you! – LaRiFaRi Jun 8 '15 at 10:28
  • It seems to be that ubuntu cannot connect to its own servers. Not really a thing we could help with here. Hvae you tried the suggested fix? – Johannes_B Jun 8 '15 at 10:30
  • 1
    After doing apt-get update and apt-get update --fix-missing you could also try to use tlmgr and do tlmgr install framed wrapfig graphics (off-topic: maybe you use the more advanced packages xcolor and mdframed...) – LaRiFaRi Jun 8 '15 at 10:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.