polarssl-dev - Ubuntu 14.04 - ubuntu-14.04

I would like to install polarssl-dev for Ubuntu 14.04 from their repositories. I read this was available in universe on https://launchpad.net/ubuntu/+source/polarssl but I enabled universe including src, and it was not there. How could I do this?
# apt-get install polarssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package polarssl-dev
# grep univer /etc/apt/sources.list
deb http://be.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://be.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
deb http://be.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://be.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://be.archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://be.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://be.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://be.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://be.archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://be.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
If somebody would not mind telling how I went wrong, I'd be really grateful.
Kind regards, Soph.

The package names for PolarSSL actually start with lib. This should work for you:
$ sudo apt-get install libpolarssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libpolarssl5
The following NEW packages will be installed:
libpolarssl-dev libpolarssl5
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 459 kB of archives.
After this operation, 1,962 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/universe libpolarssl5 amd64 1.3.4-1 [186 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty/universe libpolarssl-dev amd64 1.3.4-1 [274 kB]
Fetched 459 kB in 6s (71.3 kB/s)
Selecting previously unselected package libpolarssl5.
(Reading database ... 61244 files and directories currently installed.)
Preparing to unpack .../libpolarssl5_1.3.4-1_amd64.deb ...
Unpacking libpolarssl5 (1.3.4-1) ...
Selecting previously unselected package libpolarssl-dev.
Preparing to unpack .../libpolarssl-dev_1.3.4-1_amd64.deb ...
Unpacking libpolarssl-dev (1.3.4-1) ...
Setting up libpolarssl5 (1.3.4-1) ...
Setting up libpolarssl-dev (1.3.4-1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...

Related

Unable to locate package phpmyadmin on Ubuntu Server 18.04

Whenever I try to install phpmyadmin on my ubuntu server 18.04 I get the following errors
sudo apt install phpmyadmin php-mbstring php-gettext
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package phpmyadmin
E: Unable to locate package php-mbstring
E: Unable to locate package php-gettext
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
Err:5 http://ppa.launchpad.net/nijel/phpmyadmin/ubuntu bionic Release
404 Not Found [IP: 91.189.95.83 80]
Hit:6 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:7 http://download.webmin.com/download/repository sarge Release
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/nijel/phpmyadmin/ubuntu bionic Release' does not have a Release file.
Can someone help with this?
On the Ubuntu Server 18.04 the list of apt sources is rather short and secure. If you want to install phpmyadmin or autossh or number of other packages which are not supported in main sources list, you should adjust the sources list.
$ sudo apt edit-sources
You can use the following list:
deb http://archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://archive.ubuntu.com/ubuntu/ bionic universe
deb http://archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
More information can be found here:
handyman.dulare.com/ubuntu-18-04-bionic-unable-to-locate-package...

Ubuntu, Cannot install zlib1g-dev

I'm trying to install nodejs in Ubuntu, after checking all the missing dependencies I encounter an issue when installing zlib1g-dev, zlib1g is already at 1:1.2.8.dfsg-2ubuntu4.1 :
[pp#src]$ sudo apt-get install zlib1g-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
zlib1g-dev : **Depends: zlib1g (= 1:1.2.8.dfsg-2ubuntu4) but 1:1.2.8.dfsg-2ubuntu4.1 is to be installed**
E: Unable to correct problems, you have held broken packages.
[pp#src]$ sudo apt-get install zlib1g
Reading package lists... Done
Building dependency tree
Reading state information... Done
**zlib1g is already the newest version (1:1.2.8.dfsg-2ubuntu4.1)**.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I was able to do the installation with:
sudo apt-get update && sudo sudo apt-get install zlib1g-dev
After updating /etc/apt/sources.list with the following:
#------------------------------------------------------------------------------#
# OFFICIAL UBUNTU REPOS #
#------------------------------------------------------------------------------#
###### Ubuntu Main Repos
deb http:// us.archive .ubuntu. com/ubuntu/ xenial main restricted universe multiverse
deb-src http:// us.archive .ubuntu. com/ubuntu/ xenial main restricted universe multiverse
###### Ubuntu Update Repos
deb http:// us.archive .ubuntu. com/ubuntu/ xenial-security main restricted universe multiverse
deb http://us.archive .ubuntu. com/ubuntu/ xenial-updates main restricted universe multiverse
deb http:// us.archive .ubuntu. com/ubuntu/ xenial-proposed main restricted universe multiverse
deb-src http:// us.archive .ubuntu. com/ubuntu/ xenial-security main restricted universe multiverse
deb-src http:// us.archive .ubuntu. com/ubuntu/ xenial-updates main restricted universe multiverse
deb-src http:// us.archive .ubuntu. com/ubuntu/ xenial-proposed main restricted universe multiverse
###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner
I would try a sudo apt-get update to start (sometimes the problem is trivial!).
Consider including the results of dpkg --get-selections | grep hold
in the comments.
Autoremove might help, too!
Finally, trying again with aptitude (https://unix.stackexchange.com/questions/767/what-is-the-real-difference-between-apt-get-and-aptitude-how-about-wajig) might highlight the issue.
Tough to diagnose without more information.
Answer for this is given by SeinopSys in Error installing zlib1g-dev
you need to take note of the required package version (in your case = = 1:1.2.8.dfsg-2ubuntu4), then run the command below to downgrade to that version:
$ sudo apt install zlib1g== 1:1.2.8.dfsg-2ubuntu4
Then you can try re-installing.

Cannot execute properly "apt-get update" when installing MongoDB under Ubuntu 15.04

i'm trying to install MongoDB underr my Ubuntu 15.04 , i fulfilled those steps :
import the MongoDB public GPG Key:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
create the /etc/apt/sources.list.d/mongodb-org-3.0.list list-file to get the package from debian wheezy repository
echo "deb http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.0 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list
Now when trying to execute apt-get update i got this error :
Atteint http://security.ubuntu.com vivid-security InRelease Réception
de : 1 http://repo.mongodb.org wheezy/mongodb-org/3.0 InRelease
79% [1 InRelease gpgv 109 B] [Attente des fichiers d'en-tête] [Attente
des ficSplitting up
/var/lib/apt/lists/partial/repo.mongodb.org_apt_debian_dists_wheezy_mIgn
http://repo.mongodb.org wheezy/mongodb-org/3.0 InRelease
E: Erreur de GPG : http://repo.mongodb.org wheezy/mongodb-org/3.0
InRelease : Le fichier signé en clair n'est pas valable, ce qui a été
reçu est « NODATA ». Peut-être le réseau nécessite-t-il une
authentification.
i ve checked my sources files , and its contains this :
# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ utopic main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://tn.archive.ubuntu.com/ubuntu/ vivid main restricted
deb-src http://tn.archive.ubuntu.com/ubuntu/ vivid main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://tn.archive.ubuntu.com/ubuntu/ vivid-updates main restricted
deb-src http://tn.archive.ubuntu.com/ubuntu/ vivid-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://tn.archive.ubuntu.com/ubuntu/ vivid universe
deb-src http://tn.archive.ubuntu.com/ubuntu/ vivid universe
deb http://tn.archive.ubuntu.com/ubuntu/ vivid-updates universe
deb-src http://tn.archive.ubuntu.com/ubuntu/ vivid-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://tn.archive.ubuntu.com/ubuntu/ vivid multiverse
deb-src http://tn.archive.ubuntu.com/ubuntu/ vivid multiverse
deb http://tn.archive.ubuntu.com/ubuntu/ vivid-updates multiverse
deb-src http://tn.archive.ubuntu.com/ubuntu/ vivid-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://tn.archive.ubuntu.com/ubuntu/ vivid-backports main restricted universe multiverse
deb-src http://tn.archive.ubuntu.com/ubuntu/ vivid-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu vivid-security main restricted
deb-src http://security.ubuntu.com/ubuntu vivid-security main restricted
deb http://security.ubuntu.com/ubuntu vivid-security universe
deb-src http://security.ubuntu.com/ubuntu vivid-security universe
deb http://security.ubuntu.com/ubuntu vivid-security multiverse
deb-src http://security.ubuntu.com/ubuntu vivid-security multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu utopic partner
# deb-src http://archive.canonical.com/ubuntu utopic partner
deb http://archive.canonical.com/ vivid partner
# deb-src http://archive.canonical.com/ utopic partner
Since i haven't know the problem origin , and how to solve it , any suggestions ??
Try,
sudo apt-get update
You're now running the command as administration, so it might help.

Unable to locate package python3-aiohttp on ubuntu 14.04

To install aiohttp package i followed http://installion.co.uk/ubuntu/wily/universe/p/python3-aiohttp/install/index.html link
First,i checked whether universe repository is enabled by inspecting '/etc/apt/sources.list' .for this i run sudo gedit /etc/apt/sources.list command
Than i added deb http://us.archive.ubuntu.com/ubuntu wily main universe line in source.list file to enable universe repository, but it gives me below warning on /etc/apt/sources.list file saving
(gedit:3253): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
After ignoring warning i had run command to install aiohttp
sudo apt-get install python3-aiohttp ,
but it throws E: Unable to locate package python3-aiohttp error.
Below is my /etc/apt/sources.list file
**#
# deb cdrom:[Ubuntu-Server 14.04.4 LTS _Trusty Tahr_ - Release amd64 (20160217.1)]/ trusty main restricted
# deb cdrom:[Ubuntu-Server 14.04.4 LTS _Trusty Tahr_ - Release amd64 (20160217.1)]/ trusty main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
deb http://us.archive.ubuntu.com/ubuntu wily main universe #ADDED BY ME
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ trusty universe
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty universe
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
deb http://security.ubuntu.com/ubuntu trusty-security universe
deb-src http://security.ubuntu.com/ubuntu trusty-security universe
deb http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner
## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu trusty main
# deb-src http://extras.ubuntu.com/ubuntu trusty main**
Thanks for your help in advance

MongoDb Upgrade from 2.6 to 3.0 Issue

For some reasons I cannot install MongoDb 3.0 version. What am I missing?
You are using repos that have not been updated with the newest version of mongodb. Add their repo and then update apt-get then trying installing 3.0.1.
Replace what's in /etc/apt/sources.list entirely with
###### Ubuntu Main Repos
deb http://us.archive.ubuntu.com/ubuntu/ utopic main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ utopic main restricted universe multiverse
###### Ubuntu Update Repos
deb http://us.archive.ubuntu.com/ubuntu/ utopic-security main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ utopic-updates main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ utopic-security main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ utopic-updates main restricted universe multiverse
###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu utopic partner
deb-src http://archive.canonical.com/ubuntu utopic partner
###### Ubuntu Extras Repo
deb http://extras.ubuntu.com/ubuntu utopic main
deb-src http://extras.ubuntu.com/ubuntu utopic main
From: https://askubuntu.com/questions/572235/404-failed-to-fetch-package

Resources