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: aktualizace  (Přečteno 4648 krát)

cuba

  • Návštěvník
  • Příspěvků: 71
aktualizace
« kdy: 29 Června 2007, 20:11:50 »
Ahoj.Při každe aktualizaci mi nahlásí že se vyskytla chyba:

W: Duplicate sources.list entry http://cz.archive.ubuntu.com edgy/main Packages (/var/lib/apt/lists/cz.archive.ubuntu.com_ubuntu_dists_edgy_main_binary-i386_Packages)
W: Duplicate sources.list entry http://cz.archive.ubuntu.com edgy/main Translation-cs (/var/lib/apt/lists/cz.archive.ubuntu.com_ubuntu_dists_edgy_main_i18n_Translation-cs)
W: Duplicate sources.list entry http://cz.archive.ubuntu.com edgy/restricted Packages (/var/lib/apt/lists/cz.archive.ubuntu.com_ubuntu_dists_edgy_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://cz.archive.ubuntu.com edgy/restricted Translation-cs (/var/lib/apt/lists/cz.archive.ubuntu.com_ubuntu_dists_edgy_restricted_i18n_Translation-cs)
W: Duplicate sources.list entry http://cz.archive.ubuntu.com edgy/universe Packages......
. a pokračuje

Nevíte prosím, jak to vyřešit? :)

A ještě jedna věc: Pokud vložím do mailu v evolution obrázek, vždy přijdou jen křížky a obr. se nezobrazí.Lze ho pouze přidat jako přílohu.
 Nevíte co s tím?

Děkuji.
« Poslední změna: 27 Května 2008, 07:41:32 od Anna Taliánová »

Vojtěch Trefný

  • Příspěvků: 9307
  • Don Quijote
aktualizace
« Odpověď #1 kdy: 29 Června 2007, 21:06:18 »
ad aktualizace: Pošlete obsah souboru /etc/apt/sources.list
ad evolution: Není to nějaká antispamová ochrana? (Spamy se docela často rozesílají jako obrázky...)

luisah

  • Závislák
  • ***
  • Příspěvků: 3704
aktualizace
« Odpověď #2 kdy: 29 Června 2007, 21:11:46 »
S tím obrazkem v mailu, mohlo by to být tím, že se zpráva odesílá jako prostý text, pokud ten mail odešlete jako html nebo kombinaci, měl by tam obrázek být. Alespoň tak mě to funguje v Thunderbirdu.
« Poslední změna: 27 Května 2008, 07:42:04 od Anna Taliánová »

cuba

  • Návštěvník
  • Příspěvků: 71
aktualizace
« Odpověď #3 kdy: 29 Června 2007, 21:58:04 »
1) Takže sources list mam prázdný :)
2) No ochrana to asi žádna neni. Mě obrázky od jiných choděj. Obrázek mohu vložit, pokud HTML je povoleno.
Když je vložim, zobrazí se ale pokud je odešlu na muj mail zpět (nebo jinam) už tam jsou jen křížky.
« Poslední změna: 27 Května 2008, 07:42:50 od Anna Taliánová »

cuba

  • Návštěvník
  • Příspěvků: 71
aktualizace
« Odpověď #4 kdy: 29 Června 2007, 22:38:41 »
A ještě jedna věc.Chtěl jsem si nainstalovat program Kastrolog. (http://www.paganlink.org/library/astrology/kastrolog.html)
Chtěl bych předem poděkovat za radu!! Z návodu na ubuntu jsem nic nevyčetl. (jaký je rozdíl mezi tím C source a tím for other distro? A lze použít oboje?)
K čemu slouží příkaz ./configure?
TAKŽE:

1) První možnost-přes alien.Vytvořil deb. balík ale pokud chci spustit tak hlásí:
jimmy@jimmy:~/Desktop/k1$ sudo kastrolog
kastrolog: error while loading shared libraries: libqt.so.1: cannot open shared object file: No such file or directory


2) tak jsem zkusil stáhnout balík tar.gz-ten spodní (for other PC Linux distributions) a podle návodu jsem dal make
a vyhodilo to:
jimmy@jimmy:~/Desktop/k1$ make
make: *** No targets specified and no makefile found. Stop.


3) třetí balík (C source code) - s kterym se to asi ani dělat nemá...vyhodilo to:
jimmy@jimmy:~/Desktop/k2$ make
cd src && make
make[1]: Entering directory `/home/jimmy/Desktop/k2/src'
g++ -I/usr/local/lib/qt/include -I/opt/kde/include -O2 -pipe -o AstroCommand.o -c AstroCommand.cpp
In file included from AstroCommand.h:22,
                 from AstroCommand.cpp:19:
AstroCommandData.h:25:21: error: qdialog.h: No such file or directory
In file included from AstroCommandData.h:26,
                 from AstroCommand.h:22,
                 from AstroCommand.cpp:19:
myLineEdit.h:12:20: error: qlined.h: No such file or directory
In file included from AstroCommand.cpp:20:
AstroWidget.h:9:18: error: drag.h: No such file or directory
AstroWidget.h:10:25: error: qscrollview.h: No such file or directory
AstroWidget.h:11:22: error: qpicture.h: No such file or directory
AstroWidget.h:12:22: error: qpainter.h: No such file or directory
AstroWidget.h:13:23: error: qlineedit.h: No such file or directory
AstroWidget.h:14:21: error: qstring.h: No such file or directory
AstroWidget.h:15:19: error: qlist.h: No such file or directory
AstroWidget.h:16:24: error: kstatusbar.h: No such file or directory
AstroWidget.h:17:22: error: ktoolbar.h: No such file or directory
AstroWidget.h:18:26: error: ktmainwindow.h: No such file or directory
AstroWidget.h:19:25: error: kiconloader.h: No such file or directory
In file included from AstroWidget.h:24,
                 from AstroCommand.cpp:20:
astrolog.h:970:9: error: "not" cannot be used as a macro name as it is an operator in C++
myLineEdit.h:15: error: expected class-name before ‘{’ token
myLineEdit.h:19: error: expected `)' before ‘*’ token
myLineEdit.h:23: error: ‘QFocusEvent’ has not been declared
myLineEdit.h:24: error: ‘QFocusEvent’ has not been declared
AstroCommandData.h:30: error: expected class-name before ‘{’ token
AstroCommandData.h:31: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type
AstroCommandData.h:33: error: expected ‘;’ before ‘public’
AstroCommandData.h:43: error: expected `:' before ‘slots’
AstroCommandData.h:46: error: expected primary-expression before ‘protected’
AstroCommandData.h:46: error: ISO C++ forbids declaration of ‘slots’ with no type
AstroCommandData.h:46: error: expected ‘;’ before ‘protected’
AstroCommand.h:26: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type
AstroCommand.h:28: error: expected ‘;’ before ‘public’
AstroCommand.h:38: error: expected `:' before ‘slots’
AstroCommand.h:40: error: expected primary-expression before ‘void’
AstroCommand.h:40: error: ISO C++ forbids declaration of ‘slots’ with no type
AstroCommand.h:40: error: expected ‘;’ before ‘void’
AstroWidget.h:37: error: variable or field ‘NCheck’ declared void
AstroWidget.h:37: error: ‘QLineEdit’ was not declared in this scope
AstroWidget.h:37: error: expected primary-expression before ‘,’ token
AstroWidget.h:37: error: expected primary-expression before ‘int’
AstroWidget.h:37: error: expected primary-expression before ‘int’
AstroWidget.h:37: error: expected primary-expression before ‘const’
AstroWidget.h:37: error: expected primary-expression before ‘int’
AstroWidget.h:37: error: initializer expression list treated as compound expression
AstroWidget.h:38: error: variable or field ‘FCheck’ declared void
AstroWidget.h:38: error: ‘QLineEdit’ was not declared in this scope
AstroWidget.h:38: error: expected primary-expression before ‘,’ token
AstroWidget.h:38: error: expected primary-expression before ‘double’
AstroWidget.h:38: error: expected primary-expression before ‘double’
AstroWidget.h:38: error: expected primary-expression before ‘const’
AstroWidget.h:38: error: expected primary-expression before ‘double’
AstroWidget.h:38: error: initializer expression list treated as compound expression
AstroWidget.h:42: error: expected template-name before ‘<’ token
AstroWidget.h:42: error: expected `{' before ‘<’ token
AstroWidget.h:42: error: expected unqualified-id before ‘<’ token
AstroWidget.h:54: error: invalid use of undefined type ‘class QStringList’
AstroWidget.h:42: error: forward declaration of ‘class QStringList’
AstroWidget.h:76: error: expected template-name before ‘<’ token
AstroWidget.h:76: error: expected `{' before ‘<’ token
AstroWidget.h:76: error: expected unqualified-id before ‘<’ token
AstroWidget.h:83: error: ISO C++ forbids declaration of ‘mypidList’ with no type
AstroWidget.h: In member function ‘void AstroApp::add(pid_t)’:
AstroWidget.h:71: error: request for member ‘add’ in ‘((AstroApp*)this)->AstroApp::mypidList’, which is of non-class type ‘int’
AstroWidget.h: In member function ‘void AstroApp::killall()’:
AstroWidget.h:72: error: request for member ‘killall’ in ‘((AstroApp*)this)->AstroApp::mypidList’, which is of non-class type ‘int’
AstroWidget.h: At global scope:
AstroWidget.h:93: error: expected class-name before ‘{’ token
AstroWidget.h:95: error: expected `)' before ‘*’ token
AstroWidget.h:100: error: expected class-name before ‘{’ token
AstroWidget.h:102: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type
AstroWidget.h:104: error: expected ‘;’ before ‘public’
AstroWidget.h:107: error: ‘QPainter’ has not been declared
AstroWidget.h:108: error: ISO C++ forbids declaration of ‘QPainter’ with no type
AstroWidget.h:108: error: ‘QPainter’ declared as an ‘inline’ field
AstroWidget.h:108: error: expected ‘;’ before ‘*’ token
AstroWidget.h:109: error: expected `;' before ‘inline’
AstroWidget.h:112: error: ISO C++ forbids declaration of ‘QFont’ with no type
AstroWidget.h:112: error: ‘QFont’ declared as an ‘inline’ field
AstroWidget.h:112: error: expected ‘;’ before ‘*’ token
AstroWidget.h:113: error: expected `;' before ‘void’
AstroWidget.h:113: error: ‘QResizeEvent’ has not been declared
AstroWidget.h:114: error: ‘QKeyEvent’ has not been declared
AstroWidget.h:158: error: expected `:' before ‘slots’
AstroWidget.h:160: error: expected primary-expression before ‘void’
AstroWidget.h:160: error: ISO C++ forbids declaration of ‘slots’ with no type
AstroWidget.h:160: error: expected ‘;’ before ‘void’
AstroWidget.h:168: error: ISO C++ forbids declaration of ‘QPicture’ with no type
AstroWidget.h:168: error: expected ‘;’ before ‘*’ token
AstroWidget.h:169: error: ISO C++ forbids declaration of ‘QPainter’ with no type
AstroWidget.h:169: error: expected ‘;’ before ‘*’ token
AstroWidget.h:170: error: ISO C++ forbids declaration of ‘QPrinter’ with no type
AstroWidget.h:170: error: expected ‘;’ before ‘*’ token
AstroWidget.h:171: error: ISO C++ forbids declaration of ‘QTimer’ with no type
AstroWidget.h:171: error: expected ‘;’ before ‘*’ token
AstroWidget.h:172: error: ISO C++ forbids declaration of ‘QPixmap’ with no type
AstroWidget.h:172: error: expected ‘;’ before ‘*’ token
AstroWidget.h:174: error: ISO C++ forbids declaration of ‘QFont’ with no type
AstroWidget.h:174: error: expected ‘;’ before ‘*’ token
AstroWidget.h:184: error: expected class-name before ‘{’ token
AstroWidget.h:191: error: ISO C++ forbids declaration of ‘KStatusBar’ with no type
AstroWidget.h:191: error: expected ‘;’ before ‘*’ token
AstroWidget.h:192: error: ISO C++ forbids declaration of ‘KToolBar’ with no type
AstroWidget.h:192: error: expected ‘;’ before ‘*’ token
AstroWidget.h:193: error: ISO C++ forbids declaration of ‘KIconLoader’ with no type
AstroWidget.h:193: error: expected ‘;’ before ‘*’ token
AstroWidget.h: In member function ‘void AstroWindow::init()’:
AstroWidget.h:115: error: ‘void AstroWidget::setPaint(char)’ is private
AstroWidget.h:188: error: within this context
AstroWidget.h:188: error: ‘show’ was not declared in this scope
AstroCommand.cpp: At global scope:
AstroCommand.cpp:24: error: expected `)' before ‘*’ token
AstroCommandData.h: In destructor ‘virtual AstroCommand::~AstroCommand()’:
AstroCommandData.h:41: error: ‘AstroCommandData::~AstroCommandData()’ is private
AstroCommand.cpp:31: error: within this context
AstroCommand.cpp: At global scope:
AstroCommand.cpp:35: error: no ‘void AstroCommand::okslot()’ member function declared in class ‘AstroCommand’
AstroCommand.cpp: In member function ‘void AstroCommand::okslot()’:
AstroCommand.cpp:38: error: ‘class myLineEdit’ has no member named ‘text’
make[1]: *** [AstroCommand.o] Error 1
make[1]: Leaving directory `/home/jimmy/Desktop/k2/src'
make: *** [all] Error


Návod:
In the meantime, kastrolog can be installed easily, but you need the gcc 2.95 (or above) C and C++ compilers, the "make" tool and all the KDE and QT 1.4x developpement files. Check if your C and make commands exist, and where your qt and kde directories are.

1) Be root or login as root

2) Unpack the file "kastrolog-5.4-1.1.tar.gz" with the following command:

     tar xvf kastrolog-5.4-1.1.tar.gz

3) Go to the kastrolog directory:

     cd kastrolog

4) Options check. If you don't understand one of the following items,
try to skip it.

 4.1) If your C compiler is not gcc, then perform "export CC=<your
compiler>"
 4.2) If your C++ compiler is not g++, then perform "export CXX=<your
compiler>"
 4.3) If your qt directory is not /usr/local/lib/qt, then "export
QTDIR=<your qt directory>"
 4.4) If your kde directory is not /opt/kde, then "export KDEDIR=<your
kde directory>"
 4.5) If your C and C++ compilation flags are not '-O2 -pipe', then
"export CFLAGS='<your flags>'"

Examples:
    export CC=pgcc
    export KDEDIR=/usr
    export CFLAGS='-O3 -pipe -mpentium'

5) Compile the project:

     make

6) Install the files:

     make install


Co s tím?:)

Díky
« Poslední změna: 27 Května 2008, 07:45:23 od Anna Taliánová »

Martin - ViPEr*CZ*

  • Závislák
  • ***
  • Příspěvků: 3047
aktualizace
« Odpověď #5 kdy: 29 Června 2007, 22:49:52 »
Máš vůbec nainstalovaný qt knihovny??? Myslím, že jak balíček od alienu tak kompilace ti vyhodila to samý ;)
Open source is gold way... Mint 17.2, Debian 8.1 Jessie| Ubuntu Wiki (návody) | Google vyhledávač | Qt4 návody

cuba

  • Návštěvník
  • Příspěvků: 71
aktualizace
« Odpověď #6 kdy: 29 Června 2007, 23:29:40 »
No o tom slyším poprvé...jaké mam nainstalovat?

Martin - ViPEr*CZ*

  • Závislák
  • ***
  • Příspěvků: 3047
aktualizace
« Odpověď #7 kdy: 30 Června 2007, 08:37:42 »
Napsalo Vám to toto:
Kód: [Vybrat]
error while loading shared libraries: libqt.so.1: cannot open shared object file: No such file or directorySpusťte synaptic. Dejte hledat libqt. A nainstalujte ;)
« Poslední změna: 27 Května 2008, 07:45:59 od Anna Taliánová »
Open source is gold way... Mint 17.2, Debian 8.1 Jessie| Ubuntu Wiki (návody) | Google vyhledávač | Qt4 návody

cuba

  • Návštěvník
  • Příspěvků: 71
aktualizace
« Odpověď #8 kdy: 30 Června 2007, 18:42:23 »
Jasně ale pokud zadám libqt, je zde celkem na výběr :)
Naistaloval jsem všechny kde byl znak ubuntu a nic. Tomuto opravdu nerozumím...
« Poslední změna: 27 Května 2008, 07:46:12 od Anna Taliánová »

cuba

  • Návštěvník
  • Příspěvků: 71
aktualizace
« Odpověď #9 kdy: 30 Června 2007, 19:02:21 »
« Poslední změna: 27 Května 2008, 07:46:28 od Anna Taliánová »

 

Provoz zaštiťuje spolek OpenAlt.