-
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!
-
Senior Member
registered user
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.
-
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?
-
Have you tried...
apt-get install -t unstable mozilla?
-
Re: Have you tried...
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:~#
-
Senior Member
registered user
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
-
Senior Member
registered user
maybe you can download the latest knoppix, run knoppix-installer to install it and bla bla bla... ???
-
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.
-
Senior Member
registered user
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...
-
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?
Similar Threads
-
By Nitromethane1261 in forum General Support
Replies: 2
Last Post: 09-15-2004, 12:09 AM
-
By FelixDzerzhinsky in forum Hdd Install / Debian / Apt
Replies: 9
Last Post: 07-11-2004, 07:58 PM
-
By FelixDzerzhinsky in forum Networking
Replies: 0
Last Post: 07-08-2004, 01:06 PM
-
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
-
Forum Rules
***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3
$29.77
ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield
$42.00
GIGABYTE B560M DS3H AC LGA1200 Intel B560 SATA 6Gb/s Micro ATX Intel Motherboard
$64.99
Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard
$46.99
Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151
$31.95
MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard
$67.99
Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD
$89.99
Asus Prime B250M-C Motherboard Supports DDR4 Intel 7th Gen
$39.99
GIGABYTE MB10-Datto Motherboard Xeon D-1521- SR2DF 2.40 GHz- Open Box
$112.00
BTC-S37 Mining Motherboard Kit /w SSD & Ram Preinstalled
$59.99