Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Instalace, aktualizace a spouštění => Téma založeno: rayman0 24 Května 2008, 04:55:01
-
cavte podarilo sa mi poskodit Synaptic tak som sa ho pokusil preinstalovat ale nejde to...
jozo@home:~$ sudo apt-get upgrade
sudo: unable to resolve host home
[sudo] password for jozo:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
libgnutls13 openssl-blacklist
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 4580kB of archives.
After this operation, 1376kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://security.ubuntu.com hardy-security/main libgnutls13 2.0.4-1ubuntu2.1 [343kB]
Get:2 http://security.ubuntu.com hardy-security/main openssl-blacklist 0.1-0ubuntu0.8.04.4 [4237kB]
Fetched 4580kB in 2s (1541kB/s)
(Reading database ... 115592 files and directories currently installed.)
Preparing to replace libgnutls13 2.0.4-1ubuntu2 (using .../libgnutls13_2.0.4-1ubuntu2.1_amd64.deb) ...
Unpacking replacement libgnutls13 ...
Preparing to replace openssl-blacklist 0.1-0ubuntu0.8.04.2 (using .../openssl-blacklist_0.1-0ubuntu0.8.04.4_all.deb) ...
Unpacking replacement openssl-blacklist ...
Setting up libgnutls13 (2.0.4-1ubuntu2.1) ...
Setting up openssl-blacklist (0.1-0ubuntu0.8.04.4) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
jozo@home:~$ sudo apt-get install synaptic
sudo: unable to resolve host home
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
dwww
Recommended packages:
deborphan software-properties-gtk
The following NEW packages will be installed:
synaptic
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1313kB of archives.
After this operation, 6189kB of additional disk space will be used.
Err http://cn.archive.ubuntu.com hardy/main synaptic 0.61ubuntu9
Could not resolve 'cn.archive.ubuntu.com'
Failed to fetch http://cn.archive.ubuntu.com/ubuntu/pool/main/s/synaptic/synaptic_0.61ubuntu9_amd64.deb Could not resolve 'cn.archive.ubuntu.com'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
jozo@home:~$ sudo apt-get update
sudo: unable to resolve host home
Ign cdrom://Ubuntu-Server 8.04 _Hardy Heron_ - Release i386 (20080423.2) hardy Release.gpg
Ign cdrom://Ubuntu-Server 8.04 _Hardy Heron_ - Release i386 (20080423.2) hardy/restricted Translation-en_AU
Ign cdrom://Ubuntu-Server 8.04 _Hardy Heron_ - Release i386 (20080423.2) hardy/main Translation-en_AU
Ign cdrom://Ubuntu-Server 8.04 _Hardy Heron_ - Release i386 (20080423.2) hardy Release
Ign cdrom://Ubuntu-Server 8.04 _Hardy Heron_ - Release i386 (20080423.2) hardy/restricted Packages
Ign cdrom://Ubuntu-Server 8.04 _Hardy Heron_ - Release i386 (20080423.2) hardy/main Packages
Err cdrom://Ubuntu-Server 8.04 _Hardy Heron_ - Release i386 (20080423.2) hardy/restricted Packages
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err cdrom://Ubuntu-Server 8.04 _Hardy Heron_ - Release i386 (20080423.2) hardy/main Packages
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Hit http://security.ubuntu.com hardy-security Release.gpg
Ign http://security.ubuntu.com hardy-security/restricted Translation-en_AU
Ign http://security.ubuntu.com hardy-security/main Translation-en_AU
Ign http://security.ubuntu.com hardy-security/multiverse Translation-en_AU
Ign http://security.ubuntu.com hardy-security/universe Translation-en_AU
Hit http://security.ubuntu.com hardy-security Release
Hit http://security.ubuntu.com hardy-security/restricted Packages
Hit http://security.ubuntu.com hardy-security/main Packages
Hit http://security.ubuntu.com hardy-security/multiverse Packages
Hit http://security.ubuntu.com hardy-security/universe Packages
Hit http://archive.canonical.com hardy Release.gpg
Hit http://security.ubuntu.com hardy-security/restricted Sources
Hit http://packages.medibuntu.org hardy Release.gpg
Hit http://security.ubuntu.com hardy-security/main Sources
Hit http://security.ubuntu.com hardy-security/multiverse Sources
Hit http://security.ubuntu.com hardy-security/universe Sources
Ign http://archive.canonical.com hardy/partner Translation-en_AU
Ign http://ppa.launchpad.net hardy Release.gpg
Ign http://packages.medibuntu.org hardy/free Translation-en_AU
Hit http://archive.canonical.com hardy Release
Ign http://ppa.launchpad.net hardy/main Translation-en_AU
Ign http://packages.medibuntu.org hardy/non-free Translation-en_AU
Hit http://archive.canonical.com hardy/partner Packages
Get:1 http://ppa.launchpad.net hardy Release [27.6kB]
Hit http://packages.medibuntu.org hardy Release
Hit http://archive.canonical.com hardy/partner Sources
Ign http://ppa.launchpad.net hardy/main Packages
Hit http://packages.medibuntu.org hardy/free Packages
Ign http://ppa.launchpad.net hardy/main Sources
Hit http://packages.medibuntu.org hardy/non-free Packages
Hit http://ppa.launchpad.net hardy/main Packages
Hit http://ppa.launchpad.net hardy/main Sources
Err http://cn.archive.ubuntu.com hardy Release.gpg
Could not resolve 'cn.archive.ubuntu.com'
Err http://cn.archive.ubuntu.com hardy/universe Translation-en_AU
Could not resolve 'cn.archive.ubuntu.com'
Err http://cn.archive.ubuntu.com hardy/main Translation-en_AU
Could not resolve 'cn.archive.ubuntu.com'
Err http://cn.archive.ubuntu.com hardy/multiverse Translation-en_AU
Could not resolve 'cn.archive.ubuntu.com'
Err http://cn.archive.ubuntu.com hardy-backports Release.gpg
Could not resolve 'cn.archive.ubuntu.com'
Err http://cn.archive.ubuntu.com hardy-backports/main Translation-en_AU
Could not resolve 'cn.archive.ubuntu.com'
Err http://cn.archive.ubuntu.com hardy-backports/restricted Translation-en_AU
Could not resolve 'cn.archive.ubuntu.com'
Err http://cn.archive.ubuntu.com hardy-backports/universe Translation-en_AU
Could not resolve 'cn.archive.ubuntu.com'
Err http://cn.archive.ubuntu.com hardy-backports/multiverse Translation-en_AU
Could not resolve 'cn.archive.ubuntu.com'
Err http://cn.archive.ubuntu.com hardy-updates Release.gpg
Could not resolve 'cn.archive.ubuntu.com'
Err http://cn.archive.ubuntu.com hardy-updates/universe Translation-en_AU
Could not resolve 'cn.archive.ubuntu.com'
Err http://cn.archive.ubuntu.com hardy-updates/main Translation-en_AU
Could not resolve 'cn.archive.ubuntu.com'
Err http://cn.archive.ubuntu.com hardy-updates/multiverse Translation-en_AU
Could not resolve 'cn.archive.ubuntu.com'
Fetched 1B in 40s (0B/s)
Reading package lists... Done
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/hardy/Release.gpg Could not resolve 'cn.archive.ubuntu.com'
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/hardy/universe/i18n/Translation-en_AU.bz2 Could not resolve 'cn.archive.ubuntu.com'
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/hardy/main/i18n/Translation-en_AU.bz2 Could not resolve 'cn.archive.ubuntu.com'
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/hardy/multiverse/i18n/Translation-en_AU.bz2 Could not resolve 'cn.archive.ubuntu.com'
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/hardy-backports/Release.gpg Could not resolve 'cn.archive.ubuntu.com'
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/hardy-backports/main/i18n/Translation-en_AU.bz2 Could not resolve 'cn.archive.ubuntu.com'
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/hardy-backports/restricted/i18n/Translation-en_AU.bz2 Could not resolve 'cn.archive.ubuntu.com'
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/hardy-backports/universe/i18n/Translation-en_AU.bz2 Could not resolve 'cn.archive.ubuntu.com'
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/hardy-backports/multiverse/i18n/Translation-en_AU.bz2 Could not resolve 'cn.archive.ubuntu.com'
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/hardy-updates/Release.gpg Could not resolve 'cn.archive.ubuntu.com'
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/hardy-updates/universe/i18n/Translation-en_AU.bz2 Could not resolve 'cn.archive.ubuntu.com'
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/hardy-updates/main/i18n/Translation-en_AU.bz2 Could not resolve 'cn.archive.ubuntu.com'
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/hardy-updates/multiverse/i18n/Translation-en_AU.bz2 Could not resolve 'cn.archive.ubuntu.com'
W: Failed to fetch cdrom:[Ubuntu-Server 8.04 _Hardy Heron_ - Release i386 (20080423.2)]/dists/hardy/restricted/binary-amd64/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
W: Failed to fetch cdrom:[Ubuntu-Server 8.04 _Hardy Heron_ - Release i386 (20080423.2)]/dists/hardy/main/binary-amd64/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
W: Some index files failed to download, they have been ignored, or old ones used instead.
W: You may want to run apt-get update to correct these problems
dakujem
-
sudo dpkg --configure -a
-
jozo@home:~$ sudo apt-get upgrade
sudo: unable to resolve host home
[sudo] password for jozo:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
jozo@home:~$ sudo dpkg --configure -a
sudo: unable to resolve host home
jozo@home:~$
stale nechce ist
-
Najprv si oprav problém so sudom: Systém > Správa > sieť, v tabe "Názvy počítačov" si zmeň ten svoj na home (bude tam pravdepodobne niečo ako home.<náhodné znaky>, mal by to byť druhý riadok po "localhost".
K problému so synapticom a inštaláciou: pošli sem výpis cat /etc/apt/sources.list
-
v sources prepis vsechny cn.archive na cz.archive a sudo apt-get update, vyres problem se sudo a vse bude v pohode
-
Systém > Správa > sieť-tam mam napisane home...
jozo@home:~$ cat /etc/apt/sources.list
deb cdrom:[Ubuntu-Server 8.04 _Hardy Heron_ - Release i386 (20080423.2)]/ hardy restricted main
deb http://archive.canonical.com/ubuntu hardy partner
deb-src http://archive.canonical.com/ubuntu hardy partner
deb http://cn.archive.ubuntu.com/ubuntu/ hardy universe main multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ hardy universe main multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ hardy-updates universe main multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ hardy-updates universe main multiverse
deb http://security.ubuntu.com/ubuntu hardy-security restricted main multiverse universe
deb-src http://security.ubuntu.com/ubuntu hardy-security restricted main multiverse universe
deb http://ppa.launchpad.net/awn-testing/ubuntu hardy main
deb-src http://ppa.launchpad.net/awn-testing/ubuntu hardy main
-
v sources prepis vsechny cn.archive na cz.archive a sudo apt-get update, vyres problem se sudo a vse bude v pohode---------------------- kde to najdem?
pokial ikona je nad synaptic ikonou tak sa mi odinstalovala aj s nim
-
pouzij tento prikaz:
sudo -s && sed -i 's/cn.archive/cz.archive/g' /etc/apt/sources.list && apt-get update && exit
a pak nainstaluj synaptic :)
-
Synaptic je nainstalovany ale nespusti sa pocitaac ukaze ze pracuje ale potom iba prestane
-
pošli výpisy
ls /home
cat /etc/hosts
-
jozo@home:~$ ls /home
jozo
jozo@home:~$ cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 desktop
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
jozo@home:~$
-
zakaz IPV6 http://forum.ubuntu.cz/index.php?topic=4039.0
-
zakaz IPV6 http://forum.ubuntu.cz/index.php?topic=4039.0
Načo? keď nespôsobuje problémy....
zadaj:
sudo gedit /etc/hosts
a prepíš 2. riadok na 127.0.1.1 home