Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: apt-get/dpkg broken, will not install programs, dead-locked

  1. #1
    Member registered user
    Join Date
    Sep 2003
    Posts
    67

    apt-get/dpkg broken, will not install programs, dead-locked

    I've had a copy of Knoppix since I found it back in January. I later burned a newer copy of the software in March, but I don't know from which month the CD is. In any case, my OS (ME) crapped out, so I got XP, which then also was a pain in the butt. My hard drive has been failing for months, and now it's gotten worse. It now says "failure may be imminent" on bootup. I installed Knoppix as a last resort. Not that I don't like Linux

    Now I've done a hard drive install using "knx-hdinstall". I tried using "reiserfs" as the filesystem, but it did not complete the file copy. I had to restart and boot up knoppix again and then choose a different fs (in an attempt to get it to work). I choose ext3. No luck. I then choose ext2, but no luck eiher. Finally I choose reiserFS again and it worked. During the file copy it said a few "input/output errors" from "cp: such and such GNUfoobar/README input/output error". This was bad and strange since the CD is not even a year old and has no major scratches.

    I'm up and running now, but not exactly running. I've done apt-get update and apt-get upgrade, with a bunch of difficulty. It had a problem with a mergelist and I ended up somehow fixing that by deleting the file that was the mergelist. Now it works.

    However, apt-get will not install stuff. I thought apt-get upgrade would install the latest mozilla, but it didn't. Must be something about "holds" or something.

    Here are the outputs I get (please dont' bother me for using root):

    root@Harkonnen:~# apt-get install mozilla
    Reading Package Lists... Done
    Building Dependency Tree... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.

    Since you only requested a single operation it is extremely likely that
    the package is simply not installable and a bug report against
    that package should be filed.
    The following information may help to resolve the situation:

    Sorry, but the following packages have unmet dependencies:
    mozilla: Depends: mozilla-browser (= 2:1.4-4)
    Depends: mozilla-mailnews (= 2:1.4-4) but it is not going to be installed
    Depends: mozilla-psm (= 2:1.4-4) but it is not going to be installed
    Depends: mozilla-xft (= 2:1.4-4) but it is not going to be installed
    E: Sorry, broken packages
    root@Harkonnen:~#


    Also, running "apt-get install -t mozilla" doesn't give any sucess either.


    Reading Package Lists... Done
    Building Dependency Tree... Done
    The following packages will be REMOVED:
    kde-i18n-de
    0 packages upgraded, 0 newly installed, 1 to remove and 788 not upgraded.
    2 packages not fully installed or removed.
    Need to get 0B of archives. After unpacking 19.8MB will be freed.
    Do you want to continue? [Y/n] Y
    (Reading database ... 112084 files and directories currently installed.)
    Removing kde-i18n-de ...
    dpkg: error processing kde-i18n-de (--remove):
    failed to rmdir/unlink `/usr/share/doc/kde/HTML/de/kenolaba/common.dpkg-tmp': Permission denied
    Errors were encountered while processing:
    kde-i18n-de
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    root@Harkonnen:~#


    Help! apt-get wont' work!

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    929
    Have you tried apt-get update?

    My guess, nothing more, is that you should consider pointing your sources list at unstable. In a sense, you're asking for trouble if you use a mixed sources list on a fairly old version of Knoppix....... especially with something as freaky and complex as Mozilla.

    As to the "imminent failure" message, take it seriously. False warnings are relatively uncommon. It looks like it will die. Soon. Buy another. Now.

  3. #3
    Member registered user
    Join Date
    Sep 2003
    Posts
    67
    Quote Originally Posted by fingers99
    Have you tried apt-get update?

    My guess, nothing more, is that you should consider pointing your sources list at unstable. In a sense, you're asking for trouble if you use a mixed sources list on a fairly old version of Knoppix....... especially with something as freaky and complex as Mozilla.

    As to the "imminent failure" message, take it seriously. False warnings are relatively uncommon. It looks like it will die. Soon. Buy another. Now.
    Yes, I have done apt-get update. Some of the lines say "testing" and some say "unstable". Does doing apt-get update update my sources list?

    Apt-get update runs and it's last lines are:
    Reading Package Lists... Done
    Building Dependency Tree... Done
    E: Some index files failed to download, they have been ignored, or old ones used instead.

    How do I point my sources list at unstable?

  4. #4
    Junior Member
    Join Date
    Apr 2003
    Posts
    9

    Have you tried...

    apt-get install -t unstable mozilla?

  5. #5
    Member registered user
    Join Date
    Sep 2003
    Posts
    67

    Re: Have you tried...

    Quote Originally Posted by mangancha
    apt-get install -t unstable mozilla?
    I thought it would be that simple too. No, that doesn't work either:

    root@Harkonnen:~# apt-get install -t unstable mozilla
    Reading Package Lists... Done
    Building Dependency Tree... Done
    The following extra packages will be installed:
    gcc-3.3-base libc6 libc6-dev libgcc1 libglib2.0-0 libglib2.0-data
    libglib2.0-dev libnspr4 libnss3 libstdc++5 libxrender1 locales
    mozilla-browser mozilla-locale-de-at mozilla-mailnews mozilla-psm
    mozilla-xft
    The following packages will be REMOVED:
    kde-i18n-de mozilla-xmlterm
    The following NEW packages will be installed:
    gcc-3.3-base libstdc++5 libxrender1 mozilla-xft
    14 packages upgraded, 4 newly installed, 2 to remove and 777 not upgraded.
    2 packages not fully installed or removed.
    Need to get 25.8MB of archives. After unpacking 8478kB will be freed.
    Do you want to continue? [Y/n] Y
    Get:1 http://ftp2.de.debian.org unstable/main libc6-dev 2.3.2-6 [2632kB]
    Get:2 http://ftp2.de.debian.org unstable/main locales 2.3.2-6 [3799kB]
    Get:3 http://ftp2.de.debian.org unstable/main libc6 2.3.2-6 [3717kB]
    Get:4 http://ftp2.de.debian.org unstable/main gcc-3.3-base 1:3.3.2-0pre3 [141kB]
    Get:5 http://ftp2.de.debian.org unstable/main libgcc1 1:3.3.2-0pre3 [71.0kB]
    Get:6 http://ftp2.de.debian.org unstable/main libstdc++5 1:3.3.2-0pre3 [282kB]
    Get:7 http://ftp2.de.debian.org unstable/main libglib2.0-dev 2.2.3-1 [393kB]
    Get:8 http://ftp2.de.debian.org unstable/main libglib2.0-data 2.2.3-1 [126kB]
    Get:9 http://ftp2.de.debian.org unstable/main libglib2.0-0 2.2.3-1 [305kB]
    Get:10 http://ftp2.de.debian.org unstable/main mozilla 2:1.4-4 [1026B]
    Get:11 http://ftp2.de.debian.org unstable/main mozilla-mailnews 2:1.4-4 [1946kB]
    Get:12 http://ftp2.de.debian.org unstable/main mozilla-psm 2:1.4-4 [187kB]
    Get:13 http://ftp2.de.debian.org unstable/main libnss3 2:1.4-4 [615kB]
    Get:14 http://ftp2.de.debian.org testing/main libxrender1 0.8.2-1 [20.3kB]
    Get:15 http://ftp2.de.debian.org unstable/main mozilla-xft 2:1.4-4 [185kB]
    Get:16 http://ftp2.de.debian.org unstable/main mozilla-locale-de-at 1.4-1 [681kB ]
    Get:17 http://ftp2.de.debian.org unstable/main mozilla-browser 2:1.4-4 [10.6MB]
    Get:18 http://ftp2.de.debian.org unstable/main libnspr4 2:1.4-4 [124kB]
    Fetched 25.8MB in 3m7s (138kB/s)
    Preconfiguring packages ...
    (Reading database ... 112084 files and directories currently installed.)
    Removing kde-i18n-de ...
    dpkg: error processing kde-i18n-de (--remove):
    failed to rmdir/unlink `/usr/share/doc/kde/HTML/de/kenolaba/common.dpkg-tmp': Permission denied
    Errors were encountered while processing:
    kde-i18n-de
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    root@Harkonnen:~#

  6. #6
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    Try:

    apt-get -f install

    At any rate you're going to need to get the kde-i18n-de problem fixed before apt is going to work. I would suggest you edit /etc/locale.gen and remove or comment out those that you don't need. Then install localepurge. If you can't get apt to download localepurge then you could download it yourself and install it with midnight commander for example.

    Another something to try might be dpkg -P locales

  7. #7
    Senior Member registered user
    Join Date
    May 2003
    Location
    Utrecht, The Netherlands
    Posts
    298
    maybe you can download the latest knoppix, run knoppix-installer to install it and bla bla bla... ???

  8. #8
    Member registered user
    Join Date
    Sep 2003
    Posts
    67
    Okay, I edited /etc/locale.gen and commented out the ones i don't need. It said in the file I would need to run locale-gen, which I did, which surprisingly completed without error. Then I tried apt-get to get localepurge and it worked. Of course on the yes or no point, it said kde-i18n-de would be removed. Localepurge was supposed to clean off the locales I don't need. I went through with the program and then it went back to the shell and dpkg spit out the kde-i18n-de error again.

    root@Harkonnen:~# apt-get install localepurge
    Reading Package Lists... Done
    Building Dependency Tree... Done
    The following packages will be REMOVED:
    kde-i18n-de
    The following NEW packages will be installed:
    localepurge
    0 packages upgraded, 1 newly installed, 1 to remove and 605 not upgraded.
    2 packages not fully installed or removed.
    Need to get 24.1kB of archives. After unpacking 19.7MB will be freed.
    Do you want to continue? [Y/n] Y
    Get:1 http://ftp2.de.debian.org testing/main localepurge 0.0.58 [24.1kB]
    Fetched 24.1kB in 1s (19.6kB/s)
    Preconfiguring packages ...
    (Reading database ... 112084 files and directories currently installed.)
    Removing kde-i18n-de ...
    dpkg: error processing kde-i18n-de (--remove):
    failed to rmdir/unlink `/usr/share/doc/kde/HTML/de/kenolaba/common.dpkg-tmp': Permission denied
    Errors were encountered while processing:
    kde-i18n-de
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    Additionally, I ran:

    root@Harkonnen:~# dpkg --audit
    The following packages are only half configured, probably due to problems
    configuring them the first time. The configuration should be retried using
    dpkg --configure <package> or the configure menu option in dselect:
    locales GNU C Library: National Language (locale) data [support]

    The following packages are only half installed, due to problems during
    installation. The installation can probably be completed by retrying it;
    the packages can be removed using dselect or dpkg --remove:
    kde-i18n-de German i18n files for KDE


    Now if I do an ls in /usr/share/doc/kde/HTML/de/, kenolaba shows up, but strangely (as root no less) I cannot cd nor rmdir the kenolaba folder:
    bash: cd: kenolaba: Permission denied

    Is there some way I can exclude kde-i18n-de from apt-get? Issue a command or edit a file so that it doesn't care or mess with kde-i18n-de anymore?


    Superstoned, I don't think my hard drive can take another install.

  9. #9
    Senior Member registered user
    Join Date
    May 2003
    Location
    Utrecht, The Netherlands
    Posts
    298
    Quote Originally Posted by lavaman094
    Superstoned, I don't think my hard drive can take another install.
    well, I can understand that - although I guess something is screwed up, and it *might* be easier to just re-install...

    You can backup your home-dir (or even put it on a different partition) to save your pref's etc...

  10. #10
    Member registered user
    Join Date
    Sep 2003
    Posts
    67
    Could this problem be caused by a bad data copy from the CD when I ran the knx-hdinstall script?

    Would this go away if I reinstalled from a fresh and new 9/5/03 copy of Knoppix? does this sort of problem happen under normal circumstances?

Page 1 of 2 12 LastLast

Similar Threads

  1. apt-get / dpkg error: unable to access dpkg status area
    By Nitromethane1261 in forum General Support
    Replies: 2
    Last Post: 09-15-2004, 12:09 AM
  2. dpkg-deb: subprocess paste killed by signal (Broken pipe)
    By FelixDzerzhinsky in forum Hdd Install / Debian / Apt
    Replies: 9
    Last Post: 07-11-2004, 07:58 PM
  3. dpkg-deb: subprocess paste killed by signal (Broken pipe)
    By FelixDzerzhinsky in forum Networking
    Replies: 0
    Last Post: 07-08-2004, 01:06 PM
  4. Removing broken packages in dselect/dpkg
    By leecming in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 06-29-2004, 06:42 AM

Posting Permissions

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


Atari 800 Home Computer System w/ CO17945 Power Adaptor - Partially Tested picture

Atari 800 Home Computer System w/ CO17945 Power Adaptor - Partially Tested

$159.99



Atari 1050 5.25

Atari 1050 5.25" Floppy Disk Drive w/ CO17945 Power Adaptor - Powers On

$49.99



Atari 130xe Computer Case (no keyboard, no motheboard) picture

Atari 130xe Computer Case (no keyboard, no motheboard)

$40.00



Atari FujiNet 800/XL/XE/XEGS (Devkit Version using 8 MB ESP32-DevKitC-VE board) picture

Atari FujiNet 800/XL/XE/XEGS (Devkit Version using 8 MB ESP32-DevKitC-VE board)

$58.00



Atari 600XL Computer, Pwr Supply & Video Cable, Tested & Working picture

Atari 600XL Computer, Pwr Supply & Video Cable, Tested & Working

$150.00



Atari CO12045 Video Chess Arcade ROM Chip ~ US STOCK picture

Atari CO12045 Video Chess Arcade ROM Chip ~ US STOCK

$6.50



Vintage Atari 400 Computer System w/ Atari 410 Program Recorder picture

Vintage Atari 400 Computer System w/ Atari 410 Program Recorder

$120.00



Atari 400/800/XL/XE Computer SIO2PC - PC/Mac Disk Drive Emulator Adapter/Device picture

Atari 400/800/XL/XE Computer SIO2PC - PC/Mac Disk Drive Emulator Adapter/Device

$15.25



A8picoCart Atari 130 / 65 XE 800 / 1200 XL XEGS multicart UnoCart clone game picture

A8picoCart Atari 130 / 65 XE 800 / 1200 XL XEGS multicart UnoCart clone game

$32.95



Atari 600XL Computer Bundle TESTED WORKING With Cassette Recorder Atariwriter picture

Atari 600XL Computer Bundle TESTED WORKING With Cassette Recorder Atariwriter

$161.95