Debian :: Hacking A Deb Source Package To Remove ( Configure Options )?
Feb 21, 2011
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...?
Is there a way to use configure options with yum for packages? For example, i've got a lamp setup, and right now (after installing F11) i got a msqli class not found error, which means that it is not loaded into php. I see that it can be reconfigured with certain options, but i yummed it, and i'd like to keep it that way. I tried a yum reinstall, but it didn't work.
I have just installed ..src.rpm package. How do I uninstall it ? It's confusing to me because src and binary package share the same name ? (at least "rpm -qa" doesn't show any new src packages)
Can I find somewhere the default ./configure options that Debian uses when compiling packages? For e.g. I would like to know these options used for compiling Midnight Commander...
Are there any default ones and where to look at them?
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.
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.
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:
I'm trying to do the simplest thing. Compile XMMS. I navigated to the folder containing the extracted source and ran ./configure. That failed, so I remembered to install the build-essential package.
After that, I continued and got this output:
It said I didn't have glib installed, whatever that is. I did "apt-get install glib" and it told me it couldn't find the package called "glib". I thought, "Yeah, that seems a little too broad of a package name".
So then I went to Synaptic and did a search for "libglib" and noticed I already have libglib2.0-0 installed, as well as libglib2.0-data and libglib-perl.
How can I get this to to work correctly? I know the process should be ./configure, make, and then make-all, but I get stuck on the ./configure step.
I have logitech mx518 (mouse).Additional buttons did not work, so I googled a bit and tried different stuff. One of these is the package lomoco.I installed it via aptitude install and did not noticed any differences. So I tried to remove it with aptitude remove, but this seems not to have worked.The problem is, I get several warnings or error messages (or what ever) on startup about lomoco. So I would like to remove it completely.
I have tried install libsub-install-perl and libparams-util-perl but get Error. Now I want remove it from the list when I tried apt-get upgrade. Where I can remove from this entries?
I'm using my own Debian .deb-packages for managing software updates on a small numbers of computers. So this question is about creating my own .deb Packages.
I got the Package A with the version 1.0 and 2.0. From version 2.0 on it's not necessary to keep track of the file fileB.txt. But I want to keep fileB.txt on the target system anyway.
Code:
Package A Ver. 1.0: - fileA.txt - fileB.txt
Package A Ver. 2.0: - fileA.txt If I install the new .deb package A. DPKG will remove fileB.txt.
How can I prevent dpkg to remove fileB.txt? In fact, dpkg should simply forget that fileB.txt was ever part of Package A!
Of course I could manipulate the dpkg file list, somewhere in the dpkg cache (file system). But how can I achieve the same effect within a package -> without manual manipulation on the target system?
Is there any key word in the control file? Or is there a special file, which lists "dependencies to delete"?
Recently tried to install a new Wine package, but the install failed, so I removed it and reinstalled the old one. That installation also failed, and now the package is in a half-installed state and can neither be installed nor removed. I'd be most grateful for some help - I miss my Wine!
# apt-get install 0.9.47~winehq0~debian~4.0-1 Reading package lists... Done Building dependency tree... Done E: The package wine needs to be reinstalled, but I can't find an archive for it. # apt-get remove 0.9.47~winehq0~debian~4.0-1 Reading package lists... Done Building dependency tree... Done E: The package wine needs to be reinstalled, but I can't find an archive for it.
What does it mean by "an archive", and where can I find one?
I have this package dependency question for a while. I have brand new Squeeze system. I selected desktop during installation. Gnome is default system but I turned off gdm3 and uses fluxbox as window manager. I understand if two packages are tied together funtionally so that removal of either package terminates one feature. Above cases, many small packages only depends on the core packages. The core packages work fine without games, other programs.
There are so many programs that I want to remove in the system. For examples, ekiga is a VoIP program that I never use it. When I tried to remove it using apt-get or aptitude, it suggests entire gnome packages will be removed also, which is illogical. The only solution I found is I need to manually remove the package files. I haven't tried it yet.
I faced on these days a very nasty problem, during the upgrading of my system... something bad happened and I can not remove, purge, install, reinstall the package flashplugin-nonfree no matter what tries I did till now. To see my tries please read bellow.Do any of you have any advanced advice how can solve this BIG problem that occurs to me?
I want to remove a keyring package I installed from a repository that I no longer want to use. However, I cannot remove it:
# apt-get remove -y --force-yes debian-xray-keyring Reading package lists... Done Building dependency tree Reading state information... Done
The following packages will be removed: debian-xray-keyring 0 upgraded, 0 newly installed, 1 to remove and 130 not upgraded. After this operation, 49.2 kB disk space will be freed. (Reading database ... 181076 files and directories currently installed.)
Removing debian-xray-keyring ... gpg: key "AB8F901D" not found: eof gpg: AB8F901D: delete key failed: eof dpkg: error processing debian-xray-keyring (--remove): subprocess installed pre-removal script returned error exit status 2 configured to not write apport reports Errors were encountered while processing: debian-xray-keyring E: Sub-process /usr/bin/dpkg returned an error code (1)
VirtualBox is awesome tool for experiment and learning Linux.On the Linux guest OS, I installed standard system without Xorg.i expected it remove all the packages that come along with gnome-terminal previously.Only gnome-terminal was removed, 750kB free space. Now the system have 149MB packages as waste data IMHO.It doesn't look right to me.
I have tried to install and configure Hudson in centos distro version 5.Installed hudson with tomcat by deploying .war files.after configuration was completed, builded a project.It displayed build was completed successfully.but I was not able to download output of build.
So I rechecked configuration,found that i havent set artifact file pattern to archive. how to set artifact file pattern and how to get build output. how to manage hudson by using configure system and configure options.what is the correct way to configure public hudson?.
I was recently trying to install Ruby from source, due to needing and older version and having yum acting up on me. The problem is, the executable is being installed to /usr/local/bin instead of /usr/bin. I figure there's probably a way to change the install directory at some point during the configure/make/make install process, but there's no man page for these functions, and Google has not been kind.
Thus, my questions are twofold:
1) Does anyone have any good documentation (ideally, with examples/explanations) of command line parameters available for configure and make?
2) Failing that, can anyone tell me in specific how to install a source code's compiled executable to a specific directory?
I've been reading up on ssh and I don't want anyone to connect to my computer. I am not interested in remote connectivity at all. Should I uninstall ssh? I ran Code: apt-get remove ssh and debian returned "package ssh is not installed. 0 packages removed."
I also looked online and found out about /etc/ssh/ssh_conf but all of the lines on my computer were #'d out. I also added "PermitRootLogin no" at the end. Am I safe from ssh attacks if I don't have ssh? Might be a stupid question but I don't want to fall victim. edit: it seems as though I -do- have openssh-client and openssh-server installed. Should I just leave my ssh config with PermitRootLogin no or apt-get remove openssh-client openssh-server.
1. I was wondering if there were certain terms for the various areas on the desktop. I'm using the classic layout in Ubuntu (I read many say they liked Gnome better than Unity, and classic is closer to Gnome). Are there terms to describe the following areas in Ubuntu?:A. The first area has Applications, Places, and System menus. This seems most comparable to the Windows start menu.B. The panel at the bottom of the desktop shows which applications or files are running. It looks like the task bar.C. There's an area of one panel that allows you to shutdown, restart, etc. It also has networking options, sound options, time settings, and other things. This makes me think of the system tray. I think this area may also have a notification area, but I haven't noticed any notifications.
2. Are there any options within Banshee to remove all but the most basic functions? Media Player in Windows had an option to go into some compact or skin mode where it took up very little space. I noticed some sort of Banshee player within the sound controls in the (system tray). Something similar to this would be ideal. I'd like to be able to just select a bunch of songs in a folder and play them all in this condensed version of the audio player.3. This has to do with the auto hide feature of the panels when they are located on the left and right side of the desktop. It seems as though the panels will only reappear when my cursor hits the very top of the screen on the corresponding side. So if a panel was set to auto hide on the left side of the desktop, it would only reappear when the cursor was in the top-left-most part of the screen. Is there a way to make it appear when my cursor touches any part of the left edge?4. I noticed that I was able to access some files and folders on my Windows partition while in Ubuntu.
A. Can modifying files on the Windows partition have some unwanted consequences?B. If I made another Linux-based partition, would my current Ubuntu partition be able to access files in the new partition in the same way? Would this require root privileges for every action?5. I've read that modifying the Windows partition from Ubuntu with something like Gparted could have negative effects on Windows' ability to boot properly. Are there similar dangers when modifying the Ubuntu partitions from Windows?My HDD is currently partitioned like: Win7 400GB, Ubuntu 100GB.I'm thinking about setting it up like: Win7 350GB, Ubuntu 100GB, unallocated 50GB.
If modifying the Ubuntu partitions from Windows can have negative effects, how should I go about setting this up?6. Is there a way to set the size the icons on the desktop without having to resize each one individually.7. How difficult is it to set up a customized theme? I haven't found a theme for the controls that I've liked yet. I've seen a couple that were pretty decent, but usually one thing would ruin the theme for me. This made me wonder about making my own.8. I believe the media player in use right now is Totem. Like with Banshee, is there a way to have most of the controls of this application hidden or made less noticeable? I tend to favor a minimalist approach when customizing things, so being able to reduce the number of things showing or being able to hide them when I want is always a plus. Maybe someone could suggest an alternate media player that works well to accomplish this. If another player could be paused when the video is clicked, that'd be a small plus.
9. When setting the folder permissions (read, write, execute), do these overwrite the individual file permissions within the folder? I believe I read that this applies to other folders within the folder. Or do the folder and file permissions not interact with one-another?10. My understanding of folder permissions is that none will work without the execute permission being enabled. Why is this? I read of the followingconfigurations(r:read, w:write, x:execute): r-x for read only, rwx for read and write, --- to deny access. The tutorial I read this from advised against otherconfigurations. What would happen if you allowed read and write permissions but disabled execute permissions for folders? What happens if only execute permissions are granted?11. I have the display set to dim when idle. What does it mean to be "idle"? The amount of time it takes for the screen to dim seems vary randomly.
12. This chunk of questions relates to Linux and its uses with various companies.A. Why do companies that use Linux machines heavily use these Linux machines? Is it just an open source, money-saving matter?B. For a person whose responsibilities are to maintain and run things on these machines, what might his or her responsibilities include?C. What sort of skills should this person have? What other technologies are often used in conjunction with Linux machines to accomplish some of the companies' goals?D. I'd imagine that with servers or whatever other things are running on these machines, the companies wouldn't want excess software or system files to be taking up resources. This leads me to think that thesemachines would have to be handled without GUIs and such. Would one be able to simulate the limitations of these machines in Ubuntu? Is it as simple as limiting one's self to the terminal to do everything? Are there things Linux can do on its own that Ubuntu cannot do?
In the process of installing DDD, I get the following error:The X11 library could not be found. Please use the configure options '--x-includes=DIR' and '--x-libraries=DIR' to specificy the X location.I did a "yum install libx11-devel". I was told that the right package was installed
Is there a guide on creating a package from PHP scripts or something? Example: if I've developed a system and I want to make it to a deb file to deploy to my friends and such. I've tried looking for one but I have not been lucky so far.