LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-30-2009, 08:48 PM   #1
qriopeur
LQ Newbie
 
Registered: Feb 2009
Posts: 19

Rep: Reputation: 0
dpkg-scanpackage omits Date: field


Hi all,

According to debian-policy manual section 5.6.15
there is a "Date" field in Debian control file. But
I am using version:
Debian dpkg-scanpackages version 1.14.5ubuntu12.

It don't scan the "Date" field, is this a bug or something
it is working on?

Thanks.
 
Old 05-01-2009, 05:49 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
What operating system are you running? What are you expecting to happen and what is failing?
 
Old 05-04-2009, 02:06 PM   #3
qriopeur
LQ Newbie
 
Registered: Feb 2009
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by AlucardZero View Post
What operating system are you running? What are you expecting to happen and what is failing?

in control file if I have a Date: field.
Code:
Package: test
Date: Mon May  4 12:02:20 PDT 2009
.....
after:
Code:
dpkg-scanpackages -m . /dev/null | gzip -9c > Packages.gz
inside Packages.gz,
I only see
Code:
Package: test
.....
The Date: field is not included in Packages.gz
 
Old 05-04-2009, 03:36 PM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
What operating system are you running?
 
Old 05-04-2009, 04:39 PM   #5
qriopeur
LQ Newbie
 
Registered: Feb 2009
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by AlucardZero View Post
What operating system are you running?

Hi AlucardZero, I am using ubuntu 7.10 with dpkg-scanpackages running on version 1.14.5ubuntu12
 
Old 05-04-2009, 05:30 PM   #6
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
No wonder I couldn't find that version in Debian! Ubuntu 7.10 is no longer supported, you might try 8.04 (LTS) or 9.04 (just released). Do you know if a later version works?
 
Old 05-04-2009, 08:24 PM   #7
qriopeur
LQ Newbie
 
Registered: Feb 2009
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by AlucardZero View Post
No wonder I couldn't find that version in Debian! Ubuntu 7.10 is no longer supported, you might try 8.04 (LTS) or 9.04 (just released). Do you know if a later version works?
Running 8.04

Code:
$dpkg-scanpackages --version
Debian dpkg-scanpackages version 1.14.16.6ubuntu1.
It has the same problem.
 
Old 05-05-2009, 05:41 AM   #8
oʌǝɹ
LQ Newbie
 
Registered: May 2009
Posts: 12

Rep: Reputation: 1
There is no Date field in Packages.gz, what you see is normal
 
Old 05-05-2009, 07:28 AM   #9
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
The lack of version 1.14.5ubuntu12 here led me to believe that you were running 7.10.
 
Old 06-08-2009, 09:30 AM   #10
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Any idea why http://packages.debian.org/search?ke...kg-scanpackage gives: "Sorry, your search gave no results"?
 
Old 06-08-2009, 09:54 AM   #11
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
It's in dpkg-dev, and has an "s" at the end.
 
Old 06-08-2009, 10:32 AM   #12
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally Posted by AlucardZero View Post
It's in dpkg-dev, and has an "s" at the end.
In other words, I should have notices the 's' in almost every instance of "dpkg-scanpackages" except the thread title.

Also, I needed a "package contents" search, rather that the original "package names" search.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dpkg-scanpackage ykcorse Linux - Software 2 07-29-2010 10:23 PM
php question, how do I get a return from a field within a field? cherrington Programming 11 04-29-2009 01:27 AM
Ubuntu newbie, E: dpkg was interrupted, you must manually run 'dpkg --configure -a' ? chinkychan Linux - Newbie 1 01-28-2009 10:21 PM
Error : Truncating oversized date field kumar_79v Linux - Server 1 07-08-2008 01:47 AM
MySQL omits my 0 placeholders familyman Programming 2 09-02-2004 11:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration