Ubuntu :: Make A Custom Debian Package Prompt For A Restart After Installation

Jun 29, 2011

I am wondering how to add a need to restart notification in a Debian package, so upon installation, it'd pop up something to tell the user to restart the computer for changes to take effect. Perhaps something like what happens with some packages through the update-manager when it prompts the user to restart for the changes to take effect.

Is there any way to do that? Perhaps adding something at the end of a "postinst" file?

Thinking about it, I could just add something like this at the end of the "postinst" file:

notify-send -t 86400000 -i /usr/share/icons/gnome/32x32/status/info.png "Please restart the computer for all changes to take effect."

It'd work, but not as well. For instance, if the person isn't by their computer at the time.

Another option could be using a Zenity dialog box. That might work. Though, if done, wouldn't a yes/no question box keep the actual package from technically finishing until the user would select yes/no to restart?

View 6 Replies


Ubuntu Installation :: 11.04 Will Not Restart After Install Prompt

Jun 10, 2011

I have installed Ubuntu 11.04 on my desktop. When prompted to restart after installation, I select Ubuntu (not recovery mode) at the prompt and Ubuntu will not start. All I get is a big bright purple screen which does nothing. I have read some forums that suggested that setting the partition space was wrong and to try to reinstall it. I have tried to reinstall it but I do not get the option to adjust the partition at all. I did the first time I installed it but never saw it again. It just goes right through the installation process and asks me to restart. I again, select Ubuntu and I get another very brightly colored screen. I am trying to use it as a dual boot. I have Windows 7 right now and it works just fine. I have no idea what to do now. I also do not get any error messages. If there are any, they pass way to fast for me to see them.

View 7 Replies View Related

Ubuntu Installation :: 9.10 - Restart Got Grub Rescue Prompt

Feb 6, 2010

I just installed Ubuntu 9.10 on hd1 - /dev/sdb1 at the end of the installation I chose to install grub at hd0 - /dev/sda1. The file system I chose was ext4 for ubuntu "/" - 50 GB,
ext3 for "/home" - 5 GB, and 1.5 more for swap. When the installation was complete I got the following prompt:

GRUB loading
error: no such disk
grub rescue>

There was nothing I could do, pressing TAB did not show me all the commands like grub is expected to. Typing 'help' did not show any commands as well, instead it showed me - "NO SUCH COMMAND" or something like that (I did not took note of what the output was). I believe the problem is in the grub loader - which was not really installed properly in hd0 - /dev/sda1 (which is FAT32 - windows)

View 9 Replies View Related

Debian Configuration :: Replacing Packages With Custom Package

Jul 2, 2011

I want to build my own binary package that replaces several from the repositories.But then whenever I install something that depends on libffado2, aptitude wants to uninstall mypkg and install libffado2. Why doesn't Provides work here?

View 3 Replies View Related

Debian :: Make A Custom Install Disk?

Sep 20, 2010

for a project I am working on, I need the same install configuration on every machine, and I'd like to have all the packages I need on one disc, with none of the ones I don't. I also need to use a non-standard file systems(jffs2,nilfs) as the hardware end of my project works on flash memory, and would like these two FSs to replace the typical magnetic disk based choices.

View 1 Replies View Related

Ubuntu Installation :: How To Make Live Cd With Custom Kernel

Jan 16, 2010

I am using ubuntu 8.04 and i am trying to make iso image cd with running kernel. i know that there is documentation in ubuntu website in"how to make live cd" but the thing is this is my custom kernel. i have my own configuration. so i want this kernel to be work in live cd.

View 1 Replies View Related

Ubuntu Installation :: Make Custom Kernel With Localmodinfo

Jul 14, 2011

What are the best ways to make the kernel using git, and localmodinfo. and optimizing the kernel the best way on a laptop I have, which is a desktop laptop, so it is never really unplugged. Has a core 2 duo 2.53Ghz, 4GB DDR3 RAM, and an ATI HD 3870 GPU.so what things other than the obvious core 2 cpu type when making the kernel. It's on Ubuntu 11.04 64 bit. I also want to create it with the local mod info. and Also create this into a .deb package so it may be saved.

View 3 Replies View Related

Fedora Installation :: Didn't Make Custom Setting Changes To Partitions

Sep 23, 2009

I installed Fedora 11 on a server with 2 equal sized disks. I used the gui installer and didn't make custom setting changes to the partitions. One of the steps asked for me to choose the disks i wanted to use for this installation. I selected both disks and after the installation Fedora only sees one volume the size of both disks combined.Do I now have software raid0 or do I have something else?

View 3 Replies View Related

Ubuntu :: How To Make A Debian Package

Apr 21, 2011

I have made a few programs, and I want to make them debian packages so I can distribute them, but the problem is that most tutorials on how to make a Debian package assume that you are not the person who started the source code, and that there are already things set up in the source code that will help you.

View 1 Replies View Related

General :: Ksh93 Versus Pdksh88: Custom PS1 Prompt Not Working?

Jan 19, 2011

I have to work with a NFS user id between two hosts: A running Ksh 93 and B running pdksh 88. Both host run RedHat. My problem has to do with the custom prompt I created on A: it works like a charm and display colors:


PS1="$'E[46;31m'`logname`@$'E[1;33m'`hostname -s`:$'E[0m>"

But I switch over to B, it all goes to hell (private info removed). The prompt fails to display colors like host A ; instead, the color codes are displayed "in clear".



The prompt on host B is not displaying colors like host A so I want B to display a basic prompt instead. To get around the problem, I edited my .kshrc file to add this code at the end


export NODE=`uname -n`
case $NODE in


The case statement does not work: PS1 does not switch to `PS1="[`logname`@`uname -n`]>"`.

View 1 Replies View Related

Ubuntu :: Computer Going Straight To Grub Rescue Prompt On Restart

Jun 23, 2010

I tried to install Ubuntu as a dual-boot on my Windows XP machine, using the USB stick trial OS and automatic installation. My screw-up came when I left my external USB hard drive plugged in during the install, and as far as I can tell, Ubuntu was installed on that as opposed to my internal HD. Now when I try to boot, I get knocked straight to the grub rescue prompt with an error message that basically shows my "no such device (my external's ID)" -- assuming that the MBR (which I know nothing about editing) is trying to boot off the external that isn't actually enabled until an OS starts it up, and dumping me at the rescue prompt when it can't find it.

I can still load up the trial Ubuntu off the original USB stick (though can't get online with it without wireless drivers), but that's as functional as the computer gets right now. And I don't have a Windows Setup CD anywhere (using a rooommate's Mac at the moment with a terrible European keyboard on it). So is there any way to edit the MBR or something to tell it to boot my regular XP off my internal HD, at which point I can re-partrition and try this whole thing again, or otherwise remove the failed install of Ubuntu through the trial-stick or... well, I'll leave the suggestions up to you all. I've been working on this since about 4am last night and my brain is kind of fried.

View 3 Replies View Related

Debian :: Install Any Package To Make Font Smoothing Better ?

May 23, 2010

I am pretty new to GNU/Linux. I use Mint but want to use Debian. The problem is, Debian has worse font smoothing. Ubuntu's smoothing is great! Is there any possibility to simply install any package on Debian stable to make Debian's font smoothing exactly as it is in Ubuntu?

View 13 Replies View Related

Debian Installation ::Can Only Get To Command Prompt With Debian Squeeze

Feb 10, 2011

Debian Lenny worked just great. That was my first experience of Debian. The installer recognised all my hardware and the system was soon up and running brilliantly with a few tweaks. Confident of Debian's reliability, I decided to move to Debian 6 and did a fresh install, with downloads of the new operating system rather than a distribution upgrade. The installation routines have not worked for the same computer system. I don't know if its hardware not being recognised by Debian 6 that were recognised without a problem by Debian 5??

At first, the boot-up flipped at "Waiting for /dev to be fully populated," there was a kernal panic then Debian disappeared. No signal was sent to the monitor and I had to switch off the computer manually
I was able to look into the Debian 6 OS from Arch Linux, installed on different partitions of the same hard-drive. I am able to overwrite the Debian files as root from Arch.
My i686 machine has PATA IDE drives.

Why are 2) dbus and the 3) avahi-demon failing? I need to get them started first so that I can get an internet connection and try and correct the problem with X and the wrong Nvidia driver. Is there some configuration I can do either from Arch, where I am now, or the bash prompt on Debian? Thanks in advance.

View 14 Replies View Related

Debian :: Installing Kernel Sources - Make Command To Build Package Fails

Jul 22, 2010

I'm trying to build the package zaptel on debian, but I'm encountering two errors:
1- When I try to run the "make menuselect" command, I get an error stating that I need ncurses which is missing. I tried to get it installed but didn't get to do it yet.
2- After that, there's the command "make" I think it's to build the package. Yet again this fails, and the error I get is "you do not appear to have the sources for the 2.6.26-2-686 kernel installed".

View 3 Replies View Related

Fedora Installation :: Erratic Install Results W/initrd - Custom Spins With Custom Drivers - Modules?

Dec 28, 2009

Just spent three whole days barking up the wrong tree, solving Fedora 11 and Fedora 12 boot failures because the correct hypothesis was illogical: installation did not update/modify the initrd.

The first couple of times I installed Fedora 11 on the HighPoint Technologies RocketRaid 2640x4, the installation inserted my "custom" driver module (rr26xx) into the initrd, permanently, so that the system booted off the controller card for which the custom driver was inserted. (I yelled about this success in this thread: [url]

My most recent installs of BOTH F11 and F12 on the RocketRaid failed to properly set up the boot. It turns out that the "rr2640" module I "slipstreamed" into the installation process was *NOT* permanently added to the initrd by anaconda. (F12 gave me "no root device found boot has failed, sleeping forever", on boot; F11 hung also, without such error, I presume, during the init script execution). Because of limited resources and time, I only know for sure the module was missing from the F11 initrd, and am ASSUMING the same was the case with F12.

The only difference between the successful installs and the ones with failed boot is that the successful installs were made on a single-drive (JBOD) mode on the controller; whereas, the failed ones were placed on RAID 5. But, AFAIK, the created logical device for the card is "/dev/sda", in both cases, and the kernel can not distinguish between the two cases (or can it?). Thus, the inconsistency cost me a lot of time, and is still inexplicable to me.

Question: What is the best way to deal with custom drivers, today? There are custom spins, and many tools, like isomaster. Stupid question: Is there a way to modify the initrd inside an installer ISO -- be it for CD/DVD/USBboot drive -- beefing the init RAM disk with whatever modules you'd like, for the boot process (using, say, isomaster)?

And what makes anaconda understand that a module must be added to the initrd ? How can one force anaconda to do so?

How does moving to dracut as the initrd tool affect any/all of the above?

View 1 Replies View Related

Debian Installation :: Custom Encrypted LVM Install

Mar 23, 2015

After my NVIDIA card died I decided it was time to buy an AMD card again (R9 270X), but I didn't think AMD drivers were such a pain in Linux as people said. Of course, in some distros anyway. On Arch, for example, there's no official release because Arch's developers would have to hold Xorg in order to make a closed-source driver available, because AMD's pace isn't in pair with Linux. So in order to install AMD's drivers on Arch I must rely on some guy's unnoficial repositories, but that isn't the whole problem. Even though I'm cool with adding repos and downgrading Xorg, I'm not cool with it not working for a lot of apps, so that's where I decided to try a few distros. Manjaro is a no-go because it installs Flash as default. openSUSE although is a very good distro, is a complete mess when it comes to repositories, specially multimedia ones. Ubuntu/Mint are also a no-go, Ubuntu because after 12.04 they have a spyware by default, and Mint because it contains non-free stuff by default.

So here I come! I ran Debian in the past for a long time (aside from a breaf period last year) and it was lovely, I could easily set up a custom encrypted install, but now I don't remember how to, and it's killing me. I don't like how the installer doesn't show the partitions size as they actually are, and I don't like how the automated encrypted LVM setup doesn't let me chose the encryption algorithm or the timeframe between each passphrase attempt. That's why I must create my install, and here's what I used to do on Arch (the part that really matters), converted to what I use on Debian:

Code: Select all# modprobe dm-mod

(create one 1GB partition for /boot, unencrypted ; create another big 930 GB formatted as "8e" - LVM - on dev/sda2)
Code: Select all# fdisk /dev/sda
(chose my ciphers and iter time)
Code: Select all# cryptsetup -c twofish-xts-plain64 -y-s 512 --iter-time 5000 luksFormat /dev/sda2
(open the luks container on "sda2_crypt")


After this is done, I go to the "partition disks" page where I select each partition/volume to it's correct destination. I then proceed to installing the base system, configuring apt, and all that. Now, before I install Grub I used to execute the following commands on shell:

Code: Select all # nano /etc/crypttab

I used to put something there, but I don't remember what exactly. It's been a long time since I used Debian for long! But here's what I put there:

Code: Select allsda2_crypt /dev/mapper/sda2_crypt none luks

Then I procceeded to instal syslinux (I REALLY don't like GRUB)

Code: Select all# chroot /target
# apt-get install syslinux

But I get the following error:

E: cannot write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory).

View 6 Replies View Related

Debian Installation :: Grub Prompt After Install On IMac

Jun 3, 2015

I recently attempted to install Debian 8 on my iMac (late 2011). I partitioned my drive using disk utility to create FAT partitions (100GB for Debian and 2GB for SWAP) and installed rEFInd to boot into Debian.During the installation process I selected the drives I partitioned and set the mount points for each as / and swap.

Everything was fine and installation was successful and was prompted to restart to set up Debian. However when I did Grub did not recognise the Bluetooth keyboard. Unable to do anything it started the "Debian GNU/LINUX option" and loaded into what seems to be the grub prompt/terminal with the following displayed in bold:

[ 3.538535] i8042: No controller found
Loading, please wait...
Fsck from util-linux 2.25.2
/dev/sda5: clean, 112838/6119424 files, 1276387/24455424 blocks
[ 9.123670] [drm:radeon_pci_probe] *ERROR* Radeon kernel modsetting for R600 or later requires firmware-Linux-nonfree.
[ 10.715321] systemd-fsck[363] : fsck.fat 3.0.27 (2014-11-12)
[ 10.715690]systemd-fsck[363] : /dev/sda1: 248 files, 35995/403218 clusters

Debian GNU/Linux 8 iMac tty1/I was able to get my hands on a USB keyboard which works. Obviously I can't boot into Mac now because grub has taken over.

View 7 Replies View Related

Debian Installation :: 6 - Testing Hangs At Password Prompt ?

Apr 17, 2011

I have made several attempts to install Testing. Down-loaded Apr 11 iso and verified the DVD. Everything went ok with install. It was when I booted up after removing install disk. I have Debian dual booted. Both Linux 10 and Debian Testing show up on the Grub screen. When I select Debian everything loads but when I get to the Debian screen I am asked for my password. However, the screen is lock up and no choice can be made. Three of my previous attempts (different install disks) have left me at the same place....locked password prompt. (4 year old HP Paviiion DV5000 laptop, 2 GB memory, 120 GB HD) I have successfully installed Debian 6 Squeeze with no issues.

View 7 Replies View Related

Debian Installation :: Custom Keyboard Layout On Jessie

May 23, 2015

I was using a custom layout for my keyboard as I've a UK laptop but still use french accents sometimes. After the update from Wheezy to Jessie my configs disappeared so I have put them back:

- Defining my layout here: /usr/share/X11/xkb/symbols/gb
- Adding here: /usr/share/X11/xkb/rules/base.xml and here /usr/share/X11/xkb/rules/evdev.xml in the gb configItem

Code: Select all       <variant>
            <description>English (UK with french accents)</description>

- Adding the declaration of the layout here /usr/share/X11/xkb/rules/base.lst and here /usr/share/X11/xkb/rules/evdev.lst

Code: Select all  accentsFR       gb: English (UK with french accents)

So everything looks alright, if I go to System Tools -> Preferences -> Settings -> Keyboard -> Input Source my layout is well selected and I can even see the correct layout by clicking on the keyboard icon (cf my snapshot)

Here is the snapshot of the keyboard input source settings: [URL]....

View 1 Replies View Related

Ubuntu Installation :: System Automatically Tried To Restart But On The Restart Got The 'terminal' View

Apr 30, 2011

I have just finished the upgrade of the latest version and I'm at the point of my system restating.

My system automatically tried to restart but on the restart I got the 'terminal' view. It stopped when asking for my username (it never normally asks for this before the grub menu) and then password. I didn't get any further than that.

I now have on my screen (still in the terminal view before the grub menu)

"name@name-desktop:...$ "

I'm on my phone now so I don't actually have the symbol for before the dollar sign but your know what it is. The raised S on a 90 degree angle.

View 6 Replies View Related

Fedora :: Kmow-wl Package For Custom Kernel

May 16, 2010

i just upgraded myself with all available packages from the kde-testing, and fedora-updates-testing repo's. i am dealing with one problem..... i am running kernel:


@localhost ~]$ uname -r

however,, there are no kmod-wl packages for that kernel, so i have no wireless at the moment. how do i build / obtain kmod-wl package for my kernel? rebuilding the kmow-wl src packages does occure in build for an older kernel:

the command


rpmbuild -ba --target=`uname -m` wl-kmod.spec

results in:


Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/-/rpmbuild/BUILDROOT/wl-kmod-
Wrote: /home/-/rpmbuild/SRPMS/wl-kmod-
Wrote: /home/-/rpmbuild/RPMS/i686/kmod-wl-PAE-
Wrote: /home/-/rpmbuild/RPMS/i686/kmod-wl-
Wrote: /home/-/rpmbuild/RPMS/i686/wl-kmod-debuginfo-

View 6 Replies View Related

Debian Installation :: Creating Boot Script For Custom Commands In Jessie

May 11, 2015

I didn't change anything; it just stopped working on boot. I've changed permissions according to messages from log files. No good.I now get messages saying "unable to open display ' '." If I set the display (I've done this several ways, the messages say "unable to open display ':0'."

Systemd is taking control of everything basic, with almost no documentation and no configuration tools at all: rationalization by lunatics.You can make a script to run commands on boot using systemd on Jessie by creating two files: the script, in any location a file in /etc/systemd/system that runs that script..My script is called james-boot.service, placed in my /home/james/.bin directory.

#! /bin/sh
# this is run by /etc/systemd/system/james-boot.service
# Enable with sudo systemctl enable james-boot.service
# Check with sudo systemctl status james-boot.service
# If it says the service is loaded, it's OK -- inactive only means it's done running.


This file must have ownership root.root, with (apparently) permissions 664 (rw-rw-r--).After creating, enable with sudo systemctl enable james-boot. service.Check with sudo systemctl status james-boot.service. If it says the service is loaded, it's OK -- "inactive" only means it's done running.

View 4 Replies View Related

Ubuntu :: How To Make A Custom Live USB

Apr 27, 2011

how to make a live cd how can I put it on a usb stick. [URL] Also in the article you install skype etc. but where did they get the path to donload skype etc. I might want to add more software.

View 9 Replies View Related

Debian Installation :: Settings Lost Upon Restart

Dec 12, 2010

This is awesome. I configured my Konsole and other KDE settings, and the very next login everything is reverted.

View 8 Replies View Related

Debian Installation :: No Network Driver After First Restart?

Aug 1, 2011

I'm trying to install Wheezy on a Thinkpad T23. want to use Fluxbox, so during installation I uncheck the graphics options because I can install X and fluxbox later. After the install, the first time it boots up it can connect to the wired network and it will download things. But, if I reboot then it somehow loses its ability to connect to any wired network (and the T23 doesn't have built in wireless, so it obviously can't connect to wifi). there something that I can do to get ethernet back? Or, is there a way to, while I'm still on the first reboot, permanently install the ethernet drivers?I'm finally trying tmove away from Windows because a friend happened to show me his laptop which was running the free and open alternative to OneNote (Xournal) that I've been needing.

View 2 Replies View Related

Debian Installation :: No Dual Boot - Error: No Such Device And The Grub Rescue> Prompt

Jan 18, 2011

I had Ubuntu installed, i installed Debian and there was no dual boot. So i formated all the hard disk to install only Debian. It installed but at boot i get error: no such device and the grub rescue> prompt. i googled for a solution and nothing worked:

- i tryed reinstalling grub, not worked
- i did the windows cd fixmbr trick, not worked
- reinstalled debian with fixmbr the first step and nothing
- tryed deleting with dd the mbr, not worked
- reinstalled grub from debian rescue, not worked

what should i do? i can't access my computer? please tell me how should i fix it? the google guys will kill me because i put their servers on fire

View 14 Replies View Related

Debian Multimedia :: GDM Goes To Tty On Restart / Doesn't Restart

Apr 5, 2010

Whenever I choose "Restart" from the GDM screen, GDM appears to shutdown, and the first TTY is displayed with a login prompt at the bottom (assuming I haven't used that TTY). I am by no estimation a patient individual, but I waited a solid minute or two for something to happen, but nothing ever did. I end up logging in as root on that TTY and running "shutdown -r now" to get the job done. This is a shared computer, and ideally any user should be able to perform shutdown options graphically from GDM.The only mentioned workaround doesn't apply to me as I am using the nvidia driver, not intel.

View 1 Replies View Related

Ubuntu :: Make A Custom Livecd Using Remastersys ?

Jan 15, 2011

I know you can make a custom livecd using remastersys, but is there an app within Ubuntu that would perform the same function without having to install a third party app?

View 2 Replies View Related

Ubuntu :: Make Custom Compose Key Combos?

Jul 30, 2011

Is there a way I can make custom compose key combos?

Like it seems to only have accents like etc.

I used the program AllChars on Windows (nearly free of it yay), and want some of the combos on that like

Compose + G + a = Greek Alpha Lowercase
Compose + L + L = GBP symbol
Compose + - + # = Superscript number

View 1 Replies View Related

Red Hat / Fedora :: Error Prompt On Virtual Manager - Package Not Located

Jun 3, 2011

In red hat linux server 6. I start up virtual manager and I get below error prompt:
Package required for KVM usage. The following packages are not installed
These are required to create KVM guests locally. Would you like to install them now.
I press yes but the package cannot located ...
So, I have install the qemu-kvn- already.
I use command rpm -ivh XXX.rpm to install.

View 1 Replies View Related

Copyrights 2005-15 www.BigResource.com, All rights reserved