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
Related
I have bought a chromebook and it has come with the os Debian Linux system of which I have no idea how to use or work. I am trying to install Steam on my computer and am following this tutorial: https://wiki.debian.org/Steam#A64-bit_systems_.28amd64.29
I have fallen upon the first step as I am trying to create a new list or even append this non-free component to the current sources.list. However I am confused as to how to append it as running the command deb http://deb.debian.org/debian/ buster main contrib non-free I am told deb is not a command. This would be fine if I then knew how to create a list and add it.
Would someone be able to help me as to how to add this non-free component to the source.list file. My understanding is very basic.
Thanks
Edit your /etc/apt/sources.list :
sudo apt edit-sources
or:
sudo nano /etc/apt/sources.list
as follows:
deb http://deb.debian.org/debian buster main contrib non-free
deb-src http://deb.debian.org/debian buster main contrib non-free
deb http://deb.debian.org/debian-security/ buster/updates main contrib non-free
deb-src http://deb.debian.org/debian-security/ buster/updates main contrib non-free
deb http://deb.debian.org/debian buster-updates main contrib non-free
deb-src http://deb.debian.org/debian buster-updates main contrib non-free
Ctrl + O , Enter , Ctrl + X to save
Then run:
sudo apt update
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.
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
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I am trying to install mini-httpd on Ubuntu 14.04.03 LTS and I see
root#34c6915e4fed:/# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
root#34c6915e4fed:/# apt-get install -yq wget default-jre-headless mini-httpd
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package mini-httpd
root#34c6915e4fed:/#
What is missing?
I have checked that these lines in my /etc/apt/sources.list will make mini-httpd available.
## 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
Don't forget to run apt-get update.
root#xyz:~# apt-get update
root#xyz:~# apt-cache search mini-httpd
mini-httpd - a small HTTP server
My entire /etc/apt/sources.list after a fresh install looks like this:
#
# deb cdrom:[Ubuntu-Server 14.04.3 LTS _Trusty Tahr_ - Beta amd64 (20150805)]/ trusty main restricted
#deb cdrom:[Ubuntu-Server 14.04.3 LTS _Trusty Tahr_ - Beta amd64 (20150805)]/ 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
## 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
You can also use the Ubuntu package search at http://packages.ubuntu.com/ to try to locate packages.
Before use apt-get install, try apt-cache search mini-httpd. This command accepts regular expressions too.
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) ...