Results 1 to 2 of 2

Thread: Extract multiple .deb files

  1. #1
    Member registered user
    Join Date
    Feb 2003
    Location
    The Netherlands
    Posts
    78

    Extract multiple .deb files

    I'm writing a script that will ask the user for a packagename and :
    #apt-get install -b <packagename>
    (inside a chrooted environment)
    This way, it will download all the dependencies as well.

    After this, I move the files to a certain directory and I want to extract them from there with :
    #dpkg -x <deb-file> /directory

    My problem here is, that I can't select '*.deb' as input for this, as dpkg -x can only handle 1 file at a time.
    As I don't know the .deb-file-names in the directory, I cannot do this one by one.
    Hopefully, somebody here has a solution for this ?

  2. #2
    Member registered user
    Join Date
    Feb 2003
    Location
    The Netherlands
    Posts
    78
    Sorry for the post, but I allready figured this one out...
    In the script, I just put in :
    for DEB in ls *.deb; do dpkg -x $DEB /dir; done
    (in case anybody needs this )

Similar Threads

  1. Playing multiple files with xine...question
    By turbine in forum General Support
    Replies: 1
    Last Post: 06-14-2005, 08:25 AM
  2. Replies: 5
    Last Post: 01-21-2005, 12:50 AM
  3. How to extract .sti files in knoppix
    By borru in forum General Support
    Replies: 0
    Last Post: 06-16-2004, 11:53 AM
  4. Extract boot image from CD
    By BigMack in forum The Lounge
    Replies: 3
    Last Post: 04-04-2003, 04:20 PM
  5. Extract initrd part from knx-hdinstall
    By mordor in forum Ideas
    Replies: 1
    Last Post: 03-28-2003, 09:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 16GB | 2x HDD Trays picture

Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 16GB | 2x HDD Trays

$1349.99



DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45

$274.00



Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB picture

Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB

$510.00



Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox

$340.00



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu picture

Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu

$135.00



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD

$79.19



DELL PowerEdge R730 16SFF Server 2x E5-2690v4 =28 Cores No RAM/ HDD H730 4xRJ45 picture

DELL PowerEdge R730 16SFF Server 2x E5-2690v4 =28 Cores No RAM/ HDD H730 4xRJ45

$232.97



DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45

$284.00



Dell PowerEdge R420 2x Xeon E5 -2440 V2 1.90GHZ 128GB DDR3-1600MHZ 2x 550W PSU picture

Dell PowerEdge R420 2x Xeon E5 -2440 V2 1.90GHZ 128GB DDR3-1600MHZ 2x 550W PSU

$110.95