0 کاربر و 6 مهمان درحال مشاهده موضوع.
نقلقول از: حسین حیدری در 19 اردیبهشت 1394، 07:02 بظدستور هایی که میگم را بزن دوباره همون خروجی ها را بزار:کد: [انتخاب]sudo rm /var/lib/dpkg/locksudo rm /var/lib/archieves/lockسلامخدمت شما:کد: [انتخاب]sudo rm /var/lib/dpkg/lock[sudo] password for meysam: rm: cannot remove ‘/var/lib/dpkg/lock’: No such file or directoryکد: [انتخاب]sudo rm /var/lib/archieves/lockrm: cannot remove ‘/var/lib/archieves/lock’: No such file or directory
دستور هایی که میگم را بزن دوباره همون خروجی ها را بزار:کد: [انتخاب]sudo rm /var/lib/dpkg/locksudo rm /var/lib/archieves/lock
sudo rm /var/lib/dpkg/locksudo rm /var/lib/archieves/lock
sudo rm /var/lib/dpkg/lock[sudo] password for meysam: rm: cannot remove ‘/var/lib/dpkg/lock’: No such file or directory
sudo rm /var/lib/archieves/lockrm: cannot remove ‘/var/lib/archieves/lock’: No such file or directory
sudo rm /var/lib/apt/lists/lock
دو دستور آخر رو باید با دسترسی ریشه بزنید همون طور که آخر هر دو دستور گفته نقلقول are you root?یعنی به صورت زیرکد: [انتخاب]sudo apt-get updatesudo apt-get update --fix-missing
are you root?
sudo apt-get updatesudo apt-get update --fix-missing
apt-get update --fix-missingIgn cdrom://Ubuntu 14.04 LTS _Trusty Tahr_ - Release amd64 (20140417) trusty InReleaseIgn cdrom://Ubuntu 14.04 LTS _Trusty Tahr_ - Release amd64 (20140417) trusty/main Translation-en_USIgn cdrom://Ubuntu 14.04 LTS _Trusty Tahr_ - Release amd64 (20140417) trusty/main Translation-enIgn cdrom://Ubuntu 14.04 LTS _Trusty Tahr_ - Release amd64 (20140417) trusty/restricted Translation-en_USIgn cdrom://Ubuntu 14.04 LTS _Trusty Tahr_ - Release amd64 (20140417) trusty/restricted Translation-enIgn http://extras.ubuntu.com trusty InRelease Get:1 http://extras.ubuntu.com trusty Release.gpg [72 B] Hit http://extras.ubuntu.com trusty Release Hit http://extras.ubuntu.com trusty/main Sources Hit http://extras.ubuntu.com trusty/main amd64 Packages Hit http://extras.ubuntu.com trusty/main i386 Packages Ign http://archive.ubuntu.com trusty InRelease Ign http://archive.ubuntu.com trusty-updates InRelease Ign http://archive.ubuntu.com trusty-backports InReleaseIgn http://archive.ubuntu.com trusty-security InReleaseHit http://archive.ubuntu.com trusty Release.gpgGet:2 http://archive.ubuntu.com trusty-updates Release.gpg [933 B]Hit http://archive.ubuntu.com trusty-backports Release.gpgHit http://archive.ubuntu.com trusty-security Release.gpgHit http://archive.ubuntu.com trusty Release Get:3 http://archive.ubuntu.com trusty-updates Release [63.5 kB] Hit http://archive.ubuntu.com trusty-backports Release Hit http://archive.ubuntu.com trusty-security Release Hit http://archive.ubuntu.com trusty/main Sources Hit http://archive.ubuntu.com trusty/restricted Sources Hit http://archive.ubuntu.com trusty/multiverse Sources Hit http://archive.ubuntu.com trusty/main amd64 Packages Hit http://archive.ubuntu.com trusty/restricted amd64 Packages Ign http://extras.ubuntu.com trusty/main Translation-en_US Get:4 http://archive.ubuntu.com trusty/universe amd64 Packages [5,859 kB] Ign http://extras.ubuntu.com trusty/main Translation-en 100% [4 Packages 5,838 kB/5,859 kB 100%] Get:5 http://archive.ubuntu.com trusty/universe amd64 Packages [5,859 kB]Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages Hit http://archive.ubuntu.com trusty/main i386 PackagesHit http://archive.ubuntu.com trusty/restricted i386 PackagesGet:6 http://archive.ubuntu.com trusty/universe i386 Packages [5,866 kB]Get:7 http://archive.ubuntu.com trusty/universe i386 Packages [5,866 kB] Hit http://archive.ubuntu.com trusty/multiverse i386 Packages Hit http://archive.ubuntu.com trusty/main Translation-en Hit http://archive.ubuntu.com trusty/multiverse Translation-enHit http://archive.ubuntu.com trusty/restricted Translation-enHit http://archive.ubuntu.com trusty/universe Translation-enGet:8 http://archive.ubuntu.com trusty-updates/main Sources [198 kB]Get:9 http://archive.ubuntu.com trusty-updates/main Sources [198 kB] Get:10 http://archive.ubuntu.com trusty-updates/main Sources [198 kB] Get:11 http://archive.ubuntu.com trusty-updates/restricted Sources [2,564 B] Get:12 http://archive.ubuntu.com trusty-updates/universe Sources [114 kB]Get:13 http://archive.ubuntu.com trusty-updates/universe Sources [114 kB] Get:14 http://archive.ubuntu.com trusty-updates/multiverse Sources [5,144 B] Get:15 http://archive.ubuntu.com trusty-updates/main amd64 Packages [513 kB] Get:16 http://archive.ubuntu.com trusty-updates/main amd64 Packages [513 kB] Get:17 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [9,238 B]Get:18 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [276 kB]Get:19 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [276 kB]Get:20 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [276 kB]Get:21 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [12.0 kB]Get:22 http://archive.ubuntu.com trusty-updates/main i386 Packages [502 kB] Get:23 http://archive.ubuntu.com trusty-updates/main i386 Packages [502 kB] 55% [23 Packages 273 kB/502 kB 54%]
نقلقول از: XMan69 در 19 اردیبهشت 1394، 07:09 بظنقلقول از: حسین حیدری در 19 اردیبهشت 1394، 07:02 بظدستور هایی که میگم را بزن دوباره همون خروجی ها را بزار:کد: [انتخاب]sudo rm /var/lib/dpkg/locksudo rm /var/lib/archieves/lockسلامخدمت شما:کد: [انتخاب]sudo rm /var/lib/dpkg/lock[sudo] password for meysam: rm: cannot remove ‘/var/lib/dpkg/lock’: No such file or directoryکد: [انتخاب]sudo rm /var/lib/archieves/lockrm: cannot remove ‘/var/lib/archieves/lock’: No such file or directoryخب پس قبلا پاک شدن این را امتحان کن خروجی خودش و دستور های اقا مینوین را بعدش بزار:کد: [انتخاب]sudo rm /var/lib/apt/lists/lock
root@meysam-MS-7369:~# sudo rm /var/lib/apt/lists/lockroot@meysam-MS-7369:~#
این یعنی دستور درست اجرا شده که خروجی نمیده خب برسیم به خروجی های اقا مینیون به خاطر اون مشکل که داشتی و با همون دستور حل شد حالا میتونی خروجی دستور های اقا مینوین را دست بزاری
Err http://archive.ubuntu.com trusty/universe amd64 Packages 404 Not Found [IP: 91.189.91.15 80]Ign http://archive.ubuntu.com trusty/main Translation-en_USIgn http://archive.ubuntu.com trusty/multiverse Translation-en_USIgn http://archive.ubuntu.com trusty/restricted Translation-en_USIgn http://archive.ubuntu.com trusty/universe Translation-en_USFetched 1,869 kB in 2h 10min 43s (238 B/s)W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/universe/binary-amd64/Packages 404 Not Found [IP: 91.189.91.15 80]W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_trusty_universe_binary-i386_Packages Hash Sum mismatchE: Some index files failed to download. They have been ignored, or old ones used instead.
sudo apt-get --fix-missing