! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
control.tar.gz of .deb is omitted
Status:
RESOLVED: FIXED
Severity:
enhancement
Product:
Xarchiver
Component:
general

Comments

Description Jo 2008-05-22 12:54:56 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.14) Gecko/20080417 Firefox/2.0.0.14
Build Identifier: 

When extracting a .deb, only data.tar.gz is extracted. But the control.tar.gz also holds interesting information and is needed if you want to repackage a debian package  (i.e. for changing depency information).

Quoting man dpkg-deb:
dpkg-deb - Debian package archive (.deb) manipulation tool
dpkg-deb packs, unpacks and provides information about Debian archives.

COMMANDS
       -b, --build directory [archive|directory]
              Creates a debian archive from  the  filesystem  tree  stored  in
              directory. directory must have a DEBIAN subdirectory, which con‐
              tains the control information files such  as  the  control  file
              itself.  This  directory will not appear in the binary package’s
              filesystem archive, but instead the files in it will be  put  in
              the binary package’s control information area.

       -x, --extract archive directory
              Extracts  the  filesystem  tree  from a package archive into the
              specified directory.

              Note that extracting a package to the root  directory  will  not
              result  in a correct installation! Use dpkg to install packages.

              directory (but not its parents) will be created if necessary.

       -e, --control archive [directory]
              Extracts the control information files from  a  package  archive
              into the specified directory.

              If  no  directory is specified then a subdirectory DEBIAN in the
              current directory is used.

              The target directory (but not its parents) will  be  created  if
              necessary.



Reproducible: Always

Steps to Reproduce:
1. Extract xarchiver_0.4.6-7ubuntu1_i386.deb file in GUI with full path
NOTE: extracting .deb on command-line is currently broken (Bug #4100)
Actual Results:  
Contents of data.tar.gz are extracted to a directory xarchiver_0.4.6-7ubuntu1_i386

Expected Results:  
Contents of control.tar.gz are also extracted to DEBIAN subdirectory in xarchiver_0.4.6-7ubuntu1_i386
Comment 1 Giuseppe Torelli 2008-07-24 12:40:42 CEST
Fixed in revision 27371.

Bug #4103

Reported by:
Jo
Reported on: 2008-05-22
Last modified on: 2008-07-24

People

Assignee:
Giuseppe Torelli
CC List:
0 users

Version

Attachments

Additional information