Contact Us

Home > Error Setting > Error Setting Debconf Substitutions

Error Setting Debconf Substitutions

The frontend will return the version of the protocol it speaks. In particular the hardware surrounding the CPU core is different enough that different kernels are required. We want to make a package which does not break older dpkg's, and we want to be able to get the configuration information before the package is unpacked. exit 0 unless $ARGV[0] =~ /configure/; my $DEBUG = 0; # Do some preliminary sanity checks here to ensure we actually have an # valid image dir chdir('/') or die "could http://vgadownload.com/error-setting/error-setting-debconf-flags.html

A device may now be handled by a module with a different name, # leading us to miss the dependency # 2. This is the response to the command, and it will be in the form of a number followed by whitespace and an optional string of text. After sending each command to stdout, the client should read one line from stdin. This doesn't look so good but if I'm reading it right it says I need to install linux-headers-3.2.0-4-686-pae first. anchor

A type is also needed so data can be verified. As you can see, the skip past headers. If you'd like to contribute content, let us know. escape The frontend expects commands sent to it to have backslashes and newlines quoted as \\ and \n respectively and will in turn quote backslashes and newlines in its replies.

EDDY1 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by EDDY1 05-19-2013, 04:28 PM #23 EDDY1 LQ Addict Registered: Mar 2010 Location: One common flag is the "seen" flag. GET question Ask the frontend to tell you how the user answered a question. RESET question Reset the question to its default value.

No lock ups yet. Adv Reply Quick Navigation Installation & Upgrades Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums The Ubuntu Forum Community Ubuntu Official Flavours Support New Once a question has been displayed to the user and the user has provided input, the frontend will set the seen flag. https://github.com/mmplayer/cubian-packages/blob/master/linux-image-3.4.79-sun4i/DEBIAN/postinst sub handle_missing_link { my $kimage = $_[0]; # Name of the symbolic link my $image_dest = $_[1]; # The directory the links goes into my $image_name = $_[2]; my $src_dir =

Each package is free to use a flat space, or divide its space further into sub-hierarchies. dkms.original Code: #!/bin/bash # We're passed the version of the kernel being installed inst_kern=$1 uname_s=$(uname -s) _get_kernel_dir() { KVER=$1 case ${uname_s} in Linux) DIR="/lib/modules/$KVER/build" ;; GNU/kFreeBSD) DIR="/usr/src/kfreebsd-headers-$KVER/sys" ;; esac echo $DIR Sometimes you want the user to see a question again -- in these cases you can set the seen flag to false to force the frontend to redisplay it. A device may be handled by a module that needs firmware only # for some other device, leading us to claim a dependency wrongly if (!defined($ARGV[1]) || $ARGV[1] eq '') {

Template information So, what do we need to store in a variable template? http://212.59.102.250/open-source/export/686b804a621dab02843b54795f4460ccff74eedb/kernel314/debian.sample/preinst.x86 Installed your kernel as described in the first post. We found symlink, and we should have a symlink here.\n" if $DEBUG; my $vmlinuz_target = readlink "$kimage"; my $real_target = ''; my $target = `readlink -q -m "${realimageloc}${kimage}-$version"`; $real_target = abs_path($vmlinuz_target) It would seem the one that came with wheezy is newer.

FSET question flag value This sets the state of a flag on a question. http://vgadownload.com/error-setting/error-setting-up-transcoder.html Results 1 to 7 of 7 Thread: impossible update of linux-image (debconf issue?) Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to one small pin is enough to bring down a man. The minimum meta-data associated with a variable is: long and short description, type, and default value.

Most importantly, it has a value. Is this a bug or just something weird with my system? This makes it easy for a confmodule to back up to previous questions without having to reset the seen flag. http://vgadownload.com/error-setting/error-setting-debconf-flags-in-linux-image.html Posts: 21Joined: Sat Apr 21, 2012 9:04 am by anwe79 » Tue Jul 31, 2012 7:45 pm Just to let you know (not sure if this is the right place for

If the version you specify is too low, this command will return the numeric return code 30. We use a configuration file to tell the last two cases apart, creating # a config file if needed. It can emulate a system with the same CPU core and the same ammount of memory as a Pi but the similarites between qemu-system-arm and a Pi pretty much end there.

You are currently viewing LQ as a guest.

This command can be used to set the value of a substitution. I'm seeding the Pisces image with transmission and haven't had any hangs or anything.Only my USB harddrive doesn't work at all with this kernel, see hereRegardsAydan Posts: 530Joined: Fri Apr 13, Template names are made up of components separated by the character `/' (slash). Use of uninitialized value $text in split at /usr/share/perl5/Debconf/Config.pm line 34.

Available data types Type Description string Holds any arbitrary string of data. vBulletin 2000 - 2016, Jelsoft Enterprises Ltd. at /var/lib/dpkg/info/linux-image-3.2.0-3-rpi.postinst line 606, line 3.
dpkg: error processing linux-image-3.2.0-3-rpi (--configure):
subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
linux-image-3.2.0-3-rpi
E: Sub-process /usr/bin/dpkg returned Check This Out INPUT priority question This tells the frontend to display a question (or other type of item) to the user.

It's intended to be used for mostly cosmetic reasons, touching up around other questions that are asked at the same time. If you need to reset your password, click here. Thanks, but in the meantime I've tried something else and it seemed to work: My /etc/debconf.conf was empty, I made a copy from /usr/share/debconf/debconf.conf, afterwards apt-get was able to install the my $pattern = "=" . "I"; $initrd=~ s/^$pattern$//; $image_dest = "$image_dest/"; $image_dest =~ s|/+$|/|o; $ENV{KERNEL_ARCH}=$kernel_arch if $kernel_arch; # Paranoid check to make sure that the correct value is put in there

Note: There is an implicit block around any set of INPUT commands that are not enclosed in an explicit block. For details and our forum data attribution, retention and privacy policy, see here Welcome to the most active Linux Forum on the web. Unlike a note, it isn't treated as something the user should definitely see. This is the depends for dkms Code: Package: dkms Versions: 2.2.0.3-1.2 (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_wheezy_main_binary-i386_Packages) (/var/lib/dpkg/status) Description Language: File: /var/lib/apt/lists/ftp.us.debian.org_debian_dists_wheezy_main_binary-i386_Packages MD5: b7b6bb6a6b083b2245e0648e7752a459 Description Language: en File: /var/lib/apt/lists/ftp.us.debian.org_debian_dists_wheezy_main_i18n_Translation-en MD5: b7b6bb6a6b083b2245e0648e7752a459 Reverse Depends: nvidia-kernel-dkms,dkms 2.1.0.0 sl-modem-dkms,dkms