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 OpenOffice.org v Synapticu - problémy se závislostmi  (Přečteno 2433 krát)

josef_m

  • Host
Zdravím,
instaloval jsem si LibreOffice, potřeboval bych teď kvůli jedné věci zpět na OpenOffice.org. Když v Synapticu zvolím balík např. openoffice.org-core, tak mi to hlásí, že chce odinstalovat LibreOffice (OK, to beru, i když je to otrava), pak mi to vypíše, že vybraný balík je závislý na dalších dvou, jenže po odkliknutí té hlášky se openoffice.org-core odznačí, takže vlastně nemůžu označit ty další dva. Zdá se mi, že při instalaci programu by si měl Synaptic závislé balíčky označit a instalovat (po odsouhlasení) automaticky?
Jak tedy nainstaluji zpět OpenOffice.org?

daysleeper

  • Stálý člen
  • **
  • Příspěvků: 1206
Re: instalace OpenOffice.org v Synapticu - problémy se závislostmi
« Odpověď #1 kdy: 07 Března 2011, 19:53:58 »
jsi schopen tu dat vypis z terminalu? (je to prikaz k vypisu (-s), nic neinstaluje ani nemaze)
Kód: [Vybrat]
apt-get -s install openoffice.org

josef_m

  • Host
Re: instalace OpenOffice.org v Synapticu - problémy se závislostmi
« Odpověď #2 kdy: 07 Března 2011, 20:06:36 »
dodávám, že jsem mezitím odinstaloval LibreOffice přes Synaptic ...

požadovaný výpis:

Kód: [Vybrat]
josef@josef:~$ apt-get -s install openoffice.org
NOTE: This is only a simulation!
      apt-get needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Čtu seznamy balíků... Hotovo
Vytvářím strom závislostí       
Čtu stavové informace... Hotovo
Některé balíky nemohly být instalovány. To může znamenat, že požadujete
nemožnou situaci, nebo, pokud používáte nestabilní distribuci, že
vyžadované balíky ještě nebyly vytvořeny nebo přesunuty z Příchozí fronty.
Následující informace vám mohou pomoci vyřešit tuto situaci:

Následující balíky mají nesplněné závislosti:
 openoffice.org : Závisí na: openoffice.org-core (= 1:3.2.1-7ubuntu1.1) ale nebude se instalovat
                  Závisí na: openoffice.org-writer ale nebude se instalovat
                  Závisí na: openoffice.org-calc ale nebude se instalovat
                  Závisí na: openoffice.org-impress ale nebude se instalovat
                  Závisí na: openoffice.org-draw ale nebude se instalovat
                  Závisí na: openoffice.org-math ale nebude se instalovat
                  Závisí na: openoffice.org-base ale nebude se instalovat
                  Závisí na: openoffice.org-report-builder-bin ale nebude se instalovat
                  Závisí na: openoffice.org-officebean ale nebude se instalovat
                  Závisí na: openoffice.org-filter-mobiledev ale nebude se instalovat
                  Závisí na: openoffice.org-java-common (>= 1:3.2.1~) ale nebude se instalovat
                  Doporučuje: openoffice.org-filter-binfilter ale nebude se instalovat
E: Poškozené balíky
josef@josef:~$

daysleeper

  • Stálý člen
  • **
  • Příspěvků: 1206
Re: instalace OpenOffice.org v Synapticu - problémy se závislostmi
« Odpověď #3 kdy: 07 Března 2011, 20:19:31 »
co mas jeste v /etc/apt/sources.list? co mas za ubuntu?

josef_m

  • Host
Re: instalace OpenOffice.org v Synapticu - problémy se závislostmi
« Odpověď #4 kdy: 07 Března 2011, 20:27:57 »
sources.list:

Kód: [Vybrat]
# deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://cz.archive.ubuntu.com/ubuntu/ maverick main restricted
deb-src http://cz.archive.ubuntu.com/ubuntu/ maverick main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://cz.archive.ubuntu.com/ubuntu/ maverick-updates main restricted
deb-src http://cz.archive.ubuntu.com/ubuntu/ maverick-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://cz.archive.ubuntu.com/ubuntu/ maverick universe
deb-src http://cz.archive.ubuntu.com/ubuntu/ maverick universe
deb http://cz.archive.ubuntu.com/ubuntu/ maverick-updates universe
deb-src http://cz.archive.ubuntu.com/ubuntu/ maverick-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://cz.archive.ubuntu.com/ubuntu/ maverick multiverse
deb-src http://cz.archive.ubuntu.com/ubuntu/ maverick multiverse
deb http://cz.archive.ubuntu.com/ubuntu/ maverick-updates multiverse
deb-src http://cz.archive.ubuntu.com/ubuntu/ maverick-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://cz.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
# deb-src http://cz.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu maverick partner
# deb-src http://archive.canonical.com/ubuntu maverick partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu maverick main
deb-src http://extras.ubuntu.com/ubuntu maverick main

deb http://security.ubuntu.com/ubuntu maverick-security main restricted
deb-src http://security.ubuntu.com/ubuntu maverick-security main restricted
deb http://security.ubuntu.com/ubuntu maverick-security universe
deb-src http://security.ubuntu.com/ubuntu maverick-security universe
deb http://security.ubuntu.com/ubuntu maverick-security multiverse
deb-src http://security.ubuntu.com/ubuntu maverick-security multiverse

Ubuntu 10.10, jádro 2.6.35-24

daysleeper

  • Stálý člen
  • **
  • Příspěvků: 1206
Re: instalace OpenOffice.org v Synapticu - problémy se závislostmi
« Odpověď #5 kdy: 07 Března 2011, 21:22:12 »
jeste
Kód: [Vybrat]
apt-cache policy openoffice.org-core

josef_m

  • Host
Re: instalace OpenOffice.org v Synapticu - problémy se závislostmi
« Odpověď #6 kdy: 08 Března 2011, 07:38:18 »
Kód: [Vybrat]
josef@josef:~$ apt-cache policy openoffice.org-core
openoffice.org-core:
  Instalovaná verze: (žádná)
  Kandidát:          1:3.2.1-7ubuntu1.1
  Tabulka verzí:
     1:3.2.1-7ubuntu1.1 0
        500 http://cz.archive.ubuntu.com/ubuntu/ maverick-updates/main i386 Packages
        500 http://security.ubuntu.com/ubuntu/ maverick-security/main i386 Packages
     1:3.2.1-7ubuntu1 0
        500 http://cz.archive.ubuntu.com/ubuntu/ maverick/main i386 Packages

daysleeper

  • Stálý člen
  • **
  • Příspěvků: 1206
Re: instalace OpenOffice.org v Synapticu - problémy se závislostmi
« Odpověď #7 kdy: 08 Března 2011, 09:54:54 »
nemels predtim "jen" problem s pripojenim? zkusil bys to nainstalovat rucne a dat tu vypis?
Kód: [Vybrat]
LANG=en_US.utf8 sudo apt-get install openoffice.org

josef_m

  • Host
Re: instalace OpenOffice.org v Synapticu - problémy se závislostmi
« Odpověď #8 kdy: 08 Března 2011, 14:41:59 »
žel instalace neklapla, jestli je problém s připojením netuším, resp. teď jsem online ...

a když bych to chtěl česky, tak bude ten příkaz začínat "LANG=cs_CZ.utf8 ..."?

Výpis:
Kód: [Vybrat]
josef@josef:~$ LANG=en_US.utf8 sudo apt-get install openoffice.org
[sudo] password for josef:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 openoffice.org : Depends: openoffice.org-core (= 1:3.2.1-7ubuntu1.1) but it is not going to be installed
                  Depends: openoffice.org-writer but it is not going to be installed
                  Depends: openoffice.org-calc but it is not going to be installed
                  Depends: openoffice.org-impress but it is not going to be installed
                  Depends: openoffice.org-draw but it is not going to be installed
                  Depends: openoffice.org-math but it is not going to be installed
                  Depends: openoffice.org-base but it is not going to be installed
                  Depends: openoffice.org-report-builder-bin but it is not going to be installed
                  Depends: openoffice.org-officebean but it is not going to be installed
                  Depends: openoffice.org-filter-mobiledev but it is not going to be installed
                  Depends: openoffice.org-java-common (>= 1:3.2.1~) but it is not going to be installed
                  Recommends: openoffice.org-filter-binfilter but it is not going to be installed
E: Broken packages

daysleeper

  • Stálý člen
  • **
  • Příspěvků: 1206
Re: instalace OpenOffice.org v Synapticu - problémy se závislostmi
« Odpověď #9 kdy: 08 Března 2011, 20:34:34 »
zkusis automatickou opravu?
Kód: [Vybrat]
sudo /usr/share/recovery-mode/options/dpkg
mas neco v adresari /etc/apt/preferences.d?

a když bych to chtěl česky, tak bude ten příkaz začínat "LANG=cs_CZ.utf8 ..."?
proc to proste nezkusis?  ;)
« Poslední změna: 08 Března 2011, 20:36:20 od daysleeper »

josef_m

  • Host
Re: instalace OpenOffice.org v Synapticu - problémy se závislostmi
« Odpověď #10 kdy: 08 Března 2011, 21:37:06 »
"automaticka oprava" provedena, instalace OOo stale konci chybovou hlaskou (napr. v Centru softwaru):
Kód: [Vybrat]
Závislosti balíku nemohly být vyřešeny
Tato chyba mohla být způsobena požqadovanými dodatečnými balíky, které chybí nebo nejsou instalovatelné. Dále může být konflikt mezi balíky, u kterých není povolena instalace ve stejnou dobu.
a
Kód: [Vybrat]
Položky nelze nainstalovat nebo odstranit, dokud nebude katalog balíků opraven. Chcete jej nyní opravit?
Jakmile Správce aktualizací dokončí opravy, můžete jej zavřít a vrátit se do obchodu.

adresar "/etc/apt/preferences.d" neobsahuje nic, tedy Nautilus v nem nic nezobrazuje, ani skryte soubory

daysleeper

  • Stálý člen
  • **
  • Příspěvků: 1206
Re: instalace OpenOffice.org v Synapticu - problémy se závislostmi
« Odpověď #11 kdy: 08 Března 2011, 21:50:52 »
potreboval bych videt, co to vypisuje
Kód: [Vybrat]
sudo /usr/share/recovery-mode/options/dpkg

josef_m

  • Host
Re: instalace OpenOffice.org v Synapticu - problémy se závislostmi
« Odpověď #12 kdy: 09 Března 2011, 07:27:33 »
výpis:

Kód: [Vybrat]
josef@josef:~$ sudo /usr/share/recovery-mode/options/dpkg
[sudo] password for josef:
rm: nelze odstranit „/var/lib/apt/lists/partial/*“: Adresář nebo soubor neexistuje
rm: nelze odstranit „/var/cache/apt/archives/partial/*“: Adresář nebo soubor neexistuje
Cíl http://cz.archive.ubuntu.com maverick Release.gpg
Cíl http://cz.archive.ubuntu.com/ubuntu/ maverick/main Translation-cs         
Ign http://cz.archive.ubuntu.com/ubuntu/ maverick/main Translation-cs_CZ       
Ign http://cz.archive.ubuntu.com/ubuntu/ maverick/main Translation-en         
Cíl http://cz.archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-cs   
Ign http://cz.archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-cs_CZ
Ign http://cz.archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en   
Cíl http://cz.archive.ubuntu.com/ubuntu/ maverick/restricted Translation-cs   
Ign http://cz.archive.ubuntu.com/ubuntu/ maverick/restricted Translation-cs_CZ
Ign http://cz.archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en   
Cíl http://cz.archive.ubuntu.com/ubuntu/ maverick/universe Translation-cs     
Ign http://cz.archive.ubuntu.com/ubuntu/ maverick/universe Translation-cs_CZ   
Ign http://cz.archive.ubuntu.com/ubuntu/ maverick/universe Translation-en     
Cíl http://cz.archive.ubuntu.com maverick-updates Release.gpg                 
Ign http://cz.archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-cs 
Ign http://cz.archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-cs_CZ
Ign http://cz.archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-en 
Ign http://cz.archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-cs
Ign http://cz.archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-cs_CZ
Ign http://cz.archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-en
Ign http://cz.archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-cs
Ign http://cz.archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-cs_CZ
Mám:1 http://extras.ubuntu.com maverick Release.gpg [72B]                     
Ign http://extras.ubuntu.com/ubuntu/ maverick/main Translation-cs             
Ign http://cz.archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-en
Ign http://cz.archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-cs
Ign http://cz.archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-cs_CZ
Ign http://cz.archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-en
Cíl http://ppa.launchpad.net maverick Release.gpg                             
Ign http://ppa.launchpad.net/ailurus/ppa/ubuntu/ maverick/main Translation-cs 
Cíl http://cz.archive.ubuntu.com maverick Release                             
Cíl http://cz.archive.ubuntu.com maverick-updates Release                     
Ign http://ppa.launchpad.net/ailurus/ppa/ubuntu/ maverick/main Translation-cs_CZ
Cíl http://security.ubuntu.com maverick-security Release.gpg                   
Ign http://security.ubuntu.com/ubuntu/ maverick-security/main Translation-cs   
Ign http://security.ubuntu.com/ubuntu/ maverick-security/main Translation-cs_CZ
Cíl http://archive.canonical.com maverick Release.gpg                         
Ign http://archive.canonical.com/ubuntu/ maverick/partner Translation-cs       
Ign http://extras.ubuntu.com/ubuntu/ maverick/main Translation-cs_CZ           
Ign http://extras.ubuntu.com/ubuntu/ maverick/main Translation-en             
Cíl http://extras.ubuntu.com maverick Release                                 
Ign http://ppa.launchpad.net/ailurus/ppa/ubuntu/ maverick/main Translation-en 
Cíl http://ppa.launchpad.net maverick Release.gpg                             
Ign http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ maverick/main Translation-cs
Ign http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ maverick/main Translation-cs_CZ
Ign http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ maverick/main Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-security/main Translation-en   
Ign http://security.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-cs
Ign http://security.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-cs_CZ
Ign http://security.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-security/restricted Translation-cs
Ign http://security.ubuntu.com/ubuntu/ maverick-security/restricted Translation-cs_CZ
Ign http://security.ubuntu.com/ubuntu/ maverick-security/restricted Translation-en
Cíl http://ppa.launchpad.net maverick Release                                 
Ign http://archive.canonical.com/ubuntu/ maverick/partner Translation-cs_CZ   
Ign http://archive.canonical.com/ubuntu/ maverick/partner Translation-en       
Ign http://security.ubuntu.com/ubuntu/ maverick-security/universe Translation-cs
Ign http://security.ubuntu.com/ubuntu/ maverick-security/universe Translation-cs_CZ
Cíl http://archive.canonical.com maverick Release                             
Ign http://security.ubuntu.com/ubuntu/ maverick-security/universe Translation-en
Cíl http://ppa.launchpad.net maverick Release                         
Cíl http://security.ubuntu.com maverick-security Release               
Cíl http://cz.archive.ubuntu.com maverick/main i386 Packages
Cíl http://cz.archive.ubuntu.com maverick/restricted i386 Packages
Cíl http://cz.archive.ubuntu.com maverick/multiverse i386 Packages
Cíl http://cz.archive.ubuntu.com maverick/universe i386 Packages
Cíl http://cz.archive.ubuntu.com maverick-updates/main i386 Packages
Cíl http://cz.archive.ubuntu.com maverick-updates/restricted i386 Packages
Cíl http://cz.archive.ubuntu.com maverick-updates/multiverse i386 Packages
Cíl http://cz.archive.ubuntu.com maverick-updates/universe i386 Packages
Cíl http://extras.ubuntu.com maverick/main i386 Packages
Cíl http://ppa.launchpad.net maverick/main i386 Packages
Cíl http://archive.canonical.com maverick/partner i386 Packages
Cíl http://ppa.launchpad.net maverick/main Sources
Cíl http://ppa.launchpad.net maverick/main i386 Packages
Cíl http://security.ubuntu.com maverick-security/main i386 Packages
Cíl http://security.ubuntu.com maverick-security/restricted i386 Packages
Cíl http://security.ubuntu.com maverick-security/multiverse i386 Packages
Cíl http://security.ubuntu.com maverick-security/universe i386 Packages
Staženo 72B za 0s (80B/s)
Čtu seznamy balíků... Hotovo
Čtu seznamy balíků... Hotovo
Vytvářím strom závislostí       
Čtu stavové informace... Hotovo
0 aktualizováno, 0 nově instalováno, 0 k odstranění a 0 neaktualizováno.
Čtu seznamy balíků... Hotovo
Vytvářím strom závislostí       
Čtu stavové informace... Hotovo
Propočítávám aktualizaci... Hotovo
0 aktualizováno, 0 nově instalováno, 0 k odstranění a 0 neaktualizováno.

Dokončeno, stiskněte prosím ENTER

josef@josef:~$

daysleeper

  • Stálý člen
  • **
  • Příspěvků: 1206
Re: instalace OpenOffice.org v Synapticu - problémy se závislostmi
« Odpověď #13 kdy: 09 Března 2011, 11:42:52 »
na zkousku zrus vsechny externi repozitare (http://ppa.launchpad.net), pak
Kód: [Vybrat]
sudo apt-get update
sudo apt-get install openoffice.org
http://wiki.ubuntu.cz/P%C5%99id%C3%A1v%C3%A1n%C3%AD%20zdroj%C5%AF#Neofici.2BAOE-ln.2BAO0_zdroje

josef_m

  • Host
díky za trpělivost a pomoc, nakonec to klaplo

- deaktivoval jsem externí zdroje
- instalace OOo bez problémů, přes Synaptic jsem si tam ještě přidal češtinu a vše je zase v pořádku, fakt dík :-)

 

Provoz zaštiťuje spolek OpenAlt.