Hi everyone,
Upgradepkg seems to have a problem. I'm getting segfaults when upgrading
packages - see screendump below.
root@odin:/mnt/slakware/a1# upgradepkg
devs-7.1-alpha-1.tgz%devs-7.2-alpha-1.tgz
*************************************************************
* Upgrading devs-7.1-alpha-1 package using ./devs-7.2-alpha-1.tgz
*************************************************************
Installing package ./devs-7.2-alpha-1.tgz (Priority: [required])...
PACKAGE DESCRIPTION:
devs-7.2-alpha-1: Device files
devs-7.2-alpha-1:
devs-7.2-alpha-1: This package creates special files in the /dev
directory that
devs-7.2-alpha-1: represent your system's hardware.
devs-7.2-alpha-1:
Executing install script for ./devs-7.2-alpha-1.tgz...
Removing package
/var/log/packages/devs-7.1-alpha-1-upgraded-2000-12-02,00:00:57...
Removing files:
--> /dev/X0R (symlink) was found in another package. Skipping.
--> /dev/core (symlink) was found in another package. Skipping.
--> /dev/fd (symlink) was found in another package. Skipping.
--> /dev/ftape (symlink) was found in another package. Skipping.
--> /dev/nfsd (symlink) was found in another package. Skipping.
--> /dev/nftape (symlink) was found in another package. Skipping.
--> /dev/nrmt0 (symlink) was found in another package. Skipping.
--> /dev/nrmt1 (symlink) was found in another package. Skipping.
--> /dev/rmt0 (symlink) was found in another package. Skipping.
--> /dev/rmt1 (symlink) was found in another package. Skipping.
--> /dev/stderr (symlink) was found in another package. Skipping.
--> /dev/stdin (symlink) was found in another package. Skipping.
--> /dev/stdout (symlink) was found in another package. Skipping.
--> /dev/systty (symlink) was found in another package. Skipping.
--> /dev/MAKEDEV was found in another package. Skipping.
/sbin/removepkg: line 38: 326 Done comm -12
$TMP/delete_list $TMP/required_list
327 Segmentation fault | keep_files
--> Deleting /install/devs.files.tar.gz
/sbin/upgradepkg: line 164: 295 Segmentation fault removepkg
$OLD-upgraded-$TIMESTAMP
Package devs-7.1-alpha-1 upgraded with new package
./devs-7.2-alpha-1.tgz.
root@odin:/mnt/slakware/a1#
It seems to be a problem with 'comm', and it's not just when upgrading
that one package - I get the same error when upgrading the sysvinit
package (as shown below). I have only tried upgrading those two packages,
but I suspect that this will be a problem with all of them.
Removing files:
--> /etc/rc.d/rc.0 (symlink) was found in another
package.
Skipping. --> /sbin/pidof (symlink) was found in another
package.
Skipping. --> /sbin/reboot (symlink) was found in another
package. Skipping. --> /sbin/telinit (symlink) was found in
another package. Skipping. --> /etc/inittab was found in
another
package. Skipping.
/sbin/removepkg: line 38: 469 Done
comm
-12 $TMP/delete_list $TMP/required_list
470 Segmentation fault | keep_files
/sbin/upgradepkg: line 164: 438 Segmentation fault
removepkg $OLD-upgraded-$TIMESTAMP
Package sysvinit-2.78-alpha-1 upgraded with new package
./sysvinit-2.78-alpha-2.tgz.
A related question: Am I interpreting the package names correctly? I read
them as 'package_name'-'version_nr'-'architecture'-'build_nr'.tgz
Best regards,
Jesper Juhl
juhl@eisenstein.dk
This archive was generated by hypermail 2b30 : Fri May 09 2003 - 10:00:02 PDT