Results 1 to 5 of 5

Thread: 6.4.4 Problem with APT and DPKG: img.ci and apport?

  1. #1

    Unhappy 6.4.4 Problem with APT and DPKG: img.ci and apport?

    Hi,

    I have just downloaded the iso for Adriane Knoppix 6.4.4 and made a live USB with unetbootin.

    Then I made a persistence (as part of the firstrun routine using Knoppix's own procedure), encrypted with password. It then booted as it should and I installed a few packages using apt-get. They were successfully installed and are running without known problem.

    Then I tried to install additional software with apt-get, and I get this:

    Code:
    The following NEW packages will be installed:
      gworldclock
    0 upgraded, 1 newly installed, 0 to remove and 153 not upgraded.
    Need to get 0 B/39.7 kB of archives.
    After this operation, 209 kB of additional disk space will be used.
    dpkg: error processing /var/cache/apt/archives/gworldclock_1.4.4-9_i386.deb (--unpack):
     unable to securely remove '/var/lib/dpkg/tmp.ci': Input/output error
    configured to not write apport reports
                                          Errors were encountered while processing:
     /var/cache/apt/archives/gworldclock_1.4.4-9_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    So I manually downloaded a .deb from Debian archives website, then used dpkg to install it.

    Then I got an error as well.

    Code:
    dpkg: error processing gworldclock_1.4.4-9_i386.deb (--install):
     unable to securely remove '/var/lib/dpkg/tmp.ci': Input/output error
    Errors were encountered while processing:
     gworldclock_1.4.4-9_i386.deb
    I cannot seem to manually delete or move the directory tmp.ci either. I am not sure what is going on... is there a way to force remove it? It looks like the tmp.ci is located on the loop device, so shouldn't it reset itself when rebooted?

  2. #2
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    Welcome to the forum, amandawillow.
    We need to know more about your install. LiveUSB? How big a USB,
    ...and how much persistent store?

    One obious question is: are you running low on persistent store?
    With PCManFM, see how much 'free' space is on knoppix (top entry on left panel).
    Another, is why aren't you using Synaptic?
    Last edited by utu; 03-09-2011 at 02:50 PM.

  3. #3
    Live USB, 4GiB when empty; I have 3.8GiB at the moment

    Code:
    knoppix@Microknoppix:~$ df -h
    Filesystem            Size  Used Avail Use% Mounted onknoppix@Microknoppix:~$ df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda1             3.8G  3.8G  696K 100% /mnt-system
    tmpfs                 2.0G     0  2.0G   0% /ramdisk
    /dev/cloop            1.9G  1.9G     0 100% /KNOPPIX
    /dev/loop0            3.1G  255M  2.8G   9% /KNOPPIX-DATA
    unionfs               3.1G  255M  2.8G   9% /UNIONFS
    unionfs               3.1G  255M  2.8G   9% /home
    tmpfs                  10M   64K   10M   1% /UNIONFS/var/run
    tmpfs                  10M     0   10M   0% /UNIONFS/var/lock
    tmpfs                 100M   56K  100M   1% /UNIONFS/var/log
    tmpfs                 2.0G  8.0K  2.0G   1% /tmp
    udev                   20M  348K   20M   2% /dev
    tmpfs                 2.0G  4.0K  2.0G   1% /dev/shm
    
    /dev/sda1             3.8G  3.8G  696K 100% /mnt-system
    tmpfs                 2.0G     0  2.0G   0% /ramdisk
    /dev/cloop            1.9G  1.9G     0 100% /KNOPPIX
    /dev/loop0            3.1G  255M  2.8G   9% /KNOPPIX-DATA
    unionfs               3.1G  255M  2.8G   9% /UNIONFS
    unionfs               3.1G  255M  2.8G   9% /home
    tmpfs                  10M   64K   10M   1% /UNIONFS/var/run
    tmpfs                  10M     0   10M   0% /UNIONFS/var/lock
    tmpfs                 100M   56K  100M   1% /UNIONFS/var/log
    tmpfs                 2.0G  8.0K  2.0G   1% /tmp
    udev                   20M  348K   20M   2% /dev
    tmpfs                 2.0G  4.0K  2.0G   1% /dev/shm
    I have barely began using this version just yesterday, finally upgraded from 6.2 by way of fresh install (and replacing the flash drive with a brand-new one). So there is no reason to believe I'd be low on persistence.

    I had forgotten about Synaptic, I'm generally a fan of CLI... will try (but isn't Synaptic basically a graphic front-end for APT, so wouldn't it have the same problem if APT does not work??).

  4. #4
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    Hi again, amandawillow.

    You are quite right, apt and Synaptic are doing the same thing.
    I just thought it might be easier to see what's going on.
    It sounded like you were running out of space somewhere.
    I find it easier to let Synaptic do all the work.

    If you haven't used Synaptic before, here's one way to get started:

    1...Find it at LXDE main menu/Preferences/Synaptic.
    2...Check the Synaptic repositories at Settings/Repositories;
    ......a) Leave everything checked; or optionally, b &/or c...
    ......b) Uncheck experimental, unstable and/or volatile if you aren't daring *1*;
    ......c) Change .de to .us for faster service 'stateside'.
    3...Reload; even if you've made NO changes.
    4...Use Search to help find new things to ADD *2*.
    5...Dont' use 'Mark All Upgrades' unless you KNOW you've got lots
    ......of persistent store to work with.
    6...Click 'Apply' when the green check-mark lights up to allow Synaptic to
    ......bring in and install your new programs.

    *1* 2b may lock you out of some things like Flash;
    ......you may want to be a LITTLE daring, sometimes.
    *2* Synaptic can be used to REMOVE programs as well; however with a 'Live'
    ......system this gets complicated. Best to hold off on removing programs till
    ......you get a little more experienced with the LiveUSB experience.

    I presume you used a LiveCD to make your LiveUSB. If you used the LiveDVD,
    you may run into space problems on a 4 Gb USB.
    I use the LiveCD to make a LiveUSB on a 2 Gb SanDisk, and set aside 800Mb
    for persistence. I do not import anything BIG, and have no space problems.

  5. #5
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    It looks like you used the LiveUSB, asked for 2800 Mb persistence,
    and have not used much of it. So, I'm not sure what's not working.

    Does your LiveUSB reboot ok?
    If it is, try using Synaptic to install what you want.

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 R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x600Gb SAS, Proxmox picture

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

$340.00



Dell PowerEdge M610 Blade Server E5620@2.2GHZ (6x)8GB RAM (2x)146GB 15K SAS HDD picture

Dell PowerEdge M610 Blade Server E5620@2.2GHZ (6x)8GB RAM (2x)146GB 15K SAS HDD

$75.00



Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS picture

Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS

$721.06



H261-Z61 2U 24SFF AMD Server 8x EPYC 7551 256-Cores 256GB RAM 8x25G NIC 2x2200W picture

H261-Z61 2U 24SFF AMD Server 8x EPYC 7551 256-Cores 256GB RAM 8x25G NIC 2x2200W

$2512.18



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 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

$275.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 R620 Server 2x Xeon  E5-2620 @ 2.0GHz 64GB RAM NO HDDs picture

Dell PowerEdge R620 Server 2x Xeon E5-2620 @ 2.0GHz 64GB RAM NO HDDs

$108.96



Dell PowerEdge R820 Server 4x E5-4620 2.2GHz 32-Core Total 256GB 0HD 2x 1100w  picture

Dell PowerEdge R820 Server 4x E5-4620 2.2GHz 32-Core Total 256GB 0HD 2x 1100w

$315.00



Dell PowerEdge R430 3.5 1U 2x E5-2690 v3 2.6ghz 24-Cores 256gb 4x Trays 2x 550w picture

Dell PowerEdge R430 3.5 1U 2x E5-2690 v3 2.6ghz 24-Cores 256gb 4x Trays 2x 550w

$289.99