[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Strange problem with apt



Full disclosure: This is on my laptop which is running Dapper.  While I know that "ubuntu isn't debian", the error is actually coming from dpkg so I think it's relatively appropriate to ask here :)

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)
---
Reply to: