auto complete broke with apt-get remove

Bug #620181 reported by unixchaos
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dctrl-tools (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: dctrl-tools

when i try to remove a package whether its through aptitude apt-get or dpkg i get the error:

grep-status: /var/lib/dpkg/status:17058: expected a colon

now i tried to pull the lines out of the status file then apt-get -f install to reinstall them and it still gets that error. i dont know what caused this but i noticed it after i was trying to remove teeworlds via: sudo apt-get remove tee[tab key] then the error message. im reporting this a s a bug cause i cant figure out how to fix it i looked at similar issues and the solutions had no effect on it. i also did a aptitude reinstall dctrl-tools. that reinstalled fine but still got the error. i even tried to replace the stats file with the status.old. ones.

the printout form line 17058 from the status file

 .
Package: libnl1
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 420
Maintainer: Ubuntu Developers <email address hidden>
Architecture: amd64
Source: libnl
Version: 1.1-5build1
Replaces: libnl1-pre6, libnl1-pre8
Depends: libc6 (>= 2.8)
Conflicts: libnl1-pre6, libnl1-pre8
Description: library for dealing with netlink sockets
 This is a library for applications dealing with netlink sockets.
 The library provides an interface for raw netlink messaging and various
 netlink family specific interfaces.
Original-Maintainer: Michael Biebl <email address hidden>
Homepage: http://people.suug.ch/~tgr/libnl/

Revision history for this message
Antti-Juhani Kaijanaho (ajk) wrote :

That sort of error usually occurs because of a badly formatted package installed from a third-party source (but can occur due to other reasons as well). What's the paragraph immediately before the indicated line?

Revision history for this message
unixchaos (jza873) wrote :

the number changed again now its 18063 the paragraph above it is

Package: liburi-perl
Status: install ok installed
Priority: optional
Section: perl
Installed-Size: 392
Maintainer: Ubuntu Developers <email address hidden>
Architecture: all
Version: 1.52-1
Depends: perl, libmime-base64-perl, libnet-perl
Suggests: libwww-perl (>= 5.41)
Conflicts: libwww-perl (<< 5.41)
Description: module to manipulate and access URI strings
 URI is a collection of Perl modules that represent and manipulate Uniform

Revision history for this message
Antti-Juhani Kaijanaho (ajk) wrote :

That's weird.

I think we need to see the preceding paragraph, the offending line, and a couple of lines of context after it, all related to the same error message line number.

Revision history for this message
unixchaos (jza873) wrote :

i just put the status file in my dropbox so it can be pulled. ill post the link in here so it can be downloaded.

http://dl.dropbox.com/u/302809/status

otherwise here are the lines b4 and after 18063

18049 - 18073

Package: liburi-perl
Status: install ok installed
Priority: optional
Section: perl
Installed-Size: 392
Maintainer: Ubuntu Developers <email address hidden>
Architecture: all
Version: 1.52-1
Depends: perl, libmime-base64-perl, libnet-perl
Suggests: libwww-perl (>= 5.41)
Conflicts: libwww-perl (<< 5.41)
Description: module to manipulate and access URI strings
 URI is a collection of Perl modules that represent and manipulate Uniform
 Resource Identifier (URI) references as specified in RFC 2396.
 .
 URI objects can be used to access and manipulate the various components
 that make up these strings. There are also methods to combine URIs in
 various ways.
 .
 The URI class replaces the URI::URL class that used to be distributed with
 libwww-perl. This package also includes an emulation of the old URI::URL
 interface, which implements both the old and the new interface.
Original-Maintainer: Debian Perl Group <email address hidden>
Homepage: http://search.cpan.org/dist/URI/

Revision history for this message
Antti-Juhani Kaijanaho (ajk) wrote :

Thank you. I was hesitant to ask for it, since it contains private information (namely, what you have installed).

First of all, I must apologise. It seems grep-dctrl miscounts the lines, and so the line number is not accurate.

The offending paragraph is this:

Package: pidgin-senscreenshot
Status: install ok installed
Priority: optional
Section: web
Installed-Size: 259
Maintainer: Raoul Berger [<email address hidden>]
Architecture: amd64
Version: 0.8-3
Depends: pidgin (>= 2.4.0), libpurple-bin (>= 2.6.0), libcurl3, libgtk2.0-0 (>=
2.6.0), libglib2.0-0 (>= 2.14.0)
Description: Send Screenshot plugin for Pidgin IM client.
 Capture a rectangular area of your screen and send it...
 * as a file
 * directly as an image (only enabled by some protocols)
 * to a HTTP image hosting provider (do not send sensitive data !)
 * to a remote FTP server.

 .
 More info at http://code.google.com/p/pidgin-sendscreenshot/
Homepage: http://code.google.com/p/pidgin-sendscreenshotx

And the problem is the empty line after "* to a remote FTP server.". You can manually edit the file to remove that empty line (just make sure no package management program is running at the same time), if you wish, and the problem should go away. The most likely source for this error is the pidgin-screenshot package, though other causes are possible.

Revision history for this message
Antti-Juhani Kaijanaho (ajk) wrote :

Sorry, pidgin-senscreenshot of course.

Revision history for this message
Antti-Juhani Kaijanaho (ajk) wrote :

Note to Ubuntu people: I've just released to Debian experimental version 2.15 which fixes the line-counting bug mentioned above. In other respects, this is not a dctrl-tools bug.

Revision history for this message
unixchaos (jza873) wrote :

yo thanks so much. that completely solved everything. i had no idea before what i was looking for. thanks again

Changed in dctrl-tools (Ubuntu):
status: New → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

Thanks, Antti-Juhani. I tried to sync 2.15 from experimental into maverick, but ran into bug 635591. Hopefully this will be fixed soon.

Revision history for this message
Antti-Juhani Kaijanaho (ajk) wrote :

Shouldn't this bug be considered resolved? The line-counting bug is fixed in oneiric, and rest of it isn't a dctrl-tools issue.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.