How to upgrade existing phpmyadmin version in Ubuntu 10.04 LTS? - linux

My current version of PHPMYADMIN is phpMyAdmin 3.3.2 .
I want to upgrade to the latest phpmyadmin version.
I used following command
sudo apt-get install phpmyadmin
/etc/init.d/apache2 restart
I also tried
sudo dpkg-reconfigure phpmyadmin
When i am using the above command, it is asking to
Since you are reconfiguring phpmyadmin, you may also want to reinstall
the database which it uses.
If you wish to reinstall the database for phpmyadmin, you should select
this option. If you do not wish to do so (if you are reconfiguring the
package for unrelated reasons), you should not select this option.
Reinstall database for phpmyadmin?
I am selecting no. I do not want to delete all the database.
I just want to upgrade it to latest.
http://www.oldapps.com/phpmyadmin.php?old_phpmyadmin=12551
Please help.

The latest available version of phpmyadmin from the official ubuntu package repositories for 10.04 is 3.3.2, that means you can't update to the latest version using that sources.
To install the newest version, you can either
download and install the new version from the homepage manually
install from a ppa - there are several available.

Related

How to upgrade the GPG version installed on AWS EC2

I have a requirement to upgrade the GNU Privacy Guard(GPG) package installed on AWS EC2 instance. The OS installed on EC2 is Linux(Not Ubuntu).
The current version installed is 2.0.22-5.amzn2.0.4,which is depricated as per GPG website. https://gnupg.org/download/index.html
Hence, I wish to upgrade it to version 2.3
I tried the below commands for the purpose.
$ sudo yum update-minimal gnupg
$ sudo yum reinstall gnupg
$ sudo yum update gpg
Everytime, I get a message saying NO PACKAGEs MARKED FOR UPDATE
When tried to reinstall using command number 2, the same version 2.0.22-5.amzn2.0.4 is reinstaled again, which actually isn't the latest version.
Can anyone suggest the process to upgrade to latest version?
Updated remark:
The package name on Amazon Linux 2 should be gnupg2.
You should be using Amazon Linux 2, you are using the latest package version provided by Amazon Linux 2.
By the time I write this answer, most distribution are still using gnupg 2.2, the only common distribution providing gnupg 2.3 is Fedora, you can find it at https://fedora.pkgs.org/35/fedora-x86_64/gnupg2-2.3.2-2.fc35.x86_64.rpm.html
In case you really need it now, you may either:
Build it by yourself
Install the rpm package from Fedora via dnf install <rpm-url>

Hugo version not updating to latest

I am trying to work with the Hugo static site generator.
Problem: Hugo is saying it is updated to the latest version but it is not.
$ hugo version
Hugo Static Site Generator v0.40.1 linux/amd64 BuildDate: 2018-04-25T17:16:11Z
But the latest version is now v0.70.0
System:
Windows Subsystem for Linux via the terminal in Visual Studio Code v1.45.0
Any help would be much appreciated thank you all.
If you're using a Debian-based system, e.g. Ubuntu, you can download the appropriate .deb from https://github.com/gohugoio/hugo/releases and install it with, for example:
sudo dpkg --install ./hugo_extended_0.70.0_Linux-64bit.deb
I wrote about this in footnote 10 in my Hugo Tutorial.
If you've installed it via the apt package manager, you might be out of luck there, because the official repositories might not be up to date with the latest version of Hugo.
To update the repositories and install the latest available version of hugo, try doing
sudo apt update
sudo apt install hugo
However, I see it's only getting version 0.6x.
If you want to use it on Windows, you could try installing it via Chocolatey or Scoop. Both seem to have version 0.70.x in their repositories, but you'd need to install them first, because they're not Windows out-of-the-box software. Not sure if and how it would work if you use it in the WSL, though.
Otherwise, there's always the good'ol download the binary and save it.
The Ubuntu package manager "apt" does not contain the latest version of Hugo right now. It needs to be updated by the repo owner or similar.
I solved my problem by following a binary install guide here

how to uninstall couchdb 1.6.1 version in debian system

I have couchdb 1.6.1 installed on my debian machine. I want to uninstall it.
I tried using apt-get remove/purge couchdb/couchdb-bin. This did not help uninstalling couchdb.Is there any other way to uninstall couchdb from debian machine?
The latest Debian CouchDB package is 1.4, so you probably installed following the wiki procedure. Looking at the Makefile in the specified tarball, there's an uninstall.
Find where you extracted the CouchDB source tarball and run:
make uninstall

Upgrading phpmyadmin (and other packages) on Debian Squeeze

I just setup a new VM with Debian Squeeze (latest stable release, 6.0.4). I am going for a webserver, so I installed the usual... apache, php5, mysql, phpmyadmin, etc.
Everything went well, everything is working.
My question is about upgrading packages. I noticed the phpmyadmin version is 3.3.7... the latest is 3.4.10.1. Doing apt-get update/upgrade does not upgrade the package.
How does one go about upgrading packages on a Debian Squeeze server if apt-get update/upgrade does not work?
Thanks!
You can download the latest version from the official page and follow the instrucctions inside the compress file for the installation.
Alternatively if you want to use the debian repositories, you can add
deb http://ftp.us.debian.org/debian testing main contrib non-free
in the file /etc/apt/source.list
Also add
Package: *
Pin: release n=testing
Pin-Priority: 500
in /etc/apt/preferences
doing this you will have all the packages for the testing version, but they're not going to be installed unless you specify it, so run
apt-get update
apt-get install <package name>=<version>
for example
apt-get install phpmyadmin=3.4.10.1-1
you can check the different versions with
apt-cache showpkg phpmyadmin

Installing cassandra in ubuntu?

I have already installed cassandra in ubuntu using with wiki
Problem is I have no control over which version to install and upgrade to in feature.
I am want to be able to install specific version not just latest, because i have a machine running 0.6.2 now i want a another node and i want to install 0.6.2.
How can i install debian package for specific version instead of latest one?
for installing a specific version of cassandra you can do something like this:
in this case i want to install cassandra 1.2.8
sudo apt-get clean
sudo apt-get update
sudo apt-get install cassandra=1.2.8
The best way to do something like this, that I have found so far is pinning. This is a little inconvenient at the moment because you have to manually create the pinning preferences (and change them if necessary). Also, the pinning will not work with aptitude in case you use this.
Another example is the pinning I have done for php here. However, you have to make sure that whatever version you want to have is available in the repos/ppas that you have configured in your sources.list (sources.list.d).

Resources