Ubuntu :: Build Deb Packages For Two Versions Of Same Product That Can Be Installed On The Machine Simultaneously
Apr 28, 2010
I want to build deb packages for two versions of same product that can be installed on the machine simultaneously. The source folder structure for both the packages have a common folder needed by both the versions. So i need to keep the common folder till both the versions are removed from the machine.My problem is that i can't install both the versions at the same time, i.e i have to uninstall the installed version and then install the other version. After installing one version, if i try to install another version, an overwrite error comes up. is there any option in dpkg for overwrite? Or is there any way to partially uninstall a deb package?
I have this in sources.list: I ran the command to add the key before I tried to install. ## Opera web browser: #wget -O - [URL | apt-key add - deb [URL]
I get this warning when I agree to install Opera: Do you want to continue? [Y/n/?] y WARNING: untrusted versions of the following packages will be installed!
Untrusted packages could compromise your system's security. You should only proceed with the installation if you are certain that this is what you want to do. Opera
Do you want to ignore this warning and proceed anyway? To continue, enter "Yes"; to abort, enter "No":
Does aptitude(or apt-get) have the functionality to remove the packages installed from using build-dep? It just seems convenient if you want to remove a program that was built from source.
When I installed CentOS on a 64 bit machine, I selected the 64 bit option. However, for some reason it installed many i386 packages - these were exact duplicates of installed x86_64 packages.Is this typical? How do I prevent this on future installs? If I left them installed, could this have caused a problem in the future? Due to my fastidious nature, I used yum extender to uncheck every duplicate i386 package and uninstalled them. This took some time. I am still not proficient with yum directly so I am wondering if there is a command to uninstall all i386 packages quickly.
My girlfriend of over a year recently bought a Toshiba laptop. Don't know much about it for I have not seen it myself. 3GB of RAM. Anyway, it's a Windows 7 Home Premium Edition. She has Microsoft Office 2007 pre-installed on it. Now, it's asking for a Product Key, which she does not have. Why? I don't know. I guess they didn't give her a box that has one on it, or something.
So, she sent Microsoft an e-mail and is now awaiting a reply. Anything that I can (LEGALLY) do to help her figure out the Product Key? She said there is one inputed (didn't think that was a word) in the dialog window asking for it, but it says that it's incorrect.
I have two ISP Connections from different Providers BSNL and Sify. Both are 1MBps. In my Office Now we are using Sify for Only one Machine and BSNL is configured in wifi router. But Often BSNL network is in problem. So we have planned to use both Sify and BSNL simultaneously. what we have to do is to Make some arrangements either in cabling or in configuring we have to use both the connections simultaneously. without hassle so that the employees will always be on-line. and they may not know in which ISP they are browsing. But the internet should be available always.
We have two servers which has running Redhat 5.5 with two Onboard Ethernet card so totally Four Ethernet cards. And we are using Only linux such as fedora, ubuntu and CentOS in our Office and not windows. And all are connecting to internet by wireless. So please give some ideas to use any linux machine as router or something else that would balance the two ISPs equally, that is if one ISP is down then the other should take up automatically without doing any manual configuration and without buying any proprietary software or any hardware.
I'm tring to run AMDOverdriveCtrl, since they don't have an RPM file for Fedora i tried to compile from source i followed the instruction in the readme files run the make command
and tried to run the application, and i get this error message
Code:
$ AMDOverdriveCtrl Fatal Error: Mismatch between the program and library build versions detected.
The library used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.4,compatible with 2.6), and your program used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.6).
I am currently running CentOS 5.3 which includes the gcc 4.1.2 compiler. I need to compile a Realtek 8139 NIC driver for VMware ESXi.
The GPL sources and documentation from VMware show that the source file 8139too.c needs to be modified and re-compiled to run with the small busy-box ESXi kernel, and it *very* specifically states that gcc 3.2 is to be used.
I have the gcc 3.2 rpm but am afraid to force it on/over the 4.1.2 install. To be honest, I have not even checked dependencies yet.
Where do I start to get both versions of the compiler on the same box without them stepping all over each other.
is there a way to have reposync replace packages with the most current versions? because when i do it for my "network repo" it seems to just add more and more.
1. I have dual booted Suse and Win Xp in past. Can idea be applied to different versions of Suse? I have a working Suse11.2 , and I have a spare partition (15GB) which can be re-formated.
2. Can i do a clean new install to the spare partition? Thus ending with two working Suse versions? ( Separate /home partitions). This would allow a) reserve of a working system while checking that 11.3 works. Then remove 11.2 later , and how to do that.
In Ubuntu I can easily transfer packages from offline machine into online machine using APTonCD feature. In fedora ,Is there anything similar by which I can transfer my packages of online machine into the offline machine
If I have only 1 physical WLAN interface, is there some hackery that can be done so that it can be a client of an existing access point and at the same time also act as an access point for other clients? I have an existing 802.11g ADSL router, and I'm going to be building an HTPC which will have 802.11n. My laptop also has 802.11n, but at the moment it only connects at 54Mbps because thats what the AP supports. I'd like to be able to have the HTPC be a client of my ADSL router, but have my laptop be a client of the HTPC, so copying files to it will be faster.
I am trying to install a piece of software that requires a specific versions of several packages. I am using Scientific Linux 5.5 and yum for managing the apps.The problem is that I need, for example ruby >= 1.8.7, but the package for ruby that is the official repositories for SL 5.5 is 1.8.5 and therefore yum says it's up to date.
There are other repositories for SL 6.0 that have ruby-1.8.7. Initially I ignored the fact that they are not for 5.5 and tried to install it manually with rpm. But there was an increasing number of data dependencies for the packages so I gave up. What can I do to avoid this? I suppose installing packages for newer OS version should be ok and they will be compatible with other older libs. But do you really install packages in this manner?
Let's say that I've installed the following versions of R on my computer.
R 2.10 R 2.11 R 2.12
Is there a bash command which can be used to getst of all versions which are installed.I've used dpkg --get-selections | grep r-base but that just return 'r-base' and i'd have no info on the version.
I recently installed the KDE (Kubuntu) desktop via Synaptic Package Manager. I have a few questions about this: Do I have to update Kubuntu when I update Ubuntu in October, or will it update on its own? Does running Kubuntu simultaneously on an Ubuntu machine cause any issues (slower performance, conflict in programs, etc.)? How do I uninstall Kubuntu if I decide that Ubuntu works just fine for me?
Like i'm curious what version of wine i have installed...What are my current ati drivers installed...If wine isn't 1.2 or 1.3 how do i update it from command line?really any insight into this process would help its not absolutely critical to know but i've been looking around and haven't found informationOr some references to good articles to become a command line guru would be cool as well.
I want to have 2 diffrent versions of a package installed at same time. This is the command i use "apt-get install myprogram=versionID" Problem is, that when i install the version i wanna add, it REPLACE it with the old I dont wanna replace, i wanna keep them both.
I have matlab installed on a network (I am not the administrator) and we usually start the program by typing "matlab", then choosing one of the version options from the menu i.e. typing "n". So because of this, trying to run matlab programs or commands directly like this... matlab -r ProgramName
...does not work. I just get the menu as usual and everything else is ignored. I assume the admin has overridden the matlab command with their own custom script. So my question is can I start a specific version of the program by specifying the folder that the version is in? I thought it might be something like /opt/matlab/version -r programname
this might look foolish, but I am a bit of a linux noob. Let me know if I should just ask my administrator but I thought there might be something easy I am missing.
Example there is OS called ttylinux [URL] it supports only few packages , example it doesn't support GCC compiler etc .. So I want built this packages to the os and create a final image out of it .
I have built an Ubuntu 8.10 server machine with great agony as I have no internet. I need to make another machine and install the same software packages. I already have the packages I need. What do I need to copy from the first machine so that the second machine will install these packages? I'm not referring to the packages themselves (I can copy them over and install them). I need to get the apt database in synch with the first machine. I assume that apt has some sort of database files? Without that configuration, the damn machine keeps trying to connect to the internet.
I am a total noob in the process of trying to build my own server. I installed Ubuntu 10.10 but when I did that I didn't have the computer hooked up with an ethernet or have any internet connection. During the installation process it was unable to set up DHCP, so I figured I would just do that later, somehow.
Anyways, I recently hooked up an ethernet cable from the server to another computer, which has internet.
I've been slowly working my way through the Server Documentation and am on the Networking chapter. It has given me the commands to install wireless-tools, ethtool, dhcp3 server and I've also tried to install gedit. Every time it gives me the error: E: Unable to locate package XXX
When I ran the sudo lshw -class network command I find that it recognizes both an ethernet interface as well as a wireless interface(my wireless adapter). BOTH of them say *-network DISABLED.
My goal is to enable both of those, but I am assuming I need to be able to locate the packages first. I installed the server edition using a USB pendrive. I still have the files on the pendrive, but I don't know how to make the server locate those files. I'm guessing it wants to access the installation files to locate the packages to install.
My new laptop works out of the box except for the video and the ethernet. For this, I have to use a later kernel than the Debian kernel (debian squeeze is currently 2.6.32). Upgrading to the new kernel (without moving to the testing dist itself) was pretty easy. I just installed linux-image-2.6.38-2-amd64 and linux-base from the testing distribution by manually downloading and using dpkg. After that, ethernet and video started working.
However, my virtualbox installation no longer works because the drivers do not match the kernel. I am used to this; whenever debian upgrades the kernel on me, I have to run "/etc/init.d/vboxdrv setup". This rebuilds the drivers. This failed for me, however, because it could not find the headers. So, I installed some more packages:
Debian squeeze amd_65, using gde3/gnome.I'd like to use KMyMoney, but the latest packages (v4.5.2) and not the v3.9.8/test version that's in Synaptic Package Manager.I'd rather not install every package that contains *kde* in the name, but I'm more than willing to install the minimum required to compile and run them.Trying to build kmymoney v4.5.2. After some google searches on the specific errors, I initially learned about apt-file and the find feature.
I'm unable to determine what package I need for 'Boost', and although apt-file reports that kdepimlibs5-dev is the package for gpgme - I still have no files called QGpgmeConfig.cmake or qgpgme-config.cmake, and the log still shows 'Could NOT find QGpgme'.Any pointers on what package(s) I'm missing, or other ways to determine what I need?
my build machine is x86 machine that is running ubuntu10.04, my target machine is tegra2 that is running on Andrioid, I wish my program can run under shell of android, as first step , I wrote a simplest assembly program which does nothing, but I got a link error, can somebody help me?