Unable to locate package php-gettext ubuntu
I was facing the same problem. I'll describe the things I did to fix it on Ubuntu 10.10. 1) make sure you have 'gettext' installed,
Alternatively, you can install 'php-gettext' if 'gettext' cannot be installed. The package 'php-gettext' is not required if you already have 'gettext' installed. 2) Then generate the locale for your language. In this example I'll use 'sv_SE'. Look up the supported locales in '/usr/share/i18n/SUPPORTED',
You'll find multiple lines that start with 'sv_SE',
This means you have multiple options for generating the locale for sv_SE. One of the options does not have a period (.) in its name (i.e.
If you want to generate that locale for the UTF-8 character set, run this command,
Restart Apache after generating locales (it won't find the newly generated locales otherwise),
3) Finally, update your PHP script to match the locale you generated. If you generated the locale for 'sv_SE',
But if you generated the UTF-8 equivalent of that locale, use,
All should work now. Found a solution for this. Install and configure Debian 11 (in my case you can use Ubuntu)Due to issues with Debian and php-php-gettext (gettext is not used anymore in Debian 11 and newer version of Ubuntu) in the terminal run: sudo -i apt-get -y install git 3. Clone the dev-branch git clone https://github.com/fogproject/fogproject.git fogproject-dev-branch; cd fogproject-dev-branch; git checkout dev-branch 4. We are using dev-branch because when the new FOG came out it was before the release of Debian 11 and the new changes with gettext sudo -i cd /path/to/fogproject-dev-branch/bin ./installfog.sh 6. Start with Normal, N, IP and DHCP Y, everything else default, at the end press next 7. Finish installation IP address/fog/management Resources: How to install GIT - https://wiki.fogproject.org/wiki/index.php?title=Getting_FOG#Install_GIT_on_Debian_or_Ubuntu Install Dev-branch version: https://github.com/FOGProject/fogproject Whenever I try to install phpmyadmin on my ubuntu server 18.04 I get the following errors
Most threads I ca find suggest reupdating and upgrading using apt, but doing so doesn't do anything, also I get that error on the fourth line
Can someone help with this?
asked Aug 5, 2018 at 8:53
2 This worked for me:
Then:
answered Sep 12, 2018 at 11:04
2 Your ppa doesn't serve phpmyadmin for bionic version. You should remove ppa first:
then run your command again
answered Aug 5, 2018 at 9:09
5 I have precisely the same issue. Tried sudo apt install phpmyadmin (with and without php-gettext and php-mbstring which I installed separately as I am using php7.1) but always get E: Unable to locate package phpmyadmin and for the add-add-repository E: The repository 'http://ppa.launchpad.net/nijel/phpmyadmin/ubuntu bionic Relea se' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disa bled by default. Also tried downloading the package from a mirror but got nowhere with that either. Is the ppa broken and is there another solution or workaround or something I can do to help resolve this issue? answered Aug 17, 2018 at 11:11
1 How do I enable gettext?Add your Path to gettext binaries files ; Save the form.. Control Panel > System > Advanced > Environment Variables.. In the System variables list, click Path, click Edit.. Add ;C:\Program Files\gettext-utils\bin at the end of the Variable value field.. What is PHP gettext?October 28, 2020 · 16 min read. GNU gettext is a package that offers to programmers, translators and even users a well integrated set of tools that provide a framework within which other free packages may produce multi-lingual messages.
|