How to downgrade Bugzilla from version 4.4.4 to 4.4.2 or 4.4.3? - maven-plugin

I updated bugzilla from 4.4.2 to 4.4.4 and now the bugzilla-maven-plugin isn't working (reason here and here ).So I need to downgrade to the 4.4.2 downgrade is not supported
This is the command I used for the upgrade:
sudo bzr up -r tag:bugzilla-4.4.4

When changes are minor, and no database changes are involved, and this is the case between 4.4.2 and 4.4.4, it's posible to downgrade using the next command:
sudo bzr revert -r tag:bugzilla-4.4.2
Remember to do a ./checksetup.pl after the downgrade.
It is possible that doing bzr up instead also works as expected, but I don't tested it.

Related

How do you upgrade TigerGraph?

Right now we have TigerGraph 2.1.0 and we want to install the newest version 2.1.4. What is the correct way to do this?
Prerequisites:
Currently only upgrading within the same minor version is supported (i.e. 2.1.x -> 2.1.y)
To upgrade to a different minor version (i.e. 2.1.x -> 2.2.y), you might need to contact support#tigergraph.com.
Upgrade Within the Same Minor Version:
Login as the tigergraph user. (For cluster configurations please login to node m1)
Download the tigergraph tarball for the version you want to upgrade to (i.e. tigergraph-2.1.8-offline.tar.gz).
Untar the offline tarball and install tigergraph.bin with the following commands:
tar -xzf tigergraph-x.y.z-offline.tar.gz #replace x.y.z with the version you downloaded in the previous step
cd tigergraph-x.y.z-offline
bash tigergraph.bin -v
#i.e. for 2.1.8:
#tar -xzf tigergraph-2.1.8-offline.tar.gz
#cd tigergraph-2.1.8-offline
#bash tigergraph.bin -v

how to create a debian package using “equivs-build” which can be “upgraded” if already installed?

I have created a .deb package using equivs-build command and providing necessary control, preinst, postinst, etc. I noticed that version can also be mentioned in control file. Now I want to create a .deb package with updated source code and I want to enable user to upgrade the package if it is already installed (and is of previous version, of course), as I won't be changing conf related files, etc. One way I can think of is to write a shell-script which will first check for installed version, and will take actions accordingly (i.e. if installed, just update the source-code, database-migrations, etc. and if not, install the package using dpkg -i <package-name>). I was wondering if there was a way to achieve using dpkg only (something like dpkg upgrade <package-name>) which will handle installation or up-gradation as required.
That's already how it works.
dpkg -i package_0.123.deb will upgrade if the version of package is less than 0.123, removing the previous version if necessary (there's an option to force a downgrade, too). apt-get install package will install the newest version of package, removing the old one and upgrading to a new one if necessary. apt-get upgrade will upgrade all packages to the newest version.
Basically, just take care to monotonically upgrade the version number each time you publish a new build.
If you didn't specify a version previously, the default will be something simple like 1.0. Just make it bigger than that.

Update to last version after already installed old

I'm using fastcgi and my PHP version is 5.3.3 instead of 5.5 so my question is how can I update to latest PHP version? I'm using CentOS, I tried yum update, but no update appeared for this.
Normally you need to uninstall the 5.3 branch and install 5.5 from scratch because it is not an update but a new version.
Beware that in 5.5 quite some functions are deprecated that were still available in 5.3!
http://blog.ahughes.org/?p=717
Uses the remi repository.
From the blog:
By running the following commands:
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
you solve all dependency issues with epel and remi on CentOS 6.
Then, by running the following command, you install PHP 5.5.
yum --enablerepo=remi,remi-test install httpd php php-common
For extra goodies, you can run the following command:
yum --enablerepo=remi,remi-test install php-pecl-apc php-cli php-pear php-pdo php-mysqlnd php-pgsql php-pecl-mongo php-sqlite php-pecl-memcache php-pecl-memcached php-gd php-mbstring php-mcrypt php-xml
Now, restart your httpd service and set it to boot automatically:
service httpd restart
chkconfig --levels 235 httpd on
Now run:
php --version
to see whether the correct version of PHP was installed.

Download Older version of Meteor

IS it possible to download older version of meteor.
A code tht I am using (I didn't write it) was stable for version 0.34. Its not working for 0.5.
Arindam
This is not official, but by analyzing install.meteor.com I found it easy to download older versions of Meteor.
Here's an example of Meteor 0.3.4 for Mac: https://d3sqy0vbqsdhku.cloudfront.net/meteor-package-Darwin-x86_64-0.3.4.tar.gz
Linux: https://d3sqy0vbqsdhku.cloudfront.net/meteor-package-Linux-x86_64-0.3.4.tar.gz
But I would highly recommend rewriting your app to adopt the latest API. If that is not an option, here's the step-by-step instruction to install older meteor(not official!).
In your terminal type: curl -L http://install.meteor.com > meteor.sh
Open meteor.sh in a text editor and change the VERSION(around line #8) to the version required. Like so:
URLBASE="https://d3sqy0vbqsdhku.cloudfront.net"
VERSION="0.3.4"
PKGVERSION="${VERSION}-1"
Install Meteor by typing the following in your terminal: sh meteor.sh
Hope this helps.
An easier way: Use meteorite:
In your smart.json
"meteor": {
"git": "https://github.com/meteor/meteor.git",
"tag": "v0.3.4"
}
The solution I found for this is to just install the most recent version and run it with the --release flag. This is suppose to run that version of meteor.
> meteor --release 0.34
https://github.com/meteor/meteor/issues/4526
You can do like so:
curl "https://install.meteor.com/?release=1.3.3.1" | sh

Help installing static binary for wkhtmltopdf

I am trying to use the static binary of wkhtmltopdf on Ubuntu server 10.0.4. The reason for is that it apparently has a built in modified QT that will allow me to run wkhtmltopdf without an X Server.
Result:
Once installed (see steps below), when I execute wkhtmltopdf in the terminal, it does not fire up... just returns me to the prompt - like it ran and did something, no error but no output:
:/usr/bin$ wkhtmltopdf
:/usr/bin$
Same behavior if I put args:
:/usr/bin$ wkhtmltopdf http://www.google.com test.pdf
:/usr/bin$
Am I doing something wrong --- my understanding that the static binary should just fire up. Perhaps missing some dependency? Is there a way to get some verbose output?
These are the steps I have followed:
In /usr/bin:
1) Confirmed that the existing (non-static) wkhtmltopdf resides there and that it executes. When I execute it with no args I get the help/about output from the app.
2) Moved the existing wkhtmltopdf out of the directory (renamed it)
3) Get the static binary: sudo curl -C - -O http:
//wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.9.9-static-i386.tar.bz2
4) Untar: tar xvjf wkhtmltopdf-0.9.9-static-i386.tar.bz2
5) Rename: mv wkhtmltopdf-i386 wkthtmltopdf
6) Get (apparently) necessary packages: sudo apt-get install openssl build-essential xorg libssl-dev
I was having the same problem. I removed the existing wkhtmltopdf and followed the steps below and the installation worked.
First, installing dependencies
sudo aptitude install openssl build-essential xorg libssl-dev
for 64-bit OS
wget http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.9.2-static-amd64.tar.bz2
tar xvjf wkhtmltopdf-0.9.2-static-amd64.tar.bz2
chown root:root wkhtmltopdf-amd64
mv wkhtmltopdf-amd64 /usr/bin/wkhtmltopdf
The only difference is that I put it in /usr/local/bin/wkhtmltopdf.
I hope this helps!
Following deb's answer got it working for me on Ubuntu 10.04 64bit - thanks!
Although rather than downloading 0.9.2 as per deb's instructions, I would suggest people download the latest version by:
Go to http://code.google.com/p/wkhtmltopdf/downloads/list
Download the latest version of wkhtmltopdf-[version number]-static-amd64.tar.bz2
At this time, the latest 64bit is http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.11.0_rc1-static-amd64.tar.bz2.
In my debian server trying to run wkhtmltopdf-i386 lead to same blank prompt.
Non-static (with non-patched QT) version of wkhtmltopdf installed with "aptitude install wkhtmltopdf" is worked.
Problem solved by switching to wkhtmltopdf-amd64, server was a 64 bit and i missed it.
After that, wkhtmltopdf-amd64 says 'libxrender shared library not found', this problem was solved by "aptitude install xorg"
0.11.0_rc1 seems to be buggy.
It keeps throwing the error "Cannot create a QPixmap when no GUI is being used".
Reverting to 0.9.9 worked for me.

Resources