hi there , i followed the instructions of installing kvm in debian jessie stable according to this link:-
but the process cant be establish, c the image:-
should i add something to make apt-get able to find the package ?
thnx
hi there , i followed the instructions of installing kvm in debian jessie stable according to this link:-
but the process cant be establish, c the image:-
should i add something to make apt-get able to find the package ?
thnx
Please update the repo metadata first before attempting to install these packages. Run:
sudo apt-get update
sudo apt-get install qemu-kvm libvirt-bin virt-manager
well i have mentioned that i have followed the instructions in the link which mean i did run apt-get update, however the problem is there. c this :-
Strange. Can you try
sudo apt-cache search virt-manager
sudo apt-cache search libvirt-bin
and report back?
Iâve checked the package names in Debian packages and they havenât changed. If you see nothing in the results, try refreshing the package information once more as there could have been problems fetching it the first time.
Have you tried installing other software did they work?
sure , i did try them but nothing appeared after applying them, is that what it meant for ? c this:-
also i have tried to install something else for e.g wine , it worked and the package is there c this:-
so i donno how can i help this further , hope u can find the right solution or tell me what should i do to solve it. thnx for ur time tho
There are a couple of things we can still try.
Do you have synaptic installed? Install this graphical front-end then try searching and installing the packages from there. Either that or try using: sudo aptitude install virt-manager
If it doesnât work, try:
Delete everything in there and paste these lines with CTRL+SHIFT+V:
deb http://ftp.us.debian.org/debian jessie main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
exit with CTRL+X
save with CTRL+M
and run apt-get update as root again then see if it works.
here r the results of them:-
sudo aptitude install virt-manager
http://i.imgur.com/2qc7Gy7.jpg
sudo nano edit /etc/apt/sources.list
http://i.imgur.com/csnUGZO.jpg
http://i.imgur.com/ZY2Cb1u.jpg
do u think its from debian itself ? is there a copy that i might downloaded not including these packages ? im using debian jessie 8.1 amd64 DVD
I think I know what the problem is. Your system package sources are pointed to the dvd and not the internet which is why you wonât find these packages.
You need to comment out the cdrom lines by putting a â#â in front:
# deb cdrom
Also the changes you did with the editor to /etc/apt/sources.list donât seem to have been saved. Which is is why it keeps looking at your dvd instead of connecting to the server. This time we want to make sure the changes are saved to the file before exiting.
deb http://ftp.us.debian.org/debian/ jessie main contrib non-freedeb http://security.debian.org/ jessie/updates main contrib non-free
deb http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
Since you are using a graphical text editor donât forget to save changes before closing.
After you exit the file open it again and copy whatâs in it to a forum post here so I can make sure everything is right.
Now run apt-get update and it should work.
yeah , very grateful for remind me of this issue, i have totally forgot it.
btw i couldnt change the sources.list with this:-
i donno why (i know its the most common use) but rather i have used this method:-
and it worked after that. thnx for the help dude :-* (this symbol suppose to be a kiss on the cheek rather than this i dont mean it )
Editing files as root is non-trivial. General issue on any Linux distribution, not Whonix specific. Documented here btw:
The other issue that was at work here was a non-functional /etc/apt/sources.list, an issue of Debian.
Hello
When I try to install kvm, teminal shows unable to locate these packages. I read this topic E: unable to locate package libvirt-bin & vir-manager but for now without results
These are the lines in my sources.list
deb cdrom: [Debian GNU/Linux 8 Jessie - Official Snapshot amd64 LIVE/INSTALL Binary 20160124-16:11]/ jessie main
deb cdrom: [Debian GNU/Linux 8 Jessie - Official Snapshot amd64 LIVE/INSTALL Binary 20160124-16:11]/ jessie main
deb Index of /debian jessie main contrib nonâfree
deb http://security.debian.org/ jessie/updates main contrib nonâfree
deb-src http://security.debian.org/ jessie/updates main contrib nonâfree
deb Index of /debian jessie-updates main contrib nonâfree
There are also # before deb cdrom lines and one before with no line
(I canâ write it near because it enlarge the text)
Thank you
Good day,
just moved this post in here, having two similar topics with the same name isnât all to reasonable.
Have a nice day,
Ego
su nano /etc/apt/sources.list
deb http://httpredir.debian.org/debian jessie main deb-src http://httpredir.debian.org/debian jessie main
deb http://httpredir.debian.org/debian jessie-updates main deb-src http://httpredir.debian.org/debian jessie-updates main
deb http://security.debian.org/ jessie/updates main deb-src http://security.debian.org/ jessie/updates main
then Ctrl + x
and press y
and Enter
and update ur sources
apt-get update
Hi,
Please helpâŚ
HI. Thatâs becuase your apt spurcs list is pointing to dvd media for apackages somehow. Please edit the sources list with this command to look roughly like below:
sudo nano /etc/apt/sources.list
comment out dvd lines by placing a â#â at the beginning of each line
deb http://ftp.us.debian.org/debian/ jessie main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
deb http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
This seems wrong.
Thanks. The formatting of the text I copied was messed up.
But I donât want to have internet connection. Is it possible to use ISO file as local repositor?
I donât think so. As of Stretch Debian will stop making disc collections of their entire repo collection. You could however simulate a KVM install on another machine connected to the internet but opt to download the packages instead and transfer them over by USB to your air-gapped machine.
There is apt-offline but I donât know how hard it is to use it. And I donât see why you would want to use it.