Debian Installation :: Create A Deb Package From Source Files
Feb 25, 2015
I have a project and would like to create a .deb package that brought on any computer with debian distribution installs it in your home user who is installing.I followed a guide and managed to create a deb package from my sources with FPM. But creates them with root permissions and tells me that I should create a script before installation to change the permissions.
Every time i start with a new installation, i have to download all the useful software once again...
i think it would be simple and easy-to-use if these software could be bundled into debian packages which can be installed just by clicking (like in windows)...
Is there any website where I can find debian packages for important software? Or can I create them myself...
I just started to use debian at what i would call full speed as soon as i received my copy of the debian 6.0.0 DVDs. i installed it on two offline desktops, one for a friend. i have been able to install certain softwares that don't come along with the distribution such as firefox 4, openoffice 3.3, the latest jdk_update_24, and others, and i've been able to configure them to work well i think... but now, i learnt of the new gnome 3 that has been released recently. i've ofcourse downloaded all the source files at [URL] but now am facing a problem of how i can install these on to the debian computers (they don't have any internet connection).
I want to compile geki2 from source. I tried apt-get source geki2but I getReading package lists... Done Building dependency tree Reading state information... Done E: Unable to find a source package for geki2I assume that /etc/apt/sources.list needs some additional entry. I run lenny.
Apart from that could someone explain to me what is the importance of files *.dsc , *.tar.gz and *.diff.gz in every package ? I assume *.tar.gz is the source. Is this independent from Debian ? I assume also that *.diff.gz is some patch you have to apply after you expand *.tar.gz in order to get a Debian specific version but how do you apply the patch ?
I'm building a debian source package to upload on my launchpad PPA. Does anyone know what file I should create or edit to make a menu entry for the app? Or a link to some *specific* doc? (The debian doc is quite overwhelming...)
i got a question about making a package from orginal wine source. I keep getting a error on the last part (will post the errro later in post )
What i do is this . apt-get install devscripts cdbs dh-make apt-get build-dep wine cd to the directory dh_make -n -b -s
[Code]...
When i remove the ati drivers it builds fine but with every build of wine to remove my ati drivers is not a option. I also asked on the wine forums but the told me to ask here . And the person also sayed it looks like you install the ati drivers from the one of the ati site but i installed them from the debian repos.
why it is that when I download the sendmail debian source package for etch and build it using dpkg-buildpackage -b -nc I get a 645543 byte sendmail executable whereas when I download the sendmail binary that is 703292 bytes.
Getting the error: Code: Select allThe required package keybinder was not found on your system. *** Please install keybinder (atleast version 0.2.2) or adjust *** the PKG_CONFIG_PATH environment variable if you *** installed the package in a nonstandard prefix so that *** pkg-config is able to find it.
I have installed everything available in the jessie repo with "keybinder" in the name. It seems like my path variable is configured correctly:
So, there are these source packages i downloaded, which i want to build with slightly different configure options due to a bug in debian: hfd5-serial and hdf5-openmpi cannot coexist, yet some packages require the serial version of the lib , others require the openmpi.
I downloaded the sources, in order to build them, without the hdf5 thing...
I have already built this from source in Scientific Linux, and i know this can be done without hdf5.
Where do i hack into the debian source tree of a package to remove a configure option...?
I am running openSUSE 11.1. I installed the Hypervisor and tools and booted into: 2.6.27.23-0.1-xen. I'm trying to install Ubuntu LTS 8.04.3 as a guest using the "Create a Virtual Machine" GUI/wizard. I specify "other" since no Debian-based distro is offered under "Type of Operating System". Under "Installation Source" for "Operating System Installation" I Add a Virtual Disk of "phy:/dev/sr0" using protocol "phy". It can obviously read the drive since it recognizes that it is 0.6 GB (the media contains a burned & bootable (from ISO) DVD - the files are extracted).
However, when I proceed I am thrown an Error: "The installation source is unusable." with Details: "0.6 GB CD-ROM or DVD (phy:/dev/sr0)" Am I supposed to do something different?
I'm running Karmic Desktop Live CD from a USB stick, and trying to install Ubuntu to a hard disk using debootstrap I get these errors:
$ sudo debootstrap karmic /dir file:///cdrom/
Quote:
I: Retrieving Release I: Validating Packages I: Resolving dependencies of required packages... I: Resolving dependencies of base packages... W: Failure trying to run: chroot /dir mount -t proc proc /proc
[Code].....
I've read this bug report: [URL] basically, the discussion states that Desktop CD can not be used as package source for debootstrapping, I understand it is because of different file structure than the required for a repository, but would like to know more specific information about it, and if possible, how could I use the CD as package source for debootstrap?
Is there any open source virtual machine so i can study the source in order to create my own? i'm gonna write my own, so it doesNT matter if license does not allow further development of the code.
I tried following this tutorial on how to create a Debian/Ubuntu package and ran into the following stumbling block: When I tried installing debmake (a tool to easily create Debian packages; trying to debian-package a jhbuild prefix and upload it to a PPA) I got an error from APT saying that the package was not found.After an extensive Google search, I noticed that the package was only used in Ubuntu up to Hardy and after that was deprecated. Why? Did dpkg-dev suddenly include the deb-make command in its package or something?
After reading the deprecation announcement on the mailing list located in the Google search it seems as though debhelper replaces debmake.
I am an extremely new Ubuntu Server user. I am trying to install NFS on a new Ubuntu Server 10.10 installation. When running the command sudo apt-get install nfs-kernel-server nfs-common portmap, I was previously getting the message:
E: unable to locate package nfs-kernel-server
I'm sure I don't have the correct sources for installation, I just don't know source I need to add.
I recently got an iPhone 3g and have been trying to upload music onto my device with Rhythmbox because my computer exclusively runs Ubuntu (10.04 LTS, Lucid Lynx). Rhythmbox would show files that were dragged and dropped as being on the iPhone, and they appeared in the iPhone's folders, but they weren't recognized in the iPod player. I followed a variety of forum threads to try to fix the problem, but ended up creating a whole new set of problems with my package manager.
I get this error message before package manager opens: E: Type 'n' is not known on line 2 in source list /etc/apt/sources.list.d/pmcenery-ppa-lucid.list E: The list of sources could not be read. Go to the repository dialog to correct the problem. E: _cache->open() failed, please report.
And this message after I close the first error message window and the package manager opens: An unresolvable problem occurred while initializing the package information. report this bug against the 'update-manager' package and include the following error message:
'E:Type 'n' is not known on line 2 in source list /etc/apt/sources.list.d/pmcenery-ppa-lucid.list, E:The list of sources could not be read.' Does anyone have any recommendations on how to fix this? If it isn't already apparent, I am very inexperienced working with ubuntu, so the more detailed the response, the better.
So I've installed a dependency from source since I needed to customize its config (couldn't figure out how to do this to a package). Synaptic doesn't recognize that it's installed and the program I want to install wants to reinstall this dependency. Specifically, I'm trying to get Kdenlive, and FFmpeg is the dependency.
I have created a user account on a ubuntu workstation. I log into the terminal as this new user and when i try to create a file i get that permission is denied. I would like to create a file such that this new user and other members of a group can access it.
I have lately been converting all my Ubuntu installs to Debian. Kind of like a revival meeting. Basically I am wiping the ~/.whatever files from the /home partition and saving any that might be handy later. Save any files from the / partition that I might want something from (/var/cache/apt/archives for packages installed, /usr/share/backgrounds and so forth). The last one I am working on is a little different. It is the first install (successful) install I ever did, Ubuntu 8.04, and it is ext3 on one partition. I did the above things as on the others but it was all on one partition. Fired up my netinstall disk for squeeze and installed on 2 partitions. One new one for / ext4 and the old partition not formatted, mounted as /home on ext3.
Did a base install with only the system utilities added by the taskel business at the end of install (like always). Rebooted to that install. Every thing seems to work at the basic level. My passwords worked, both for the text user login and then the root password when I ran su so that I could purge nfs-common (it has given me problems on every install for some reason). Came back here to my usual Debian testing install, fired up boinc and then the chroot environment for the new convert. Installed gnome-desktop-environment and some other things, all from a list that I have used before in just this manner.
Go back to boot to the new one, every thing rolls fine, get the GDM3 login, enter password. "Can't access ICEauthorization". Have to Ctrl+Alt+b out. Back here I check the /home/tom directory for that install and hit Ctrl+H and there are no hidden files. Run "dpkg-reconfigure -a" to no effect. Try adding my user again and that, of coarse dose not work because the user already exists. One other thing is that if I boot to recovery it does show the message to login or hit Ctrl+D but does not stop with a prompt. Shows a couple other things and stops. Ctrl+Alt+B to get out once and had to unplug once.
I was wondering what the reason was for disabling a feature like - creating new documents and files on desktop - by default?
If someone installs debian with desktop environment this user probably also want to use the desktop as a workplace, so why is that not a default setting?
But also in general i dont get it, i dont see any reason, why this is disabled.
What program can make audio CDs out of MP3 files? In Gnome.
A friend sent me a zip file of mp3s for an out-of-print cassette tape that I was trying to get for my husband to give him for his birthday and I'd like to be able to make a CD.
I just recently installed Ubuntu on my laptop and was attempting to install Wine on it this morning. I went through the proper procedure listed on the site, but once I get back to the Software Center and hit "install" it gives me an error a second later saying "Failed to Download Package Files. Check your Internet connection."