Bug#637120: dh_installkpatches: Fails to work with kernel branch 3.X version numbers

2011-08-08 Thread Rafał Krypa
Package: dh-kpatches
Version: 0.99.36
Severity: normal
Tags: patch

dh_installkpatches fails with the following error:
Malformed kernel version: `3.0' at /usr/bin/dh_installkpatches line 290.

Please consider applying the attached patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (60, 'unstable'), (50, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
 text/html; charset=us-ascii; NAME=dh-kpatches.patch: Unrecognized 


Bug#617690: apt: APT::Get::AllowUnauthenticated=true always causes warning packages cannot be authenticated

2011-03-10 Thread Rafał Krypa
Package: apt
Version: 0.8.11.5
Severity: normal

Whenever I set the option APT::Get::AllowUnauthenticated to true for apt-get,
it complains that packages cannot be authenticated, even if they can and
signatures and checksums are OK. With the option set to false, there is no
warning:

# apt-get install base-passwd --reinstall --download-only -o 
APT::Get::AllowUnauthenticated=true
Reading package lists... Done
Building dependency tree   
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 41,9 kB of archives.
After this operation, 0 B of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  base-passwd
Authentication warning overridden.
Get:1 http://ftp.pl.debian.org/debian/ sid/main base-passwd amd64 3.5.22 [41,9 
kB]
Fetched 41,9 kB in 0s (461 kB/s)
Download complete and in download only mode

# apt-get install base-passwd --reinstall --download-only -o 
APT::Get::AllowUnauthenticated=false
Reading package lists... Done
Building dependency tree   
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 41,9 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ftp.pl.debian.org/debian/ sid/main base-passwd amd64 3.5.22 [41,9 
kB]
Fetched 41,9 kB in 0s (517 kB/s)
Download complete and in download only mode


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (60, 'unstable'), (50, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt depends on:
ii  debian-archive-keyring  2010.08.28   GnuPG archive keys of the Debian a
ii  gnupg   1.4.11-3 GNU privacy guard - a free PGP rep
ii  libc6   2.11.2-11Embedded GNU C Library: Shared lib
ii  libgcc1 1:4.5.2-4GCC support library
ii  libstdc++6  4.5.2-4  The GNU Standard C++ Library v3
ii  zlib1g  1:1.2.3.4.dfsg-3 compression library - runtime

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc   none (no description available)
ii  aptitude  0.6.3-3.2  terminal-based package manager (te
ii  bzip2 1.0.5-6high-quality block-sorting file co
ii  dpkg-dev  1.15.8.10  Debian package development tools
ii  lzma  4.43-14Compression method of 7z format in
ii  python-apt0.7.100.1  Python interface to libapt-pkg
ii  synaptic  0.75   Graphical package manager

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#452363: /init: .: 150: Can't open /scripts/live

2007-11-22 Thread Rafał Krypa
Package: fai-server
Version: 3.2.1
Severity: normal

--- Please enter the report below this line. ---
After setting up FAI with fai-setup, hosts fail to boot with the following 
error:


Begin: Mounting root file system... ...
/init: .: 150: Can't open /scripts/live
Kernel panic - not syncing: Attempted to kill init!


Indeed, there is no
/srv/fai/nfsroot/live/filesystem.dir/usr/share/initramfs-tools/scripts/live 
file.

It seems to be related to package live-initramfs missing in Etch, DebianLive FAQ
suggests Add latest live-initramfs deb package into 
config/chroot_local-packages
directory and rebuild for exactly this problem and fai-setup complains about
unknown package live-initramfs.

Here comes the full output of fai-setup:

Creating FAI nfsroot in /srv/fai/nfsroot/live/filesystem.dir.
By default it needs more than 330 MBytes disk space.
This may take a long time.
/srv/fai/nfsroot/live/filesystem.dir already exists. Removing 
/srv/fai/nfsroot/live/filesystem.dir
Creating base system using debootstrap version 
Calling debootstrap etch /srv/fai/nfsroot/live/filesystem.dir 
http://ftp.debian.org/debian
Creating base.tgz
Upgrading /srv/fai/nfsroot/live/filesystem.dir
Making a key pair for cfengine, please wait, this could take a minute...
Writing private key to /var/lib/cfengine2/ppkeys/localhost.priv
Writing public key to /var/lib/cfengine2/ppkeys/localhost.pub
Checking for services that may need to be restarted...done.
Checking init scripts...
Nothing to restart.
install_packages: reading config files from directory /etc/fai
WARNING: These unknown packages are removed from the installation list: 
live-initramfs
Adding additional packages to /srv/fai/nfsroot/live/filesystem.dir:
fai-nfsroot module-init-tools dhcp3-client ssh rdate lshw portmap bootpc rsync 
lftp
rsh-client less dump reiserfsprogs ext2resize usbutils hwinfo psmisc pciutils 
hdparm
smartmontools parted mdadm lvm2 dnsutils ntpdate dosfstools cvs jove xfsprogs 
xfsdump
sysutils dialog discover mdetect console-tools console-common expect iproute 
udev
subversion cfengine2 libapt-pkg-perl grub lilo read-edid linux-image-486
unionfs-modules-2.6-486 
install_packages: reading config files from directory /etc/fai
WARNING: These unknown packages are removed from the installation list: 
live-initramfs
Extracting templates from packages: 100%
Done.
Looking for keymap to install:
NONE
Looking for keymap to install:
NONE
/sys/class/net/ is not available, persistent interface names not saved.

 Hmm. The package shipped with a symbolic link /lib/modules/2.6.18-5-486/source
 However, I can not read the target: No such file or directory
 Therefore, I am deleting /lib/modules/2.6.18-5-486/source

Running depmod.
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.
W: mkconf: MD subsystem is not loaded, thus I cannot scan for arrays.
W: mdadm: failed to auto-generate the mdadm.conf file.
W: mdadm: please read /usr/share/doc/mdadm/README.upgrading-2.5.3.gz .
W: mdadm: no configuration file available.
W: mdadm: falling back to emergency procedure in initramfs.
Backing up any LVM2 metadata that may exist...done.
Checking available versions of rmt, updating links in /etc/alternatives ...
(You may modify the symlinks there yourself if desired - see `man ln'.)
Updating rmt (/usr/sbin/rmt) to point to /usr/sbin/rmt-dump.
Updating rmt.8.gz (/usr/share/man/man8/rmt.8.gz) to point to 
/usr/share/man/man8/rmt-dump.8.gz.
W: mdadm: failed to load MD subsystem.
Generating array device nodes... done.
Creating SSH2 RSA key; this may take some time ...
Creating SSH2 DSA key; this may take some time ...
`/etc/fai/apt' - `/srv/fai/nfsroot/live/filesystem.dir/etc/fai/apt'
`/etc/fai/apt/sources.list' - 
`/srv/fai/nfsroot/live/filesystem.dir/etc/fai/apt/sources.list'
`/etc/fai/fai.conf' - `/srv/fai/nfsroot/live/filesystem.dir/etc/fai/fai.conf'
`/etc/fai/make-fai-nfsroot.conf' - 
`/srv/fai/nfsroot/live/filesystem.dir/etc/fai/make-fai-nfsroot.conf'
`/etc/fai/menu.lst' - `/srv/fai/nfsroot/live/filesystem.dir/etc/fai/menu.lst'
`/etc/fai/NFSROOT' - `/srv/fai/nfsroot/live/filesystem.dir/etc/fai/NFSROOT'
Shadow passwords are now on.
Removing `local diversion of /usr/sbin/update-initramfs to 
/usr/sbin/update-initramfs.distrib'
update-initramfs: Generating /boot/initrd.img-2.6.18-5-486
W: mdadm: unchecked configuration file: /etc/mdadm/mdadm.conf
W: mdadm: please read /usr/share/doc/mdadm/README.upgrading-2.5.3.gz .
W: mkconf: MD subsystem is not loaded, thus I cannot scan for arrays.
W: mdadm: failed to auto-generate temporary mdadm.conf file.
W: mdadm: no configuration file available.
W: mdadm: falling back to emergency procedure in initramfs.
`/srv/fai/nfsroot/live/filesystem.dir/boot/vmlinuz-2.6.18-5-486' - 

Bug#452363: /init: .: 150: Can't open /scripts/live

2007-11-22 Thread Rafał Krypa
On Thu, 2007-11-22 at 10:15 +0100, Henning Sprang wrote:
 Yes, you are missing the live-initramfs in your nfsroot.
 
 To get it, even in an etch nfsroot, you have to add the fai
 developer/unstable repository to your /etc/fai/apt/sources.list.
 
 Until some days before, we were missing an howto for people trying the
 latest FAI versions on etch, but I added this to the wiki:
 http://faiwiki.informatik.uni-koeln.de/index.php/FAI_3.2_Usage_Changes
 
 
 As for this bug, I think it's invalid for the debian BTS: here should
 belong either bugs for the stable fai version in the stable debian
 version, or results from testing the unstable fai version with the
 unstable(or testing) Debian version.
 
 Problems with combining stable Debian versions with unstable fai
 versions, especially when it's more or less a configuration issue, are
 not really bugs in terms of this BTS, I think.
 Anyway - it will be automatically fixed, when a user tries fai 3.2.1
 on debian testing/ustable, anmd should be close therefore, IMHO.

But I am using FAI 3.2.1 on Debian testing. It seems that default FAI
configuration is lacking, because fai-setup uses packages from Etch to
create its environment and required package live-initramfs is not there.
Adding 'deb http://www.backports.org/debian etch-backports main contrib
non-free' to /etc/fai/apt/sources.list solves this problem for me.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]