I have not /etc/apt/sources.list
I found the root of the problem. I have not /etc/apt/sources.list in virtual Box. please help me until this the problem is resolved.
Thank you for your patience. |
/etc/apt/sources.list exists only in distributions using the APT package management system, usually Debian (and derivatives) and Ubuntu (and derivatives)
Which distribution do you have installed in your VM? |
Which Os, Debian Ubuntu, Mint?
Quote:
|
I have ubuntu server in virtual Box.
|
Which release of ubuntu 11, 12, 14?
You can generate a sources list here & copy it to sources.list http://repogen.simplylinux.ch |
I have ubuntu-11.10-server-i386
but in the link I can not find the release of ubuntu 11.(there is not) |
open terminal. Type in
Code:
cd /etc/apt Code:
ls post back what "ls" showed in code tags. |
I typed
Code:
cd /etc/apt Code:
ls Code:
apt.conf.d soureces.list sources.list.d trusted.gpg trusted.gpg.d |
Copy the backup file:
Code:
cd /etc/apt |
I typed:
Code:
What is the next step? thanks. |
Quote:
Code:
sudo apt-get update |
Ubuntu 11.10 isn't supported any longer. The list of currently supported desktop and server versions at the site below.
https://wiki.ubuntu.com/Releases Upgrading instructions at the link below. http://fridge.ubuntu.com/2013/03/29/...on-may-9-2013/ |
Quote:
Code:
sudo apt-get update Code:
reading package lists.....Done |
@yancek is quite correct -- change to a newer version, you shouldn't be using that one.
|
Also, apt changed slightly so that multiple source lists are possible, and these lists are stored in /etc/apt/sources.lists.d/
|
All times are GMT -5. The time now is 10:11 AM. |