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

Re: Bug#51967: apt: apt-get source is broken



On Sun, 5 Dec 1999, Martin Bialasinski wrote:

>> Reading Package Lists... Done
>> Building Dependency Tree... Done
>> Need to get 0B of source archives.
>> dpkg-source: -x needs exactly one argument, the .dsc
>> 
>> [dpkg-source usage message]
>> 
>> I do not have the sources in $cwd, somehow apt-get gets this wrong.

* "Jason" == Jason Gunthorpe <jgg@ualberta.ca> wrote:

Jason> What files do you have in the current directory?

None.

$ ls -l 
total 0
$ apt-get source gnus
Reading Package Lists... Done
Building Dependency Tree... Done
Need to get 0B of source archives.
dpkg-source: -x needs exactly one argument, the .dsc

Debian GNU/Linux dpkg-source 1.6.  Copyright (C) 1996
Ian Jackson and Klee Dienes.  This is free software; see the GNU
General Public Licence version 2 or later for copying conditions.
There is NO warranty.

Usage:  dpkg-source -x <filename>.dsc
        dpkg-source -b <directory> [<orig-directory>|<orig-targz>|'']
Build options:   -c<controlfile>     get control info from this file
                 -l<changelogfile>   get per-version info from this file
                 -F<changelogformat> force change log format
                 -V<name>=<value>    set a substitution variable
                 -T<varlistfile>     read variables here, not debian/substvars
                 -D<field>=<value>   override or add a .dsc field and value
                 -U<field>           remove a field
                 -sa                 auto select orig source (-sA is default)
                 -i[<regexp>]        filter out files to ignore diffs of.
                                     Defaults to: '^.*~$|DEAD_JOE|(?:/CVS|/RCS|/
.deps)(?:$|/.*$)'
                 -sk                 use packed orig source (unpack & keep)
                 -sp                 use packed orig source (unpack & remove)
                 -su                 use unpacked orig source (pack & keep)
                 -sr                 use unpacked orig source (pack & remove)
                 -ss                 trust packed & unpacked orig src are same
                 -sn                 there is no diff, do main tarfile only
                 -sA,-sK,-sP,-sU,-sR like -sa,-sp,-sk,-su,-sr but may overwrite
Extract options: -sp (default)       leave orig source packed in current dir
                 -sn                 do not copy original source to current dir
                 -su                 unpack original source tree too
General options: -h                  print this message
Unpack command 'dpkg-source -x ' failed.
Segmentation fault

Ciao,
        Martin


Reply to: