Δεν ξεκινάει το Ubuntu 11.04

...εγκαταστάσεις, αναβαθμίσεις, διαχείριση partitions, boot-loader, κλπ

Συντονιστής: adem1

Κανόνες Δ. Συζήτησης
Στην ενότητα αυτή γράφουμε θέματα/ προβλήματα μόνο για το UBUNTU ή τα παράγωγά του.

Re: Δεν ξεκινάει το Ubuntu 11.04

Δημοσίευσηαπό medigeek » 11 Ιαν 2012, 22:54

panoss έγραψε:Unknown error executing gpgv

Αυτό μου λέει οτι έχεις αφαιρέσει πολλά πακέτα, μαζί με το πακέτο gpgv το οποίο χρειάζεται για να δουλεύει το πακέτο apt. Εν ολίγοις, χάλασες το σύστημα με μαζική απεγκατάσταση διαφόρων πακέτων (ή εγκατάσταση, επειδή βλέπω μερικά αποθετήρια εκτός αυτών που δίνονται στα επίσημα αποθετήρια ubuntu).
Μπορώ να σε βοηθήσω αλλά έχω την υποψία ότι θα κολλήσουμε πάλι κάπου, να ξέρεις ότι η πιο εύκολη λύση είναι φορματ και επανεγκατάσταση στο /dev/sda1.

Άλλαξα τα μέρη Α και Β, ξαναδοκίμασε να ακολουθήσεις τον "οδηγό":
viewtopic.php?p=225108#p225108
Κύπριος; Κόπιασε στο ubuntu-cy! ┃ Launchpad Debian Github
Οδηγός για νεοεισερχόμενους -- Αρχικές οδηγίες για αρχάριους χρήστες του Ubuntu

1 Γνώσεις Linux: Πολύ καλό ┃ Προγραμματισμού: Πολύ καλό ┃ Αγγλικών: Πολύ καλό
2 Ubuntu 12.10 quantal 3.5.0-21-generic 64bit (en_US.UTF-8, GNOME cinnamon2d), Ubuntu 3.5.0-19-generic, Windows 7
3 Intel Core2 Duo CPU E6550 2.33GHz ‖ RAM 5970 MiB ‖ MSI MS-7235
4 nVidia G73 [GeForce 7300 GT] [10de:0393] {nvidia}
5 eth0: Realtek RTL-8110SC/8169SC Gigabit Ethernet [10ec:8167] (rev 10)
Άβαταρ μέλους
medigeek
Freedom
Freedom
 
Δημοσιεύσεις: 5023
Εγγραφή: 24 Μάιος 2008, 14:49
Τοποθεσία: Σερβία/Κύπρος
Launchpad: medigeek
IRC: savvas
Εκτύπωση

Re: Δεν ξεκινάει το Ubuntu 11.04

Δημοσίευσηαπό panoss » 12 Ιαν 2012, 11:38

medigeek έγραψε:
panoss έγραψε:Unknown error executing gpgv

Αυτό μου λέει οτι έχεις αφαιρέσει πολλά πακέτα, μαζί με το πακέτο gpgv το οποίο χρειάζεται για να δουλεύει το πακέτο apt. Εν ολίγοις, χάλασες το σύστημα με μαζική απεγκατάσταση διαφόρων πακέτων (ή εγκατάσταση, επειδή βλέπω μερικά αποθετήρια εκτός αυτών που δίνονται στα επίσημα αποθετήρια ubuntu).
Μπορώ να σε βοηθήσω αλλά έχω την υποψία ότι θα κολλήσουμε πάλι κάπου, να ξέρεις ότι η πιο εύκολη λύση είναι φορματ και επανεγκατάσταση στο /dev/sda1.

Άλλαξα τα μέρη Α και Β, ξαναδοκίμασε να ακολουθήσεις τον "οδηγό":
http://forum.ubuntu-gr.org/viewtopic.ph ... 08#p225108

Πως τό καταφερα αυτό αφού έχω να ασχοληθώ με το ubuntu (είτε εγκατάσταση είτε απεγκατάσταση) κάτι μήνες, από τότε που έβαλα το puppy. Δηλαδή, εδώ και μήνες έχω να εγκαταστήσω κάτι στο ubuntu, αλλα δούλευε. ΜΙΑ ΧΑΡΑ.
Μια φορα το μηνα (και αν) έμπαινα στο ubuntu να δω μερικά πράγματα.

Eπανεγκατασταση αποκλείεται..

Θα ξαναδοκιμάσω τον οδηγό.
1 Γνώσεις → Linux: Μέτριος ┃ Προγραμματισμός: Μέτριος ┃ Αγγλικά: Μέτριος
2 Λειτουργικό → Ubuntu 11.04 natty 64-bit (el_GR.UTF-8)
3 Προδιαγραφές → 1x AMD Athlon 64 X2 Dual Core Processor 4200+ ‖ RAM 870 MiB ‖ ASUS INC. M2N-MX SE Plus
4 Κάρτες γραφικών: nVidia C61 [GeForce 6150SE nForce 430] [10de:03d0] (rev a2)
5 Δίκτυα: eth0: nVidia MCP61 Ethernet [10de:03ef] (rev a2)
panoss
babeTUX
babeTUX
 
Δημοσιεύσεις: 54
Εγγραφή: 22 Νοέμ 2010, 14:22
Εκτύπωση

Re: Δεν ξεκινάει το Ubuntu 11.04

Δημοσίευσηαπό panoss » 12 Ιαν 2012, 14:23

ΜΕΡΟΣ A
Κώδικας: Επιλογή όλων

ubuntu@ubuntu:~$ sudo -i
root@ubuntu:~#
root@ubuntu:~# mkdir /mnt/work
root@ubuntu:~#
root@ubuntu:~# mount /dev/sda1 /mnt/work
root@ubuntu:~#
root@ubuntu:~# mount -o bind /dev /mnt/work/dev
root@ubuntu:~#
root@ubuntu:~# mount -o bind /proc /mnt/work/proc
root@ubuntu:~#
root@ubuntu:~# mount -o bind /sys /mnt/work/sys
root@ubuntu:~#
root@ubuntu:~# cp -f /proc/mounts /mnt/work/etc/mtab
cp: `/proc/mounts' and `/mnt/work/etc/mtab' are the same file
root@ubuntu:~#
root@ubuntu:~# cp -f /etc/resolv.conf /mnt/work/etc/resolv.conf
root@ubuntu:~#
root@ubuntu:~# chroot /mnt/work/ /bin/bash
root@ubuntu:/#


ΜΕΡΟΣ B
1.
Κώδικας: Επιλογή όλων

root@ubuntu:/# apt-get clean
root@ubuntu:/#
root@ubuntu:/# find /var/lib/apt/lists/ -type f -delete
Traceback (most recent call last):
File "/usr/lib/command-not-found", line 10, in <module>
import CommandNotFound
File "/usr/lib/python2.6/dist-packages/CommandNotFound/__init__.py", line 1, in <module>
from CommandNotFound import CommandNotFound
File "/usr/lib/python2.6/dist-packages/CommandNotFound/CommandNotFound.py", line 4, in <module>
import sys, os, os.path, gdbm, posix, grp, string
ImportError: /usr/lib/python2.6/lib-dynload/gdbm.so: wrong ELF class: ELFCLASS64
root@ubuntu:/#

root@ubuntu:/# apt-get install gpgv
Reading package lists... Done
Building dependency tree
Reading state information... Done
gpgv is already the newest version.
The following packages were automatically installed and are no longer required:
polipo liba52-0.7.4-dev elementary-icon-theme libvorbis-dev libdts-dev
libogg-dev socat libqt4pas5 libqt4pas-dev giblib1 libsvga1-dev libdca-dev
libmad0-dev scrot murrine-themes libimlib2
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 89 not upgraded.
root@ubuntu:/#


Κώδικας: Επιλογή όλων

root@ubuntu:/# apt-get update
Ign http://ppa.launchpad.net natty InRelease
Ign http://security.ubuntu.com natty-security InRelease
Ign http://gr.archive.ubuntu.com natty InRelease
Ign http://gr.archive.ubuntu.com natty-updates InRelease
Ign http://gr.archive.ubuntu.com natty-proposed InRelease
Get:1 http://gr.archive.ubuntu.com natty Release.gpg [198 B]
Get:2 http://gr.archive.ubuntu.com natty-updates Release.gpg [198 B]
Get:3 http://ppa.launchpad.net natty Release.gpg [316 B]
Get:4 http://gr.archive.ubuntu.com natty-proposed Release.gpg [198 B]
Hit http://gr.archive.ubuntu.com natty Release
Get:5 http://gr.archive.ubuntu.com natty-updates Release [39.8 kB]
Get:6 http://security.ubuntu.com natty-security Release.gpg [198 B]
Ign http://archive.canonical.com natty InRelease
Ign http://www.hu.freepascal.org lazarus-testing InRelease
Ign http://dl.google.com stable InRelease
Ign http://extras.ubuntu.com natty InRelease
Hit http://ppa.launchpad.net natty Release
Ign http://deb.opera.com stable InRelease
Get:7 http://gr.archive.ubuntu.com natty-proposed Release [39.8 kB]
Get:8 http://dl.google.com stable Release.gpg [198 B]
Get:9 http://www.hu.freepascal.org lazarus-testing Release.gpg [191 B]
Get:10 http://archive.canonical.com natty Release.gpg [198 B]
Get:11 http://extras.ubuntu.com natty Release.gpg [72 B]
Get:12 http://dl.google.com stable Release [1,347 B]
Get:13 http://deb.opera.com stable Release.gpg [189 B]
Get:14 http://security.ubuntu.com natty-security Release [39.8 kB]
Hit http://www.hu.freepascal.org lazarus-testing Release
Hit http://extras.ubuntu.com natty Release
Get:15 http://archive.canonical.com natty Release [5,916 B]
Get:16 http://deb.opera.com stable Release [633 B]
Ign http://gr.archive.ubuntu.com natty Release
Get:17 http://deb.torproject.org lucid InRelease [2,765 B]
Ign http://gr.archive.ubuntu.com natty/main Sources/DiffIndex
Err http://gr.archive.ubuntu.com natty-updates Release

Ign http://ppa.launchpad.net natty Release
Err http://gr.archive.ubuntu.com natty-proposed Release

Err http://dl.google.com stable Release

Ign http://gr.archive.ubuntu.com natty/restricted Sources/DiffIndex
Ign http://gr.archive.ubuntu.com natty/universe Sources/DiffIndex
Ign http://gr.archive.ubuntu.com natty/multiverse Sources/DiffIndex
Ign http://gr.archive.ubuntu.com natty/main amd64 Packages/DiffIndex
Ign http://gr.archive.ubuntu.com natty/restricted amd64 Packages/DiffIndex
Ign http://gr.archive.ubuntu.com natty/universe amd64 Packages/DiffIndex
Ign http://ppa.launchpad.net natty/main Sources/DiffIndex
Ign http://gr.archive.ubuntu.com natty/multiverse amd64 Packages/DiffIndex
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
Hit http://gr.archive.ubuntu.com natty/main Sources
Hit http://gr.archive.ubuntu.com natty/restricted Sources
Hit http://gr.archive.ubuntu.com natty/universe Sources
Hit http://gr.archive.ubuntu.com natty/multiverse Sources
Hit http://gr.archive.ubuntu.com natty/main amd64 Packages
Hit http://gr.archive.ubuntu.com natty/restricted amd64 Packages
Hit http://gr.archive.ubuntu.com natty/universe amd64 Packages
Hit http://gr.archive.ubuntu.com natty/multiverse amd64 Packages
Err http://security.ubuntu.com natty-security Release

Hit http://gr.archive.ubuntu.com natty/main Translation-el
Hit http://gr.archive.ubuntu.com natty/multiverse Translation-el
Hit http://gr.archive.ubuntu.com natty/restricted Translation-el
Ign http://ppa.launchpad.net natty/main amd64 Packages/DiffIndex
Ign http://ppa.launchpad.net natty/main TranslationIndex
Ign http://www.hu.freepascal.org lazarus-testing Release
Hit http://gr.archive.ubuntu.com natty/universe Translation-el
Err http://extras.ubuntu.com natty Release

Hit http://ppa.launchpad.net natty/main Sources
Hit http://ppa.launchpad.net natty/main amd64 Packages
Ign http://www.hu.freepascal.org lazarus-testing/universe amd64 Packages/DiffIndex
Err http://archive.canonical.com natty Release

Ign http://www.hu.freepascal.org lazarus-testing/universe TranslationIndex
Ign http://gr.archive.ubuntu.com natty/main Translation-en_US
Ign http://gr.archive.ubuntu.com natty/main Translation-en
Ign http://gr.archive.ubuntu.com natty/multiverse Translation-en_US
Ign http://gr.archive.ubuntu.com natty/multiverse Translation-en
Err http://deb.opera.com stable Release

Ign http://gr.archive.ubuntu.com natty/restricted Translation-en_US
Ign http://gr.archive.ubuntu.com natty/restricted Translation-en
Ign http://gr.archive.ubuntu.com natty/universe Translation-en_US
Ign http://gr.archive.ubuntu.com natty/universe Translation-en
Err http://deb.torproject.org lucid InRelease

Hit http://www.hu.freepascal.org lazarus-testing/universe amd64 Packages
Ign http://ppa.launchpad.net natty/main Translation-en_US
Ign http://ppa.launchpad.net natty/main Translation-en
Ign http://www.hu.freepascal.org lazarus-testing/universe Translation-en_US
Ign http://ppa.launchpad.net natty/main Translation-el
Ign http://www.hu.freepascal.org lazarus-testing/universe Translation-en
Ign http://www.hu.freepascal.org lazarus-testing/universe Translation-el
Fetched 3,309 B in 2s (1,337 B/s)
Reading package lists... Done
W: GPG error: http://gr.archive.ubuntu.com natty Release: Unknown error executing gpgv
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://gr.archive.ubuntu.com natty-updates Release: Unknown error executing gpgv

W: GPG error: http://ppa.launchpad.net natty Release: Unknown error executing gpgv
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://gr.archive.ubuntu.com natty-proposed Release: Unknown error executing gpgv

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com stable Release: Unknown error executing gpgv

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.ubuntu.com natty-security Release: Unknown error executing gpgv

W: GPG error: http://www.hu.freepascal.org lazarus-testing Release: Unknown error executing gpgv
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://extras.ubuntu.com natty Release: Unknown error executing gpgv

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.canonical.com natty Release: Unknown error executing gpgv

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.opera.com stable Release: Unknown error executing gpgv

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.torproject.org lucid InRelease: Unknown error executing gpgv

W: Failed to fetch http://deb.torproject.org/torproject.org/dists/lucid/InRelease

W: Failed to fetch http://gr.archive.ubuntu.com/ubuntu/dists/natty-updates/Release

W: Failed to fetch http://gr.archive.ubuntu.com/ubuntu/dists/natty-proposed/Release

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/natty-security/Release

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/natty/Release

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/natty/Release

W: Failed to fetch http://deb.opera.com/opera/dists/stable/Release

W: Some index files failed to download. They have been ignored, or old ones used instead.
root@ubuntu:/#




Κώδικας: Επιλογή όλων

root@ubuntu:/# apt-get install gpgv
Reading package lists... Done
Building dependency tree
Reading state information... Done
gpgv is already the newest version.
The following packages were automatically installed and are no longer required:
polipo liba52-0.7.4-dev elementary-icon-theme libvorbis-dev libdts-dev
libogg-dev socat libqt4pas5 libqt4pas-dev giblib1 libsvga1-dev libdca-dev
libmad0-dev scrot murrine-themes libimlib2
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 89 not upgraded.
root@ubuntu:/#



Κώδικας: Επιλογή όλων

root@ubuntu:/# apt-get install gpgv
Reading package lists... Done
Building dependency tree
Reading state information... Done
gpgv is already the newest version.
The following packages were automatically installed and are no longer required:
polipo liba52-0.7.4-dev elementary-icon-theme libvorbis-dev libdts-dev
libogg-dev socat libqt4pas5 libqt4pas-dev giblib1 libsvga1-dev libdca-dev
libmad0-dev scrot murrine-themes libimlib2
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 89 not upgraded.
root@ubuntu:/#



2.
Κώδικας: Επιλογή όλων

root@ubuntu:/# dpkg -P --force-all ubuntu-desktop ubuntu-standard ubuntu-minimaldpkg: unrecognized option '--force-all'
BusyBox v1.17.1 (Ubuntu 1:1.17.1-10ubuntu1) multi-call binary.

Usage: dpkg [-ilCPru] [-F OPT] PACKAGE

Install, remove and manage Debian packages

Options:
-i,--install Install the package
-l,--list List of installed packages
--configure Configure an unpackaged package
-P,--purge Purge all files of a package
-r,--remove Remove all but the configuration files for a package
--unpack Unpack a package, but don't configure it
--force-depends Ignore dependency problems
--force-confnew Overwrite existing config files when installing
--force-confold Keep old config files when installing

root@ubuntu:/#



Κώδικας: Επιλογή όλων

root@ubuntu:/# apt-get install ubuntu-desktop ubuntu-standard ubuntu-minimal
Reading package lists... Done
Building dependency tree
Reading state information... Done
ubuntu-minimal is already the newest version.
ubuntu-standard is already the newest version.
The following packages were automatically installed and are no longer required:
polipo liba52-0.7.4-dev elementary-icon-theme libvorbis-dev libdts-dev
libogg-dev socat libqt4pas5 libqt4pas-dev giblib1 libsvga1-dev libdca-dev
libmad0-dev scrot murrine-themes libimlib2
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
notify-osd
The following packages will be REMOVED:
xfce4-notifyd
The following NEW packages will be installed:
notify-osd ubuntu-desktop
0 upgraded, 2 newly installed, 1 to remove and 89 not upgraded.
Need to get 123 kB of archives.
After this operation, 242 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
notify-osd ubuntu-desktop
Install these packages without verification [y/N]? y
Get:1 http://gr.archive.ubuntu.com/ubuntu/ natty/main notify-osd amd64 0.9.30-0ubuntu4 [119 kB]
Get:2 http://gr.archive.ubuntu.com/ubuntu/ natty/main ubuntu-desktop amd64 1.220 [3,876 B]
Fetched 123 kB in 0s (562 kB/s)
Can not write log, openpty() failed (/dev/pts not mounted?)
/usr/bin/dpkg: unrecognized option '--status-fd'
BusyBox v1.17.1 (Ubuntu 1:1.17.1-10ubuntu1) multi-call binary.

Usage: dpkg [-ilCPru] [-F OPT] PACKAGE

Install, remove and manage Debian packages

Options:
-i,--install Install the package
-l,--list List of installed packages
--configure Configure an unpackaged package
-P,--purge Purge all files of a package
-r,--remove Remove all but the configuration files for a package
--unpack Unpack a package, but don't configure it
--force-depends Ignore dependency problems
--force-confnew Overwrite existing config files when installing
--force-confold Keep old config files when installing

E: Sub-process /usr/bin/dpkg returned an error code (1)



Κώδικας: Επιλογή όλων

root@ubuntu:/# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
polipo liba52-0.7.4-dev elementary-icon-theme libvorbis-dev libdts-dev
libogg-dev socat libqt4pas5 libqt4pas-dev giblib1 libsvga1-dev libdca-dev
libmad0-dev scrot murrine-themes libimlib2
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 89 not upgraded.
root@ubuntu:/#



ΜΕΡΟΣ Γ
1.
Κώδικας: Επιλογή όλων

root@ubuntu:/# dpkg -P --force-all grub grub-common grub-pc grub2 grub-pc-bin grub2-common
dpkg: unrecognized option '--force-all'
BusyBox v1.17.1 (Ubuntu 1:1.17.1-10ubuntu1) multi-call binary.

Usage: dpkg [-ilCPru] [-F OPT] PACKAGE

Install, remove and manage Debian packages

Options:
-i,--install Install the package
-l,--list List of installed packages
--configure Configure an unpackaged package
-P,--purge Purge all files of a package
-r,--remove Remove all but the configuration files for a package
--unpack Unpack a package, but don't configure it
--force-depends Ignore dependency problems
--force-confnew Overwrite existing config files when installing
--force-confold Keep old config files when installing

root@ubuntu:/#



Κώδικας: Επιλογή όλων

root@ubuntu:/# mv /boot/grub/menu.lst /boot/grub/menu.lst.backup
mv: cannot stat `/boot/grub/menu.lst': No such file or directory
root@ubuntu:/#



Κώδικας: Επιλογή όλων

root@ubuntu:/# apt-get install grub2 grub-pc grub-common grub-pc-bin initramfs-tools grub2-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package grub-pc-bin
E: Unable to locate package grub2-common
root@ubuntu:/#


Κώδικας: Επιλογή όλων

root@ubuntu:/# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
polipo liba52-0.7.4-dev elementary-icon-theme libvorbis-dev libdts-dev
libogg-dev socat libqt4pas5 libqt4pas-dev giblib1 libsvga1-dev libdca-dev
libmad0-dev scrot murrine-themes libimlib2
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 89 not upgraded.
root@ubuntu:/#



2.
Κώδικας: Επιλογή όλων

root@ubuntu:/# grub-install --recheck /dev/sda
Probing devices to guess BIOS drives. This may take a long time.
Searching for GRUB installation directory ... found: /boot/grub
Installing GRUB to /dev/sda as (hd0)...
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(fd0) /dev/fd0
(hd0) /dev/sda
root@ubuntu:/#



Κώδικας: Επιλογή όλων

root@ubuntu:/# cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=" vga=769"

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
root@ubuntu:/#



Κώδικας: Επιλογή όλων

root@ubuntu:/# update-grub2
Generating grub.cfg ...
dpkg: unrecognized option '--compare-versions'
BusyBox v1.17.1 (Ubuntu 1:1.17.1-10ubuntu1) multi-call binary.

Usage: dpkg [-ilCPru] [-F OPT] PACKAGE

Install, remove and manage Debian packages

Options:
-i,--install Install the package
-l,--list List of installed packages
--configure Configure an unpackaged package
-P,--purge Purge all files of a package
-r,--remove Remove all but the configuration files for a package
--unpack Unpack a package, but don't configure it
--force-depends Ignore dependency problems
--force-confnew Overwrite existing config files when installing
--force-confold Keep old config files when installing

dpkg: unrecognized option '--compare-versions'
BusyBox v1.17.1 (Ubuntu 1:1.17.1-10ubuntu1) multi-call binary.

Usage: dpkg [-ilCPru] [-F OPT] PACKAGE

Install, remove and manage Debian packages

Options:
-i,--install Install the package
-l,--list List of installed packages
--configure Configure an unpackaged package
-P,--purge Purge all files of a package
-r,--remove Remove all but the configuration files for a package
--unpack Unpack a package, but don't configure it
--force-depends Ignore dependency problems
--force-confnew Overwrite existing config files when installing
--force-confold Keep old config files when installing

dpkg: unrecognized option '--compare-versions'
BusyBox v1.17.1 (Ubuntu 1:1.17.1-10ubuntu1) multi-call binary.

Usage: dpkg [-ilCPru] [-F OPT] PACKAGE

Install, remove and manage Debian packages

Options:
-i,--install Install the package
-l,--list List of installed packages
--configure Configure an unpackaged package
-P,--purge Purge all files of a package
-r,--remove Remove all but the configuration files for a package
--unpack Unpack a package, but don't configure it
--force-depends Ignore dependency problems
--force-confnew Overwrite existing config files when installing
--force-confold Keep old config files when installing

Found linux image: /boot/vmlinuz-2.6.38-10-generic
Found initrd image: /boot/initrd.img-2.6.38-10-generic
dpkg: unrecognized option '--compare-versions'
BusyBox v1.17.1 (Ubuntu 1:1.17.1-10ubuntu1) multi-call binary.

Usage: dpkg [-ilCPru] [-F OPT] PACKAGE

Install, remove and manage Debian packages

Options:
-i,--install Install the package
-l,--list List of installed packages
--configure Configure an unpackaged package
-P,--purge Purge all files of a package
-r,--remove Remove all but the configuration files for a package
--unpack Unpack a package, but don't configure it
--force-depends Ignore dependency problems
--force-confnew Overwrite existing config files when installing
--force-confold Keep old config files when installing

dpkg: unrecognized option '--compare-versions'
BusyBox v1.17.1 (Ubuntu 1:1.17.1-10ubuntu1) multi-call binary.

Usage: dpkg [-ilCPru] [-F OPT] PACKAGE

Install, remove and manage Debian packages

Options:
-i,--install Install the package
-l,--list List of installed packages
--configure Configure an unpackaged package
-P,--purge Purge all files of a package
-r,--remove Remove all but the configuration files for a package
--unpack Unpack a package, but don't configure it
--force-depends Ignore dependency problems
--force-confnew Overwrite existing config files when installing
--force-confold Keep old config files when installing

Found linux image: /boot/vmlinuz-2.6.38-11-generic
Found initrd image: /boot/initrd.img-2.6.38-11-generic
dpkg: unrecognized option '--compare-versions'
BusyBox v1.17.1 (Ubuntu 1:1.17.1-10ubuntu1) multi-call binary.

Usage: dpkg [-ilCPru] [-F OPT] PACKAGE

Install, remove and manage Debian packages

Options:
-i,--install Install the package
-l,--list List of installed packages
--configure Configure an unpackaged package
-P,--purge Purge all files of a package
-r,--remove Remove all but the configuration files for a package
--unpack Unpack a package, but don't configure it
--force-depends Ignore dependency problems
--force-confnew Overwrite existing config files when installing
--force-confold Keep old config files when installing

Found linux image: /boot/vmlinuz-2.6.38-12-generic
Found initrd image: /boot/initrd.img-2.6.38-12-generic
Found linux image: /boot/vmlinuz-2.6.38-8-generic
Found initrd image: /boot/initrd.img-2.6.38-8-generic
Found memtest86+ image: /boot/memtest86+.bin
Adding 40_custom menu entries.
done
root@ubuntu:/#



Κώδικας: Επιλογή όλων

root@ubuntu:/# cat /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}

function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
set locale_dir=($root)/boot/grub/locale
set lang=en_US
insmod gettext
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30; then
clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
if [ ${recordfail} != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu, with Linux 2.6.38-10-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
linux /boot/vmlinuz-2.6.38-10-generic root=UUID=7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd ro vga=769 quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-10-generic
}
menuentry 'Ubuntu, with Linux 2.6.38-10-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
echo 'Loading Linux 2.6.38-10-generic ...'
linux /boot/vmlinuz-2.6.38-10-generic root=UUID=7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd ro single vga=769
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-10-generic
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, with Linux 2.6.38-11-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
linux /boot/vmlinuz-2.6.38-11-generic root=UUID=7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd ro vga=769 quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-11-generic
}
menuentry 'Ubuntu, with Linux 2.6.38-11-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
echo 'Loading Linux 2.6.38-11-generic ...'
linux /boot/vmlinuz-2.6.38-11-generic root=UUID=7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd ro single vga=769
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-11-generic
}
menuentry 'Ubuntu, with Linux 2.6.38-12-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
linux /boot/vmlinuz-2.6.38-12-generic root=UUID=7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd ro vga=769 quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-12-generic
}
menuentry 'Ubuntu, with Linux 2.6.38-12-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
echo 'Loading Linux 2.6.38-12-generic ...'
linux /boot/vmlinuz-2.6.38-12-generic root=UUID=7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd ro single vga=769
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-12-generic
}
menuentry 'Ubuntu, with Linux 2.6.38-8-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd ro vga=769 quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-8-generic
}
menuentry 'Ubuntu, with Linux 2.6.38-8-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
echo 'Loading Linux 2.6.38-8-generic ...'
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd ro single vga=769
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-8-generic
}
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/40_custom ###
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.

### BEGIN /etc/grub.d/40_custom ###
menuentry "puppy 5.28 in sda1" {
set root='(hd0,msdos1)'
linux /puppy528/vmlinuz
initrd /puppy528/initrd.gz
}
menuentry "puppy Linux 528 full install in sda4" {
set root='(hd0,msdos4)'
linux /boot/vmlinuz root=/dev/sda4 pmedia=atahd
}
EOF


### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
root@ubuntu:/#

1 Γνώσεις → Linux: Μέτριος ┃ Προγραμματισμός: Μέτριος ┃ Αγγλικά: Μέτριος
2 Λειτουργικό → Ubuntu 11.04 natty 64-bit (el_GR.UTF-8)
3 Προδιαγραφές → 1x AMD Athlon 64 X2 Dual Core Processor 4200+ ‖ RAM 870 MiB ‖ ASUS INC. M2N-MX SE Plus
4 Κάρτες γραφικών: nVidia C61 [GeForce 6150SE nForce 430] [10de:03d0] (rev a2)
5 Δίκτυα: eth0: nVidia MCP61 Ethernet [10de:03ef] (rev a2)
panoss
babeTUX
babeTUX
 
Δημοσιεύσεις: 54
Εγγραφή: 22 Νοέμ 2010, 14:22
Εκτύπωση

Re: Δεν ξεκινάει το Ubuntu 11.04

Δημοσίευσηαπό Learner » 12 Ιαν 2012, 15:41

Το παρακολουθώ αυτό το πρόβλημα από την αρχή. Όχι πως μπορώ να βοηθήσω περισσότερο. Να επισημάνω μόνο στις παραπάνω εντολές , πιστεύω ότι κατάλαβες πως το
Κώδικας: Επιλογή όλων
dpkg -P --force-all
είναι μη αναγνωρίσιμη εντολή . Και ότι σου λέει από κάτω πως για να μη λάβει υπόψιν τις εξαρτήσεις πρέπει να δώσεις
Κώδικας: Επιλογή όλων
dpkg -P --force-depends


Άντε να δούμε θα το λύσει ο medigeek ; :mrgreen:

Πάντως μπράβο για την υπομονή σας :!: γιατί εγώ θα του είχα τραβήξει ένα ξεγυρισμένο φορμάτ και θα ησύχαζα.
About Me
NickTux@GitHub

Spoiler: show
1. Ubuntu 18.04 LTS
2. Intel Core i3 CPU M 380 2.53GHz ‖ RAM 6GB ‖ Acer Aspire 5733
3. Intel Integrated Graphics [8086:0046] {i915}
4. wlan0: Atheros Inc. AR9485 Wireless Network Adapter [168c:0032] (rev 01)
Άβαταρ μέλους
Learner
Συντονιστής
Συντονιστής
 
Δημοσιεύσεις: 9766
Εγγραφή: 08 Νοέμ 2010, 21:24
Τοποθεσία: Αθήνα
Launchpad: nicktux
IRC: NickTux
Εκτύπωση

Re: Δεν ξεκινάει το Ubuntu 11.04

Δημοσίευσηαπό panoss » 12 Ιαν 2012, 16:07

Learner έγραψε:Το παρακολουθώ αυτό το πρόβλημα από την αρχή. Όχι πως μπορώ να βοηθήσω περισσότερο. Να επισημάνω μόνο στις παραπάνω εντολές , πιστεύω ότι κατάλαβες πως το
Κώδικας: Επιλογή όλων
dpkg -P --force-all
είναι μη αναγνωρίσιμη εντολή . Και ότι σου λέει από κάτω πως για να μη λάβει υπόψιν τις εξαρτήσεις πρέπει να δώσεις
Κώδικας: Επιλογή όλων
dpkg -P --force-depends


Άντε να δούμε θα το λύσει ο medigeek ; :mrgreen:

Πάντως μπράβο για την υπομονή σας :!: γιατί εγώ θα του είχα τραβήξει ένα ξεγυρισμένο φορμάτ και θα ησύχαζα.

Πως σου 'ρθε ότι κατάλαβα κάτι τέτοιο? Εννοείται πως δεν το κατάλαβα :lol: .
Έδωσα την εντολή όπως την έγραψα. (dpkg -P --force-all)

Πήγα να κάνω επανεκκίνηση, αλλα δεν...
Μου εμφανίστηκε η οθόνη που είχε εμφανιστεί όταν έσβησα το menu.lst.
Όντως δεν έχει δημιουργηθεί νέο menu.lst.
Τώρα μπήκα ξανά με το live cd.
1 Γνώσεις → Linux: Μέτριος ┃ Προγραμματισμός: Μέτριος ┃ Αγγλικά: Μέτριος
2 Λειτουργικό → Ubuntu 11.04 natty 64-bit (el_GR.UTF-8)
3 Προδιαγραφές → 1x AMD Athlon 64 X2 Dual Core Processor 4200+ ‖ RAM 870 MiB ‖ ASUS INC. M2N-MX SE Plus
4 Κάρτες γραφικών: nVidia C61 [GeForce 6150SE nForce 430] [10de:03d0] (rev a2)
5 Δίκτυα: eth0: nVidia MCP61 Ethernet [10de:03ef] (rev a2)
panoss
babeTUX
babeTUX
 
Δημοσιεύσεις: 54
Εγγραφή: 22 Νοέμ 2010, 14:22
Εκτύπωση

Re: Δεν ξεκινάει το Ubuntu 11.04

Δημοσίευσηαπό medigeek » 12 Ιαν 2012, 18:28

Η εντολή --force-all υπάρχει (και δεν την συστήνω ποτέ αν δεν είναι τα 3 πακέτα που αναφέρω):
Κώδικας: Επιλογή όλων
$ dpkg --force-help
dpkg forcing options - control behaviour when problems found:
warn but continue: --force-<thing>,<thing>,...
stop with error: --refuse-<thing>,<thing>,... | --no-force-<thing>,...
Forcing things:
[!] all Set all force options
[*] downgrade Replace a package with a lower version
configure-any Configure any package which may help this one
hold Process incidental packages even when on hold
not-root Try to (de)install things even when not root
bad-path PATH is missing important programs, problems likely
bad-verify Install a package even if it fails authenticity check
overwrite Overwrite a file from one package with another
overwrite-diverted Overwrite a diverted file with an undiverted version
[!] overwrite-dir Overwrite one package's directory with another's file
[!] unsafe-io Do not perform safe I/O operations when unpacking
[!] confnew Always use the new config files, don't prompt
[!] confold Always use the old config files, don't prompt
[!] confdef Use the default option for new config files if one
is available, don't prompt. If no default can be found,
you will be prompted unless one of the confold or
confnew options is also given
[!] confmiss Always install missing config files
[!] confask Offer to replace config files with no new versions
[!] architecture Process even packages with wrong or no architecture
[!] breaks Install even if it would break another package
[!] conflicts Allow installation of conflicting packages
[!] depends Turn all dependency problems into warnings
[!] depends-version Turn dependency version problems into warnings
[!] remove-reinstreq Remove packages which require installation
[!] remove-essential Remove an essential package

WARNING - use of options marked [!] can seriously damage your installation.
Forcing options marked [*] are enabled by default.


Κώδικας: Επιλογή όλων
$ sudo dpkg -P --force-all ubuntu-minimal
[sudo] password for savvas:
(Reading database ... 248122 files and directories currently installed.)
Removing ubuntu-minimal ...


panoss έγραψε:
Πως τό καταφερα αυτό αφού έχω να ασχοληθώ με το ubuntu (είτε εγκατάσταση είτε απεγκατάσταση) κάτι μήνες, από τότε που έβαλα το puppy. Δηλαδή, εδώ και μήνες έχω να εγκαταστήσω κάτι στο ubuntu, αλλα δούλευε. ΜΙΑ ΧΑΡΑ.
Μια φορα το μηνα (και αν) έμπαινα στο ubuntu να δω μερικά πράγματα.

Μη με ρωτάς, τόσο Σέρλοκ Χολμς δεν είμαι. :P Εγώ σου δίνω απλά τι βλέπω από αυτά που μου δίνουν οι εντολές. Και το σύστημα είναι πολύ μπερδεμένο. Τεσπα, συνεχίζουμε μέχρι εξαντλήσεως. :)

Ας δοκιμάσουμε να λύσουμε το πρόβλημα με το apt. Θα επανεγκαταστήσουμε μερικά σημαντικά πακέτα:
Μέρος Α + οι παρακάτω εντολές:
Κώδικας: Επιλογή όλων

dpkg --force-help
wget http://security.ubuntu.com/ubuntu/pool/main/a/apt/apt_0.8.13.2ubuntu4.3_amd64.deb -O apt_0.8.13.2ubuntu4.3_amd64.deb
wget http://de.archive.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg_1.16.0~ubuntu7.1_amd64.deb -O dpkg_1.16.0~ubuntu7.1_amd64.debw
wget http://de.archive.ubuntu.com/ubuntu/pool/main/g/gnupg/gpgv_1.4.11-3ubuntu1_amd64.deb -O gpgv_1.4.11-3ubuntu1_amd64.deb
wget http://de.archive.ubuntu.com/ubuntu/pool/main/g/gnupg/gnupg_1.4.11-3ubuntu1_amd64.deb -O gnupg_1.4.11-3ubuntu1_amd64.deb

dpkg --configure -a

dpkg -i apt_0.8.13.2ubuntu4.3_amd64.deb dpkg_1.16.0~ubuntu7.1_amd64.deb gpgv_1.4.11-3ubuntu1_amd64.deb gnupg_1.4.11-3ubuntu1_amd64.deb
dpkg -i --force-overwrite apt_0.8.13.2ubuntu4.3_amd64.deb dpkg_1.16.0~ubuntu7.1_amd64.deb gpgv_1.4.11-3ubuntu1_amd64.deb gnupg_1.4.11-3ubuntu1_amd64.deb

apt-get update
apt-get -o Dpkg::Options::="--force-overwrite" --reinstall install gpgv

apt-get update
apt-get -o Dpkg::Options::="--force-overwrite" --reinstall install apt libapt-pkg4.11 ubuntu-keyring gnupg gpgv zlib1g command-not-found dpkg


Προχώρησε ακόμη κι αν σου δίνει σφάλματα. Μην ξεχάσεις να δώσεις το αποτέλεσμα των εντολών όπως έκανες μέχρι τώρα!
Κύπριος; Κόπιασε στο ubuntu-cy! ┃ Launchpad Debian Github
Οδηγός για νεοεισερχόμενους -- Αρχικές οδηγίες για αρχάριους χρήστες του Ubuntu

1 Γνώσεις Linux: Πολύ καλό ┃ Προγραμματισμού: Πολύ καλό ┃ Αγγλικών: Πολύ καλό
2 Ubuntu 12.10 quantal 3.5.0-21-generic 64bit (en_US.UTF-8, GNOME cinnamon2d), Ubuntu 3.5.0-19-generic, Windows 7
3 Intel Core2 Duo CPU E6550 2.33GHz ‖ RAM 5970 MiB ‖ MSI MS-7235
4 nVidia G73 [GeForce 7300 GT] [10de:0393] {nvidia}
5 eth0: Realtek RTL-8110SC/8169SC Gigabit Ethernet [10ec:8167] (rev 10)
Άβαταρ μέλους
medigeek
Freedom
Freedom
 
Δημοσιεύσεις: 5023
Εγγραφή: 24 Μάιος 2008, 14:49
Τοποθεσία: Σερβία/Κύπρος
Launchpad: medigeek
IRC: savvas
Εκτύπωση

Re: Δεν ξεκινάει το Ubuntu 11.04

Δημοσίευσηαπό panoss » 12 Ιαν 2012, 20:45

Κώδικας: Επιλογή όλων

ubuntu@ubuntu:~$ dpkg --force-help
dpkg forcing options - control behaviour when problems found:
warn but continue: --force-<thing>,<thing>,...
stop with error: --refuse-<thing>,<thing>,... | --no-force-<thing>,...
Forcing things:
[!] all Set all force options
[*] downgrade Replace a package with a lower version
configure-any Configure any package which may help this one
hold Process incidental packages even when on hold
not-root Try to (de)install things even when not root
bad-path PATH is missing important programs, problems likely
bad-verify Install a package even if it fails authenticity check
overwrite Overwrite a file from one package with another
overwrite-diverted Overwrite a diverted file with an undiverted version
[!] overwrite-dir Overwrite one package's directory with another's file
[!] unsafe-io Do not perform safe I/O operations when unpacking
[!] confnew Always use the new config files, don't prompt
[!] confold Always use the old config files, don't prompt
[!] confdef Use the default option for new config files if one
is available, don't prompt. If no default can be found,
you will be prompted unless one of the confold or
confnew options is also given
[!] confmiss Always install missing config files
[!] confask Offer to replace config files with no new versions
[!] architecture Process even packages with wrong or no architecture
[!] breaks Install even if it would break another package
[!] conflicts Allow installation of conflicting packages
[!] depends Turn all dependency problems into warnings
[!] depends-version Turn dependency version problems into warnings
[!] remove-reinstreq Remove packages which require installation
[!] remove-essential Remove an essential package

WARNING - use of options marked [!] can seriously damage your installation.
Forcing options marked [*] are enabled by default.
ubuntu@ubuntu:~$




Κώδικας: Επιλογή όλων

ubuntu@ubuntu:~$ dpkg --force-help
dpkg forcing options - control behaviour when problems found:
warn but continue: --force-<thing>,<thing>,...
stop with error: --refuse-<thing>,<thing>,... | --no-force-<thing>,...
Forcing things:
[!] all Set all force options
[*] downgrade Replace a package with a lower version
configure-any Configure any package which may help this one
hold Process incidental packages even when on hold
not-root Try to (de)install things even when not root
bad-path PATH is missing important programs, problems likely
bad-verify Install a package even if it fails authenticity check
overwrite Overwrite a file from one package with another
overwrite-diverted Overwrite a diverted file with an undiverted version
[!] overwrite-dir Overwrite one package's directory with another's file
[!] unsafe-io Do not perform safe I/O operations when unpacking
[!] confnew Always use the new config files, don't prompt
[!] confold Always use the old config files, don't prompt
[!] confdef Use the default option for new config files if one
is available, don't prompt. If no default can be found,
you will be prompted unless one of the confold or
confnew options is also given
[!] confmiss Always install missing config files
[!] confask Offer to replace config files with no new versions
[!] architecture Process even packages with wrong or no architecture
[!] breaks Install even if it would break another package
[!] conflicts Allow installation of conflicting packages
[!] depends Turn all dependency problems into warnings
[!] depends-version Turn dependency version problems into warnings
[!] remove-reinstreq Remove packages which require installation
[!] remove-essential Remove an essential package

WARNING - use of options marked [!] can seriously damage your installation.
Forcing options marked [*] are enabled by default.
ubuntu@ubuntu:~$


Κώδικας: Επιλογή όλων

ubuntu@ubuntu:~$ wget http://security.ubuntu.com/ubuntu/pool/main/a/apt/apt_0.8.13.2ubuntu4.3_amd64.deb -O apt_0.8.13.2ubuntu4.3_amd64.deb
--2012-01-12 17:31:13-- http://security.ubuntu.com/ubuntu/pool/main/a/apt/apt_0.8.13.2ubuntu4.3_amd64.deb
Resolving security.ubuntu.com... 91.189.92.167, 91.189.92.166
Connecting to security.ubuntu.com|91.189.92.167|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2111330 (2.0M) [application/x-debian-package]
Saving to: `apt_0.8.13.2ubuntu4.3_amd64.deb'

100%[======================================>] 2,111,330 583K/s in 3.7s

2012-01-12 17:31:19 (557 KB/s) - `apt_0.8.13.2ubuntu4.3_amd64.deb' saved [2111330/2111330]

ubuntu@ubuntu:~$


Κώδικας: Επιλογή όλων

ubuntu@ubuntu:~$ wget http://de.archive.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg_1.16.0~ubuntu7.1_amd64.deb -O dpkg_1.16.0~ubuntu7.1_amd64.debw
--2012-01-12 17:32:02-- http://de.archive.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg_1.16.0~ubuntu7.1_amd64.deb
Resolving de.archive.ubuntu.com... 141.30.13.20, 141.30.13.30, 141.30.13.10
Connecting to de.archive.ubuntu.com|141.30.13.20|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1914940 (1.8M) [text/plain]
Saving to: `dpkg_1.16.0~ubuntu7.1_amd64.debw'

100%[======================================>] 1,914,940 735K/s in 2.5s

2012-01-12 17:32:05 (735 KB/s) - `dpkg_1.16.0~ubuntu7.1_amd64.debw' saved [1914940/1914940]

ubuntu@ubuntu:~$


Κώδικας: Επιλογή όλων

ubuntu@ubuntu:~$ wget http://de.archive.ubuntu.com/ubuntu/pool/main/g/gnupg/gpgv_1.4.11-3ubuntu1_amd64.deb -O gpgv_1.4.11-3ubuntu1_amd64.deb
--2012-01-12 17:32:44-- http://de.archive.ubuntu.com/ubuntu/pool/main/g/gnupg/gpgv_1.4.11-3ubuntu1_amd64.deb
Resolving de.archive.ubuntu.com... 141.30.13.10, 141.30.13.20, 141.30.13.30
Connecting to de.archive.ubuntu.com|141.30.13.10|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 185970 (182K) [text/plain]
Saving to: `gpgv_1.4.11-3ubuntu1_amd64.deb'

100%[======================================>] 185,970 413K/s in 0.4s

2012-01-12 17:32:46 (413 KB/s) - `gpgv_1.4.11-3ubuntu1_amd64.deb' saved [185970/185970]

ubuntu@ubuntu:~$


Κώδικας: Επιλογή όλων

ubuntu@ubuntu:~$ wget http://de.archive.ubuntu.com/ubuntu/pool/main/g/gnupg/gnupg_1.4.11-3ubuntu1_amd64.deb -O gnupg_1.4.11-3ubuntu1_amd64.deb
--2012-01-12 17:33:34-- http://de.archive.ubuntu.com/ubuntu/pool/main/g/gnupg/gnupg_1.4.11-3ubuntu1_amd64.deb
Resolving de.archive.ubuntu.com... 141.30.13.30, 141.30.13.10, 141.30.13.20
Connecting to de.archive.ubuntu.com|141.30.13.30|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 810742 (792K) [text/plain]
Saving to: `gnupg_1.4.11-3ubuntu1_amd64.deb'

100%[======================================>] 810,742 438K/s in 1.8s

2012-01-12 17:33:38 (438 KB/s) - `gnupg_1.4.11-3ubuntu1_amd64.deb' saved [810742/810742]

ubuntu@ubuntu:~$


Κώδικας: Επιλογή όλων

ubuntu@ubuntu:~$ sudo dpkg --configure -a (prosthesa ego to sudo)
ubuntu@ubuntu:~$


Κώδικας: Επιλογή όλων

ubuntu@ubuntu:~$ sudo dpkg -i apt_0.8.13.2ubuntu4.3_amd64.deb dpkg_1.16.0~ubuntu7.1_amd64.deb gpgv_1.4.11-3ubuntu1_amd64.deb gnupg_1.4.11-3ubuntu1_amd64.deb
(Reading database ... 134326 files and directories currently installed.)
Preparing to replace apt 0.8.13.2ubuntu2 (using apt_0.8.13.2ubuntu4.3_amd64.deb) ...
Unpacking replacement apt ...
dpkg: error processing dpkg_1.16.0~ubuntu7.1_amd64.deb (--install):
cannot access archive: No such file or directory
Preparing to replace gpgv 1.4.11-3ubuntu1 (using gpgv_1.4.11-3ubuntu1_amd64.deb) ...
Unpacking replacement gpgv ...
Preparing to replace gnupg 1.4.11-3ubuntu1 (using gnupg_1.4.11-3ubuntu1_amd64.deb) ...
Unpacking replacement gnupg ...
Setting up apt (0.8.13.2ubuntu4.3) ...
gpg: key 437D05B5: "Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>" not changed
gpg: key FBB75451: "Ubuntu CD Image Automatic Signing Key <cdimage@ubuntu.com>" not changed
gpg: Total number processed: 2
gpg: unchanged: 2
Setting up gpgv (1.4.11-3ubuntu1) ...
Processing triggers for man-db ...
Setting up gnupg (1.4.11-3ubuntu1) ...
Processing triggers for install-info ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
dpkg_1.16.0~ubuntu7.1_amd64.deb
ubuntu@ubuntu:~$



Κώδικας: Επιλογή όλων

ubuntu@ubuntu:~$ sudo dpkg -i --force-overwrite apt_0.8.13.2ubuntu4.3_amd64.deb dpkg_1.16.0~ubuntu7.1_amd64.deb gpgv_1.4.11-3ubuntu1_amd64.deb gnupg_1.4.11-3ubuntu1_amd64.deb
(Reading database ... 134326 files and directories currently installed.)
Preparing to replace apt 0.8.13.2ubuntu4.3 (using apt_0.8.13.2ubuntu4.3_amd64.deb) ...
Unpacking replacement apt ...
dpkg: error processing dpkg_1.16.0~ubuntu7.1_amd64.deb (--install):
cannot access archive: No such file or directory
Preparing to replace gpgv 1.4.11-3ubuntu1 (using gpgv_1.4.11-3ubuntu1_amd64.deb) ...
Unpacking replacement gpgv ...
Preparing to replace gnupg 1.4.11-3ubuntu1 (using gnupg_1.4.11-3ubuntu1_amd64.deb) ...
Unpacking replacement gnupg ...
Setting up apt (0.8.13.2ubuntu4.3) ...
gpg: key 437D05B5: "Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>" not changed
gpg: key FBB75451: "Ubuntu CD Image Automatic Signing Key <cdimage@ubuntu.com>" not changed
gpg: Total number processed: 2
gpg: unchanged: 2
Setting up gpgv (1.4.11-3ubuntu1) ...
Processing triggers for man-db ...
Setting up gnupg (1.4.11-3ubuntu1) ...
Processing triggers for install-info ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
dpkg_1.16.0~ubuntu7.1_amd64.deb
ubuntu@ubuntu:~$



Κώδικας: Επιλογή όλων

ubuntu@ubuntu:~$ sudo apt-get update
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release amd64 (20110427.1) natty InRelease
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release amd64 (20110427.1) natty/main TranslationIndex
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release amd64 (20110427.1) natty/restricted TranslationIndex
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release amd64 (20110427.1) natty/main Translation-en_US
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release amd64 (20110427.1) natty/main Translation-en
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release amd64 (20110427.1) natty/restricted Translation-en_US
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release amd64 (20110427.1) natty/restricted Translation-en
Ign http://security.ubuntu.com natty-security InRelease
Ign http://archive.ubuntu.com natty InRelease
Ign http://archive.ubuntu.com natty-updates InRelease
Get:1 http://security.ubuntu.com natty-security Release.gpg [198 B]
Get:2 http://security.ubuntu.com natty-security Release [39.8 kB]
Get:3 http://archive.ubuntu.com natty Release.gpg [198 B]
Get:4 http://archive.ubuntu.com natty-updates Release.gpg [198 B]
Get:5 http://archive.ubuntu.com natty Release [39.8 kB]
Get:6 http://security.ubuntu.com natty-security/main Sources [85.3 kB]
Get:7 http://archive.ubuntu.com natty-updates Release [39.8 kB]
Get:8 http://security.ubuntu.com natty-security/restricted Sources [14 B]
Get:9 http://security.ubuntu.com natty-security/main amd64 Packages [263 kB]
Get:10 http://archive.ubuntu.com natty/main Sources [862 kB]
Get:11 http://security.ubuntu.com natty-security/restricted amd64 Packages [14 B]
Ign http://security.ubuntu.com natty-security/main TranslationIndex
Ign http://security.ubuntu.com natty-security/restricted TranslationIndex
Ign http://security.ubuntu.com natty-security/main Translation-en_US
Get:12 http://archive.ubuntu.com natty/restricted Sources [4,104 B]
Get:13 http://archive.ubuntu.com natty/main amd64 Packages [1,550 kB]
Ign http://security.ubuntu.com natty-security/main Translation-en
Ign http://security.ubuntu.com natty-security/restricted Translation-en_US
Ign http://security.ubuntu.com natty-security/restricted Translation-en
Get:14 http://archive.ubuntu.com natty/restricted amd64 Packages [9,001 B]
Ign http://archive.ubuntu.com natty/main TranslationIndex
Ign http://archive.ubuntu.com natty/restricted TranslationIndex
Get:15 http://archive.ubuntu.com natty-updates/main Sources [146 kB]
Get:16 http://archive.ubuntu.com natty-updates/restricted Sources [753 B]
Get:17 http://archive.ubuntu.com natty-updates/main amd64 Packages [422 kB]
Get:18 http://archive.ubuntu.com natty-updates/restricted amd64 Packages [838 B]
Ign http://archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://archive.ubuntu.com natty/main Translation-en_US
Ign http://archive.ubuntu.com natty/main Translation-en
Ign http://archive.ubuntu.com natty/restricted Translation-en_US
Ign http://archive.ubuntu.com natty/restricted Translation-en
Ign http://archive.ubuntu.com natty-updates/main Translation-en_US
Ign http://archive.ubuntu.com natty-updates/main Translation-en
Ign http://archive.ubuntu.com natty-updates/restricted Translation-en_US
Ign http://archive.ubuntu.com natty-updates/restricted Translation-en
Fetched 3,462 kB in 7s (470 kB/s)
Reading package lists... Done
ubuntu@ubuntu:~$


Κώδικας: Επιλογή όλων

ubuntu@ubuntu:~$ sudo apt-get -o Dpkg::Options::="--force-overwrite" --reinstall install gpgv
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 284 not upgraded.
Need to get 186 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ natty/main gpgv amd64 1.4.11-3ubuntu1 [186 kB]
Fetched 186 kB in 0s (210 kB/s)
(Reading database ... 134326 files and directories currently installed.)
Preparing to replace gpgv 1.4.11-3ubuntu1 (using .../gpgv_1.4.11-3ubuntu1_amd64.deb) ...
Unpacking replacement gpgv ...
Processing triggers for man-db ...
Setting up gpgv (1.4.11-3ubuntu1) ...
ubuntu@ubuntu:~$


Κώδικας: Επιλογή όλων

ubuntu@ubuntu:~$ sudo apt-get update
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release amd64 (20110427.1) natty InRelease
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release amd64 (20110427.1) natty/main TranslationIndex
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release amd64 (20110427.1) natty/restricted TranslationIndex
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release amd64 (20110427.1) natty/main Translation-en_US
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release amd64 (20110427.1) natty/main Translation-en
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release amd64 (20110427.1) natty/restricted Translation-en_US
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release amd64 (20110427.1) natty/restricted Translation-en
Ign http://security.ubuntu.com natty-security InRelease
Ign http://archive.ubuntu.com natty InRelease
Ign http://archive.ubuntu.com natty-updates InRelease
Hit http://security.ubuntu.com natty-security Release.gpg
Hit http://archive.ubuntu.com natty Release.gpg
Hit http://security.ubuntu.com natty-security Release
Hit http://archive.ubuntu.com natty-updates Release.gpg
Hit http://archive.ubuntu.com natty Release
Hit http://security.ubuntu.com natty-security/main Sources
Hit http://archive.ubuntu.com natty-updates Release
Hit http://security.ubuntu.com natty-security/restricted Sources
Hit http://security.ubuntu.com natty-security/main amd64 Packages
Hit http://security.ubuntu.com natty-security/restricted amd64 Packages
Ign http://security.ubuntu.com natty-security/main TranslationIndex
Ign http://security.ubuntu.com natty-security/restricted TranslationIndex
Hit http://archive.ubuntu.com natty/main Sources
Hit http://archive.ubuntu.com natty/restricted Sources
Hit http://archive.ubuntu.com natty/main amd64 Packages
Hit http://archive.ubuntu.com natty/restricted amd64 Packages
Ign http://archive.ubuntu.com natty/main TranslationIndex
Ign http://archive.ubuntu.com natty/restricted TranslationIndex
Hit http://archive.ubuntu.com natty-updates/main Sources
Hit http://archive.ubuntu.com natty-updates/restricted Sources
Hit http://archive.ubuntu.com natty-updates/main amd64 Packages
Hit http://archive.ubuntu.com natty-updates/restricted amd64 Packages
Ign http://archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://security.ubuntu.com natty-security/main Translation-en_US
Ign http://security.ubuntu.com natty-security/main Translation-en
Ign http://security.ubuntu.com natty-security/restricted Translation-en_US
Ign http://security.ubuntu.com natty-security/restricted Translation-en
Ign http://archive.ubuntu.com natty/main Translation-en_US
Ign http://archive.ubuntu.com natty/main Translation-en
Ign http://archive.ubuntu.com natty/restricted Translation-en_US
Ign http://archive.ubuntu.com natty/restricted Translation-en
Ign http://archive.ubuntu.com natty-updates/main Translation-en_US
Ign http://archive.ubuntu.com natty-updates/main Translation-en
Ign http://archive.ubuntu.com natty-updates/restricted Translation-en_US
Ign http://archive.ubuntu.com natty-updates/restricted Translation-en
Reading package lists... Done
ubuntu@ubuntu:~$


[
Κώδικας: Επιλογή όλων

ubuntu@ubuntu:~$ sudo apt-get -o Dpkg::Options::="--force-overwrite" --reinstall install apt libapt-pkg4.11 ubuntu-keyring gnupg gpgv zlib1g command-not-found dpkg
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libapt-pkg4.11
E: Couldn't find any package by regex 'libapt-pkg4.11'
ubuntu@ubuntu:~$
1 Γνώσεις → Linux: Μέτριος ┃ Προγραμματισμός: Μέτριος ┃ Αγγλικά: Μέτριος
2 Λειτουργικό → Ubuntu 11.04 natty 64-bit (el_GR.UTF-8)
3 Προδιαγραφές → 1x AMD Athlon 64 X2 Dual Core Processor 4200+ ‖ RAM 870 MiB ‖ ASUS INC. M2N-MX SE Plus
4 Κάρτες γραφικών: nVidia C61 [GeForce 6150SE nForce 430] [10de:03d0] (rev a2)
5 Δίκτυα: eth0: nVidia MCP61 Ethernet [10de:03ef] (rev a2)
panoss
babeTUX
babeTUX
 
Δημοσιεύσεις: 54
Εγγραφή: 22 Νοέμ 2010, 14:22
Εκτύπωση

Re: Δεν ξεκινάει το Ubuntu 11.04

Δημοσίευσηαπό medigeek » 12 Ιαν 2012, 21:43

Κάτι μου λέει ότι ξέχασες το Μέρος Α που ανέφερα :)
medigeek έγραψε:
Ας δοκιμάσουμε να λύσουμε το πρόβλημα με το apt. Θα επανεγκαταστήσουμε μερικά σημαντικά πακέτα:
Μέρος Α + οι παρακάτω εντολές:


Ξανά λοιπόν:
1. Μέρος Α από εδώ: viewtopic.php?p=225108#p225108
2.
Εκτέλεσε τις εντολές με τη σειρά που δίνονται (ακόμη κι αν επαναλαμβάνονται):
Κώδικας: Επιλογή όλων
wget http://security.ubuntu.com/ubuntu/pool/main/a/apt/apt_0.8.13.2ubuntu4.3_amd64.deb -O apt_0.8.13.2ubuntu4.3_amd64.deb
wget http://de.archive.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg_1.16.0~ubuntu7.1_amd64.deb -O dpkg_1.16.0~ubuntu7.1_amd64.debw
wget http://de.archive.ubuntu.com/ubuntu/pool/main/g/gnupg/gpgv_1.4.11-3ubuntu1_amd64.deb -O gpgv_1.4.11-3ubuntu1_amd64.deb
wget http://de.archive.ubuntu.com/ubuntu/pool/main/g/gnupg/gnupg_1.4.11-3ubuntu1_amd64.deb -O gnupg_1.4.11-3ubuntu1_amd64.deb

dpkg --configure -a

dpkg -i apt_0.8.13.2ubuntu4.3_amd64.deb dpkg_1.16.0~ubuntu7.1_amd64.deb gpgv_1.4.11-3ubuntu1_amd64.deb gnupg_1.4.11-3ubuntu1_amd64.deb
dpkg -i --force-overwrite apt_0.8.13.2ubuntu4.3_amd64.deb dpkg_1.16.0~ubuntu7.1_amd64.deb gpgv_1.4.11-3ubuntu1_amd64.deb gnupg_1.4.11-3ubuntu1_amd64.deb

apt-get update
apt-get -o Dpkg::Options::="--force-overwrite" --reinstall install gpgv

apt-get update
apt-get -o Dpkg::Options::="--force-overwrite" --reinstall install apt ubuntu-keyring gnupg gpgv zlib1g command-not-found dpkg
apt-get update
dpkg -P --force-all ubuntu-desktop ubuntu-standard ubuntu-minimal
apt-get -o Dpkg::Options::="--force-overwrite" --reinstall install ubuntu-desktop ubuntu-standard ubuntu-minimal
Κύπριος; Κόπιασε στο ubuntu-cy! ┃ Launchpad Debian Github
Οδηγός για νεοεισερχόμενους -- Αρχικές οδηγίες για αρχάριους χρήστες του Ubuntu

1 Γνώσεις Linux: Πολύ καλό ┃ Προγραμματισμού: Πολύ καλό ┃ Αγγλικών: Πολύ καλό
2 Ubuntu 12.10 quantal 3.5.0-21-generic 64bit (en_US.UTF-8, GNOME cinnamon2d), Ubuntu 3.5.0-19-generic, Windows 7
3 Intel Core2 Duo CPU E6550 2.33GHz ‖ RAM 5970 MiB ‖ MSI MS-7235
4 nVidia G73 [GeForce 7300 GT] [10de:0393] {nvidia}
5 eth0: Realtek RTL-8110SC/8169SC Gigabit Ethernet [10ec:8167] (rev 10)
Άβαταρ μέλους
medigeek
Freedom
Freedom
 
Δημοσιεύσεις: 5023
Εγγραφή: 24 Μάιος 2008, 14:49
Τοποθεσία: Σερβία/Κύπρος
Launchpad: medigeek
IRC: savvas
Εκτύπωση

Re: Δεν ξεκινάει το Ubuntu 11.04

Δημοσίευσηαπό panoss » 13 Ιαν 2012, 09:54

1.
Κώδικας: Επιλογή όλων

ubuntu@ubuntu:~$ sudo -i
root@ubuntu:~#

root@ubuntu:~# mkdir /mnt/work
root@ubuntu:~#

root@ubuntu:~# mount /dev/sda1 /mnt/work
root@ubuntu:~#

root@ubuntu:~# mount -o bind /dev /mnt/work/dev
root@ubuntu:~#

root@ubuntu:~# mount -o bind /proc /mnt/work/proc
root@ubuntu:~#

root@ubuntu:~# mount -o bind /sys /mnt/work/sys
root@ubuntu:~#

root@ubuntu:~# cp -f /proc/mounts /mnt/work/etc/mtab
cp: `/proc/mounts' and `/mnt/work/etc/mtab' are the same file
root@ubuntu:~#

root@ubuntu:~# cp -f /etc/resolv.conf /mnt/work/etc/resolv.conf
root@ubuntu:~#

root@ubuntu:~# chroot /mnt/work/ /bin/bash
root@ubuntu:/#



Κώδικας: Επιλογή όλων

root@ubuntu:/# wget http://security.ubuntu.com/ubuntu/pool/main/a/apt/apt_0.8.13.2ubuntu4.3_amd64.deb -O apt_0.8.13.2ubuntu4.3_amd64.deb
--2012-01-13 08:41:05-- http://security.ubuntu.com/ubuntu/pool/main/a/apt/apt_0.8.13.2ubuntu4.3_amd64.deb
Resolving security.ubuntu.com... 91.189.92.167, 91.189.92.166
Connecting to security.ubuntu.com|91.189.92.167|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2111330 (2.0M) [application/x-debian-package]
Saving to: `apt_0.8.13.2ubuntu4.3_amd64.deb'

100%[======================================>] 2,111,330 618K/s in 3.6s

2012-01-13 08:41:09 (575 KB/s) - `apt_0.8.13.2ubuntu4.3_amd64.deb' saved [2111330/2111330]

root@ubuntu:/#


Κώδικας: Επιλογή όλων

root@ubuntu:/# wget http://de.archive.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg_1.16.0~ubuntu7.1_amd64.deb -O dpkg_1.16.0~ubuntu7.1_amd64.debw
--2012-01-13 08:42:04-- http://de.archive.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg_1.16.0~ubuntu7.1_amd64.deb
Resolving de.archive.ubuntu.com... 141.30.13.20, 141.30.13.30, 141.30.13.10
Connecting to de.archive.ubuntu.com|141.30.13.20|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1914940 (1.8M) [text/plain]
Saving to: `dpkg_1.16.0~ubuntu7.1_amd64.debw'

100%[======================================>] 1,914,940 661K/s in 2.8s

2012-01-13 08:42:07 (661 KB/s) - `dpkg_1.16.0~ubuntu7.1_amd64.debw' saved [1914940/1914940]

root@ubuntu:/#


Κώδικας: Επιλογή όλων

root@ubuntu:/# wget http://de.archive.ubuntu.com/ubuntu/pool/main/g/gnupg/gpgv_1.4.11-3ubuntu1_amd64.deb -O gpgv_1.4.11-3ubuntu1_amd64.deb
--2012-01-13 08:42:55-- http://de.archive.ubuntu.com/ubuntu/pool/main/g/gnupg/gpgv_1.4.11-3ubuntu1_amd64.deb
Resolving de.archive.ubuntu.com... 141.30.13.10, 141.30.13.20, 141.30.13.30
Connecting to de.archive.ubuntu.com|141.30.13.10|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 185970 (182K) [text/plain]
Saving to: `gpgv_1.4.11-3ubuntu1_amd64.deb'

100%[======================================>] 185,970 335K/s in 0.5s

2012-01-13 08:42:56 (335 KB/s) - `gpgv_1.4.11-3ubuntu1_amd64.deb' saved [185970/185970]

root@ubuntu:/#




Κώδικας: Επιλογή όλων

root@ubuntu:/# wget http://de.archive.ubuntu.com/ubuntu/pool/main/g/gnupg/gnupg_1.4.11-3ubuntu1_amd64.deb -O gnupg_1.4.11-3ubuntu1_amd64.deb
--2012-01-13 08:43:44-- http://de.archive.ubuntu.com/ubuntu/pool/main/g/gnupg/gnupg_1.4.11-3ubuntu1_amd64.deb
Resolving de.archive.ubuntu.com... 141.30.13.30, 141.30.13.10, 141.30.13.20
Connecting to de.archive.ubuntu.com|141.30.13.30|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 810742 (792K) [text/plain]
Saving to: `gnupg_1.4.11-3ubuntu1_amd64.deb'

100%[======================================>] 810,742 622K/s in 1.3s

2012-01-13 08:43:45 (622 KB/s) - `gnupg_1.4.11-3ubuntu1_amd64.deb' saved [810742/810742]

root@ubuntu:/#


Κώδικας: Επιλογή όλων

dpkg: invalid option -- 'a'
BusyBox v1.17.1 (Ubuntu 1:1.17.1-10ubuntu1) multi-call binary.

Usage: dpkg [-ilCPru] [-F OPT] PACKAGE

Install, remove and manage Debian packages

Options:
-i,--install Install the package
-l,--list List of installed packages
--configure Configure an unpackaged package
-P,--purge Purge all files of a package
-r,--remove Remove all but the configuration files for a package
--unpack Unpack a package, but don't configure it
--force-depends Ignore dependency problems
--force-confnew Overwrite existing config files when installing
--force-confold Keep old config files when installing

root@ubuntu:/#


Κώδικας: Επιλογή όλων

root@ubuntu:/# dpkg -i apt_0.8.13.2ubuntu4.3_amd64.deb dpkg_1.16.0~ubuntu7.1_amd64.deb gpgv_1.4.11-3ubuntu1_amd64.deb gnupg_1.4.11-3ubuntu1_amd64.deb
dpkg: can't open 'dpkg_1.16.0~ubuntu7.1_amd64.deb': No such file or directory
root@ubuntu:/#



Κώδικας: Επιλογή όλων

root@ubuntu:/# dpkg -i --force-overwrite apt_0.8.13.2ubuntu4.3_amd64.deb dpkg_1.16.0~ubuntu7.1_amd64.deb gpgv_1.4.11-3ubuntu1_amd64.deb gnupg_1.4.11-3ubuntu1_amd64.deb
dpkg: unrecognized option '--force-overwrite'
BusyBox v1.17.1 (Ubuntu 1:1.17.1-10ubuntu1) multi-call binary.

Usage: dpkg [-ilCPru] [-F OPT] PACKAGE

Install, remove and manage Debian packages

Options:
-i,--install Install the package
-l,--list List of installed packages
--configure Configure an unpackaged package
-P,--purge Purge all files of a package
-r,--remove Remove all but the configuration files for a package
--unpack Unpack a package, but don't configure it
--force-depends Ignore dependency problems
--force-confnew Overwrite existing config files when installing
--force-confold Keep old config files when installing

root@ubuntu:/#


Κώδικας: Επιλογή όλων

root@ubuntu:/# apt-get update
Get:1 http://deb.torproject.org lucid InRelease [2,765 B]
Ign http://gr.archive.ubuntu.com natty InRelease
Ign http://gr.archive.ubuntu.com natty-updates InRelease
Ign http://gr.archive.ubuntu.com natty-proposed InRelease
Ign http://ppa.launchpad.net natty InRelease
Ign http://archive.canonical.com natty InRelease
Get:2 http://gr.archive.ubuntu.com natty Release.gpg [198 B]
Get:3 http://gr.archive.ubuntu.com natty-updates Release.gpg [198 B]
Ign http://security.ubuntu.com natty-security InRelease
Get:4 http://gr.archive.ubuntu.com natty-proposed Release.gpg [198 B]
Hit http://gr.archive.ubuntu.com natty Release
Ign http://dl.google.com stable InRelease
Ign http://www.hu.freepascal.org lazarus-testing InRelease
Ign http://extras.ubuntu.com natty InRelease
Ign http://deb.opera.com stable InRelease
Get:5 http://ppa.launchpad.net natty Release.gpg [316 B]
Get:6 http://security.ubuntu.com natty-security Release.gpg [198 B]
Get:7 http://archive.canonical.com natty Release.gpg [198 B]
Get:8 http://dl.google.com stable Release.gpg [198 B]
Get:9 http://www.hu.freepascal.org lazarus-testing Release.gpg [191 B]
Get:10 http://extras.ubuntu.com natty Release.gpg [72 B]
Get:11 http://deb.opera.com stable Release.gpg [189 B]
Get:12 http://dl.google.com stable Release [1,347 B]
Hit http://ppa.launchpad.net natty Release
Err http://deb.torproject.org lucid InRelease

Hit http://www.hu.freepascal.org lazarus-testing Release
Get:13 http://gr.archive.ubuntu.com natty-updates Release [39.8 kB]
Get:14 http://gr.archive.ubuntu.com natty-proposed Release [39.8 kB]
Get:15 http://archive.canonical.com natty Release [5,916 B]
Get:16 http://security.ubuntu.com natty-security Release [39.8 kB]
Hit http://extras.ubuntu.com natty Release
Get:17 http://deb.opera.com stable Release [633 B]
Ign http://gr.archive.ubuntu.com natty Release
Ign http://gr.archive.ubuntu.com natty/main Sources/DiffIndex
Err http://dl.google.com stable Release

Ign http://ppa.launchpad.net natty Release
Ign http://www.hu.freepascal.org lazarus-testing Release
Err http://gr.archive.ubuntu.com natty-updates Release

Ign http://gr.archive.ubuntu.com natty/restricted Sources/DiffIndex
Ign http://gr.archive.ubuntu.com natty/universe Sources/DiffIndex
Ign http://gr.archive.ubuntu.com natty/multiverse Sources/DiffIndex
Ign http://gr.archive.ubuntu.com natty/main amd64 Packages/DiffIndex
Ign http://gr.archive.ubuntu.com natty/restricted amd64 Packages/DiffIndex
Ign http://gr.archive.ubuntu.com natty/universe amd64 Packages/DiffIndex
Ign http://www.hu.freepascal.org lazarus-testing/universe amd64 Packages/DiffIndex
Ign http://ppa.launchpad.net natty/main Sources/DiffIndex
Ign http://gr.archive.ubuntu.com natty/multiverse amd64 Packages/DiffIndex
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
Err http://gr.archive.ubuntu.com natty-proposed Release

Ign http://gr.archive.ubuntu.com natty/universe TranslationIndex
Hit http://gr.archive.ubuntu.com natty/main Sources
Hit http://gr.archive.ubuntu.com natty/restricted Sources
Hit http://gr.archive.ubuntu.com natty/universe Sources
Hit http://gr.archive.ubuntu.com natty/multiverse Sources
Hit http://gr.archive.ubuntu.com natty/main amd64 Packages
Hit http://gr.archive.ubuntu.com natty/restricted amd64 Packages
Hit http://gr.archive.ubuntu.com natty/universe amd64 Packages
Hit http://gr.archive.ubuntu.com natty/multiverse amd64 Packages
Hit http://gr.archive.ubuntu.com natty/main Translation-el
Hit http://gr.archive.ubuntu.com natty/multiverse Translation-el
Ign http://www.hu.freepascal.org lazarus-testing/universe TranslationIndex
Err http://archive.canonical.com natty Release

Hit http://gr.archive.ubuntu.com natty/restricted Translation-el
Hit http://gr.archive.ubuntu.com natty/universe Translation-el
Ign http://ppa.launchpad.net natty/main amd64 Packages/DiffIndex
Ign http://ppa.launchpad.net natty/main TranslationIndex
Err http://security.ubuntu.com natty-security Release

Hit http://www.hu.freepascal.org lazarus-testing/universe amd64 Packages
Err http://extras.ubuntu.com natty Release

Ign http://gr.archive.ubuntu.com natty/main Translation-en_US
Hit http://ppa.launchpad.net natty/main Sources
Hit http://ppa.launchpad.net natty/main amd64 Packages
Err http://deb.opera.com stable Release

Ign http://gr.archive.ubuntu.com natty/main Translation-en
Ign http://gr.archive.ubuntu.com natty/multiverse Translation-en_US
Ign http://gr.archive.ubuntu.com natty/multiverse Translation-en
Ign http://gr.archive.ubuntu.com natty/restricted Translation-en_US
Ign http://gr.archive.ubuntu.com natty/restricted Translation-en
Ign http://gr.archive.ubuntu.com natty/universe Translation-en_US
Ign http://gr.archive.ubuntu.com natty/universe Translation-en
Ign http://www.hu.freepascal.org lazarus-testing/universe Translation-en_US
Ign http://www.hu.freepascal.org lazarus-testing/universe Translation-en
Ign http://www.hu.freepascal.org lazarus-testing/universe Translation-el
Ign http://ppa.launchpad.net natty/main Translation-en_US
Ign http://ppa.launchpad.net natty/main Translation-en
Ign http://ppa.launchpad.net natty/main Translation-el
Fetched 43.7 kB in 2s (18.5 kB/s)
Reading package lists... Done
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.torproject.org lucid InRelease: Unknown error executing gpgv

W: GPG error: http://gr.archive.ubuntu.com natty Release: Unknown error executing gpgv
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com stable Release: Unknown error executing gpgv

W: GPG error: http://ppa.launchpad.net natty Release: Unknown error executing gpgv
W: GPG error: http://www.hu.freepascal.org lazarus-testing Release: Unknown error executing gpgv
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://gr.archive.ubuntu.com natty-updates Release: Unknown error executing gpgv

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://gr.archive.ubuntu.com natty-proposed Release: Unknown error executing gpgv

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.canonical.com natty Release: Unknown error executing gpgv

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.ubuntu.com natty-security Release: Unknown error executing gpgv

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://extras.ubuntu.com natty Release: Unknown error executing gpgv

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.opera.com stable Release: Unknown error executing gpgv

W: Failed to fetch http://deb.torproject.org/torproject.org/dists/lucid/InRelease

W: Failed to fetch http://gr.archive.ubuntu.com/ubuntu/dists/natty-updates/Release

W: Failed to fetch http://gr.archive.ubuntu.com/ubuntu/dists/natty-proposed/Release

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/natty-security/Release

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/natty/Release

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/natty/Release

W: Failed to fetch http://deb.opera.com/opera/dists/stable/Release

W: Some index files failed to download. They have been ignored, or old ones used instead.
root@ubuntu:/#


Κώδικας: Επιλογή όλων

root@ubuntu:/# apt-get -o Dpkg::Options::="--force-overwrite" --reinstall install gpgv
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
polipo liba52-0.7.4-dev elementary-icon-theme libvorbis-dev libdts-dev
libogg-dev socat libqt4pas5 libqt4pas-dev giblib1 libsvga1-dev libdca-dev
libmad0-dev scrot murrine-themes libimlib2
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 89 not upgraded.
Need to get 186 kB of archives.
After this operation, 0 B of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
gpgv
Install these packages without verification [y/N]? y
Get:1 http://gr.archive.ubuntu.com/ubuntu/ natty/main gpgv amd64 1.4.11-3ubuntu1 [186 kB]
Fetched 186 kB in 0s (499 kB/s)
Can not write log, openpty() failed (/dev/pts not mounted?)
/usr/bin/dpkg: unrecognized option '--force-overwrite'
BusyBox v1.17.1 (Ubuntu 1:1.17.1-10ubuntu1) multi-call binary.

Usage: dpkg [-ilCPru] [-F OPT] PACKAGE

Install, remove and manage Debian packages

Options:
-i,--install Install the package
-l,--list List of installed packages
--configure Configure an unpackaged package
-P,--purge Purge all files of a package
-r,--remove Remove all but the configuration files for a package
--unpack Unpack a package, but don't configure it
--force-depends Ignore dependency problems
--force-confnew Overwrite existing config files when installing
--force-confold Keep old config files when installing

E: Sub-process /usr/bin/dpkg returned an error code (1)
root@ubuntu:/#


Κώδικας: Επιλογή όλων

root@ubuntu:/# apt-get update
Ign http://security.ubuntu.com natty-security InRelease
Get:1 http://security.ubuntu.com natty-security Release.gpg [198 B]
Get:2 http://deb.torproject.org lucid InRelease [2,765 B]
Ign http://gr.archive.ubuntu.com natty InRelease
Ign http://gr.archive.ubuntu.com natty-updates InRelease
Ign http://gr.archive.ubuntu.com natty-proposed InRelease
Ign http://archive.canonical.com natty InRelease
Get:3 http://security.ubuntu.com natty-security Release [39.8 kB]
Get:4 http://gr.archive.ubuntu.com natty Release.gpg [198 B]
Get:5 http://gr.archive.ubuntu.com natty-updates Release.gpg [198 B]
Ign http://dl.google.com stable InRelease
Get:6 http://gr.archive.ubuntu.com natty-proposed Release.gpg [198 B]
Hit http://gr.archive.ubuntu.com natty Release
Ign http://ppa.launchpad.net natty InRelease
Err http://deb.torproject.org lucid InRelease

Ign http://deb.opera.com stable InRelease
Get:7 http://gr.archive.ubuntu.com natty-updates Release [39.8 kB]
Ign http://extras.ubuntu.com natty InRelease
Get:8 http://dl.google.com stable Release.gpg [198 B]
Get:9 http://gr.archive.ubuntu.com natty-proposed Release [39.8 kB]
Get:10 http://archive.canonical.com natty Release.gpg [198 B]
Ign http://www.hu.freepascal.org lazarus-testing InRelease
Err http://security.ubuntu.com natty-security Release

Get:11 http://ppa.launchpad.net natty Release.gpg [316 B]
Get:12 http://dl.google.com stable Release [1,347 B]
Get:13 http://deb.opera.com stable Release.gpg [189 B]
Ign http://gr.archive.ubuntu.com natty Release
Get:14 http://extras.ubuntu.com natty Release.gpg [72 B]
Ign http://gr.archive.ubuntu.com natty/main Sources/DiffIndex
Get:15 http://archive.canonical.com natty Release [5,916 B]
Err http://gr.archive.ubuntu.com natty-updates Release

Get:16 http://www.hu.freepascal.org lazarus-testing Release.gpg [191 B]
Ign http://gr.archive.ubuntu.com natty/restricted Sources/DiffIndex
Ign http://gr.archive.ubuntu.com natty/universe Sources/DiffIndex
Ign http://gr.archive.ubuntu.com natty/multiverse Sources/DiffIndex
Ign http://gr.archive.ubuntu.com natty/main amd64 Packages/DiffIndex
Ign http://gr.archive.ubuntu.com natty/restricted amd64 Packages/DiffIndex
Ign http://gr.archive.ubuntu.com natty/universe amd64 Packages/DiffIndex
Ign http://gr.archive.ubuntu.com natty/multiverse amd64 Packages/DiffIndex
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
Hit http://ppa.launchpad.net natty Release
Get:17 http://deb.opera.com stable Release [633 B]
Err http://gr.archive.ubuntu.com natty-proposed Release

Hit http://extras.ubuntu.com natty Release
Ign http://gr.archive.ubuntu.com natty/universe TranslationIndex
Hit http://gr.archive.ubuntu.com natty/main Sources
Hit http://gr.archive.ubuntu.com natty/restricted Sources
Hit http://gr.archive.ubuntu.com natty/universe Sources
Hit http://gr.archive.ubuntu.com natty/multiverse Sources
Hit http://gr.archive.ubuntu.com natty/main amd64 Packages
Hit http://gr.archive.ubuntu.com natty/restricted amd64 Packages
Hit http://gr.archive.ubuntu.com natty/universe amd64 Packages
Hit http://gr.archive.ubuntu.com natty/multiverse amd64 Packages
Hit http://www.hu.freepascal.org lazarus-testing Release
Err http://dl.google.com stable Release

Hit http://gr.archive.ubuntu.com natty/main Translation-el
Hit http://gr.archive.ubuntu.com natty/multiverse Translation-el
Hit http://gr.archive.ubuntu.com natty/restricted Translation-el
Err http://archive.canonical.com natty Release

Hit http://gr.archive.ubuntu.com natty/universe Translation-el
Ign http://ppa.launchpad.net natty Release
Err http://deb.opera.com stable Release

Err http://extras.ubuntu.com natty Release

Ign http://ppa.launchpad.net natty/main Sources/DiffIndex
Ign http://gr.archive.ubuntu.com natty/main Translation-en_US
Ign http://gr.archive.ubuntu.com natty/main Translation-en
Ign http://gr.archive.ubuntu.com natty/multiverse Translation-en_US
Ign http://gr.archive.ubuntu.com natty/multiverse Translation-en
Ign http://www.hu.freepascal.org lazarus-testing Release
Ign http://gr.archive.ubuntu.com natty/restricted Translation-en_US
Ign http://gr.archive.ubuntu.com natty/restricted Translation-en
Ign http://gr.archive.ubuntu.com natty/universe Translation-en_US
Ign http://gr.archive.ubuntu.com natty/universe Translation-en
Ign http://ppa.launchpad.net natty/main amd64 Packages/DiffIndex
Ign http://ppa.launchpad.net natty/main TranslationIndex
Hit http://ppa.launchpad.net natty/main Sources
Ign http://www.hu.freepascal.org lazarus-testing/universe amd64 Packages/DiffIndex
Ign http://www.hu.freepascal.org lazarus-testing/universe TranslationIndex
Hit http://ppa.launchpad.net natty/main amd64 Packages
Hit http://www.hu.freepascal.org lazarus-testing/universe amd64 Packages
Ign http://www.hu.freepascal.org lazarus-testing/universe Translation-en_US
Ign http://www.hu.freepascal.org lazarus-testing/universe Translation-en
Ign http://www.hu.freepascal.org lazarus-testing/universe Translation-el
Ign http://ppa.launchpad.net natty/main Translation-en_US
Ign http://ppa.launchpad.net natty/main Translation-en
Ign http://ppa.launchpad.net natty/main Translation-el
Fetched 3,309 B in 2s (1,377 B/s)
Reading package lists... Done
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.torproject.org lucid InRelease: Unknown error executing gpgv

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.ubuntu.com natty-security Release: Unknown error executing gpgv

W: GPG error: http://gr.archive.ubuntu.com natty Release: Unknown error executing gpgv
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://gr.archive.ubuntu.com natty-updates Release: Unknown error executing gpgv

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://gr.archive.ubuntu.com natty-proposed Release: Unknown error executing gpgv

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com stable Release: Unknown error executing gpgv

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.canonical.com natty Release: Unknown error executing gpgv

W: GPG error: http://ppa.launchpad.net natty Release: Unknown error executing gpgv
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.opera.com stable Release: Unknown error executing gpgv

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://extras.ubuntu.com natty Release: Unknown error executing gpgv

W: GPG error: http://www.hu.freepascal.org lazarus-testing Release: Unknown error executing gpgv
W: Failed to fetch http://deb.torproject.org/torproject.org/dists/lucid/InRelease

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/natty-security/Release

W: Failed to fetch http://gr.archive.ubuntu.com/ubuntu/dists/natty-updates/Release

W: Failed to fetch http://gr.archive.ubuntu.com/ubuntu/dists/natty-proposed/Release

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/natty/Release

W: Failed to fetch http://deb.opera.com/opera/dists/stable/Release

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/natty/Release

W: Some index files failed to download. They have been ignored, or old ones used instead.
root@ubuntu:/#


Κώδικας: Επιλογή όλων

root@ubuntu:/# apt-get -o Dpkg::Options::="--force-overwrite" --reinstall install apt ubuntu-keyring gnupg gpgv zlib1g command-not-found dpkg
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
polipo liba52-0.7.4-dev elementary-icon-theme libvorbis-dev libdts-dev
libogg-dev socat libqt4pas5 libqt4pas-dev giblib1 libsvga1-dev libdca-dev
libmad0-dev scrot murrine-themes libimlib2
Use 'apt-get autoremove' to remove them.
Suggested packages:
apt-doc
Recommended packages:
gpg
The following packages will be upgraded:
apt
1 upgraded, 0 newly installed, 6 reinstalled, 0 to remove and 88 not upgraded.
Need to get 4,910 kB/5,096 kB of archives.
After this operation, 0 B of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
zlib1g gnupg gpgv ubuntu-keyring command-not-found
Install these packages without verification [y/N]? y
Get:1 http://gr.archive.ubuntu.com/ubuntu/ natty-updates/main dpkg amd64 1.16.0~ubuntu7.1 [1,915 kB]
Get:2 http://gr.archive.ubuntu.com/ubuntu/ natty/main zlib1g amd64 1:1.2.3.4.dfsg-3ubuntu3 [53.0 kB]
Get:3 http://gr.archive.ubuntu.com/ubuntu/ natty-updates/main apt amd64 0.8.13.2ubuntu4.3 [2,111 kB]
Get:4 http://gr.archive.ubuntu.com/ubuntu/ natty/main gnupg amd64 1.4.11-3ubuntu1 [811 kB]
Get:5 http://gr.archive.ubuntu.com/ubuntu/ natty/main ubuntu-keyring all 2010.+09.30 [11.6 kB]
Get:6 http://gr.archive.ubuntu.com/ubuntu/ natty/main command-not-found all 0.2.41ubuntu2 [8,578 B]
Fetched 4,910 kB in 4s (1,042 kB/s)
E: Could not perform immediate configuration on 'apt'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)
root@ubuntu:/#


Κώδικας: Επιλογή όλων

root@ubuntu:/# apt-get update
Ign http://security.ubuntu.com natty-security InRelease
Get:1 http://security.ubuntu.com natty-security Release.gpg [198 B]
Get:2 http://deb.torproject.org lucid InRelease [2,765 B]
Ign http://archive.canonical.com natty InRelease
Ign http://gr.archive.ubuntu.com natty InRelease
Ign http://gr.archive.ubuntu.com natty-updates InRelease
Ign http://gr.archive.ubuntu.com natty-proposed InRelease
Get:3 http://gr.archive.ubuntu.com natty Release.gpg [198 B]
Get:4 http://gr.archive.ubuntu.com natty-updates Release.gpg [198 B]
Get:5 http://security.ubuntu.com natty-security Release [39.8 kB]
Get:6 http://gr.archive.ubuntu.com natty-proposed Release.gpg [198 B]
Hit http://gr.archive.ubuntu.com natty Release
Ign http://extras.ubuntu.com natty InRelease
Err http://deb.torproject.org lucid InRelease

Get:7 http://gr.archive.ubuntu.com natty-updates Release [39.8 kB]
Ign http://www.hu.freepascal.org lazarus-testing InRelease
Ign http://ppa.launchpad.net natty InRelease
Ign http://dl.google.com stable InRelease
Get:8 http://gr.archive.ubuntu.com natty-proposed Release [39.8 kB]
Get:9 http://archive.canonical.com natty Release.gpg [198 B]
Ign http://deb.opera.com stable InRelease
Err http://security.ubuntu.com natty-security Release

Get:10 http://dl.google.com stable Release.gpg [198 B]
Get:11 http://extras.ubuntu.com natty Release.gpg [72 B]
Get:12 http://www.hu.freepascal.org lazarus-testing Release.gpg [191 B]
Get:13 http://ppa.launchpad.net natty Release.gpg [316 B]
Ign http://gr.archive.ubuntu.com natty Release
Ign http://gr.archive.ubuntu.com natty/main Sources/DiffIndex
Get:14 http://archive.canonical.com natty Release [5,916 B]
Get:15 http://dl.google.com stable Release [1,347 B]
Err http://gr.archive.ubuntu.com natty-updates Release

Ign http://gr.archive.ubuntu.com natty/restricted Sources/DiffIndex
Ign http://gr.archive.ubuntu.com natty/universe Sources/DiffIndex
Ign http://gr.archive.ubuntu.com natty/multiverse Sources/DiffIndex
Ign http://gr.archive.ubuntu.com natty/main amd64 Packages/DiffIndex
Ign http://gr.archive.ubuntu.com natty/restricted amd64 Packages/DiffIndex
Ign http://gr.archive.ubuntu.com natty/universe amd64 Packages/DiffIndex
Ign http://gr.archive.ubuntu.com natty/multiverse amd64 Packages/DiffIndex
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
Hit http://www.hu.freepascal.org lazarus-testing Release
Get:16 http://deb.opera.com stable Release.gpg [189 B]
Hit http://ppa.launchpad.net natty Release
Hit http://extras.ubuntu.com natty Release
Err http://gr.archive.ubuntu.com natty-proposed Release

Ign http://gr.archive.ubuntu.com natty/universe TranslationIndex
Hit http://gr.archive.ubuntu.com natty/main Sources
Hit http://gr.archive.ubuntu.com natty/restricted Sources
Hit http://gr.archive.ubuntu.com natty/universe Sources
Hit http://gr.archive.ubuntu.com natty/multiverse Sources
Hit http://gr.archive.ubuntu.com natty/main amd64 Packages
Hit http://gr.archive.ubuntu.com natty/restricted amd64 Packages
Hit http://gr.archive.ubuntu.com natty/universe amd64 Packages
Hit http://gr.archive.ubuntu.com natty/multiverse amd64 Packages
Err http://archive.canonical.com natty Release

Hit http://gr.archive.ubuntu.com natty/main Translation-el
Hit http://gr.archive.ubuntu.com natty/multiverse Translation-el
Hit http://gr.archive.ubuntu.com natty/restricted Translation-el
Get:17 http://deb.opera.com stable Release [633 B]
Err http://dl.google.com stable Release

Hit http://gr.archive.ubuntu.com natty/universe Translation-el
Ign http://www.hu.freepascal.org lazarus-testing Release
Ign http://ppa.launchpad.net natty Release
Err http://extras.ubuntu.com natty Release

Ign http://gr.archive.ubuntu.com natty/main Translation-en_US
Ign http://gr.archive.ubuntu.com natty/main Translation-en
Ign http://gr.archive.ubuntu.com natty/multiverse Translation-en_US
Ign http://gr.archive.ubuntu.com natty/multiverse Translation-en
Err http://deb.opera.com stable Release

Ign http://gr.archive.ubuntu.com natty/restricted Translation-en_US
Ign http://gr.archive.ubuntu.com natty/restricted Translation-en
Ign http://gr.archive.ubuntu.com natty/universe Translation-en_US
Ign http://www.hu.freepascal.org lazarus-testing/universe amd64 Packages/DiffIndex
Ign http://gr.archive.ubuntu.com natty/universe Translation-en
Ign http://ppa.launchpad.net natty/main Sources/DiffIndex
Ign http://www.hu.freepascal.org lazarus-testing/universe TranslationIndex
Ign http://ppa.launchpad.net natty/main amd64 Packages/DiffIndex
Ign http://ppa.launchpad.net natty/main TranslationIndex
Hit http://www.hu.freepascal.org lazarus-testing/universe amd64 Packages
Hit http://ppa.launchpad.net natty/main Sources
Hit http://ppa.launchpad.net natty/main amd64 Packages
Ign http://www.hu.freepascal.org lazarus-testing/universe Translation-en_US
Ign http://www.hu.freepascal.org lazarus-testing/universe Translation-en
Ign http://www.hu.freepascal.org lazarus-testing/universe Translation-el
Ign http://ppa.launchpad.net natty/main Translation-en_US
Ign http://ppa.launchpad.net natty/main Translation-en
Ign http://ppa.launchpad.net natty/main Translation-el
Fetched 3,309 B in 2s (1,456 B/s)
Reading package lists... Done
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.torproject.org lucid InRelease: Unknown error executing gpgv

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.ubuntu.com natty-security Release: Unknown error executing gpgv

W: GPG error: http://gr.archive.ubuntu.com natty Release: Unknown error executing gpgv
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://gr.archive.ubuntu.com natty-updates Release: Unknown error executing gpgv

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://gr.archive.ubuntu.com natty-proposed Release: Unknown error executing gpgv

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.canonical.com natty Release: Unknown error executing gpgv

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com stable Release: Unknown error executing gpgv

W: GPG error: http://www.hu.freepascal.org lazarus-testing Release: Unknown error executing gpgv
W: GPG error: http://ppa.launchpad.net natty Release: Unknown error executing gpgv
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://extras.ubuntu.com natty Release: Unknown error executing gpgv

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.opera.com stable Release: Unknown error executing gpgv

W: Failed to fetch http://deb.torproject.org/torproject.org/dists/lucid/InRelease

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/natty-security/Release

W: Failed to fetch http://gr.archive.ubuntu.com/ubuntu/dists/natty-updates/Release

W: Failed to fetch http://gr.archive.ubuntu.com/ubuntu/dists/natty-proposed/Release

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/natty/Release

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/natty/Release

W: Failed to fetch http://deb.opera.com/opera/dists/stable/Release

W: Some index files failed to download. They have been ignored, or old ones used instead.
root@ubuntu:/#


Κώδικας: Επιλογή όλων

root@ubuntu:/# dpkg -P --force-all ubuntu-desktop ubuntu-standard ubuntu-minimaldpkg: unrecognized option '--force-all'
BusyBox v1.17.1 (Ubuntu 1:1.17.1-10ubuntu1) multi-call binary.

Usage: dpkg [-ilCPru] [-F OPT] PACKAGE

Install, remove and manage Debian packages

Options:
-i,--install Install the package
-l,--list List of installed packages
--configure Configure an unpackaged package
-P,--purge Purge all files of a package
-r,--remove Remove all but the configuration files for a package
--unpack Unpack a package, but don't configure it
--force-depends Ignore dependency problems
--force-confnew Overwrite existing config files when installing
--force-confold Keep old config files when installing

root@ubuntu:/#


Κώδικας: Επιλογή όλων

root@ubuntu:/# apt-get -o Dpkg::Options::="--force-overwrite" --reinstall install ubuntu-desktop ubuntu-standard ubuntu-minimal
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
polipo liba52-0.7.4-dev elementary-icon-theme libvorbis-dev libdts-dev
libogg-dev socat libqt4pas5 libqt4pas-dev giblib1 libsvga1-dev libdca-dev
libmad0-dev scrot murrine-themes libimlib2
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
notify-osd
The following packages will be REMOVED:
xfce4-notifyd
The following NEW packages will be installed:
notify-osd ubuntu-desktop
0 upgraded, 2 newly installed, 2 reinstalled, 1 to remove and 89 not upgraded.
Need to get 5,486 B/129 kB of archives.
After this operation, 242 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
notify-osd ubuntu-minimal ubuntu-standard ubuntu-desktop
Install these packages without verification [y/N]? y
Get:1 http://gr.archive.ubuntu.com/ubuntu/ natty/main ubuntu-minimal amd64 1.220 [2,708 B]
Get:2 http://gr.archive.ubuntu.com/ubuntu/ natty/main ubuntu-standard amd64 1.220 [2,778 B]
Fetched 5,486 B in 0s (47.3 kB/s)
Can not write log, openpty() failed (/dev/pts not mounted?)
/usr/bin/dpkg: unrecognized option '--force-overwrite'
BusyBox v1.17.1 (Ubuntu 1:1.17.1-10ubuntu1) multi-call binary.

Usage: dpkg [-ilCPru] [-F OPT] PACKAGE

Install, remove and manage Debian packages

Options:
-i,--install Install the package
-l,--list List of installed packages
--configure Configure an unpackaged package
-P,--purge Purge all files of a package
-r,--remove Remove all but the configuration files for a package
--unpack Unpack a package, but don't configure it
--force-depends Ignore dependency problems
--force-confnew Overwrite existing config files when installing
--force-confold Keep old config files when installing

E: Sub-process /usr/bin/dpkg returned an error code (1)
root@ubuntu:/#
1 Γνώσεις → Linux: Μέτριος ┃ Προγραμματισμός: Μέτριος ┃ Αγγλικά: Μέτριος
2 Λειτουργικό → Ubuntu 11.04 natty 64-bit (el_GR.UTF-8)
3 Προδιαγραφές → 1x AMD Athlon 64 X2 Dual Core Processor 4200+ ‖ RAM 870 MiB ‖ ASUS INC. M2N-MX SE Plus
4 Κάρτες γραφικών: nVidia C61 [GeForce 6150SE nForce 430] [10de:03d0] (rev a2)
5 Δίκτυα: eth0: nVidia MCP61 Ethernet [10de:03ef] (rev a2)
panoss
babeTUX
babeTUX
 
Δημοσιεύσεις: 54
Εγγραφή: 22 Νοέμ 2010, 14:22
Εκτύπωση

Re: Δεν ξεκινάει το Ubuntu 11.04

Δημοσίευσηαπό medigeek » 13 Ιαν 2012, 11:51

Εκανες λάθος σε μια εντολή, αλλά αποσύρομαι. :)
Η επανεγκατάσταση θα ήταν μια καλή λύση, ειδικά όταν δεν ξέρεις τι ή ποιος μπορεί να προκάλεσε τις αλλαγές στο σύστημα.
Κύπριος; Κόπιασε στο ubuntu-cy! ┃ Launchpad Debian Github
Οδηγός για νεοεισερχόμενους -- Αρχικές οδηγίες για αρχάριους χρήστες του Ubuntu

1 Γνώσεις Linux: Πολύ καλό ┃ Προγραμματισμού: Πολύ καλό ┃ Αγγλικών: Πολύ καλό
2 Ubuntu 12.10 quantal 3.5.0-21-generic 64bit (en_US.UTF-8, GNOME cinnamon2d), Ubuntu 3.5.0-19-generic, Windows 7
3 Intel Core2 Duo CPU E6550 2.33GHz ‖ RAM 5970 MiB ‖ MSI MS-7235
4 nVidia G73 [GeForce 7300 GT] [10de:0393] {nvidia}
5 eth0: Realtek RTL-8110SC/8169SC Gigabit Ethernet [10ec:8167] (rev 10)
Άβαταρ μέλους
medigeek
Freedom
Freedom
 
Δημοσιεύσεις: 5023
Εγγραφή: 24 Μάιος 2008, 14:49
Τοποθεσία: Σερβία/Κύπρος
Launchpad: medigeek
IRC: savvas
Εκτύπωση

ΠροηγούμενηΕπόμενο

  • ΣΧΕΤΙΚΑ ΘΕΜΑΤΑ
    ΑΠΑΝΤΗΣΕΙΣ
    ΠΡΟΒΟΛΕΣ
    ΣΥΓΓΡΑΦΕΑΣ

Επιστροφή στο Λειτουργικό Σύστημα