Package: checkinstall Version: 1.6.1-7 Severity: normal Hello,
I got the file permission problems when I tried to review the control file before creating the debian package, which is built correctly though. The errors are the similar whether I invoke checkinstall via sudo or as root. My /etc/checkinstallrc is: <checkinstallrc> # Debug level # 0: No debug # 1: Keep all temp files except the package's files # 2: Keep the package's files too DEBUG=2 # Location of the "installwatch" program INSTALLWATCH_PREFIX="/usr" INSTALLWATCH=${INSTALLWATCH_PREFIX}/bin/installwatch # Location of the makepkg program. "makepak" is the default, and is # included with checkinstall. If you want to use Slackware's native "makepkg" # then set this to "makepkg" MAKEPKG=/sbin/makepkg # makepkg optional flags. These are recommended if running a newer Slackware # version: "-l y -c n" MAKEPKG_FLAGS="-l y -c n" # Is MAKEPKG running interactively? If so, you might want # to see what it's doing: SHOW_MAKEPKG=0 # Where will we keep our temp files? BASE_TMP_DIR=/var/tmp ## Don't set this to /tmp or / !! # Where to place the installed document files DOC_DIR="/usr/share/doc" # Default architecture type (Leave it empty to allow auto-guessing) ARCHITECTURE="" # Default package type. Leave it empty to enable asking everytime # S : Slackware # R : RPM # D : Debian INSTYPE="D" # Storage directory for newly created packages # By default they will be stored at the default # location defined for the package type PAK_DIR="" # RPM optional flags RPM_FLAGS=" --force --nodeps --replacepkgs " # dpkg optional flags DPKG_FLAGS="" ## These are boolean. Set them to 1 or 0 # Interactively show the results of the install command (i.e. "make install")? # This is useful for interactive installation commands SHOW_INSTALL=1 # Show Slackware package installation script while it runs? Again, useful if # it's an interactive script SHOW_SLACK_INSTALL=1 # Automatic deletion of "doc-pak" upon termination? DEL_DOCPAK=0 # Automatic deletion of the spec file? DEL_SPEC=0 # Automatic deletion of "description-pak"? DEL_DESC=0 # Automatically strip all ELF binaries? STRIP_ELF=1 # Automatically strip all ELF shared libraries? # Note: this setting will automatically be set to "0" if STRIP_ELF=0 STRIP_SO_ELF=1 # Automatically search for shared libraries and add them to /etc/ld.so.conf? # This is experimental and could mess up your dynamic loader configuration. # Use it only if you know what you are doing. ADD_SO=0 # Automatically compress all man pages? COMPRESS_MAN=1 # Set the umask to this value CKUMASK=0022 # Backup files overwritten or modified by your install command? BACKUP=1 # Write a doinst.sh file that installs your description (Slackware)? AUTODOINST=1 # Are we going to use filesystem translation? TRANSLATE=1 # Reset the owner/group of all files to root.root? RESET_UIDS=0 # Use the new (8.1+) Slackware description file format? NEW_SLACK=1 # Comma delimited list of files/directories to be ignored EXCLUDE="" # Accept default values for all questions? ACCEPT_DEFAULT=0 # Use "-U" flag in rpm by default when installing a rpm package # This tells rpm to (U)pdate the package instead of (i)nstalling it. RPM_IU=U # Inspect the file list before creating the package CK_INSPECT=0 # Review the .spec file before creating a .rpm REVIEW_SPEC=0 # Review the control file before creating a .deb #REVIEW_CONTROL=0 REVIEW_CONTROL=1 # Install the package or just create it? #INSTALL=1 INSTALL=0 </checkinstallrc> Here's the relevant parts of output messages from checkinstall: <checkinstall-log> ======================== Installation successful ========================== debug: BASE_TMP_DIR: /var/tmp debug: EXCLUDE= grep: /var/tmp/tmp.bmEyb15185/newfile: No such file or directory Copying files to the temporary directory...OK Stripping ELF binaries and libraries...OK Compressing man pages...OK Building file list...OK debug: PKG_BASENAME=srm debug: BUILD_DIR=/var/tmp/tmp.bmEyb15185/package debug: DEBPKG=/home/stluk/00sys/deb/srm-1.2.9/srm_1.2.9-1_i386.deb debug: dpkg command: "dpkg-deb -b /var/tmp/tmp.bmEyb15185/package /home/stluk/00sys/deb/srm-1.2.9/srm_1.2.9-1_i386.deb &> /var/tmp/tmp.bmEyb15185/dpkgbuild.log" You requested to review the control file for this package. Now you'll have the chance to review and optionally modify this file. Press ENTER to continue. /usr/bin/checkinstall: line 2473: /var/tmp/tmp.bmEyb15185/package/DEBIAN/control: Permission denied Building Debian package...OK NOTE: The package will not be installed Erasing temporary files...OK Writing backup package...OK Building debug information package...OK ********************************************************************** Done. The new package has been saved to /home/stluk/00sys/deb/srm-1.2.9/srm_1.2.9-1_i386.deb You can install it in your system anytime using: dpkg -i srm_1.2.9-1_i386.deb </checkinstall-log> The result of "sudo ls -al /var/tmp/tmp.bmEyb15185/DEBIAN" is: <dirlis> total 12 drwxr-xr-x 2 root root 4096 2008-07-13 16:32 . drwx------ 7 root root 4096 2008-07-13 16:32 .. -rw-r--r-- 1 root root 0 2008-07-13 16:32 conffiles -rw-r--r-- 1 root root 186 2008-07-13 16:32 control </dirlist> Regards, ST -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'experimental'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.26-rc9-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages checkinstall depends on: ii dpkg-dev 1.14.20 Debian package development tools ii file 4.24-4 Determines file type using "magic" ii findutils 4.4.0-2 utilities for finding files--find, ii libc6 2.7-12 GNU C Library: Shared libraries checkinstall recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]