ansible csomag installalasa vagrant box-ra

Fórumok

Sziasztok,

tovabbvinnem uj Targy alatt a vagrant box-okkal kapcsolatos kerdeseimet.
Hogy lehetseges egy vagrant box-on csomagot installalni?
Megjegyzes: A host gepen (Ubuntu Trusty 14.04 LTS server) mukodik az
apt-get install ansible, de a boxon nem (pl trusty32 box).

Ardi

Hozzászólások

Ha mindenképpen a "boxon" szeretnéd telelpíteni:
https://www.vagrantup.com/docs/getting-started/provisioning.html

Egyébként az ansible elég ha a host-on van telepítve:
https://www.vagrantup.com/docs/provisioning/ansible.html

A "box"-on pedig ez kell:
http://docs.ansible.com/ansible/intro_installation.html#managed-node-re…

Lehet hogy félreértettem, semmilyen csomagot nem tudsz apt-get install-lal telepíteni?

Nos, a helyzet picit bonyolultabb, de megprobalom leirni.
A host sources.list-je:

deb [arch=amd64] http://ipcim/ubuntu/ trusty main restricted universe multiverse
deb [arch=amd64] http://ipcim/ubuntu/ trusty-updates main restricted universe multiverse

a box (trusyt32 vagyis trusty-server-cloudimg-i386-vagrant-disk1.box) sources.list-je:

$ cat sources.list
## Note, this file is written by cloud-init on first boot of an instance
## modifications made here will not survive a re-bundle.
## if you wish to make changes you can:
## a.) add 'apt_preserve_sources_list: true' to /etc/cloud/cloud.cfg
## or do the same in user-data
## b.) add sources in /etc/apt/sources.list.d
## c.) make changes to template file /etc/cloud/templates/sources.list.tmpl
#

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
#---me - next 2 lines commented and 2 lines added
#deb http://archive.ubuntu.com/ubuntu trusty main restricted
#deb-src http://archive.ubuntu.com/ubuntu trusty main restricted
deb http://ipcim/ubuntu/ trusty main restricted
deb-src http://ipcim/ubuntu/ trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
#---me - next 2 lines commented and 2 lines added
#deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted
#deb-src http://archive.ubuntu.com/ubuntu trusty-updates main restricted
deb http://ipcim/ubuntu/ trusty-updates main restricted
deb-src http://ipcim/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.
#---me - next 4 lines commented and 4 lines added
#deb http://archive.ubuntu.com/ubuntu trusty universe
#deb-src http://archive.ubuntu.com/ubuntu trusty universe
#deb http://archive.ubuntu.com/ubuntu trusty-updates universe
#deb-src http://archive.ubuntu.com/ubuntu trusty-updates universe
deb http://ipcim/ubuntu/ trusty universe
deb-src http://ipcim/ubuntu/ trusty universe
deb http://ipcim/ubuntu/ trusty-updates universe
deb-src http://ipcim/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.
#---me - next 4 lines commented and 4 lines added
#deb http://archive.ubuntu.com/ubuntu trusty multiverse
#deb-src http://archive.ubuntu.com/ubuntu trusty multiverse
#deb http://archive.ubuntu.com/ubuntu trusty-updates multiverse
#deb-src http://archive.ubuntu.com/ubuntu trusty-updates multiverse
deb http://ipcim/ubuntu/ trusty multiverse
deb-src http://ipcim/ubuntu/ trusty multiverse
deb http://ipcim/ubuntu/ trusty-updates multiverse
deb-src http://ipcim/ubuntu/ trusty-updates multiverse
## Uncomment the following two lines to add software from the 'backports'
## repository.
## 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.
#---me - next 2 lines commented and 2 lines added
#deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse
#deb-src http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse
deb http://ipcim/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://ipcim/ubuntu/ trusty-backports main restricted universe 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
#---me - next 4 lines commented and 4 lines added
#deb http://security.ubuntu.com/ubuntu trusty-security main
#deb-src http://security.ubuntu.com/ubuntu trusty-security main
#deb http://security.ubuntu.com/ubuntu trusty-security universe
#deb-src http://security.ubuntu.com/ubuntu trusty-security universe
deb http://ipcim/ubuntu/ trusty-security main
deb-src http://ipcim/ubuntu/ trusty-security main
deb http://ipcim/ubuntu/ trusty-security universe
deb-src http://ipcim/ubuntu/ trusty-security universe
# deb http://security.ubuntu.com/ubuntu trusty-security multiverse
# deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse

A boxon vegrehajtva:
sudo apt-get update
Ign http://ipcim trusty InRelease
Ign http://ipcim trusty-updates InRelease
Ign http://ipcim trusty-backports InRelease
Ign http://ipcim trusty-security InRelease
Get:1 http://ipcim trusty Release.gpg [933 B]
Get:2 http://ipcim trusty-updates Release.gpg [933 B]
Ign http://ipcim trusty-backports Release.gpg
Get:3 http://ipcim trusty-security Release.gpg [933 B]
Get:4 http://ipcim trusty Release [58.5 kB]
Get:5 http://ipcim trusty-updates Release [64.9 kB]
Ign http://ipcim trusty-backports Release
Get:6 http://ipcim trusty-security Release [64.9 kB]
Get:7 http://ipcim trusty-updates/main Translation-en [384 kB]
Get:8 http://ipcim trusty-updates/multiverse Translation-en [7,227 B]
Get:9 http://ipcim trusty-updates/restricted Translation-en [3,699 B]
Get:10 http://ipcim trusty-updates/universe Translation-en [189 kB]
Get:11 http://ipcim trusty-security/main Translation-en [264 kB]
Get:12 http://ipcim trusty-security/universe Translation-en [76.0 kB]
Err http://ipcim trusty/main Sources
404 Not Found
Err http://ipcim trusty/restricted Sources
404 Not Found
Err http://ipcim trusty/universe Sources
404 Not Found
Err http://ipcim trusty/multiverse Sources
404 Not Found
Err http://ipcim trusty/main i386 Packages
404 Not Found
Err http://ipcim trusty/restricted i386 Packages
404 Not Found
Err http://ipcim trusty/universe i386 Packages
404 Not Found
Err http://ipcim trusty/multiverse i386 Packages
404 Not Found
Err http://ipcim trusty-updates/main Sources
404 Not Found
Err http://ipcim trusty-updates/restricted Sources
404 Not Found
Err http://ipcim trusty-updates/universe Sources
404 Not Found
Err http://ipcim trusty-updates/multiverse Sources
404 Not Found
Err http://ipcim trusty-updates/main i386 Packages
404 Not Found
Err http://ipcim trusty-updates/restricted i386 Packages
404 Not Found
Err http://ipcim trusty-updates/universe i386 Packages
404 Not Found
Err http://ipcim trusty-updates/multiverse i386 Packages
404 Not Found
Err http://ipcim trusty-security/main Sources
404 Not Found
Err http://ipcim trusty-security/universe Sources
404 Not Found
Err http://ipcim trusty-security/main i386 Packages
404 Not Found
Err http://ipcim trusty-security/universe i386 Packages
404 Not Found
Err http://ipcim trusty-backports/main Sources
404 Not Found
Err http://ipcim trusty-backports/restricted Sources
404 Not Found
Err http://ipcim trusty-backports/universe Sources
404 Not Found
Err http://ipcim trusty-backports/multiverse Sources
404 Not Found
Err http://ipcim trusty-backports/main i386 Packages
404 Not Found
Err http://ipcim trusty-backports/restricted i386 Packages
404 Not Found
Err http://ipcim trusty-backports/universe i386 Packages
404 Not Found
Err http://ipcim trusty-backports/multiverse i386 Packages
404 Not Found
Ign http://ipcim trusty-backports/main Translation-en_US
Ign http://ipcim trusty-backports/main Translation-en
Ign http://ipcim trusty-backports/multiverse Translation-en_US
Ign http://ipcim trusty-backports/multiverse Translation-en
Ign http://ipcim trusty-backports/restricted Translation-en_US
Ign http://ipcim trusty-backports/restricted Translation-en
Ign http://ipcim trusty-backports/universe Translation-en_US
Ign http://ipcim trusty-backports/universe Translation-en
Ign http://ipcim trusty/main Translation-en_US
Ign http://ipcim trusty/main Translation-en
Ign http://ipcim trusty/multiverse Translation-en_US
Ign http://ipcim trusty/multiverse Translation-en
Ign http://ipcim trusty/restricted Translation-en_US
Ign http://ipcim trusty/restricted Translation-en
Ign http://ipcim trusty/universe Translation-en_US
Ign http://ipcim trusty/universe Translation-en
Fetched 1,115 kB in 10s (107 kB/s)
W: Failed to fetch http://ipcim/ubuntu/dists/trusty-backports/main/source/Sources 404 Not Found

W: Failed to fetch http://ipcim/ubuntu/dists/trusty-backports/restricted/source/Sources 404 Not Found

W: Failed to fetch http://ipcim/ubuntu/dists/trusty-backports/universe/source/Sources 404 Not Found

W: Failed to fetch http://ipcim/ubuntu/dists/trusty-backports/multiverse/source/Sources 404 Not Found

W: Failed to fetch http://ipcim/ubuntu/dists/trusty-backports/main/binary-i386/Packages 404 Not Found

W: Failed to fetch http://ipcim/ubuntu/dists/trusty-backports/restricted/binary-i386/Packa… 404 Not Found

W: Failed to fetch http://ipcim/ubuntu/dists/trusty-backports/universe/binary-i386/Packages 404 Not Found

W: Failed to fetch http://ipcim/ubuntu/dists/trusty-backports/multiverse/binary-i386/Packa… 404 Not Found

W: Failed to fetch http://ipcim/ubuntu/dists/trusty/main/source/Sources 404 Not Found

W: Failed to fetch http://ipcim/ubuntu/dists/trusty/restricted/source/Sources 404 Not Found

W: Failed to fetch http://ipcim/ubuntu/dists/trusty/universe/source/Sources 404 Not Found

W: Failed to fetch http://ipcim/ubuntu/dists/trusty/multiverse/source/Sources 404 Not Found

W: Failed to fetch http://ipcim/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found

W: Failed to fetch http://ipcim/ubuntu/dists/trusty/restricted/binary-i386/Packages 404 Not Found

W: Failed to fetch http://ipcim/ubuntu/dists/trusty/universe/binary-i386/Packages 404 Not Found

W: Failed to fetch http://ipcim/ubuntu/dists/trusty/multiverse/binary-i386/Packages 404 Not Found

W: Failed to fetch http://ipcim/ubuntu/dists/trusty-updates/main/source/Sources 404 Not Found

W: Failed to fetch http://ipcim/ubuntu/dists/trusty-updates/restricted/source/Sources 404 Not Found

W: Failed to fetch http://ipcim/ubuntu/dists/trusty-updates/universe/source/Sources 404 Not Found

W: Failed to fetch http://ipcim/ubuntu/dists/trusty-updates/multiverse/source/Sources 404 Not Found

W: Failed to fetch http://ipcim/ubuntu/dists/trusty-updates/main/binary-i386/Packages 404 Not Found

W: Failed to fetch http://ipcim/ubuntu/dists/trusty-updates/restricted/binary-i386/Packages 404 Not Found

W: Failed to fetch http://ipcim/ubuntu/dists/trusty-updates/universe/binary-i386/Packages 404 Not Found

W: Failed to fetch http://ipcim/ubuntu/dists/trusty-updates/multiverse/binary-i386/Packages 404 Not Found

W: Failed to fetch http://ipcim/ubuntu/dists/trusty-security/main/source/Sources 404 Not Found

W: Failed to fetch http://ipcim/ubuntu/dists/trusty-security/universe/source/Sources 404 Not Found

W: Failed to fetch http://ipcim/ubuntu/dists/trusty-security/main/binary-i386/Packages 404 Not Found

W: Failed to fetch http://ipcim/ubuntu/dists/trusty-security/universe/binary-i386/Packages 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.

Nos, tegnap sikerult realis gepre feltennem az Ubuntu 14.04 LTS-t es ezen sikerult 64bites vboxot letrehoznom.

Tehat ebben a NEM Nested feallasban mukodik a 64-bites vbox letrehozasa.
Mi tobb, ssh is mukodik a boxra.

update:
ja, es hasznaltam a [arch=amd64] opciot a vbox-ban - hasonloan a host source.list-jehez. Leszamitva par Ignored,Not found sort - sikerult probakent felraknom egy csomagot.
Koszi a segitseget.

ardi

Lehet a helyi repoban nem minden van tükrözve, ezért írt Ignored, Not foundot néhányra, gondolom.
Azokat esetleg kommentezd ki a source.listből és nem lesz zavaró, hogy mindig kiírja az Ignored,Not foundot. Vagy a repo üzemeltetőjénél kérdezz rá azokra amiket nem talált.