Programming :: RPM: Package Requires Old Version Of Same Package?
Nov 22, 2010
I'm building a certain RPM package that must require an old version of that same package in order to be installed/upgraded. Is this possible?
For example:
For a package foo v5, somewhere in the spec file:
"Requires: foo >= 4"
I'm declaring this on the Requires tag of the spec file, but when I try to install or upgrade the package (without having the previous required version installed) I get no dependency error! As for other dependencies it all works fine. If, instead, I create a package named "bar" that "Requires: foo >= 4", when installing I do get the expected dependency error. I'm thinking it's not possible to require an old version of the same package.
I have a perl script which was written for me by a professional (I have some basic knowledge), is working fine at the moment but on moving it to a different server as I'm changing a server (new server is shared and supports perl modules), I get the following message"Global symbol "$psid" requires explicit package name at admin.pl line 16". I get this for every single one for my values for the whole script which is about 2000 lines. Same error messages for main and admin.I haven't changed anything on moving it to the new server apart from the first line which is the location of the perl.I thought it would be too much to post the whole script here but anyone has any idea why is doing it taking into account that it works on a different server?
I'm trying to install a package that requires x11 and complains that it can't find it. It appears my X version is an older one. How can I check which version I have currently installed, just to be sure?
There is a "standalone seamonkey-solibs package for RPM, gxine, etc". But after recent upgrades in -current, I can't use rpm without full seamonkey package installed. Can someone revise the contents of seamonkey-solibs and add missing files to it?
$ LANG=C rpm -qp --qf %{NAME} opera-11.00-1156.i386.rpm error: opera-11.00-1156.i386.rpm: Header SHA1 digest: BAD error: opera-11.00-1156.i386.rpm: not an rpm package (or package manifest)
And `rpm2txz -nd opera-11.00-1156.i386.rpm` doesn't work as expected without seamonkey package installed.
I have a fedora 11 with kernel package: kernel-PAE-2.6.29.6-217.2.3.fc11.i686
I would like to install the devel package for this kernel version, but I can't find it, because in the fedora repo there is only the original kernel (2.6.29.4....) and in the updates repo there is only the newest kernel package (2.6.30....)
Where can I find the packages which are between the fedora and update repos' versions?
I chose the local version of grub when prompted on the last update. However, after doing a bit of reading, it looks like I should have selected the "package maintainer's version" .
I've looked at the release notes [URL] related to grub and changing the menu.lst. However, when I open the menu.lst per the instructions, it is blank (the file opens but there is no text in it). I also ran the sudo update-grub command but was never prompted to choose a the local version or maintainer's version.
Is there a way to go back and get back to the prompt to select the ""package maintainer's version"?
Specifically, I want Clementine player 0.6, but the guy that installed Ubuntu on my laptop put natty narwhal alpha 1 on it (don't ask me why. I wanted maverick since its stable but he never really asked. The whole thing was kinda a surprise), and Clementine only offers downloads for Ubuntu distros up to maverick. So. Can I/is there a way I can install it anyway? Or am I forced to just use Banshee until the official Update comes out and Clementine is updated in....
I installed R using zypper some time back, but then I read that I should have used a specific repository called Rpatched. So (note order) I added the repository, then remove R (called R-base) and then proceeded to install the package. Clearly in my repository list there is more than one source of R. Should I have removed the package first and then add the new repository? How in fact does zypper deal with different repositories when they all have the same package? I expect it might choose the most recent version. But what happens when the packages are patched? How does it determine the best version of the package to use?
After upgrading to 10.04 I cannot find the twiki package in the repositories. Was the twiki package removed permanently from ubuntu 10.04, or has it just not yet become available in 10.04? If it is permanently deleted, is there a migration path in 10.04 for former twiki users? If it is to become available in 10.04 later, is there an ETA for that?
While trying to get a new revision of ntfs-3g packaged for my OS (2010.10.02) i've run into an odd issue. I pulled the ntfs-3g sources, and got the package sources for the ntfs3g debs (apt-get source ntfs3g).I pulled the <src dir>/debian directory into the new sources, went into <new src dir>/debian/<package names>/DEBIAN and altered the versions in the control files to reflect the current version. However, during dpkg-build, the versions revert to the original package version which is 2010.03.06. When these debs get installed, apt-get update thinks that despite both the version of the installed package, and the version of the upstream package being the same, that it should replace the one i made with the upstream.
I need to invoke one package namely "Size aware scheduling" in advanced version of NS2.34. In net they have given steps for installing it in older version NS2.18b. i have attached url for that package download. I followed the same steps as they said in note but couldnt install it NS2.34.
[URL]
1st url shows how the package work. second url shows from where the package should be downloaded and how to install it and all.
I added a PPA repository to my sources list in order to install a package. After a day, i decided i didn't like the software, so i uninstalled it & removed the PPA from my sources list. Everything is still working just fine.
However, Synaptic is telling me that there is a "local or obsolete" package left over from the software i had originally installed. I can't remove the package because it is something that my entire desktop depends on (in Synaptic Package Manager, when i mark it for "Complete Removal," or even just "Removal," it says that pretty much everything else will be removed with it).The package i would like to "roll back" is libgtk2.0-common (2.24.0-1.1). although i had originally got this from a PPA, a very close version is available on Debian experimental here, which is version (2.24.0-1).
I guess I only need the newest one .. The other ones have status "RC" Or am I wrong here, and do I need to keep these old versions ?So how do I get rid off 2.4 and 2.5 and just keep version 2.6.How can I easily remove these "old" packages. I tried aptitude purge, aptitude clean, aptitude autoclean. But they don't do the trick.I am looking for an easy way, because python is only an example. Else I could just delete them be using their name.... (of course)
I am trying to install asterisk on my box. When I use "apt-get install asterisk", version 1.6.29 is installed. Is there a way I can install 1.4 instead?
I am getting this when I build a project in JBoss Seam: Code: asookazian@asookazian-desktop:/opt/jboss-seam-2.2.1.CR1/examples/booking:10:30 PM:$ant clean explode Buildfile: build.xml clean: initcopy: initpoms: [echo] Setting up dependencies
Build Failed /opt/jboss-seam-2.2.1.CR1/build/common.build.xml:95: The following error occurred while executing this line: /opt/jboss-seam-2.2.1.CR1/build/utilities.build.xml:18: Directory /opt/jboss-seam-2.2.1.CR1/classes/poms creation was not successful for an unknown reason Total time: 0 seconds How can I install Ant 1.7.0 (i.e. an older version of an existing package)?
Code: asookazian@asookazian-desktop:/opt/jboss-seam-2.2.1.CR1/examples/booking:10:31 PM:$sudo apt-get install ant=1.7.0 Reading package lists... Done Building dependency tree Reading state information... Done E: Version '1.7.0' for 'ant' was not found I downloaded the zip file for 1.7.0 but I need to redo all the symbolic link stuff, no?
Code: asookazian@asookazian-desktop:/usr/bin:10:34 PM:$ls -la ant | less Code: lrwxrwxrwx 1 root root 20 2010-03-23 06:15 ant -> ../share/ant/bin/ant
I'd like to keep both versions of the ant package in my Ubuntu 9.10 system if possible...
Trying to understand version nr. of RPM package and release nr.I have the following package e.g.
tree-1.5.3-2.el6.x86_64.rpm. tree ---> package name 1.5.3 ---> version 2 ---> release e16 ---> operating system major version x86_64 ---> cpu architecture
What is the difference between version nr vs release nr ?
I have tried looking for expat xml parser version 2.0.1 rpm package for centos or RHEL but have not been able to find one. I did find one based for fedora (x86), can this be installed on centos without any issues? Also, I have found a tar package (expat-2.0.1.tar.gz), is the correct directory to decompress and install this under the /usr/local/bin?
I'm running fedora 12, am a relatively new user, and downloaded OO 320. package is 9483. I installed it before I realized fedora already included an OO version. Now, I click the icons and nothing happens. I looked at the desktop-integration area, and see the package for the icons is 7823? Yum will now neither update, nor remove OO. I hate having to revert to Windows to do some of my work.
My procedure for updating the installed packages was, to klick on the list of packages that are installed in the installation source @ system in YAST and choose "Update if newer version is available". Up to Suse 11.3 Yast automatically chooses the latest version from each available repository that is installed (eg, Packman or Mozilla Build Service). With 11.4 however, I noticed that it only updates a package, if a newer version is avalible in the repository from which the package originally origines. Since I don't want to look through 4 GB of packages manually, whether there are newer versions in another repository available, I ask you if I there is a posibility to get the old behavior of YAST back.
Having trouble figuring this out. I've got a package that I've installed from out-of-repos and Kubuntu feels the need to "upgrade" this package to a version that I do not want to use. I've found out how to do this in Ubuntu, but not in Kubuntu. A commandline solution would be fine, although I've googled it and not come up with any working results.
Is there a package in YUM now that automatically updates amavisd-new to version 2.6.4??? My VM comes stock with version 2.5.4 and i absolutely CANNOT update it to 2.6.4 due to incompatibility issues in Maia Mailguard. When I do the package upgrade I don't understand but i specifically do NOT choose amavisd-new to be updated and everytime I check to see my latest version it is at version 2.6.4 I don't get it am I missing something? What can be causing my package to always get upgraded to the new version when I am not upgrading it.
I have spamassassin 3.3.1 clamav 0.96 postfix 2.3.3
I need to install the following dependencies for synspam on Ubuntu 9.10 karmic server:
Code: sudo aptitude install nfqueue-bindings-perl libsys-syslog-perl libappconfig-perl libnetpacket-perl libnetaddr-ip-perl dpkg -i synspam_version_all.deb Of these, only libnetpacket-perl is not packaged for Ubuntu 9.10 karmic.
Is this functionality present in another 9.10 package with a different name? 10.04 Lucid does have the package: [URL]
Still I am asked to package a war file as an RPM package. That is an unusual RPM packaging(To me). If you guys could guide me I have a war file inside a folder, that folder is inside a tar file as a SOURCE for RPM package. The structure is like below.
[Code]...
I simply want that the war file from sources is transferred to the web app of my tomcat server through RPM. I try to package it as an RPM, but its always giving me errors in %build stage. When I try to remove %build from stage from the spec file, then it says command missing.
My system details are: SUSE Linux Enterprise Server 10 (x86_64) VERSION = 10 PATCHLEVEL = 1 LSB_VERSION="core-2.0-noarch:core-3.0-noarch:core-2.0-x86_64:core-3.0-x86_64"
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 am following this guide to installing eclipse via terminal command-line on Linux. However, this seems to be happening lately with all the packages I try to install..I checked the Synaptic Package Manager and reloaded and rebooted the computer, but to no avail.
I have a problem when installing this package through synaptic package manager. this is :
libpng12-dev the error is: W: Failed to fetch http://security.ubuntu.com/ubuntu/po...tu2.1_i386.deb 404 Not Found [IP: 91.189.92.167 80] my distribution is ubuntu 10.4.
Is there anyway to show package size that comes up in the search so you don't have to apt-get install package individually and wait for the installation initiation and then reject to install after it gives u the [y/N] confirmation thing?