Strange problem with apt

Carlos Picazzo ojaiguy at gmail.com
Fri Oct 6 02:32:08 UTC 2006


I just tried installing the gpsd package but it apparently had some issues
installing. Now any time I try using apt or dpkg, I get:

"fgets gave an empty string from diversions [i]"

What's that all about? My system is in a completely hosed state right now as
I can't install or uninstall that package using apt or dpkg.

Does anyone know what might have happened? I've been using Debian and Ubuntu
for a few years now and have never seen that error. Google doesn't come up
with much either so I'm not sure what my options are

Thanks,

Carlos

PS: Here's the output of 'apt-get install -f':

---
# apt-get install -f
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
gpsd
Suggested packages:
hotplug
Recommended packages:
gpsd-clients
The following packages will be upgraded:
gpsd
1 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
1 not fully installed or removed.
Need to get 0B/207kB of archives.
After unpacking 618kB of additional disk space will be used.
Do you want to continue [Y/n]?
Preconfiguring packages ...
dpkg: fgets gave an empty string from diversions [i]
E: Sub-process /usr/bin/dpkg returned an error code (2)
---
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20061005/4c2dddd2/attachment.html>


More information about the ubuntu-users mailing list