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

None
works-for-me
nobody
None
1
2014-08-18
2014-03-19
Denis Bitouzé
No

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
http://download.opensuse.org/repositories/home:/jsundermeyer/xUbuntu_12.04/i386/texstudio_2.7.0_i386.deb--2014-03-19
10:04:44--
http://download.opensuse.org/repositories/home:/jsundermeyer/xUbuntu_12.04/i386/texstudio_2.7.0_i386.deb
Résolution de download.opensuse.org (download.opensuse.org)...
195.135.221.134, 2001:67c:2178:8::13
Connexion vers download.opensuse.org
(download.opensuse.org)|195.135.221.134|:80... connecté.
requête HTTP transmise, en attente de la réponse... 302 Found
Emplacement:
http://downloadcontent.opensuse.org/repositories/home:/jsundermeyer/xUbuntu_12.04/i386/texstudio_2.7.0_i386.deb
[suivant]
--2014-03-19 10:04:44--
http://downloadcontent.opensuse.org/repositories/home:/jsundermeyer/xUbuntu_12.04/i386/texstudio_2.7.0_i386.deb
Résolution de downloadcontent.opensuse.org
(downloadcontent.opensuse.org)... 195.135.221.157, 2001:67c:2178:8::27
Connexion vers downloadcontent.opensuse.org
(downloadcontent.opensuse.org)|195.135.221.157|: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»

100%[=========================================================================================>]
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é
[18932078/18932078]

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
/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.

Discussion

  • 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.

     
    • 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.