Portál AbcLinuxu, 10. května 2025 03:17

Dotaz: apt-get nefunguje. chyba

27.12.2006 03:32 Jackrash
apt-get nefunguje. chyba
Přečteno: 708×
Odpovědět | Admin
ahoj, moc vas prosim. potřebuju pomoc:

Reading package lists... Done
Building dependency tree... Done
valknut is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 410 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "cs_CZ:cs:en_GB:en",
        LC_ALL = (unset),
        LANG = "cs_CZ.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up irm (1.5.3.1-1) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "cs_CZ:cs:en_GB:en",
        LC_ALL = (unset),
        LANG = "cs_CZ.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "cs_CZ:cs:en_GB:en",
        LC_ALL = (unset),
        LANG = "cs_CZ.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "cs_CZ:cs:en_GB:en",
        LC_ALL = (unset),
        LANG = "cs_CZ.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "cs_CZ:cs:en_GB:en",
        LC_ALL = (unset),
        LANG = "cs_CZ.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
There was an error creating the MySQL database: Error when trying to connect to the mysql database.
    This error can occur if you have no database to connect to, or
    if the password was incorrect.
        use: dpkg-reconfigure -plow packagename to reconfigure.
dpkg: error processing irm (--configure):
 subprocess post-installation script returned error exit status 5
Errors were encountered while processing:
 irm
E: Sub-process /usr/bin/dpkg returned an error code (1)
jackrash@jackrash-desktop:~$
Nástroje: Začni sledovat (1) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

27.12.2006 08:21 Messa | skóre: 39 | blog: Messa
Rozbalit Rozbalit vše Re: apt-get nefunguje. chyba
Odpovědět | | Sbalit | Link | Blokovat | Admin
There was an error creating the MySQL database:
    Error when trying to connect to the mysql database.
    This error can occur if you have no database to connect to, or
    if the password was incorrect.
        use: dpkg-reconfigure -plow packagename to reconfigure.
Zkusil bych něco udělat s tou databází. Mělo by stačit ji pouze zapnout, Debian v ní obyčejně má speciálního uživatele pro správu.
27.12.2006 08:51 hans2
Rozbalit Rozbalit vše Re: apt-get nefunguje. chyba
Odpovědět | | Sbalit | Link | Blokovat | Admin
IMHO, bych zkusil nastavit balik locales. Takhle dpkg --configure locales, jestli nepujde tak reinstall baliku.
28.12.2006 02:25 Jackrash
Rozbalit Rozbalit vše Re: apt-get nefunguje. chyba
jackrash@jackrash-desktop:~$ sudo dpkg --configure locales
dpkg: error processing locales (--configure):
 package locales is already installed and configured
Errors were encountered while processing:
 locales
jackrash@jackrash-desktop:~$     
28.12.2006 03:38 @pretorian | skóre: 14 | blog: @pretorianův blog
Rozbalit Rozbalit vše Re: apt-get nefunguje. chyba
mel jsem kdysi podobny problem s jinym balikem a pomohlo mi toto nelogicke reseni, treba vam to taktez pomuze..
apt-get remove locales, cd /var/cache/apt/archives/, dpkg -i locales-xxx.deb
V pozadí každého velkého majetku je zločin.
28.12.2006 11:39 Jackrash
Rozbalit Rozbalit vše Re: apt-get nefunguje. chyba
napsalo to že locales bylo odstraněno. ale nic vic :(

asi si budu muset udělat zalohu a přeinstalovat linux :(

nejhorší je že mam Kubuntu live cd. a pak sem musel stahnout 4.5GB aktualizací.

neexistuje nějakej přikaz tovarniho nastavení? že bych nemusel nic zalohovat.. a jen by se přeinstaloval linux??
28.12.2006 11:44 Messa | skóre: 39 | blog: Messa
Rozbalit Rozbalit vše Re: apt-get nefunguje. chyba
Vždyť to je správně. Jestli mermomocí chcete něco dělat s locales, tak dpkg-reconfigure locales, ale spíš bych vám doporučoval se podívat na tu databázi. (Jestli instalujete irm, jak se lze z té hlášky dočíst, tak ten asi opravdu bude nějakou databázi potřebovat, když je to webová aplikace.)

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.