weird issue with apt-get remove

Asked by unixchaos

ok so i just installed teeworlds and this issue started happening.

now whenever i would remove a package i would do:
sudo apt-get remove tee[tab key] and it would say something like
sudo apt-get remove teeworlds

cause thats how the tabkey works and its fantastic now when i try to remove a package i get a weird message now remember this only works with remove not install purge or any others. this also happens with dpkg --remove and aptitude remove

sudo apt-get remove grep-status: /var/lib/dpkg/status:16617: expected a colon

as soon as i hit the spacebar after remove and press [tab] i get that /var/lib/dpkg/status:16617

now i did try to swap my status file for the backup and i still get the message now for line 16617 it states:

Homepage: http://search.cpan.org/dist/URI/

well i have no idea how to fix it its kinda annoying since i cant use remove i have to purge all files now or find other means. so any help will be appreciated cause this is annoying and i cant figure out how to fix it. google was not my friend on this one. lemme know if you need any more info.

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#1
Revision history for this message
unixchaos (jza873) said :
#2

nah thanks tho good idea but it didnt help when i still press tab after remove i get that message any other ideas. i dont even know what it means

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#3

Your package manager might be experiencing the following bug:

https://bugs.launchpad.net/ubuntu/+source/dctrl-tools/+bug/583476

I suggest REMOVING any empty lines (or other anomalies) situated at line 16617 in the /var/lib/dpkg/status file.

I suspect that line 16617 in the /var/lib/dpkg/status file has somehow gone corrupt.

Revision history for this message
unixchaos (jza873) said :
#4

i tried lots of modification short of wiping out that file btu it did giveme and idea now i was getting the error at line 17058 so i serrched that line and got

 .
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/

so i tried to install the libnl1 and got and error pulled all the code from the status file and tried to install it and still failed but this time was able to reinstall it with apt-get -f install and it installed. now tried to remove a package and got the same error code

so now im trying to reinstall dctrl-tools and see if thats gonna fix it but im at a loss

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Open' state without activity for the last 15 days.