#928 Install trouble for TXS 2.7.0 on Ubuntu 12.04 (i586)


I gave a course to colleagues of mine yesterday and one of them had trouble when she try to install TXS 2.7.0 on Ubuntu 12.04 (i586). Here is what she tried:

iratxe@hp2510p:~$ wget
Résolution de download.opensuse.org (download.opensuse.org)..., 2001:67c:2178:8::13
Connexion vers download.opensuse.org
(download.opensuse.org)||:80... connecté.
requête HTTP transmise, en attente de la réponse... 302 Found
--2014-03-19 10:04:44--
Résolution de downloadcontent.opensuse.org
(downloadcontent.opensuse.org)..., 2001:67c:2178:8::27
Connexion vers downloadcontent.opensuse.org
(downloadcontent.opensuse.org)||:80... connecté.
requête HTTP transmise, en attente de la réponse... 200 OK
Longueur: 18932078 (18M) [application/x-debian-package]
Sauvegarde en : «texstudio_2.7.0_i386.deb»

18 932 078  1,55M/s   ds  11s

2014-03-19 10:04:56 (1,69 MB/s) - «texstudio_2.7.0_i386.deb»  sauvegardé

iratxe@hp2510p:~$ sudo apt-get install texstudio_2.7.0_i386.deb
[sudo] password for iratxe:
Reading Package Lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList
E: The package lists or status file could not be parsed or opened.


  • Sven Köhler

    Sven Köhler - 2014-03-19

    That's not how you install a deb file. You first do
    sudo dpkg -i texstudio_2.7.0_i386.deb
    That might result in an error about missing dependencies and whatnot. Then do
    sudo apt-get install -f
    and everything should be fine.

  • Benito van der Zander

    • status: open --> works-for-me
    • Group: -->
  • Denis Bitouzé

    Denis Bitouzé - 2014-03-20

    I had a new course this afternoon with this colleague and could investigate a bit more what was going on, thanks to Sven's advice. It turns out that the problem came from a corrupted package repository.

    After a clean up, everything went well, except that:

    sudo dpkg -i texstudio_2.7.0_i386.deb

    didn't succeed because of a missing libpoppler-qt4-3. But the installation of this package needed to uninstall TXS. But TXS was not properly installed (running it from the CLI gave nothing).

    Hence I had to first uninstall TXS:

    sudo dpkg -r texstudio

    install libpoppler-qt4-3 and then reinstall TXS:

    sudo dpkg -i texstudio_2.7.0_i386.deb
  • Sven Köhler

    Sven Köhler - 2014-03-20

    Yes, but that "dpkg -i texstudio_2.7.0_i386.deb" fails is not bad. In fact, you later fix the problem by running "apt-get install -f". And the broken texstudio package (which is already half installed) which then be fully installed after apt-get has installed the dependencies.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks