Find the answer to your Linux question:
Results 1 to 10 of 10
This is starting to get annoying. I'm trying to reconfigure my wireless card after having to completely reinstalling my system the other day and now the package gettext won't configure ...
  1. #1
    Just Joined!
    Join Date
    Sep 2007
    Location
    Tampa, FL
    Posts
    19

    Package Will Not Configure

    This is starting to get annoying. I'm trying to reconfigure my wireless card after having to completely reinstalling my system the other day and now the package gettext won't configure so I can't continue with what I need because ndiswrapper depends on gettext.

    Here's what I get when trying to configure or reinstall:

    Code:
    Setting up gettext (0.16.1-2) ...
    install-info(/usr/share/info/gettext.info): 
    dpkg: error processing gettext (--configure):
     subprocess post-installation script returned error exit status 20
    Errors were encountered while processing:
     gettext
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    A package failed to install.  Trying to recover:
    And here's the removal message:

    Code:
    Removing gettext ...
    install-info(/usr/share/info/gettext.info): no file /usr/share/info/dir, retrieving backup file /var/backups/infodir.bak.
    cp: accessing `/usr/share/info/dir': Not a directory
    install-info(/usr/share/info/gettext.info): copying /var/backups/infodir.bak to /usr/share/info/dir failed, giving up: Not a directory
    dpkg: error processing gettext (--remove):
     subprocess pre-removal script returned error exit status 1
    install-info(/usr/share/info/gettext.info): 
    dpkg: error while cleaning up:
     subprocess post-installation script returned error exit status 20
    Errors were encountered while processing:
     gettext
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    A package failed to install.  Trying to recover:
    What do I need to do to either configure gettext or remove it?

  2. #2
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,408
    What happens when you run
    Code:
    apt-get -f install
    Brilliant Mediocrity - Making Failure Look Good

  3. #3
    Just Joined!
    Join Date
    Sep 2007
    Location
    Tampa, FL
    Posts
    19
    Check the first code output.

  4. #4
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,408
    How about
    Code:
    dpkg --configure -a
    Brilliant Mediocrity - Making Failure Look Good

  5. #5
    Just Joined!
    Join Date
    Sep 2007
    Location
    Tampa, FL
    Posts
    19
    No output.

  6. #6
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,408
    Try
    Code:
    dpkg -r --force-remove-reinstreq gettext
    Brilliant Mediocrity - Making Failure Look Good

  7. #7
    Just Joined!
    Join Date
    Sep 2007
    Location
    Tampa, FL
    Posts
    19
    Code:
    avalith@avcomp:~$ sudo dpkg -r --force-remove-reinstreq gettext
    Password:
    (Reading database ... 96157 files and directories currently installed.)
    Removing gettext ...
    install-info(/usr/share/info/gettext.info): no file /usr/share/info/dir, retrieving backup file /var/backups/infodir.bak.
    cp: accessing `/usr/share/info/dir': Not a directory
    install-info(/usr/share/info/gettext.info): copying /var/backups/infodir.bak to /usr/share/info/dir failed, giving up: Not a directory
    dpkg: error processing gettext (--remove):
     subprocess pre-removal script returned error exit status 1
    install-info(/usr/share/info/gettext.info): 
    dpkg: error while cleaning up:
     subprocess post-installation script returned error exit status 20
    Errors were encountered while processing:
     gettext
    That doesn't seem to work either.

  8. #8
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,408
    I still don't understand why it is failing. Try making the directory
    Code:
    mkdir /usr/share/info/dir
    The try to remove it again.
    Brilliant Mediocrity - Making Failure Look Good

  9. #9
    Just Joined!
    Join Date
    Sep 2007
    Location
    Tampa, FL
    Posts
    19
    Code:
    avalith@avcomp:~$ sudo mkdir /usr/share/info
    Password:
    mkdir: cannot create directory `/usr/share/info': File exists
    avalith@avcomp:~$ sudo mkdir /usr/share/info/dir
    mkdir: cannot create directory `/usr/share/info/dir': Not a directory

  10. #10
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,408
    Ok, I finally got the brilliant idea. /usr/share/info/dir is just a next file, not a folder, so no wonder it is failing. I really starting to think this is a bug because I should have the same issue (assuming I was installing gettext new). I would file a bug with debian on gettext.
    Brilliant Mediocrity - Making Failure Look Good

Posting Permissions

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