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.
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:
Code: 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?
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?
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".
when I try to install a package, I've the message The following packages have unmet dependencies:package-xy: Depends:lib-something (>= version_number) which is a virtual package.
I switched to ubuntu around two months ago, and I'm loving it, everything I could need and more in an OS. I've just recently stumbled upon a problem; I tried to add Playdeb.Net's source URL and this came up on my Update Manager window; "Could not initialize the package information. An unresolvable problem occurred while initializing the package information. report this bug against the 'update-manager' package and include the following error message: 'E:Malformed line 62 in source list /etc/apt/sources.list (dist parse)'" package and include the following error message:
If a software package I want to install is available in more than one repository, how can I choose which repository to install the package? And is there a way to do this with Synaptic?
I would like to make a script that determines if a particular package is installed or not. Is there a built in way to do this with rpm or am I looking at getting down and dirty with learning parsing tricks with bash?
I have this directory with multiple images 'pics' and the size is 20mb and I want to make a .zip or .rar package of this directory but with an increased size so the .zip/.rar file will be 100mb, and then when you extract it the file size is the original 20mb. I want to make the result file bigger, no compress it. I need to put all the directory in one single file .zip or .rar but it has to weight more (100mb), maybe it can be done with another application. By the way, I have a centos 5 from command line.
These kernel sources are usually the sources from debian, with a couple of more patches that I add. It appears that for nvidia-driver package versions higher than 352.79-1, the kernel headers/sources need to be prepared with 'make prepare' and 'make prepare scripts'. It's that simple. I concluded this after the nvidia dkms build failed on my custom kernel, but then succeeded after I pointed it to the full sources, but only after running 'make prepare' and 'make prepare scripts' on them. The problem is that this make-kpkg scheme doesn't appear to do this, or if it does, it doesn't properly include in the headers everything that it should.
I needed to download the mediainfo package to make a script Movie converter work but wasnt able to .The site suggested [url] dosent seem to be responding for the last 24 hours.I would also need libs libzen0 and libmediainfo but unable to get them from anywhere. From where else i can download them, i use ubuntu 9.10 i386 .
I downloaded openSUSE-11.4-KDE-LiveCD-i686.iso from software.opensuse.org: Download openSUSE 11.4 yesterday.It's a liveCD,not a DVD. Then I used a dd command to make a live USB by the instruction from this page:SDB:Live USB Then I shut down the computer,and boot from the usb. I went to the yast--DSL to make a new adsl connection.But after I configured everything,yast told me one package needed.The package's name is "linux-atm-lib". I haven't connected to internet.How could I do to install a package and make a connection?
Now I am downloading a DVD.Does a DVD include the package called "linux-atm-lib"?
I'm trying to make a local package server for my offline development network. Can anyone recommend a mirror containing every single package for CentOS 5.4 x86 as well as 64 bit? I've looked around but I haven't had too much luck yet.
I can't make the upgrade..... I've see the dettails and this is what is write: file /usr/lib/perl5/vendor_perl/5.8.8/Compress/Zlib.pm conflicts between attempted installs of perl-Compress-Zlib-2.015-1.el5.rf.noarch and perl-IO-Compress-2.030-2.el5.rf.noarch file /usr/share/man/man3/Compress::Zlib.3pm.gz conflicts between attempted installs of perl-Compress-Zlib-2.015-1.el5.rf.noarch and perl-IO-Compress-2.030-2.el5.rf.noarch
I don't use wireless tools myself currently, since I'm wired to the internet; but, I found that a package I wanted to build, required at the least, a shared version of libiw, if not both the shared AND static version. Symptoms of when you are in this boat, are error messages during compiling, similar to:
Code: /usr/lib64/libiw.a(iwlib.so): In function `iw_mwatt2dbm': iwlib.c:(.text+0x1a77): undefined reference to `log10' iwlib.c:(.text+0x1a84): undefined reference to `ceil' /usr/lib64/libiw.a(iwlib.so): In function `iw_freq2float': iwlib.c:(.text+0x1b11): undefined reference to `pow'
I have used Debian Linux for two years, most recently the seventh or so iteration of Version 5. I use the Gnome desktop and the Synaptic Package Manager, not the Update Manager, for updates because it's easier to build a log with the former.In my most recent update, Synaptic stripped out all the xserver-xorg files�47 in all. I thought it peculiar but did not know enough to interfere. When I rebooted, the system told me I must install xserver or correct GDM configuration and restart.
Have I been hacked? Am I being tested by the Linux Illuminati? Or does it have something to do with the warning message I received at the end of the update-upgrade, attached? And how do I go about reinstalling xserver? With Aptitude? I have tried running apt-get -f install, to no effect.
Is there stability advantages to installing the mint-meta-debian package from the repo below??? I have read that LMDE is safer than running Testing because there is less chance for breakage with LMDE. Less risky overall. Is that true?
# Linux Mint Debian Edition (I get Firefox from here) # get the mint-keyring from the repo deb http://packages.linuxmint.com/ debian main upstream import
I recently tossed Ubuntu for Debian Unstable for my personal machines and I'm having trouble building Emerald into a package. I've already configured and installed the package (using the usual ./configure, make, make install) but I wanted to make a deb for future use (for myself and for others). However every time I try to run dpkg-build I get the following error message.
I have installed Debian Squeeze 6.0.2.1 amd64 from DVD-1.iso (4.4 GB) and I cannot install Synaptic Package Manager or Wine because they are not in the repos.
why nfsen has no debian/ubuntu package ? It's a really cool web frontend to nfdump/fprobe and it seems a lot of people are using it. I found the following references, so the installation seems well documented [URL]... But a package is more than install (management, update, repair, ...). It seems a package was in progress but never commited. [URL]... Does someone knows why? I checked a bit of documentation about debian packaging [URL]... but it seems not really useful for web front end and perl install.pl script.
in maverick the default package installer (when I double click on a .deb) is Ubuntu Software Centre, how can I make the default package installer from lucid (was it called "dpkg"?) the default again? Ubuntu Software Centre is too slow and freezes every time I click on something, can it be replaced?
I have a package that has to configure with "make menuconfig". I want to make this automatically. Usually I save the .config-File and replace the config with a skript, but the package I have to install has no .config. The manuall told me that I have to make the following steps:./configure --with-linux...makemake installIs it possible to use the saved .config-file?
I know that boot partition is possible to create within debian distribution that has grub 2.0, as I have done before with ubuntu. I have been trying many different options with my preseed file but it keeps taking the boot partition out of LVM and creating and extended partition too and then creates the LVM primary partition.
### Partitioning. # you can specify a disk to partition. The device name can be given in either # devfs or traditional non-devfs format. For example, to use the first disk
can i make an animated screen that appears when Debian boots up, i want it to resemble the Mac OS X splash screen with the apple logo in the center and a spiral but instead of the apple logo i want the Debian logo instead just thought it be a cool addition to add to my system it should look like this
[URL]
but i want the Debian logo in the place of the apple logo, is it possible to make a custom splash boot-up screen
I know that boot partition is possible to create within debian distribution that has grub 2.0, as I have done before with ubuntu. I have been trying many different options with my preseed file but it keeps taking the boot partition out of LVM and creating and extended partition too and then creates the LVM primary partition. My preseed file is below:
I have a mini-ITX based system with a 256Mb Flash Drive and 256Mb of RAM.
I aim to use it for the following applications: Samba Server Cups Rsync Basic Web Server File based Wiki (perhaps Dokuwiki) Package Management (to easily add other software as required)
I don't need any X based software or Desktop.
I was hoping to create a Debian Live distribution and run the whole operating system either from a Read Only file system or from RAM.
However (after connecting a standard HDD) and installing basic Debian along with the packages I require (and their dependencies) the filesystem is already over 1Gb in size.
Is there any way this can be reduced drastically in size? Is Debian Live the best way of achieving what I want? Something like Puppy Linux is much smaller in size but I don't want something with such an emphasis on having a Desktop environment which I don't need.
Anyone know how to make a distro like Pinguy OS? How do I rebrand it and add stuff like Pinguy OS. Or should I base it on Pinguy OS and remove stuff I don't want in Pinguy OS.