- Κώδικας: Επιλογή όλων
sudo gedit /var/lib/dpkg/status
για να δει κάποιο έμπειρο μέλος το λάθος:
- Κώδικας: Επιλογή όλων
near line 422 package 'memtest86+':
το όνομα πεδίου `
Συντονιστής: adem1
sudo gedit /var/lib/dpkg/status near line 422 package 'memtest86+':
το όνομα πεδίου `
Δώσε ολόκληρο το αποτέλεσμα της κάθε εντολής. Εκτέλεσε τις εντολές μια-μια με τη σειρά που τις δείνει.
Μην επαναλάβεις τις εντολές, ακόμη κι αν δεν δίνουν αποτέλεσμα.



cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.04
DISTRIB_CODENAME=natty
DISTRIB_DESCRIPTION="Ubuntu 11.04"
uname -a
Linux tron4-Compaq-Presario-CQ71-Notebook-PC 2.6.38-11-generic-pae #48-Ubuntu SMP Fri Jul 29 20:51:21 UTC 2011 i686 i686 i386 GNU/Linuxtron4@tron4-Compaq-Presario-CQ71-Notebook-PC:~$ sudo rm /var/lib/apt/lists/locktron4@tron4-Compaq-Presario-CQ71-Notebook-PC:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
tron4@tron4-Compaq-Presario-CQ71-Notebook-PC:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
tron4@tron4-Compaq-Presario-CQ71-Notebook-PC:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
tron4@tron4-Compaq-Presario-CQ71-Notebook-PC:~$ uname -a
Linux tron4-Compaq-Presario-CQ71-Notebook-PC 2.6.38-11-generic-pae #48-Ubuntu SMP Fri Jul 29 20:51:21 UTC 2011 i686 i686 i386 GNU/Linux
tron4@tron4-Compaq-Presario-CQ71-Notebook-PC:~$ Linux tron4-Compaq-Presario-CQ71-Notebook-PC 2.6.38-11-generic-pae #48-Ubuntu SMP Fri Jul 29 20:51:21 UTC 2011 i686 i686 i386 GNU/Linux
Δε βρέθηκε εντολή 'Linux', μήπως εννοούσατε:
Εντολή 'linux' από το πακέτο 'user-mode-linux' (universe)
udo fuser -vvv /var/lib/dpkg/lock
[sudo] password for tron4:
tron4@tron4-Compaq-Presario-CQ71-Notebook-PC:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.04
DISTRIB_CODENAME=natty
DISTRIB_DESCRIPTION="Ubuntu 11.04"tron4@tron4-Compaq-Presario-CQ71-Notebook-PC:~$ uname -a
Linux tron4-Compaq-Presario-CQ71-Notebook-PC 2.6.38-11-generic-pae #48-Ubuntu SMP Fri Jul 29 20:51:21 UTC 2011 i686 i686 i386 GNU/Linux
tron4@tron4-Compaq-Presario-CQ71-Notebook-PC:~$ sudo rm /var/lib/apt/lists/lockrm: αδυναμία διαγραφής «/var/lib/apt/lists/lock»: Δεν υπάρχει τέτοιο αρχείο ή κατάλογοςtron4@tron4-Compaq-Presario-CQ71-Notebook-PC:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
tron4@tron4-Compaq-Presario-CQ71-Notebook-PC:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
tron4@tron4-Compaq-Presario-CQ71-Notebook-PC:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
tron4@tron4-Compaq-Presario-CQ71-Notebook-PC:~$ sudo rm -rf /var/lib/dpkg/updates/*
tron4@tron4-Compaq-Presario-CQ71-Notebook-PC:~$ sudo rm -rf /var/lib/apt/lists
tron4@tron4-Compaq-Presario-CQ71-Notebook-PC:~$ sudo rm /var/cache/apt/*.bin
tron4@tron4-Compaq-Presario-CQ71-Notebook-PC:~$ sudo mkdir /var/lib/apt/lists
tron4@tron4-Compaq-Presario-CQ71-Notebook-PC:~$ sudo mkdir /var/lib/apt/lists/partial
tron4@tron4-Compaq-Presario-CQ71-Notebook-PC:~$ LANG=C;sudo apt-get cleantron4@tron4-Compaq-Presario-CQ71-Notebook-PC:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Donetron4@tron4-Compaq-Presario-CQ71-Notebook-PC:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
firefox-dbg : Depends: firefox (= 6.0+build1+nobinonly-0ubuntu0.11.04.1) but 6.0.1+build1+nobinonly-0ubuntu0.11.04.1 is installed
firefox-dev : Depends: firefox (= 6.0+build1+nobinonly-0ubuntu0.11.04.1) but 6.0.1+build1+nobinonly-0ubuntu0.11.04.1 is installed
E: Unmet dependencies. Try using -f.tron4@tron4-Compaq-Presario-CQ71-Notebook-PC:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
Ign http://gr.archive.ubuntu.com natty InRelease
Ign http://gr.archive.ubuntu.com natty-updates InRelease
Ign http://security.ubuntu.com natty-security InRelease
Ign http://extras.ubuntu.com natty InRelease
Get:1 http://gr.archive.ubuntu.com natty Release.gpg [198 B]
Get:2 http://security.ubuntu.com natty-security Release.gpg [198 B]
Get:3 http://extras.ubuntu.com natty Release.gpg [72 B]
Get:4 http://gr.archive.ubuntu.com natty-updates Release.gpg [198 B]
Get:5 http://gr.archive.ubuntu.com natty Release [39.8 kB]
Get:6 http://security.ubuntu.com natty-security Release [31.4 kB]
Get:7 http://extras.ubuntu.com natty Release [9753 B]
Get:8 http://gr.archive.ubuntu.com natty-updates Release [31.4 kB]
Get:9 http://security.ubuntu.com natty-security/main Sources [65.4 kB]
Get:10 http://extras.ubuntu.com natty/main Sources [14 B]
Get:11 http://gr.archive.ubuntu.com natty/main Sources [862 kB]
Get:12 http://extras.ubuntu.com natty/main i386 Packages [14 B]
Ign http://extras.ubuntu.com natty/main TranslationIndex
Get:13 http://security.ubuntu.com natty-security/restricted Sources [14 B]
Get:14 http://security.ubuntu.com natty-security/universe Sources [10.2 kB]
Get:15 http://security.ubuntu.com natty-security/multiverse Sources [650 B]
Get:16 http://security.ubuntu.com natty-security/main i386 Packages [173 kB]
Ign http://extras.ubuntu.com natty/main Translation-en
Get:17 http://security.ubuntu.com natty-security/restricted i386 Packages [14 B]
Get:18 http://security.ubuntu.com natty-security/universe i386 Packages [35.3 kB]
Get:19 http://security.ubuntu.com natty-security/multiverse i386 Packages [2071 B]
Ign http://security.ubuntu.com natty-security/main TranslationIndex
Ign http://security.ubuntu.com natty-security/multiverse TranslationIndex
Ign http://security.ubuntu.com natty-security/restricted TranslationIndex
Ign http://security.ubuntu.com natty-security/universe TranslationIndex
Ign http://security.ubuntu.com natty-security/main Translation-en
Ign http://security.ubuntu.com natty-security/multiverse Translation-en
Ign http://security.ubuntu.com natty-security/restricted Translation-en
Get:20 http://gr.archive.ubuntu.com natty/restricted Sources [4104 B]
Ign http://security.ubuntu.com natty-security/universe Translation-en
Get:21 http://gr.archive.ubuntu.com natty/universe Sources [4380 kB]
Get:22 http://gr.archive.ubuntu.com natty/multiverse Sources [155 kB]
Get:23 http://gr.archive.ubuntu.com natty/main i386 Packages [1550 kB]
Get:24 http://gr.archive.ubuntu.com natty/restricted i386 Packages [8986 B]
99% [23 Packages bzip2 0 B] [24 Packages 1154 B/8986 B 12%] 391 kB/s 0s
bzip2: Data integrity error when decompressing.
Input file = (stdin), output file = (stdout)
It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.
You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.
Get:25 http://gr.archive.ubuntu.com natty/universe i386 Packages [6021 kB]
Get:26 http://gr.archive.ubuntu.com natty/multiverse i386 Packages [183 kB]
Ign http://gr.archive.ubuntu.com natty/main TranslationIndex
Ign http://gr.archive.ubuntu.com natty/multiverse TranslationIndex
Ign http://gr.archive.ubuntu.com natty/restricted TranslationIndex
99% [25 Packages bzip2 0 B] [Connecting to gr.archive.ubuntu.com (147.102.222.
bzip2: Data integrity error when decompressing.
Input file = (stdin), output file = (stdout)
It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.
You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.
Ign http://gr.archive.ubuntu.com natty/universe TranslationIndex
Get:27 http://gr.archive.ubuntu.com natty-updates/main Sources [103 kB]
Get:28 http://gr.archive.ubuntu.com natty-updates/restricted Sources [14 B]
Get:29 http://gr.archive.ubuntu.com natty-updates/universe Sources [24.9 kB]
Get:30 http://gr.archive.ubuntu.com natty-updates/multiverse Sources [1890 B]
Get:31 http://gr.archive.ubuntu.com natty-updates/main i386 Packages [312 kB]
Get:32 http://gr.archive.ubuntu.com natty-updates/restricted i386 Packages [14 B]
99% [31 Packages bzip2 0 B] [Connecting to gr.archive.ubuntu.com (147.102.222.
bzip2: Data integrity error when decompressing.
Input file = (stdin), output file = (stdout)
It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.
You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.
Get:33 http://gr.archive.ubuntu.com natty-updates/universe i386 Packages [89.7 kB]
99% [33 Packages bzip2 0 B] [Connecting to gr.archive.ubuntu.com (147.102.222.
bzip2: Data integrity error when decompressing.
Input file = (stdin), output file = (stdout)
It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.
You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.
Get:34 http://gr.archive.ubuntu.com natty-updates/multiverse i386 Packages [4258 B]
Ign http://gr.archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://gr.archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://gr.archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://gr.archive.ubuntu.com natty-updates/universe TranslationIndex
Ign http://gr.archive.ubuntu.com natty/main Translation-en
Ign http://gr.archive.ubuntu.com natty/multiverse Translation-en
Ign http://gr.archive.ubuntu.com natty/restricted Translation-en
Ign http://gr.archive.ubuntu.com natty/universe Translation-en
Ign http://gr.archive.ubuntu.com natty-updates/main Translation-en
Ign http://gr.archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://gr.archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://gr.archive.ubuntu.com natty-updates/universe Translation-en
Fetched 14.1 MB in 51s (276 kB/s)
W: Failed to fetch gzip:/var/lib/apt/lists/partial/gr.archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages Hash Sum mismatch
W: Failed to fetch gzip:/var/lib/apt/lists/partial/gr.archive.ubuntu.com_ubuntu_dists_natty_universe_binary-i386_Packages Hash Sum mismatch
W: Failed to fetch gzip:/var/lib/apt/lists/partial/gr.archive.ubuntu.com_ubuntu_dists_natty-updates_universe_binary-i386_Packages Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.tron4@tron4-Compaq-Presario-CQ71-Notebook-PC:~$ sudo dpkg --clear-avail
tron4@tron4-Compaq-Presario-CQ71-Notebook-PC:~$ sudo dpkg --configure -a
dpkg: error: parsing file '/var/lib/dpkg/status' near line 422 package 'memtest86+':
field name `�d' must be followed by colon
tron4@tron4-Compaq-Presario-CQ71-Notebook-PC:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
ndiswrapper-common libdmraid1.0.0.rc16 archdetect-deb
linux-headers-2.6.38-8 python-pyicu libdebian-installer4 cryptsetup
reiserfsprogs rdate libcairomm-1.0-1 libglibmm-2.4-1c2a libatkmm-1.6-1
linux-headers-2.6.38-8-generic-pae libsigc++-2.0-0c2a libpangomm-1.4-1
btrfs-tools libgtkmm-2.4-1c2a localechooser-data apt-clone dpkg-repack
libcheese-gtk18 libdebconfclient0 dmraid libgnome-desktop-2-17 hwdata
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
firefox-dbg firefox-dev
The following packages will be upgraded:
firefox-dbg firefox-dev
2 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
2 not fully installed or removed.
Need to get 130 MB of archives.
After this operation, 86.0 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://gr.archive.ubuntu.com/ubuntu/ natty-updates/main firefox-dbg i386 6.0.1+build1+nobinonly-0ubuntu0.11.04.1 [124 MB]
Get:2 http://gr.archive.ubuntu.com/ubuntu/ natty-updates/main firefox-dev i386 6.0.1+build1+nobinonly-0ubuntu0.11.04.1 [5899 kB]
Fetched 130 MB in 5min 56s (364 kB/s)
dpkg: error: parsing file '/var/lib/dpkg/status' near line 422 package 'memtest86+':
field name `�d' must be followed by colon
E: Sub-process /usr/bin/dpkg returned an error code (2)tron4@tron4-Compaq-Presario-CQ71-Notebook-PC:~$ LANG=C;sudo apt-get --fix-missing install
[sudo] password for tron4:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
firefox-dbg : Depends: firefox (= 6.0+build1+nobinonly-0ubuntu0.11.04.1) but 6.0.1+build1+nobinonly-0ubuntu0.11.04.1 is installed
firefox-dev : Depends: firefox (= 6.0+build1+nobinonly-0ubuntu0.11.04.1) but 6.0.1+build1+nobinonly-0ubuntu0.11.04.1 is installed
E: Unmet dependencies. Try using -f.tron4@tron4-Compaq-Presario-CQ71-Notebook-PC:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
Ign http://gr.archive.ubuntu.com natty InRelease
Ign http://extras.ubuntu.com natty InRelease
Ign http://gr.archive.ubuntu.com natty-updates InRelease
Ign http://security.ubuntu.com natty-security InRelease
Hit http://gr.archive.ubuntu.com natty Release.gpg
Hit http://extras.ubuntu.com natty Release.gpg
Hit http://security.ubuntu.com natty-security Release.gpg
Hit http://gr.archive.ubuntu.com natty-updates Release.gpg
Hit http://extras.ubuntu.com natty Release
Hit http://security.ubuntu.com natty-security Release
Hit http://gr.archive.ubuntu.com natty Release
Hit http://extras.ubuntu.com natty/main Sources
Hit http://security.ubuntu.com natty-security/main Sources
Hit http://gr.archive.ubuntu.com natty-updates Release
Hit http://extras.ubuntu.com natty/main i386 Packages
Ign http://extras.ubuntu.com natty/main TranslationIndex
Hit http://security.ubuntu.com natty-security/restricted Sources
Hit http://security.ubuntu.com natty-security/universe Sources
Hit http://security.ubuntu.com natty-security/multiverse Sources
Hit http://security.ubuntu.com natty-security/main i386 Packages
Hit http://security.ubuntu.com natty-security/restricted i386 Packages
Hit http://gr.archive.ubuntu.com natty/main Sources
Hit http://security.ubuntu.com natty-security/universe i386 Packages
Hit http://security.ubuntu.com natty-security/multiverse i386 Packages
Ign http://security.ubuntu.com natty-security/main TranslationIndex
Ign http://security.ubuntu.com natty-security/multiverse TranslationIndex
Ign http://security.ubuntu.com natty-security/restricted TranslationIndex
Hit http://gr.archive.ubuntu.com natty/restricted Sources
Ign http://security.ubuntu.com natty-security/universe TranslationIndex
Hit http://gr.archive.ubuntu.com natty/universe Sources
Hit http://gr.archive.ubuntu.com natty/multiverse Sources
Ign http://extras.ubuntu.com natty/main Translation-en
Hit http://gr.archive.ubuntu.com natty/restricted i386 Packages
Hit http://gr.archive.ubuntu.com natty/multiverse i386 Packages
Ign http://gr.archive.ubuntu.com natty/main TranslationIndex
Ign http://gr.archive.ubuntu.com natty/multiverse TranslationIndex
Ign http://gr.archive.ubuntu.com natty/restricted TranslationIndex
Ign http://gr.archive.ubuntu.com natty/universe TranslationIndex
Ign http://security.ubuntu.com natty-security/main Translation-en
Hit http://gr.archive.ubuntu.com natty-updates/main Sources
Ign http://security.ubuntu.com natty-security/multiverse Translation-en
Hit http://gr.archive.ubuntu.com natty-updates/restricted Sources
Ign http://security.ubuntu.com natty-security/restricted Translation-en
Ign http://security.ubuntu.com natty-security/universe Translation-en
Hit http://gr.archive.ubuntu.com natty-updates/universe Sources
Hit http://gr.archive.ubuntu.com natty-updates/multiverse Sources
Get:1 http://gr.archive.ubuntu.com natty-updates/main i386 Packages [312 kB]
Hit http://gr.archive.ubuntu.com natty-updates/restricted i386 Packages
Hit http://gr.archive.ubuntu.com natty-updates/multiverse i386 Packages
Ign http://gr.archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://gr.archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://gr.archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://gr.archive.ubuntu.com natty-updates/universe TranslationIndex
Get:2 http://gr.archive.ubuntu.com natty/main i386 Packages [1987 kB]
Get:3 http://gr.archive.ubuntu.com natty/universe i386 Packages [7755 kB]
Get:4 http://gr.archive.ubuntu.com natty-updates/universe i386 Packages [117 kB]
Ign http://gr.archive.ubuntu.com natty/main Translation-en
Ign http://gr.archive.ubuntu.com natty/multiverse Translation-en
Ign http://gr.archive.ubuntu.com natty/restricted Translation-en
Ign http://gr.archive.ubuntu.com natty/universe Translation-en
Ign http://gr.archive.ubuntu.com natty-updates/main Translation-en
Ign http://gr.archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://gr.archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://gr.archive.ubuntu.com natty-updates/universe Translation-en
Fetched 312 kB in 12s (25.7 kB/s)
W: Failed to fetch gzip:/var/lib/apt/lists/partial/gr.archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages Hash Sum mismatch
W: Failed to fetch gzip:/var/lib/apt/lists/partial/gr.archive.ubuntu.com_ubuntu_dists_natty_universe_binary-i386_Packages Hash Sum mismatch
W: Failed to fetch gzip:/var/lib/apt/lists/partial/gr.archive.ubuntu.com_ubuntu_dists_natty-updates_universe_binary-i386_Packages Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
dpkg: error: parsing file '/var/lib/dpkg/status' near line 422 package 'memtest86+':
το όνομα πεδίου `
E: Sub-process /usr/bin/dpkg returned an error code (2)
Αποτυχία εγκατάστασης ενός πακέτου. Γίνεται προσπάθεια ανάκτησης:
dpkg: error: parsing file '/var/lib/dpkg/status' near line 422 package 'memtest86+':
το όνομα πεδίου `tron4@tron4-Compaq-Presario-CQ71-Notebook-PC:~$ sudo gedit /var/lib/dpkg/status[sudo] password for tron4:
Sorry, try again.
[sudo] password for tron4:
sudo: gedit: command not foundtron4@tron4-Compaq-Presario-CQ71-Notebook-PC:~$ near line 422 package 'memtest86+':
Δε βρέθηκε εντολή 'near', μήπως εννοούσατε:
Εντολή 'pear' από το πακέτο 'php-pear' (main)
near: η εντολή δε βρέθηκε
sudo: gedit: command not found sudo apt-get install geditnear line 422 package 'memtest86+':