Find the answer to your Linux question:
Results 1 to 8 of 8
After an upgrade, acroread (Adobe's pdf reader, it's in debian-multimedia) will not run any more: Code: $ acroread ERROR: Cannot find installation directory. There's a problem with an unavailable package, ...
  1. #1
    Linux User Daan's Avatar
    Join Date
    Aug 2005
    Location
    The Netherlands
    Posts
    320

    Question [SOLVED] Lenny (stable) acroread "ERROR: Cannot find installation directory." after u

    After an upgrade, acroread (Adobe's pdf reader, it's in debian-multimedia) will not run any more:

    Code:
    $ acroread
    ERROR: Cannot find installation directory.
    There's a problem with an unavailable package, which prevents an upgrade of acroread 8 to 9, but acroread-debian-files has been upgraded. I've tried uninstalling and then reinstalling, but I get the an error about broken dependencies.

    Code:
    # apt-get install acroread
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    The following packages have unmet dependencies:
      acroread: Depends: libgtk2.0-0 (>= 2.14.0) but 2.12.12-1~lenny1 is to be installed
    E: Broken packages
    What can I do to get acroread running?
    OS's I use: Debian testing, Debian stable, Ubuntu, Windows XP, Windows Vista

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    You'll probably have to install libgtk2 from the testing repository.

  3. #3
    Linux User Daan's Avatar
    Join Date
    Aug 2005
    Location
    The Netherlands
    Posts
    320
    That is abut strange. I have Lenny for both the official and the multimedia repositories. I would say it then works. Is it a bug?
    OS's I use: Debian testing, Debian stable, Ubuntu, Windows XP, Windows Vista

  4. #4
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Are you sure you have the stable repo for Debian Multimedia? Looking at the Debian Multimedia Lenny package info for acroread, it lists libgtk2.0-0 (>= 2.12.0) as the dependency.

  5. #5
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Geez, acroread is 62 MB installed? Does it have some crazy extra functionality to justify that size? Epdfview is a svelt 0.40 MB installed, and even evince is only 7.09 MB.

  6. #6
    Linux User Daan's Avatar
    Join Date
    Aug 2005
    Location
    The Netherlands
    Posts
    320
    I don't know why it is so big, but it is very fast in rendering pdf documents. Acrobat Reader is the most commonly used pdf reader, that is why I really like to have it, so that when I make an pdf myself I can check it looks right for most people.

    Code:
    # apt-cache show acroread
    Package: acroread
    Priority: optional
    Section: text
    Installed-Size: 85796
    Maintainer: Christian Marillat <marillat@debian.org>
    Architecture: i386
    Version: 9.1.0-0.4
    Replaces: acroread-debian-files (<= 0.0.8), acroread-plugins (<= 7.0-0sarge0.3), mozilla-acroread (<= 8.1.1-0.2)
    Provides: pdf-viewer, postscript-preview
    Depends: libatk1.0-0 (>= 1.22.0), libc6 (>= 2.3.6-6~), libfontconfig1 (>= 2.4.0), libfreetype6 (>= 2.2.1), libgcc1 (>= 1:4.1.1), libgl1-mesa-glx | libgl1, libglib2.0-0 (>= 2.16.6), libglu1-mesa | libglu1, libgtk2.0-0 (>= 2.14.0), libidn11 (>= 0.5.18), libpango1.0-0 (>= 1.20.5), libstdc++6 (>= 4.1.1), libx11-6, libxext6, libxml2 (>= 2.6.27), libxt6, xlibmesa-gl | libgl1, zlib1g (>= 1:1.2.3.3), libldap2 | libldap-2.4-2, libcups2, acroread-l10n | acroread-l10n-en, acroread-debian-files (>= 0.0.33), acroread-data (>= 9.1.0-0.4)
    Recommends: gconf2
    Suggests: acroread-plugins, mozilla-acroread, acroread-l10n
    Conflicts: acroread-debian-files (<= 0.0.8), acroread-plugins (<= 7.0-0sarge0.3)
    Filename: pool/main/a/acroread/acroread_9.1.0-0.4_i386.deb
    Size: 37197402
    MD5sum: f3614ca48565f066f9c1caace4b0746a
    SHA1: a7823fec0db4d1ac3a7cb0d075280a4090329083
    SHA256: 3297294247573ec41208ad112edcd5d6eb079da2f7410f429806666a30044a07
    Description: Adobe Acrobat Reader: Portable Document Format file viewer
     Adobe Acrobat Reader for viewing and printing Adobe Portable Document
     Format (PDF) files.
    Bugs: mailto:marillat@debian.org
    Homepage: http://www.adobe.com/products/acrobat/readermain.html
    
    Package: acroread
    Priority: optional
    Section: text
    Installed-Size: 63516
    Maintainer: Christian Marillat <marillat@debian.org>
    Architecture: i386
    Version: 8.1.4-0.0
    Replaces: acroread-debian-files (<= 0.0.8), acroread-plugins (<= 7.0-0sarge0.3), mozilla-acroread (<= 8.1.1-0.2)
    Provides: pdf-viewer, postscript-preview
    Depends: libatk1.0-0 (>= 1.20.0), libc6 (>= 2.7-1), libgl1-mesa-glx | libgl1, libglib2.0-0 (>= 2.12.0), libglu1-mesa | libglu1, libgtk2.0-0 (>= 2.12.0), libpango1.0-0 (>= 1.20.3), libx11-6, zlib1g (>= 1:1.2.1), libldap2 | libldap-2.4-2, libcupsys2, acroread-debian-files (>= 0.0.26), acroread-data (>= 8.1.4-0.0), libxul0d
    Recommends: gconf2
    Suggests: acroread-plugins, mozilla-acroread, acroread-l10n
    Conflicts: acroread-debian-files (<= 0.0.8), acroread-plugins (<= 7.0-0sarge0.3)
    Filename: pool/main/a/acroread/acroread_8.1.4-0.0_i386.deb
    Size: 26070764
    MD5sum: 3854ab8e74f0a8b4566bdb13d3b00bcf
    SHA1: 682b04605e80240f70360a4648dbafb1f07d16e5
    SHA256: 9f70f3009a203853d99b1b83ac50aed3f5e449fe24ac4e1431ac058f2d4eb63f
    Description: Adobe Acrobat Reader: Portable Document Format file viewer
     Adobe Acrobat Reader for viewing and printing Adobe Portable Document
     Format (PDF) files.
    Bugs: mailto:marillat@debian.org
    Homepage: http://www.adobe.com/products/acrobat/readermain.html
    
    # aptitude install acroread
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Reading extended state information      
    Initializing package states... Done
    Reading task descriptions... Done  
    The following packages are BROKEN:
      acroread 
    The following NEW packages will be installed:
      acroread-data{a} acroread-debian-files{a} acroread-dictionary-de{a} acroread-l10n-de{a} 
    0 packages upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
    Need to get 37.2MB/49.2MB of archives. After unpacking 113MB will be used.
    The following packages have unmet dependencies:
      acroread: Depends: libgtk2.0-0 (>= 2.14.0) but 2.12.12-1~lenny1 is installed.
    The following actions will resolve these dependencies:
    
    Install the following packages:
    acroread [8.1.4-0.0 (stable)]
    
    Score is -9920
    
    Accept this solution? [Y/n/q/?] q
    Abandoning all efforts to resolve these dependencies.
    Abort.
    So I get acreoread 9.1.0-0.4, which depends on libgtk2.0-0 (>= 2.14.0). On the debian-mulitmedia website you refer to it says acroread 8.1.4-0.0. for Lenny (stable) which depends on libgtk2.0-0 (>= 2.12.0).

    Here's my sources.list:

    Code:
    # cat /etc/apt/sources.list
    # 
    # deb cdrom:[Debian GNU/Linux LennyBeta2 _Lenny_ - Official Beta i386 NETINST Binary-1 20080608-11:24]/ lenny main
    
    # deb cdrom:[Debian GNU/Linux LennyBeta2 _Lenny_ - Official Beta i386 NETINST Binary-1 20080608-11:24]/ lenny main
    
    deb http://ftp.nl.debian.org/debian/ lenny main contrib non-free
    deb-src http://ftp.nl.debian.org/debian/ lenny main contrib non-free
    
    deb http://security.debian.org/ lenny/updates main contrib non-free
    deb-src http://security.debian.org/ lenny/updates main contrib non-free
    
    deb http://www.debian-multimedia.org/ lenny main
    deb http://mirror.hro.nl/debian-multimedia/ lenny main
    deb-src http://mirror.hro.nl/debian-multimedia/ lenny main
    
    # deb http://switch.dl.sourceforge.net/sourceforge/bibus-biblio/ ./
    # deb-src http://switch.dl.sourceforge.net/sourceforge/bibus-biblio/ ./
    
    deb http://rlehy.free.fr/packages/ekee ./
    So that's Lenny (stable), right? I don't think I have ever had testing in my sources.list.
    OS's I use: Debian testing, Debian stable, Ubuntu, Windows XP, Windows Vista

  7. #7
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Yup that's Lenny/stable. Not sure what's going on there, but apt-cache listed both 8.1.4-0.0 and 9.1.0-0.4. Try
    Code:
    su -
    apt-get install acroread=8.1.4-0.0
    or
    Code:
    apt-get -t stable install acroread

  8. #8
    Linux User Daan's Avatar
    Join Date
    Aug 2005
    Location
    The Netherlands
    Posts
    320
    I noticed apt-get was complaining when updating the package database. Something about expecting lenny but getting squeeze from the debian-multimedia mirror.

    Now I have removed the following three lines from my sources.list

    Code:
    deb http://www.debian-multimedia.org/ lenny main
    deb http://mirror.hro.nl/debian-multimedia/ lenny main
    deb-src http://mirror.hro.nl/debian-multimedia/ lenny main
    and added

    Code:
    deb http://www.debian-multimedia.org lenny main
    deb-src http://www.debian-multimedia.org lenny main
    After an update and upgrade, I removed acroread and reinstalled it and now it works.
    OS's I use: Debian testing, Debian stable, Ubuntu, Windows XP, Windows Vista

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •