Bug#620958: dpkg outputs tons of new warning messages with no obvious way to fix them

2012-01-06 Thread Jonathan Nieder
Raphael Manfredi wrote: > I wrote a little perl script to do the conversion. God bless you for > using a text file for the database and not some binary format: > > --- > #!/usr/bin/perl > > use strict; > > my @lines; > my $seen_arch = 0; > > while (<>) { > push (@lin

Bug#620958: Cannot configure dpkg-dev, complains about tar --warning

2012-01-06 Thread Jonathan Nieder
found 620958 dpkg/1.16.1.2 quit Hi Raphael, Raphael Manfredi wrote: > dpkg-query: warning: parsing file '/var/lib/dpkg/status' near line 1682 > package 'sudo': > missing architecture > > What do I need to do to fix these warnings Reinstalling "sudo" (and any other packages that have the missi

Bug#620958: #620958 dpkg outputs tons of new warning messages (Kludge with 'sed')

2011-10-21 Thread A. Costa
Hello 'dpkg' users, Same problem here, because my Debian system has been going (upgraded regularly) since the late '90s. It turns out 'sed' can fix this, the code is nigh unreadable but it works. Anyway, from the command prompt (copy & paste should work): # the problem file I=/v

Bug#620958: I had to downgrade to dpkg 1.15.5.6

2011-08-03 Thread Marc MERLIN
On Wed, Aug 03, 2011 at 08:46:40AM -0700, Marc MERLIN wrote: > My recommendation is that you provide a post-install that checks the > syntax of /var/lib/dpkg/status|available and fixes the files. To make your life easier, I tared up my entire /var/lib/dpkg if you want to see what an old DB looks l

Bug#620958: I had to downgrade to dpkg 1.15.5.6

2011-08-03 Thread Marc MERLIN
Raphael, No offense, but I went through the entire bug, tried the ruby script which did not work reliably (added duplicate architecture lines and forgot some), and then I spent >1h trying to fix the file by hand, and the more errors I fixed, the more dpkg --list would report more a few at a time.

Bug#620958: A few notes about this problem

2011-07-21 Thread Greg Alexander
Hi - I use Debian specifically because it upgrades cleanly from antiquity. I've never reinstalled Debian from scratch except when buying all-new hardware, and usually not even then. I had a computer from Debian 0.93rc6 to woody, and several others from woody to present day. So this problem affec

Bug#620958: What if?

2011-07-09 Thread Kingsley G. Morse Jr.
In the interest of considering all possibilities, it seems to me that it might also be possible to a.) make issuing these warnings configurable, or b.) back them out altogether. Thanks, Kingsley -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of

Bug#620958: Add Architecture: "all" or (in my case) "i386"?

2011-07-07 Thread Jonathan Nieder
Hi, Raphael Hertzog wrote: > The easiest solution for now is to purge the packages in config-files > status. > > sudo aptitude purge ~c > > Make sure you don't need to keep the configuration of the affected > packages though. And for the other affected packages you should just > reinstall them.

Bug#620958: Add Architecture: "all" or (in my case) "i386"?

2011-07-07 Thread Raphael Hertzog
On Thu, 07 Jul 2011, Kingsley G. Morse Jr. wrote: > If it's OK for every entry in /var/lib/dpkg/status > to end up having an "Architecture: " line, then > how would one know whether to specify an > architecture of > > "all" > > or (in my case) > > "i386"? The easiest solution for

Bug#620958: Add Architecture: "all" or (in my case) "i386"?

2011-07-07 Thread Kingsley G. Morse Jr.
If it's OK for every entry in /var/lib/dpkg/status to end up having an "Architecture: " line, then how would one know whether to specify an architecture of "all" or (in my case) "i386"? Thanks, Kingsley -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org wi

Bug#620958: Add all missing Architecture: lines?

2011-07-07 Thread Kingsley G. Morse Jr.
dpkg has been an enormous time saver for me over the years. Thank you very much for maintaining it. Unfortunately, I ran into this bug too. At least for me, the above ruby script only fixed a small fraction of /var/lib/dpkg/status. I'm considering various fixes. Would it be OK if every entry i

Bug#620958: a dirty fix

2011-06-20 Thread Luis
Just created a fast dirty fix: - Copy the output warnings (all the "parsing file '/var/lib/dpkg/status' near line XXX" lines) in a file named "/tmp/warnings" - Copy the code below in a file named "repair_status.rb" - In the code replace "Architecture: i386" for your architecture line - Run "ruby re

Bug#620958: Bug 620958

2011-06-03 Thread Fredrik Hallenberg
Hi I just purged over 2000 old packages, about 600 of them generated the "missing arch" warning for every dpkg run which was annoying to say the least. Obviously it was not an alternative to do the cleaning manually. I also found 5 packages which were properly installed but also generated warnings

Bug#620958: Bug 620958

2011-05-17 Thread reportbugs
I fixed the problem by manually editing /var/lib/dpkg/status and adding the architecture field... Thanks for the bug reports ... it was very annoying! :) At some point, my HDD got full and I tought it was simply corrupted but it wasn't! -- This message has been scanned for viruses and dang

Bug#620958: I have the same issue...

2011-05-17 Thread David Hill
I manually edited /var/lib/dpkg/status to add architecture to the packages where it was missing. Everything's working fine now! :) Thank you for the bug report! -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- To UNSUBSCRIBE

Bug#620958: your mail

2011-05-17 Thread Vincent Lefevre
found 620958 1.16.0.3 thanks On 2011-04-16 09:09:43 -0700, D. Kelly wrote: > You can include me in the number of users who is now being spammed by > all the warnings. I managed to get rid of quite a few of them with > "dpkg --clear-avail" > but I still get all the status ones. For example: Me

Bug#620958: me too!

2011-05-04 Thread Peter Gervai
Found: 1.16.0.2 What about --list-stale-entries and --purge-stale-entries ? :) [or just the latter with the compulsory "are you sure man?"] g -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Bug#620958:

2011-04-16 Thread D. Kelly
You can include me in the number of users who is now being spammed by all the warnings. I managed to get rid of quite a few of them with "dpkg --clear-avail" but I still get all the status ones. For example: dpkg-query: warning: parsing file '/var/lib/dpkg/status' near line 705 package 'linux-i

Bug#620958: dpkg outputs tons of new warning messages with no obvious way to fix them

2011-04-09 Thread Guillem Jover
Hi! On Thu, 2011-04-07 at 08:04:58 +0200, Raphael Hertzog wrote: > On Wed, 06 Apr 2011, Jonathan Nieder wrote: > > Would it be possible in the long term for dpkg to stop caring about > > "available" altogether (leaving it to dselect)? > > Yes, it's more or less the plan. We've just changed dpkg t

Bug#620958: dpkg outputs tons of new warning messages with no obvious way to fix them

2011-04-06 Thread Raphael Hertzog
On Wed, 06 Apr 2011, Jonathan Nieder wrote: > > 2/ We can't invent the value to put in Architecture > > It seems likely this has been covered before, but just in case: why > not put in the native architecture for already-installed, ancient > packages? It could be Architecture: all instead of the

Bug#620958: dpkg outputs tons of new warning messages with no obvious way to fix them

2011-04-06 Thread Jonathan Nieder
Hi, Raphael Hertzog wrote: > 1/ It concerns packages which have not been touched since 2004 or packages > which were installed before 2004 and got removed but not purged since then I did say "ideally". I can understand if you're not motivated to work on it. (That said, iiuc the above is not so

Bug#620958: dpkg outputs tons of new warning messages with no obvious way to fix them

2011-04-06 Thread Raphael Hertzog
On Wed, 06 Apr 2011, Jonathan Nieder wrote: > I am not Guillem :) but I think the ideal thing would be a way for the > user to (perhaps explicitly) update the status db by inserting an > architecture. Why ? 1/ It concerns packages which have not been touched since 2004 or packages which were inst

Bug#620958: dpkg outputs tons of new warning messages with no obvious way to fix them

2011-04-06 Thread Jonathan Nieder
Hi, Raphael Hertzog wrote: > The change is very old, not many users will be affected by this. > > Guillem, what do you think? Should we silence the warning due to this? I am not Guillem :) but I think the ideal thing would be a way for the user to (perhaps explicitly) update the status db by ins

Bug#620958: dpkg outputs tons of new warning messages with no obvious way to fix them

2011-04-06 Thread Raphael Hertzog
Hello, On Tue, 05 Apr 2011, Sven-Haegar Koch wrote: > Package: libmimelib1 > Status: deinstall ok config-files I did some code archeology to try to find out an explanation of why dpkg would have dropped that field. And I found it: http://bugs.debian.org/228253 It got "fixed" by this commit: c

Bug#620958: dpkg outputs tons of new warning messages with no obvious way to fix them

2011-04-05 Thread Sven-Haegar Koch
On Tue, 5 Apr 2011, Raphael Hertzog wrote: > Hello, > > On Tue, 05 Apr 2011, Sven-Haegar Koch wrote: > > aurora:~# dpkg -l > > dpkg-query: warning: parsing file '/var/lib/dpkg/status' near line 301 > > package 'libmimelib1': > > missing architecture > [...] > > These seem all to only affect pac

Bug#620958: dpkg outputs tons of new warning messages with no obvious way to fix them

2011-04-05 Thread Raphael Hertzog
Hello, On Tue, 05 Apr 2011, Sven-Haegar Koch wrote: > aurora:~# dpkg -l > dpkg-query: warning: parsing file '/var/lib/dpkg/status' near line 301 > package 'libmimelib1': > missing architecture [...] > These seem all to only affect packages long removed, but not purged. Can you show us the entry

Bug#620958: dpkg outputs tons of new warning messages with no obvious way to fix them

2011-04-05 Thread Sven-Haegar Koch
Package: dpkg Version: 1.16.0.1 Severity: normal Since the 1.16.0 update dpkg outputs a ton of new warning messages for each run (multiple times for one apt-get dist-upgrade). Example: aurora:~# dpkg -l dpkg-query: warning: parsing file '/var/lib/dpkg/status' near line 301 package 'libmimelib1