Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: instalace Synaptic?  (Přečteno 4031 krát)

rayman0

  • Návštěvník
  • Příspěvků: 11
instalace Synaptic?
« kdy: 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
« Poslední změna: 25 Května 2008, 12:05:06 od Anna Taliánová »

hase

  • Závislák
  • ***
  • Příspěvků: 2934
    • www.palenka.org
Re: instalace synaptic????
« Odpověď #1 kdy: 24 Května 2008, 05:56:40 »
sudo dpkg --configure -a
« Poslední změna: 25 Května 2008, 12:05:32 od Anna Taliánová »
AMD 64.bit  6-core mb: M4A89PRO/USB3 , Nvidia GT 520

rayman0

  • Návštěvník
  • Příspěvků: 11
Re: instalace synaptic????
« Odpověď #2 kdy: 24 Května 2008, 06:39:17 »
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
« Poslední změna: 25 Května 2008, 12:05:50 od Anna Taliánová »

menganito

  • Závislák
  • ***
  • Příspěvků: 1728
Re: instalace synaptic????
« Odpověď #3 kdy: 24 Května 2008, 13:12:07 »
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
Kód: [Vybrat]
cat /etc/apt/sources.list

qUAKER

  • Host
Re: instalace synaptic????
« Odpověď #4 kdy: 24 Května 2008, 17:17:47 »
v sources prepis vsechny cn.archive na cz.archive a sudo apt-get update, vyres problem se sudo a vse bude v pohode
« Poslední změna: 25 Května 2008, 12:06:15 od Anna Taliánová »

rayman0

  • Návštěvník
  • Příspěvků: 11
Re: instalace synaptic????
« Odpověď #5 kdy: 25 Května 2008, 04:01:21 »
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
« Poslední změna: 25 Května 2008, 12:07:08 od Anna Taliánová »

rayman0

  • Návštěvník
  • Příspěvků: 11
Re: instalace synaptic????
« Odpověď #6 kdy: 25 Května 2008, 04:06:40 »
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


qUAKER

  • Host
Re: instalace synaptic????
« Odpověď #7 kdy: 25 Května 2008, 09:10:19 »
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 :)
« Poslední změna: 25 Května 2008, 12:07:39 od Anna Taliánová »

rayman0

  • Návštěvník
  • Příspěvků: 11
Re: instalace Synaptic?
« Odpověď #8 kdy: 25 Května 2008, 14:12:59 »
Synaptic je nainstalovany ale nespusti sa pocitaac ukaze ze pracuje ale potom iba prestane

qUAKER

  • Host
Re: instalace Synaptic?
« Odpověď #9 kdy: 25 Května 2008, 17:08:34 »
pošli výpisy

ls /home
cat /etc/hosts

rayman0

  • Návštěvník
  • Příspěvků: 11
Re: instalace Synaptic?
« Odpověď #10 kdy: 26 Května 2008, 03:52:54 »
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:~$


hase

  • Závislák
  • ***
  • Příspěvků: 2934
    • www.palenka.org
Re: instalace Synaptic?
« Odpověď #11 kdy: 26 Května 2008, 08:15:01 »
AMD 64.bit  6-core mb: M4A89PRO/USB3 , Nvidia GT 520

menganito

  • Závislák
  • ***
  • Příspěvků: 1728
Re: instalace Synaptic?
« Odpověď #12 kdy: 26 Května 2008, 09:54:03 »
zakaz IPV6 http://forum.ubuntu.cz/index.php?topic=4039.0

Načo? keď nespôsobuje problémy....

zadaj:
Kód: [Vybrat]
sudo gedit /etc/hosts
a prepíš 2. riadok na
Kód: [Vybrat]
127.0.1.1 home

 

Provoz zaštiťuje spolek OpenAlt.