Results 1 to 2 of 2

Thread: apt-get upgrade issue even with persistent fs

  1. #1
    Junior Member
    Join Date
    Jan 2008
    Posts
    1

    apt-get upgrade issue even with persistent fs

    Hi, I have a persistent home directory at /home/knoppix and am booting the DVD from "knoppix bootfrom=/dev/hda2/knoppixdvd.iso". The knoppix hacks book said I could use the normal debian package management tools so I did a "sudo apt-get upgrade" and figured that the unionfs would orchestrate the updates against the live dvd using my persistent storage. I ran into trouble, which is why I'm posting.

    The dvd is KNOPPIX_V5.1.1CD-2007-01-04-EN.iso, checksum-verified and has worked fine although I bootfrom a hard link to it called knoppixdvd.iso to make life easier.

    The apt-get upgrade problem occurs after all the 700+ upgrades have been downloaded; then an ioctl problem happens, here's the information (where you see iinfo, remove one of the i's; I had to do this to avoid the spam filter):

    ...
    xserver-xorg-dev xserver-xorg-input-all xserver-xorg-input-wacom xserver-xorg-video-all
    xserver-xorg-video-fbdev xserver-xorg-video-neomagic xtrans-dev xutils-dev xvier xvncviewer
    yorick-doc
    744 upgraded, 0 newly installed, 0 to remove and 1819 not upgraded.
    Need to get 0B/1229MB of archives.
    After unpacking 109MB disk space will be freed.
    Do you want to continue [Y/n]? y
    Reading changelogs... Done
    apt-listchanges: Do you want to continue? [Y/n]? y
    Extracting templates from packages: 100%
    Preconfiguring packages ...
    supported_versions: WARNING: Unknown Debian release: None
    (Reading database ... 477769 files and directories currently installed.)
    Preparing to replace coreutils 5.97-5 (using .../coreutils_5.97-5.3_i386.deb) ...
    Unpacking replacement coreutils ...
    Setting up coreutils (5.97-5.3) ...
    install-info(/usr/share/info/coreutils.iinfo): could not backup /usr/share/info/dir in /var/backups/infodir.bak: Inappropriate ioctl for device
    E: Sub-process /usr/bin/dpkg exited unexpectedly
    $ df /home/knoppix
    Filesystem 1K-blocks Used Available Use% Mounted on
    /media/sda1/knoppix.img
    1844472 1529072 315400 83% /KNOPPIX.IMG
    $ df /var/backups
    Filesystem 1K-blocks Used Available Use% Mounted on
    persistent 1844472 1529072 315400 83% /UNIONFS
    $

    There seems to be 315 MB of persistent storage available, so I don't understand what workaround I need to implement to finish the package upgrades.
    $

  2. #2
    Senior Member registered user
    Join Date
    Jan 2005
    Location
    UK
    Posts
    282
    Sometimes this can happen if you have more than one mirror in your /etc/apt/sources.list
    I presume you ran apt-get update before the upgrade command?

    You may be able to comment out everything in your sources.list and just leave one mirror
    then try the upgrade again.
    Hope that helps

Similar Threads

  1. Replies: 0
    Last Post: 06-08-2007, 07:11 PM
  2. Knoppix users have a number of issue after upgrade
    By mamcak in forum Hardware & Booting
    Replies: 2
    Last Post: 10-15-2006, 03:27 AM
  3. MBR issue
    By elqueso in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 03-18-2004, 01:14 AM
  4. apt-get issue
    By albertfuller in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 11-03-2003, 12:45 AM
  5. problem using apt-get with upgrade/dist-upgrade
    By vesselinpeev in forum General Support
    Replies: 0
    Last Post: 05-26-2003, 09:03 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
  •  


GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX picture

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX

$59.99



GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5 picture

GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5

$189.99



Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery picture

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery

$54.99



ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield picture

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield

$84.99



GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard picture

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard

$59.99



⁠Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)⁠ picture

⁠Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)⁠

$29.90



ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio picture

ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio

$34.99



ASUS TUF GAMING B550-PLUS WIFI II AM4 AMD B550 ATX AMD Motherboard picture

ASUS TUF GAMING B550-PLUS WIFI II AM4 AMD B550 ATX AMD Motherboard

$95.99



Dell XPS 8940 Desktop Motherboard Intel H470 LGA1200 DDR4 K3CM7 KV3RP 427JK picture

Dell XPS 8940 Desktop Motherboard Intel H470 LGA1200 DDR4 K3CM7 KV3RP 427JK

$154.99



MSI B460M-A Pro DDR4 LGA 1200 Micro ATX Motherboard 10th Gen picture

MSI B460M-A Pro DDR4 LGA 1200 Micro ATX Motherboard 10th Gen

$59.99