Много ясно че няма да ти работят трябва да си оправиш
source
1-2
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
sudo gedit /etc/apt/sources.list
3- изтриваш всичко и добавяш това
Примерен код |
#deb cdrom:[Ubuntu 5.04 _Hoary Hedgehog_ - Release i386 (20050407)]/ hoary main restricted
## Uncomment the following two lines to fetch updated software from the network deb [URL=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/URL] hoary main restricted deb-src [URL=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/URL] hoary main restricted
## Uncomment the following two lines to fetch major bug fix updates produced ## after the final release of the distribution. deb [URL=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/URL] hoary-updates main restricted deb-src [URL=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/URL] hoary-updates main restricted
## Uncomment the following two lines to add software from the 'universe' ## repository. ## 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 ## universe WILL NOT receive any review or updates from the Ubuntu security ## team. deb [URL=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/URL] hoary universe deb-src [URL=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/URL] hoary universe
deb [URL=http://security.ubuntu.com/ubuntu]http://security.ubuntu.com/ubuntu[/URL] hoary-security main restricted deb-src [URL=http://security.ubuntu.com/ubuntu]http://security.ubuntu.com/ubuntu[/URL] hoary-security main restricted
deb [URL=http://security.ubuntu.com/ubuntu]http://security.ubuntu.com/ubuntu[/URL] hoary-security universe deb-src [URL=http://security.ubuntu.com/ubuntu]http://security.ubuntu.com/ubuntu[/URL] hoary-security universe
deb [URL=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/URL] hoary multiverse deb-src [URL=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/URL] hoary multiverse
deb [URL=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/URL] hoary-backports main restricted universe multiverse |
а за хора с Ubuntu 5.10 Breеzy
Примерен код |
#deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted
## Uncomment the following two lines to fetch updated software from the network deb http://archive.ubuntu.com/ubuntu breezy main restricted deb-src http://archive.ubuntu.com/ubuntu breezy main restricted
## Uncomment the following two lines to fetch major bug fix updates produced ## after the final release of the distribution. deb http://archive.ubuntu.com/ubuntu breezy-updates main restricted deb-src http://archive.ubuntu.com/ubuntu breezy-updates main restricted
## Uncomment the following two lines to add software from the 'universe' ## repository. ## 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 ## universe WILL NOT receive any review or updates from the Ubuntu security ## team. deb http://archive.ubuntu.com/ubuntu breezy universe deb-src http://archive.ubuntu.com/ubuntu breezy universe
deb http://security.ubuntu.com/ubuntu breezy-security main restricted deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted
deb http://security.ubuntu.com/ubuntu breezy-security universe deb-src http://security.ubuntu.com/ubuntu breezy-security universe
deb http://archive.ubuntu.com/ubuntu breezy multiverse deb-src http://archive.ubuntu.com/ubuntu breezy multiverse
deb http://archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse |
4- пишеш това
sudo apt-get update
Успех