Portál AbcLinuxu, 6. května 2025 20:29
ubuntu@ubuntu:~$ sudo su
root@ubuntu:/home/ubuntu# mount /dev/sda1 /mnt
root@ubuntu:/home/ubuntu# mount --bind /dev /mnt/dev
root@ubuntu:/home/ubuntu# mount --bind /proc /mnt/proc
root@ubuntu:/home/ubuntu# mount --bind /sys /mnt/sys
root@ubuntu:/home/ubuntu# sudo chroot /mnt
root@ubuntu:/# apt-get install linux-image-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
linux-generic-pae : Depends: linux-headers-generic-pae (= 3.2.0.73.87) but 3.2.0.74.88 is to be installed
linux-image-generic : Depends: linux-image-3.2.0-74-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@ubuntu:/#
Řešení dotazu:
Nabootovat z live CD a v chroot
opravit systém. Obecnou radu dávám, protože sám nepoužívám Ubuntu.
takze jako obvykle sem v adresari boot smazal hafo starejch jader a nechal posledniNormální člověk odstraní balíčky s jádrem. Smaže to i moduly, takže opravdu nějaké místo ušetří, neudělá si v systému bordel a navíc ho dpkg upozorní, pokud odstraňuje jádro, které je jediné bootovací.
hlasi ze neexistuje soubor s jadremA ten soubor opravdu neexistuje? Říkal jsi, že tam nějaké jádro máš. Proč mu jeho název nezadáš ručně?
# vylistovani nainstalovanejch jader + hlavicky dpkg -l | grep -e linux-image -e linux-headers # odinstalovani verzi co uznas za nepotrebne napr. pro verzi 3.5.0-51 sudo apt-get remove linux-image-3.5.0-51-generic linux-image-extra-3.5.0-51-generic linux-headers-3.5.0-51 linux-headers-3.5.0-51-generic # az/jestli prejdes na ubuntu 14.04lts, tak zde se odinstaluji starsi jadra jiz jednoduse # automaticky se oznaci za nepotrebne starsi a ponechavaji se prvni a dve posledni # a odeberou se automaticky pri odstranovani nepotrebneho sudo apt-get autoremove
W: Failed to fetch http://ppa.launchpad.net/relan/exfat/ubuntu/dists/precise/Release.gpg Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu/dists/precise/Release.gpg Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://getswiftfox.com/builds/debian/dists/unstable/non-free/binary-i386/Packages Something wicked happened resolving 'getswiftfox.com:http' (-5 - No address associated with hostname) W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/precise/main/source/Sources Something wicked happened resolving 'extras.ubuntu.com:http' (-5 - No address associated with hostname) W: Failed to fetch http://dl.google.com/linux/talkplugin/deb/dists/stable/main/binary-i386/Packages Something wicked happened resolving 'dl.google.com:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise/main/binary-i386/Packages Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise/restricted/binary-i386/Packages Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise/universe/binary-i386/Packages Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise/multiverse/binary-i386/Packages Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise/main/i18n/Translation-en_US Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise/main/i18n/Translation-en Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise/main/i18n/Translation-cs Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise/multiverse/i18n/Translation-en_US Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise/multiverse/i18n/Translation-en Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise/multiverse/i18n/Translation-cs Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise/restricted/i18n/Translation-en_US Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise/restricted/i18n/Translation-en Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise/restricted/i18n/Translation-cs Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise/universe/i18n/Translation-en_US Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise/universe/i18n/Translation-en Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise/universe/i18n/Translation-cs Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-updates/main/binary-i386/Packages Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://archive.canonical.com/ubuntu/dists/precise/partner/binary-i386/Packages Something wicked happened resolving 'archive.canonical.com:http' (-5 - No address associated with hostname) W: Failed to fetch http://deb.torproject.org/torproject.org/dists/precise/main/source/Sources Something wicked happened resolving 'deb.torproject.org:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu/dists/precise/main/source/Sources Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu/dists/precise/main/binary-i386/Packages Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu/dists/precise/main/i18n/Translation-en_US Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu/dists/precise/main/i18n/Translation-en Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu/dists/precise/main/i18n/Translation-cs Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/i2p-maintainers/i2p/ubuntu/dists/precise/main/source/Sources Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/i2p-maintainers/i2p/ubuntu/dists/precise/main/binary-i386/Packages Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/i2p-maintainers/i2p/ubuntu/dists/precise/main/i18n/Translation-en_US Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/i2p-maintainers/i2p/ubuntu/dists/precise/main/i18n/Translation-en Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/i2p-maintainers/i2p/ubuntu/dists/precise/main/i18n/Translation-cs Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/jd-team/jdownloader/ubuntu/dists/precise/main/source/Sources Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/jd-team/jdownloader/ubuntu/dists/precise/main/binary-i386/Packages Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/jd-team/jdownloader/ubuntu/dists/precise/main/i18n/Translation-en_US Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/jd-team/jdownloader/ubuntu/dists/precise/main/i18n/Translation-en Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/jd-team/jdownloader/ubuntu/dists/precise/main/i18n/Translation-cs Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://deb.opera.com/opera/dists/stable/non-free/binary-i386/Packages Something wicked happened resolving 'deb.opera.com:http' (-5 - No address associated with hostname) W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/precise/main/binary-i386/Packages Something wicked happened resolving 'extras.ubuntu.com:http' (-5 - No address associated with hostname) W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/precise/main/i18n/Translation-en_US Something wicked happened resolving 'extras.ubuntu.com:http' (-5 - No address associated with hostname) W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/precise/main/i18n/Translation-en Something wicked happened resolving 'extras.ubuntu.com:http' (-5 - No address associated with hostname) W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/precise/main/i18n/Translation-cs Something wicked happened resolving 'extras.ubuntu.com:http' (-5 - No address associated with hostname) W: Failed to fetch http://dl.google.com/linux/talkplugin/deb/dists/stable/main/i18n/Translation-en_US Something wicked happened resolving 'dl.google.com:http' (-5 - No address associated with hostname) W: Failed to fetch http://dl.google.com/linux/talkplugin/deb/dists/stable/main/i18n/Translation-en Something wicked happened resolving 'dl.google.com:http' (-5 - No address associated with hostname) W: Failed to fetch http://dl.google.com/linux/talkplugin/deb/dists/stable/main/i18n/Translation-cs Something wicked happened resolving 'dl.google.com:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-updates/restricted/binary-i386/Packages Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-updates/universe/binary-i386/Packages Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-updates/multiverse/binary-i386/Packages Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-updates/main/i18n/Translation-en_US Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-updates/main/i18n/Translation-en Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-updates/main/i18n/Translation-cs Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-updates/multiverse/i18n/Translation-en_US Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-updates/multiverse/i18n/Translation-en Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-updates/multiverse/i18n/Translation-cs Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-updates/restricted/i18n/Translation-en_US Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-updates/restricted/i18n/Translation-en Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-updates/restricted/i18n/Translation-cs Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-updates/universe/i18n/Translation-en_US Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-updates/universe/i18n/Translation-en Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-updates/universe/i18n/Translation-cs Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-security/main/binary-i386/Packages Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-security/restricted/binary-i386/Packages Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-security/universe/binary-i386/Packages Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://archive.canonical.com/ubuntu/dists/precise/partner/i18n/Translation-en_US Something wicked happened resolving 'archive.canonical.com:http' (-5 - No address associated with hostname) W: Failed to fetch http://archive.canonical.com/ubuntu/dists/precise/partner/i18n/Translation-en Something wicked happened resolving 'archive.canonical.com:http' (-5 - No address associated with hostname) W: Failed to fetch http://archive.canonical.com/ubuntu/dists/precise/partner/i18n/Translation-cs Something wicked happened resolving 'archive.canonical.com:http' (-5 - No address associated with hostname) W: Failed to fetch http://deb.torproject.org/torproject.org/dists/precise/main/binary-i386/Packages Something wicked happened resolving 'deb.torproject.org:http' (-5 - No address associated with hostname) W: Failed to fetch http://deb.torproject.org/torproject.org/dists/precise/main/i18n/Translation-en_US Something wicked happened resolving 'deb.torproject.org:http' (-5 - No address associated with hostname) W: Failed to fetch http://deb.torproject.org/torproject.org/dists/precise/main/i18n/Translation-en Something wicked happened resolving 'deb.torproject.org:http' (-5 - No address associated with hostname) W: Failed to fetch http://deb.torproject.org/torproject.org/dists/precise/main/i18n/Translation-cs Something wicked happened resolving 'deb.torproject.org:http' (-5 - No address associated with hostname) W: Failed to fetch http://getswiftfox.com/builds/debian/dists/unstable/non-free/i18n/Translation-en_US Something wicked happened resolving 'getswiftfox.com:http' (-5 - No address associated with hostname) W: Failed to fetch http://getswiftfox.com/builds/debian/dists/unstable/non-free/i18n/Translation-en Something wicked happened resolving 'getswiftfox.com:http' (-5 - No address associated with hostname) W: Failed to fetch http://getswiftfox.com/builds/debian/dists/unstable/non-free/i18n/Translation-cs Something wicked happened resolving 'getswiftfox.com:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/makson96/fglrx/ubuntu/dists/precise/main/source/Sources Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/makson96/fglrx/ubuntu/dists/precise/main/binary-i386/Packages Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/makson96/fglrx/ubuntu/dists/precise/main/i18n/Translation-en_US Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/makson96/fglrx/ubuntu/dists/precise/main/i18n/Translation-en Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/makson96/fglrx/ubuntu/dists/precise/main/i18n/Translation-cs Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/marek-tyburec/gtelevize/ubuntu/dists/precise/main/source/Sources Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/marek-tyburec/gtelevize/ubuntu/dists/precise/main/binary-i386/Packages Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://deb.opera.com/opera/dists/stable/non-free/i18n/Translation-en_US Something wicked happened resolving 'deb.opera.com:http' (-5 - No address associated with hostname) W: Failed to fetch http://deb.opera.com/opera/dists/stable/non-free/i18n/Translation-en Something wicked happened resolving 'deb.opera.com:http' (-5 - No address associated with hostname) W: Failed to fetch http://deb.opera.com/opera/dists/stable/non-free/i18n/Translation-cs Something wicked happened resolving 'deb.opera.com:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/marek-tyburec/gtelevize/ubuntu/dists/precise/main/i18n/Translation-en_US Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/marek-tyburec/gtelevize/ubuntu/dists/precise/main/i18n/Translation-en Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/marek-tyburec/gtelevize/ubuntu/dists/precise/main/i18n/Translation-cs Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/relan/exfat/ubuntu/dists/precise/main/source/Sources Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/relan/exfat/ubuntu/dists/precise/main/binary-i386/Packages Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/relan/exfat/ubuntu/dists/precise/main/i18n/Translation-en_US Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/relan/exfat/ubuntu/dists/precise/main/i18n/Translation-en Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/relan/exfat/ubuntu/dists/precise/main/i18n/Translation-cs Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu/dists/precise/main/source/Sources Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-security/multiverse/binary-i386/Packages Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-security/main/i18n/Translation-en_US Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-security/main/i18n/Translation-en Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-security/main/i18n/Translation-cs Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-security/multiverse/i18n/Translation-en_US Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-security/multiverse/i18n/Translation-en Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-security/multiverse/i18n/Translation-cs Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-security/restricted/i18n/Translation-en_US Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-security/restricted/i18n/Translation-en Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-security/restricted/i18n/Translation-cs Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-security/universe/i18n/Translation-en_US Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-security/universe/i18n/Translation-en Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-security/universe/i18n/Translation-cs Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-backports/restricted/binary-i386/Packages Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-backports/main/binary-i386/Packages Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-backports/multiverse/binary-i386/Packages Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-backports/universe/binary-i386/Packages Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-backports/main/i18n/Translation-en_US Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-backports/main/i18n/Translation-en Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-backports/main/i18n/Translation-cs Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu/dists/precise/main/binary-i386/Packages Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu/dists/precise/main/i18n/Translation-en_US Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu/dists/precise/main/i18n/Translation-en Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu/dists/precise/main/i18n/Translation-cs Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-backports/multiverse/i18n/Translation-en_US Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-backports/multiverse/i18n/Translation-en Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-backports/multiverse/i18n/Translation-cs Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-backports/restricted/i18n/Translation-en_US Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-backports/restricted/i18n/Translation-en Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-backports/restricted/i18n/Translation-cs Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-backports/universe/i18n/Translation-en_US Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-backports/universe/i18n/Translation-en Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-backports/universe/i18n/Translation-cs Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) E: Some index files failed to download. They have been ignored, or old ones used instead. root@ubuntu:/#
ubuntu@ubuntu:~$ cat /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver 127.0.1.1kdyz sem zkusil to prepsat tim guglim nema to ucinek a v samotnem souboru upozornuji ze se to nema prepisovat :) Respektive vypada to ze si system neumi nacist pri nacteni ip z dhcp dns nebo se o to dokonce nai nepokousi? ale jakto ze mi jednou stranky ve firefoxu? Muze vadit ze sem si predtim zmenil default root heslo pomoci passwd? To jak mi tu nekdo radil prepsanim gugli dns bylo k nicemu, zase se to prepise na 127.0.1.1 :(
W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-backports/restricted/i18n/Translation-cs Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-backports/universe/i18n/Translation-en_US Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-backports/universe/i18n/Translation-en Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) W: Failed to fetch http://ucho.ignum.cz/ubuntu/dists/precise-backports/universe/i18n/Translation-cs Something wicked happened resolving 'ucho.ignum.cz:http' (-5 - No address associated with hostname) E: Some index files failed to download. They have been ignored, or old ones used instead. root@ubuntu:/# ping seznam.cz ping: unknown host seznam.cz root@ubuntu:/#
muzu na inet pres firefox ale nejde mi pingatTakže Firefox resolvuje a ping nikoli? To může znamenat ledacos včetně problémů v samotné síti.
Respektive vypada to ze si system neumi nacist pri nacteni ip z dhcp dns nebo se o to dokonce nai nepokousi?Právě naopak, jestliže resolvuješ ve firefoxu, tak to pravděpodobně znamená, že DNS z DHCP máš nakonfigurované. Samozřejmě je tu relativní nedostatek informací, takže těžko říct.
To jak mi tu nekdo radil prepsanim gugli dns bylo k nicemu, zase se to prepise na 127.0.1.1 :(Proto jsem ti to radši neradil. Když chceš měnit konfiguraci manuálně, měl bys vědět trochu víc než jen jak přepsat ten soubor. Podle mě narážíš na nějaký neobvyklý problém k jehož řešení je potřeba trochu víc skillů. Rád bych poradil, ale popravdě řečeno většinou potřebuju mít tyhle věci v ruce.
mole ~ # ping -c 1 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_seq=1 ttl=58 time=9.10 ms --- 8.8.8.8 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 9.105/9.105/9.105/0.000 ms mole ~ # dig www.seznam.cz @8.8.8.8 ; <<>> DiG 9.9.5 <<>> www.seznam.cz @8.8.8.8 ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61904 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 512 ;; QUESTION SECTION: ;www.seznam.cz. IN A ;; ANSWER SECTION: www.seznam.cz. 151 IN A 77.75.76.3 ;; Query time: 7 msec ;; SERVER: 8.8.8.8#53(8.8.8.8) ;; WHEN: Sun Dec 14 15:54:23 CET 2014 ;; MSG SIZE rcvd: 58 mole ~ # dig www.seznam.cz ; <<>> DiG 9.9.5 <<>> www.seznam.cz ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41609 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;www.seznam.cz. IN A ;; ANSWER SECTION: www.seznam.cz. 300 IN A 77.75.72.3 ;; Query time: 18 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Sun Dec 14 15:54:34 CET 2014 ;; MSG SIZE rcvd: 58Ještě se můžeš zkusit ptát toho lokálního nameserveru (
@127.0.1.1
místo @8.8.8.8
), nebo můžeš z logů vytáhnout jména nameserverů z DHCP a ptát se jich. Když budeš hodně zoufalý, můžeš zkusit digu přidat +noedns
nebo +tcp
.
U mě, kdo ručně maže soubory jader (prasárna), i když by to šlo udělat přes správce balíčků, je u mě začátečník, a to ještě s špatnými návyky.
clovece ja nesjem uplnej zacatecnik jak si asi myslisRozhodně na mě působíš jako člověk s nedostatkem zkušeností, jestliže mažeš systémové soubory ručně namísto odinstalování balíčků (a navíc s s tím pak nedokážeš poradit). Takže pokud máš pocit, že na tebe reaguju jako na lamu, tak si to pravděpodobně zasloužíš :).
to mi nikdo nereklTy jsi nikomu neřekl, že ti resolving v tom live systému funguje a že ti nefunguje pouze v chrootu, takže se nemůžeš divit. Navíc je to standardní součást práce s chrootem, takže jsi buď postupoval podle špatného návodu, nebo jsi něco vynechal. Pokud bys v dotazu dobře specifikoval problém, dostal by si možná do hodiny odpověď, že máš zkopírovat /etc/resolv.conf ze systému do chrootu.
root@ubuntu:/# apt-get install linux-image-generic Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: linux-generic-pae : Depends: linux-headers-generic-pae (= 3.2.0.73.87) but 3.2.0.74.88 is to be installed linux-image-generic : Depends: linux-image-3.2.0-74-generic but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). root@ubuntu:/# root@ubuntu:/# apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following extra packages will be installed: linux-generic-pae linux-image-generic-pae The following packages will be upgraded: linux-generic-pae linux-image-generic-pae 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 5 not fully installed or removed. Need to get 0 B/4,052 B of archives. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? y Can not write log, openpty() failed (/dev/pts not mounted?) Setting up initramfs-tools (0.99ubuntu13.5) ... update-initramfs: deferring update (trigger activated) Setting up linux-image-3.2.0-73-generic-pae (3.2.0-73.108) ... Running depmod. update-initramfs: deferring update (hook will be called later) The link /initrd.img is a dangling linkto /boot/initrd.img-3.2.0-74-generic-pae Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.2.0-73-generic-pae /boot/vmlinuz-3.2.0-73-generic-pae run-parts: executing /etc/kernel/postinst.d/dkms 3.2.0-73-generic-pae /boot/vmlinuz-3.2.0-73-generic-pae Error! Bad return status for module build on kernel: 3.2.0-73-generic-pae (x86_64) Consult /var/lib/dkms/virtualbox/4.1.12/build/make.log for more information. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-73-generic-pae /boot/vmlinuz-3.2.0-73-generic-pae update-initramfs: Generating /boot/initrd.img-3.2.0-73-generic-pae run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.0-73-generic-pae /boot/vmlinuz-3.2.0-73-generic-pae run-parts: executing /etc/kernel/postinst.d/update-notifier 3.2.0-73-generic-pae /boot/vmlinuz-3.2.0-73-generic-pae run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-73-generic-pae /boot/vmlinuz-3.2.0-73-generic-pae Generating grub.cfg ... Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported. Found linux image: /boot/vmlinuz-3.2.0-74-generic-pae Found linux image: /boot/vmlinuz-3.2.0-73-generic-pae Found initrd image: /boot/initrd.img-3.2.0-73-generic-pae Found memtest86+ image: /boot/memtest86+.bin done Setting up linux-image-3.2.0-74-generic-pae (3.2.0-74.109) ... Running depmod. update-initramfs: deferring update (hook will be called later) Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.2.0-74-generic-pae /boot/vmlinuz-3.2.0-74-generic-pae run-parts: executing /etc/kernel/postinst.d/dkms 3.2.0-74-generic-pae /boot/vmlinuz-3.2.0-74-generic-pae Error! Bad return status for module build on kernel: 3.2.0-74-generic-pae (x86_64) Consult /var/lib/dkms/virtualbox/4.1.12/build/make.log for more information. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-74-generic-pae /boot/vmlinuz-3.2.0-74-generic-pae update-initramfs: Generating /boot/initrd.img-3.2.0-74-generic-pae run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.0-74-generic-pae /boot/vmlinuz-3.2.0-74-generic-pae run-parts: executing /etc/kernel/postinst.d/update-notifier 3.2.0-74-generic-pae /boot/vmlinuz-3.2.0-74-generic-pae run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-74-generic-pae /boot/vmlinuz-3.2.0-74-generic-pae Generating grub.cfg ... Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported. Found linux image: /boot/vmlinuz-3.2.0-74-generic-pae Found initrd image: /boot/initrd.img-3.2.0-74-generic-pae Found linux image: /boot/vmlinuz-3.2.0-73-generic-pae Found initrd image: /boot/initrd.img-3.2.0-73-generic-pae Found memtest86+ image: /boot/memtest86+.bin done Setting up linux-image-generic-pae (3.2.0.73.87) ... dpkg: dependency problems prevent configuration of linux-generic-pae: linux-generic-pae depends on linux-headers-generic-pae (= 3.2.0.73.87); however: Version of linux-headers-generic-pae on system is 3.2.0.74.88. dpkg: error processing linux-generic-pae (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already Processing triggers for initramfs-tools ... update-initramfs: Generating /boot/initrd.img-3.2.0-74-generic-pae Errors were encountered while processing: linux-generic-pae E: Sub-process /usr/bin/dpkg returned an error code (1)
apt-get update
) a pak bych asi pro jistotu aktualizoval buď celý systém nebo alespoň balíky, kterých se to týká. Možná zkus ty balíky i v tom chrootu komplet odinstalovat (pozor aby nesebraly moc závislostí) a znovu nainstalovat, kernel pro funkci chroot nepotřebuješ.
MAM DOTAZ: jde nejak trvale premistit TMP adresar a dalsi slozky aby byly v mem home ktery mam na jine partici?Nevím, jestli je to úplně dobrý nápad. Není lepší celý disk uspořádat tak, aby to vyhovovalo, popřípadě použít LVM a alokovat jen kolik je potřeba a dále rozšiřovat (používám já), popřípadě použít btrfs a subvolumes (používají jiní)? Navíc doporučuju zkontrolovat zda náhodou /tmp není v tmpfs. Pokud ano, nemá přesouvání smysl. Pokud ne, a stroj má dost RAM, mohlo by mít smysl tu RAM takto použít.
Naivne sem se domnival ze to ze si dam oddelene home od systemu na jinou partici zajisti i to ze se tam budou ukladat vsechny temp polozky.Pro spoustu software to půjde poladit nějakou proměnnou prostředí. Používat systém s nedostatkem prostředků, v tomto případě diskového prostoru, je krajně nestandardní situace.
JDE NEJAK zajistit aby se napr i aktualizace apod ukladaly do meho home?Proč hledat složité řešení nad blbě rozloženým diskem? Nestačilo by udělat rozložení nanovo a tentokrát nějak rozumně?
Ted se mi kvuli tomu i uplne rozfrncal skype a pri spousteni mi spadne. to je ale zrejme i tim nulovym mistem.Většina aplikací není na provoz bez volného diskového prostoru vůběc testovaná a někdy ani stavěná.
Mam dojem ze je cast prostoru vyhrazena pro roota ale k cemu je to teda dobre?Právě k tomu, aby za roota všechno fungovalo, a bylo tak možné dát systém do kupy.
# vytvorit dir kam presouvat mkdir /home/.pridavek # zkopirovat na home oddil a pri uspechu smazat na puvodnim miste sudo cp -a /tmp /home/.pridavek && sudo rm -fR /tmp/* # nabindovat novej dir na puvodni misto sudo mount --bind /home/.pridavek/tmp /tmp #pro trvale reseni na konec /etc/fstab pridat: /home/.pridavek/tmp /tmp none bind 0 0v zavislosti na tom co si mel pusteno a co vyuzivalo /tmp, je mozne ze bude treba restart, protoze mozna neco muze blbnout, kdyz to pod rukama smazes a nenecha se presvedcit za chodu ze ma to same uz z home zpatky :)
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.