PDA

View Full Version : KDE patch - how to?



nishtya
04-25-2004, 11:25 PM
when I upgraded KDE from 3.2.1 to 3.2.2, Ark broke. Sort of. Ark is fine from command line, but in konqueror right-clicking to do any extraction or opening ark results in this error:

"The utility is not in your PATH. Please install it or contact your system administrator"

This is apparently a known bug but googling found only one post on it in the debian bug list, where the OP says there is a patch. On KDE's site, this page: http://www.kde.org/info/3.2.2.php#binary has a patch that for an ark problem. But I am am clueless as to how to use it. Assistance much appreciated.

BTW, this a hd install of kanotix debian style.

Stephen
04-26-2004, 02:57 AM
when I upgraded KDE from 3.2.1 to 3.2.2, Ark broke. Sort of. Ark is fine from command line, but in konqueror right-clicking to do any extraction or opening ark results in this error:

"The utility is not in your PATH. Please install it or contact your system administrator"

This is apparently a known bug but googling found only one post on it in the debian bug list, where the OP says there is a patch. On KDE's site, this page: http://www.kde.org/info/3.2.2.php#binary has a patch that for an ark problem. But I am am clueless as to how to use it. Assistance much appreciated.

BTW, this a hd install of kanotix debian style.

If you have not cleaned your apt cache yet then install the older version it will work the only side effect being it breaks any further upgrades but you can upgrade your other packages by installing the ark package at the 3.2.2 again then upgrade the other packages and downgrade ark again to get back the working version.

It seems to be a little extreme to break the entire packaging system to get one package but if you need ark bad enough it will work. Another choice is to get the patch file and the Debian sources for kdeutils apply the patch to the file that is wrong and compile and build a .deb package(s) for you to install locally I have never done that one so cannot tell you much about the process or you can wait a few days and a new package will probably appear in the achives that fixes the problem.



HappyTux:/home/stephen# apt-cache policy ark
ark:
Installed: 4:3.2.2-1
Candidate: 4:3.2.2-1
Version Table:
*** 4:3.2.2-1 0
600 http://ftp.de.debian.org unstable/main Packages
100 /var/lib/dpkg/status
4:3.1.5-1 0
990 http://ftp2.de.debian.org testing/main Packages
4:2.2.2-9.2 0
500 http://security.debian.org stable/updates/main Packages
4:2.2.2-9 0
500 http://ftp2.de.debian.org stable/main Packages
HappyTux:/home/stephen# ll /var/cache/apt/archives/ark_4%3a3.2.
ark_4%3a3.2.1-1_i386.deb ark_4%3a3.2.2-1_i386.deb
HappyTux:/home/stephen# dpkg -i /var/cache/apt/archives/ark_4%3a3.2.1-1_i386.deb
dpkg - warning: downgrading ark from 3.2.2-1 to 3.2.1-1.
(Reading database ... 75944 files and directories currently installed.)
Preparing to replace ark 4:3.2.2-1 (using .../ark_4%3a3.2.1-1_i386.deb) ...
Unpacking replacement ark ...
Setting up ark (3.2.1-1) ...

HappyTux:/home/stephen# apt-get -s upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
kdeutils: Depends: ark (>= 4:3.2.2-1) but 4:3.2.1-1 is installed
E: Unmet dependencies. Try using -f.

HappyTux:/home/stephen# agi -t unstable ark
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be upgraded:
ark (3.2.1-1 => 3.2.2-1)
1 upgraded, 0 newly installed, 0 to remove and 107 not upgraded.
Inst ark [4:3.2.1-1] (4:3.2.2-1 Debian:unstable)
Conf ark (4:3.2.2-1 Debian:unstable)

HappyTux:/home/stephen# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages have been kept back:
bluefish (0.7-1 => 0.12-1)
gcc (2.95.4-14 => 3.3.3-2)
mozilla-firebird (0.7-7 => 0.8-8)
The following packages will be upgraded:
alsa-oss (1.0.3a-1 => 1.0.4-1)
console-data (2002.12.04dbs-34 => 2002.12.04dbs-37)
libcap1 (1.10-13 => 1.10-14)
libgnome2-0 (2.4.0-9 => 2.4.0-11)
libgnome2-common (2.4.0-9 => 2.4.0-11)
libkrb53 (1.3.2-2 => 1.3.3-1)
libpam-modules (0.76-16 => 0.76-19)
libpam-runtime (0.76-16 => 0.76-19)
libpam0g (0.76-16 => 0.76-19)
libtidy0 (20031001-3 => 20040312-1)
sed (4.0.9-1 => 4.0.9-2)
setserial (2.17-35 => 2.17-36)
tidy (20031001-3 => 20040312-1)
13 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 2761kB of archives.
After unpacking 36.9kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp2.de.debian.org testing/main sed 4.0.9-2 [209kB]
Get:2 http://ftp2.de.debian.org testing/main libcap1 1:1.10-14 [9082B]
Get:3 http://ftp2.de.debian.org testing/main libpam-runtime 0.76-19 [55.2kB]
Get:4 http://ftp2.de.debian.org testing/main libpam0g 0.76-19 [73.8kB]
Get:5 http://ftp2.de.debian.org testing/main libpam-modules 0.76-19 [151kB]
Get:6 http://ftp2.de.debian.org testing/main console-data 2002.12.04dbs-37 [1099kB]
Get:7 http://ftp2.de.debian.org testing/main setserial 2.17-36 [50.8kB]
Get:8 http://ftp2.de.debian.org testing/main alsa-oss 1.0.4-1 [43.0kB]
Get:9 http://ftp2.de.debian.org testing/main libgnome2-0 2.4.0-11 [89.5kB]
Get:10 http://ftp2.de.debian.org testing/main libgnome2-common 2.4.0-11 [497kB]
Get:11 http://ftp2.de.debian.org testing/main libkrb53 1.3.3-1 [346kB]
Get:12 http://ftp2.de.debian.org testing/main libtidy0 20040312-1 [122kB]
Get:13 http://ftp2.de.debian.org testing/main tidy 20040312-1 [14.7kB]
Fetched 2761kB in 19s (140kB/s)
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
grave bugs of libpam-runtime (0.76-16 -> 0.76-19) <done>
#243581 - libpam-runtime: subprocess post-installation script returned error exit status 1
Summary:
libpam-runtime(1 bug)
Are you sure to install/upgrade these packages? [Y/n/?/...] y
Reading changelogs... Done
apt-listchanges: Do you want to continue? [Y/n]? y
Preconfiguring packages ...
(Reading database ... 76005 files and directories currently installed.)
Preparing to replace sed 4.0.9-1 (using .../archives/sed_4.0.9-2_i386.deb) ...
Unpacking replacement sed ...
Setting up sed (4.0.9-2) ...

(Reading database ... 76004 files and directories currently installed.)
Preparing to replace libcap1 1:1.10-13 (using .../libcap1_1%3a1.10-14_i386.deb) ...
Unpacking replacement libcap1 ...
Preparing to replace libpam-runtime 0.76-16 (using .../libpam-runtime_0.76-19_all.deb) ...
Unpacking replacement libpam-runtime ...
Setting up libpam-runtime (0.76-19) ...

(Reading database ... 76006 files and directories currently installed.)
Preparing to replace libpam0g 0.76-16 (using .../libpam0g_0.76-19_i386.deb) ...
Unpacking replacement libpam0g ...
Setting up libpam0g (0.76-19) ...

(Reading database ... 76006 files and directories currently installed.)
Preparing to replace libpam-modules 0.76-16 (using .../libpam-modules_0.76-19_i386.deb) ...
Unpacking replacement libpam-modules ...
Setting up libcap1 (1.10-14) ...

Setting up libpam-modules (0.76-19) ...

(Reading database ... 76006 files and directories currently installed.)
Preparing to replace console-data 2002.12.04dbs-34 (using .../console-data_2002.12.04dbs-37_all.deb) ...
Unpacking replacement console-data ...
Preparing to replace setserial 2.17-35 (using .../setserial_2.17-36_i386.deb) ...
Unpacking replacement setserial ...
Preparing to replace alsa-oss 1.0.3a-1 (using .../alsa-oss_1.0.4-1_i386.deb) ...
Unpacking replacement alsa-oss ...
Preparing to replace libgnome2-0 2.4.0-9 (using .../libgnome2-0_2.4.0-11_i386.deb) ...
Unpacking replacement libgnome2-0 ...
Preparing to replace libgnome2-common 2.4.0-9 (using .../libgnome2-common_2.4.0-11_all.deb) ...
Unpacking replacement libgnome2-common ...
Preparing to replace libkrb53 1.3.2-2 (using .../libkrb53_1.3.3-1_i386.deb) ...
Unpacking replacement libkrb53 ...
Preparing to replace libtidy0 20031001-3 (using .../libtidy0_20040312-1_i386.deb) ...
Unpacking replacement libtidy0 ...
Preparing to replace tidy 20031001-3 (using .../tidy_20040312-1_i386.deb) ...
Unpacking replacement tidy ...
Setting up console-data (2002.12.04dbs-37) ...
Looking for keymap to install:
NONE

Setting up setserial (2.17-36) ...

Setting up alsa-oss (1.0.4-1) ...

Setting up libgnome2-common (2.4.0-11) ...

Setting up libgnome2-0 (2.4.0-11) ...

Setting up libkrb53 (1.3.3-1) ...

Setting up libtidy0 (20040312-1) ...

Setting up tidy (20040312-1) ...
HappyTux:/home/stephen# dpkg -i /var/cache/apt/archives/ark_4%3a3.2.1-1_i386.deb
dpkg - warning: downgrading ark from 3.2.2-1 to 3.2.1-1.
(Reading database ... 76006 files and directories currently installed.)
Preparing to replace ark 4:3.2.2-1 (using .../ark_4%3a3.2.1-1_i386.deb) ...
Unpacking replacement ark ...
Setting up ark (3.2.1-1) ...

HappyTux:/home/stephen# apt-get -s upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
kdeutils: Depends: ark (>= 4:3.2.2-1) but 4:3.2.1-1 is installed
E: Unmet dependencies. Try using -f.

nishtya
04-26-2004, 04:23 AM
yikes :roll:
Thanks for letting me know, Stephen. I had a feeling it was a corker. I can live with it until an update. As long as it works from the command line I am ok. Same deal with kdesu bug, I can do what I need to from CLI until they fix it.

People wonder why I don't update major stuff? :lol: It's easier to wait for the next iso and reinstall but I get attached. Have to admit though that 3.2.2 is much more stable, had been really pretty bad before.

Stephen
04-26-2004, 07:10 AM
yikes :roll:
Thanks for letting me know, Stephen. I had a feeling it was a corker. I can live with it until an update. As long as it works from the command line I am ok. Same deal with kdesu bug, I can do what I need to from CLI until they fix it.

Exactly the only time I usually use ark is to read the docs inside the file to decide if I want to download it.



People wonder why I don't update major stuff? :lol: It's easier to wait for the next iso and reinstall but I get attached. Have to admit though that 3.2.2 is much more stable, had been really pretty bad before.

There is no need to install again there will be nothing new on the CD that would be of use to a hard drive install it would only be improvements to the scripts that are only used on the CD itself all other packages you can get from the same sources as knoppix (mainly the Debian archives) and install them.