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 ...
- 11-15-2007 #1Just 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:
And here's the removal message: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:
What do I need to do to either configure gettext or remove it?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:
- 11-15-2007 #2
What happens when you run
Code:apt-get -f install
Brilliant Mediocrity - Making Failure Look Good
- 11-15-2007 #3Just Joined!
- Join Date
- Sep 2007
- Location
- Tampa, FL
- Posts
- 19
Check the first code output.
- 11-15-2007 #4
How about
Code:dpkg --configure -a
Brilliant Mediocrity - Making Failure Look Good
- 11-15-2007 #5Just Joined!
- Join Date
- Sep 2007
- Location
- Tampa, FL
- Posts
- 19
No output.
- 11-15-2007 #6
Try
Code:dpkg -r --force-remove-reinstreq gettext
Brilliant Mediocrity - Making Failure Look Good
- 11-15-2007 #7Just Joined!
- Join Date
- Sep 2007
- Location
- Tampa, FL
- Posts
- 19
That doesn't seem to work either.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
- 11-16-2007 #8
I still don't understand why it is failing. Try making the directory
The try to remove it again.Code:mkdir /usr/share/info/dir
Brilliant Mediocrity - Making Failure Look Good
- 11-16-2007 #9Just 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
- 11-16-2007 #10
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


Reply With Quote
