Results 1 to 4 of 4

Thread: dpkg-deb error: Unexpected number of arguments to --control

  1. #1
    Join Date
    Sep 2008
    Location
    Pacific Northwest, USA
    Beans
    164
    Distro
    Kubuntu 10.04 Lucid Lynx

    dpkg-deb error: Unexpected number of arguments to --control

    Hi,
    I just upgraded from jaunty and somewhere in the process (or just after, I'm no longer sure just when it started) I started getting this error whenever I try to install or upgrade a package.

    Some of my software isn't working properly - some won't even load - so I'm not sure if the installations are actually succeeding, or not. But apt-get install -f shows nothing but a list of stuff I need to autoremove (mostly dev files).

    This particular message is the output of the details tab in synaptic, but I've gotten the same thing in terminal from apt-get.


    dpkg-deb: --control /var/cache/apt/archives/dpkg-awk_1.0.3_all.deb /var/lib/dpkg/tmp.ci
    Selecting previously deselected package dpkg-awk.
    (Reading database ... 415515 files and directories currently installed.)
    Unpacking dpkg-awk (from .../dpkg-awk_1.0.3_all.deb) ...
    dpkg-deb: --fsys-tarfile /var/cache/apt/archives/dpkg-awk_1.0.3_all.deb
    Processing triggers for man-db ...
    Setting up dpkg-awk (1.0.3) ...
    dpkg-deb: --control -- /var/cache/apt/archives/binutils_2.20-0ubuntu2_amd64.deb /tmp/3WTX1yBFq8/DEBIAN
    Unexpected number of arguments to --control
    debsums: can't extract control info from /var/cache/apt/archives/binutils_2.20-0ubuntu2_amd64.deb
    E: Problem executing scripts DPkg:ost-Invoke 'if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi'
    E: Sub-process returned an error code
    A package failed to install. Trying to recover:
    Thanks!
    MB:ASUS M3A78-EM AM2+/AM2 780G HDMI, Proc: Athlon 64 X2 5000+ Brisbane 2.6 GHz 2x512KB L2 Cache, Graph: Int. ATI Radeon HD 3200, Aud: Int. Realtek ALC1200 8 channels, Ram: 2GB Corsair XMS2 DDR2 800 SDRAM, Monitor: Dell SE198WFP 19" Wide FPM

  2. #2
    Soul-Sing is offline Chocolate-Covered Ubuntu Beans
    Join Date
    Aug 2006
    Beans
    1,374
    Distro
    Ubuntu 13.04 Raring Ringtail

  3. #3
    Join Date
    Sep 2008
    Location
    Pacific Northwest, USA
    Beans
    164
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: dpkg-deb error: Unexpected number of arguments to --control

    Thanks for your swift reply leoquant. I checked the links you gave me and the first doesn't seem to be quite the same issue - unless I'm missing something. The second and third are broken.
    MB:ASUS M3A78-EM AM2+/AM2 780G HDMI, Proc: Athlon 64 X2 5000+ Brisbane 2.6 GHz 2x512KB L2 Cache, Graph: Int. ATI Radeon HD 3200, Aud: Int. Realtek ALC1200 8 channels, Ram: 2GB Corsair XMS2 DDR2 800 SDRAM, Monitor: Dell SE198WFP 19" Wide FPM

  4. #4
    Join Date
    Sep 2008
    Location
    Pacific Northwest, USA
    Beans
    164
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: dpkg-deb error: Unexpected number of arguments to --control

    Okay, I searched for these posts on their respective sites and found them. Apparently your links were incomplete or something. All these posts seem to relate to individual packages with failed installs, and the fixes describe how to get rid of them and reinstall them. All involve an error code 2 in the post installation script.

    My problem shows up when I try to install/uninstall anything. It doesn't seem to involve any particular package, unless it's apt, and I don't get an error code 2. I admit I'm pretty ignorant when it comes to code issues, but I don't think we're quite on the same page here...
    MB:ASUS M3A78-EM AM2+/AM2 780G HDMI, Proc: Athlon 64 X2 5000+ Brisbane 2.6 GHz 2x512KB L2 Cache, Graph: Int. ATI Radeon HD 3200, Aud: Int. Realtek ALC1200 8 channels, Ram: 2GB Corsair XMS2 DDR2 800 SDRAM, Monitor: Dell SE198WFP 19" Wide FPM

Bookmarks

Posting Permissions

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