0 کاربر و 2 مهمان درحال مشاهده موضوع.
فایل زیر رو تو یک ادیتور با دسترسی ریشه باز کنید:کد: [انتخاب] /etc/apt/sources.listاین لیست رو توش ذخیره کنید:کد: [انتخاب]#------------------------------------------------------------------------------## OFFICIAL UBUNTU REPOS ##------------------------------------------------------------------------------####### Ubuntu Main Reposdeb http://01.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse ###### Ubuntu Update Reposdeb http://01.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse deb http://01.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse سپس دستورات زیر رو بزنید:کد: [انتخاب]mkdir ~/tmp-listsudo mv /etc/apt/sources.list.d/google-chrome.list* ~/tmp-listsudo mv /etc/apt/sources.list.d/slack.list* ~/tmp-listلیست مخازن رو به روز کنید:کد: [انتخاب]sudo apt-get updateخروجی آپدیت رو قرار بدید.
/etc/apt/sources.list
#------------------------------------------------------------------------------## OFFICIAL UBUNTU REPOS ##------------------------------------------------------------------------------####### Ubuntu Main Reposdeb http://01.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse ###### Ubuntu Update Reposdeb http://01.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse deb http://01.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
mkdir ~/tmp-listsudo mv /etc/apt/sources.list.d/google-chrome.list* ~/tmp-listsudo mv /etc/apt/sources.list.d/slack.list* ~/tmp-list
sudo apt-get update
E: Type 'FFICIAL' is not known on line 1 in source list /etc/apt/sources.listE: The list of sources could not be read.
cat /etc/apt/sources.list
خروجی بزارید:کد: [انتخاب]cat /etc/apt/sources.list
FFICIAL UBUNTU REPOS ##------------------------------------------------------------------------------####### Ubuntu Main Reposdeb http://01.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse ###### Ubuntu Update Reposdeb http://01.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse deb http://01.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
نقلقول از: M!lad در 28 خرداد 1395، 04:34 بظخروجی بزارید:کد: [انتخاب]cat /etc/apt/sources.listکد: [انتخاب]FFICIAL UBUNTU REPOS ##------------------------------------------------------------------------------####### Ubuntu Main Reposdeb http://01.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse ###### Ubuntu Update Reposdeb http://01.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse deb http://01.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
نقلقول از: omidparkour در 28 خرداد 1395، 04:36 بظنقلقول از: M!lad در 28 خرداد 1395، 04:34 بظخروجی بزارید:کد: [انتخاب]cat /etc/apt/sources.listکد: [انتخاب]FFICIAL UBUNTU REPOS ##------------------------------------------------------------------------------####### Ubuntu Main Reposdeb http://01.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse ###### Ubuntu Update Reposdeb http://01.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse deb http://01.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse لیستی که تو فایل زیر گفتم ذخیره کنید رو اشتباه ذخیره کردید:کد: [انتخاب]/etc/apt/sources.listاون خط که با FFICIAL شروع میشه رو حذف کنید مشکل حل میشه.
Hit:1 http://ppa.launchpad.net/atareao/telegram/ubuntu xenial InReleaseHit:2 http://ppa.launchpad.net/me-davidsansome/clementine/ubuntu xenial InRelease Get:3 http://01.archive.ubuntu.com/ubuntu xenial InRelease [247 kB] Hit:4 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu xenial InRelease Hit:5 http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu xenial InRelease Hit:6 http://repository.spotify.com stable InRelease Get:7 http://01.archive.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB] Get:8 http://01.archive.ubuntu.com/ubuntu xenial-updates InRelease [94.5 kB]Get:9 http://01.archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1,201 kB]Get:10 http://01.archive.ubuntu.com/ubuntu xenial/main i386 Packages [1,196 kB] Get:11 http://01.archive.ubuntu.com/ubuntu xenial/main Translation-en [568 kB] Get:12 http://01.archive.ubuntu.com/ubuntu xenial/main amd64 DEP-11 Metadata [733 kB] Get:13 http://01.archive.ubuntu.com/ubuntu xenial/main DEP-11 64x64 Icons [409 kB] Get:14 http://01.archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages [8,344 B] Get:15 http://01.archive.ubuntu.com/ubuntu xenial/restricted i386 Packages [8,684 B] Get:16 http://01.archive.ubuntu.com/ubuntu xenial/restricted Translation-en [2,908 B] Get:17 http://01.archive.ubuntu.com/ubuntu xenial/restricted amd64 DEP-11 Metadata [186 B] Get:18 http://01.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7,532 kB] Get:19 http://01.archive.ubuntu.com/ubuntu xenial/universe i386 Packages [7,512 kB] Get:20 http://01.archive.ubuntu.com/ubuntu xenial/universe Translation-en [4,354 kB] Get:21 http://01.archive.ubuntu.com/ubuntu xenial/universe amd64 DEP-11 Metadata [3,410 kB] Get:22 http://01.archive.ubuntu.com/ubuntu xenial/universe DEP-11 64x64 Icons [7,448 kB] Get:23 http://01.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [144 kB] Get:24 http://01.archive.ubuntu.com/ubuntu xenial/multiverse i386 Packages [140 kB] Get:25 http://01.archive.ubuntu.com/ubuntu xenial/multiverse Translation-en [106 kB] Get:26 http://01.archive.ubuntu.com/ubuntu xenial/multiverse amd64 DEP-11 Metadata [63.8 kB] Get:27 http://01.archive.ubuntu.com/ubuntu xenial/multiverse DEP-11 64x64 Icons [230 kB] Get:28 http://01.archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages [86.2 kB] Get:29 http://01.archive.ubuntu.com/ubuntu xenial-security/main i386 Packages [83.2 kB] Get:30 http://01.archive.ubuntu.com/ubuntu xenial-security/main Translation-en [34.2 kB] Get:31 http://01.archive.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [5,685 B] Get:32 http://01.archive.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [27.2 kB] Get:33 http://01.archive.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [64 B] Get:34 http://01.archive.ubuntu.com/ubuntu xenial-security/restricted i386 Packages [64 B] Get:35 http://01.archive.ubuntu.com/ubuntu xenial-security/restricted Translation-en [64 B] Get:36 http://01.archive.ubuntu.com/ubuntu xenial-security/restricted amd64 DEP-11 Metadata [158 B] Get:37 http://01.archive.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [23.5 kB] Get:38 http://01.archive.ubuntu.com/ubuntu xenial-security/universe i386 Packages [23.4 kB] Get:39 http://01.archive.ubuntu.com/ubuntu xenial-security/universe Translation-en [14.7 kB] Get:40 http://01.archive.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [2,329 B] Get:41 http://01.archive.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [4,102 B] Get:42 http://01.archive.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [1,176 B] Get:43 http://01.archive.ubuntu.com/ubuntu xenial-security/multiverse i386 Packages [1,344 B] Get:44 http://01.archive.ubuntu.com/ubuntu xenial-security/multiverse Translation-en [628 B] Get:45 http://01.archive.ubuntu.com/ubuntu xenial-security/multiverse amd64 DEP-11 Metadata [200 B] Get:46 http://01.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [213 kB] Get:47 http://01.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [209 kB] Get:48 http://01.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [81.3 kB] Get:49 http://01.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [174 kB] Get:50 http://01.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [136 kB] Get:51 http://01.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [64 B] Get:52 http://01.archive.ubuntu.com/ubuntu xenial-updates/restricted i386 Packages [64 B] Get:53 http://01.archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en [64 B] Get:54 http://01.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 DEP-11 Metadata [157 B] Get:55 http://01.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [97.1 kB] Get:56 http://01.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [94.3 kB] Get:57 http://01.archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [46.3 kB] Get:58 http://01.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [21.4 kB] Get:59 http://01.archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [53.8 kB] Get:60 http://01.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [1,176 B] Get:61 http://01.archive.ubuntu.com/ubuntu xenial-updates/multiverse i386 Packages [1,344 B] Get:62 http://01.archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en [628 B] Get:63 http://01.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [158 B] Fetched 36.9 MB in 1min 47s (342 kB/s) Reading package lists... Done
فراموش نکنید با دستوراتی که زدید ۲ تا از مخازن رو (google و slack) که مشکل داشتن حذف کردید. لیست این ۲ مخزن رو انتقال دادیم اینجا /tmp-list/~ (اگر خواستید بر گردونید).