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

Re: 32 bit pkg on amd64



Jaime Ochoa Malagón <chptma@gmail.com> writes:

> I don't know what change but now it works and try to download skype and libs...
>
> That is an example of the errors trying to install:
>
> dpkg-deb: --control
> /var/cache/apt/archives/ia32-libjpeg62_6b-14~11_amd64.deb
> /var/lib/dpkg/tmp.ci
> (Reading database ... 542638 files and directories currently
> installed.)
> Unpacking ia32-libjpeg62 (from .../ia32-libjpeg62_6b-14~11_amd64.deb)
> ...
> dpkg-deb: --fsys-tarfile
> /var/cache/apt/archives/ia32-libjpeg62_6b-14~11_amd64.deb
> parsechangelog/debian: warning:     debian/changelog(l5): badly
> formatted trailer line
> LINE:  -- root <root@localhost>  Mon,  9 Mar 2009 08:04:28 PM -0600
> parsechangelog/debian: warning:     debian/changelog(l5): found eof
> where expected more change data or trailer
> Use of uninitialized value $v in pattern match (m//) at
> /usr/share/perl5/Dpkg/Fields.pm line 229, <STDIN> line 5.
> Use of uninitialized value $v in pattern match (m//) at
> /usr/share/perl5/Dpkg/Fields.pm line 229, <STDIN> line 5.
> dch warning: new version (6b-14~11) is less than
> the current version number (6b-14).
>
> There is somethign that I miss?

That sounds like libjpeg62 has an invalid debian/changelog. From the
email and date this is the entry that is added to document the
conversion. The problem is the timestamp. I'm generating the timestamp
with $(date +"%a, %e %b %Y %X %z"), which should give something like
"Wed, 11 Mar 2009 10:44:13 +0100". Your locale setting must cause date
to inject the "PM" there. I guess it should have been %T instead of
%X. Fixed in svn.


As for "dch warning: new version (6b-14~11) is less than the current
version number (6b-14)." that is intentional. The idea behind that is
that if a source starts shipping a 32bit flavour on amd64 then its
version will always be higher than the converted package.


(Reading database ... 126066 files and directories currently
installed.)
Unpacking ia32-libjpeg62 (from .../ia32-libjpeg62_6b-14~12_amd64.deb)
...
dpkg-deb: --fsys-tarfile
/var/cache/apt/archives/ia32-libjpeg62_6b-14~12_amd64.deb
dch warning: new version (6b-14~12) is less than
the current version number (6b-14).
Setting up ia32-libjpeg62 (6b-14~12) ...



MfG
        Goswin
----------------------------------------------------------------------------
--- ia32-apt-get/dpkg-deb.in    (revision 247)
+++ ia32-apt-get/dpkg-deb.in    (working copy)
@@ -34,7 +34,7 @@
 
   * ia32-apt-get conversion
 
- -- root <root@localhost>  $(date +"%a, %e %b %Y %X %z")
+ -- root <root@localhost>  $(date +"%a, %e %b %Y %T %z")
 EOF
         if [ -f "/usr/lib/ia32-libs-tools/hooks/$PKG.hook" ]; then
          cp "/usr/lib/ia32-libs-tools/hooks/$PKG.hook" debian/


Reply to: