Strona 1 z 2

EKG2 z flagą "pi"

: 06 maja 2011, 15:13
autor: Redhead

Kod: Zaznacz cały

# aptitude search ekg2
pi  ekg2                                                                                                           - instant messenger and IRC client for UNIX systems
Flaga p oznacza, że paczka nie jest zainstalowana. Z kolei i oznacza, że jest zainstalowana.
Czemu są dwie opcje przy tej paczce.

Z powodu tego, za każdym razem jak chce zrobic aptitude safe-upgrade, czy cos zainstalowac, aptitude chce usunąc EKG2

Kod: Zaznacz cały

# aptitude safe-upgrade
The following packages will be REMOVED:
  ekg2-core{u} ekg2-dbg{u} ekg2-jabber{u} ekg2-ui-ncurses{u} libgadu3{u}
The following packages will be upgraded:
  libbluray0
The following packages are RECOMMENDED but will NOT be installed:
  libbluray-bdj
1 packages upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
Need to get 79,3 kB of archives. After unpacking 7889 kB will be freed.
Do you want to continue? [Y/n/?]
Po czym mogę znowu zrobic

Kod: Zaznacz cały

aptitude install ekg2
I wszystko działa. I tak w kółko.
Coś nie tak z paczką?

Kod: Zaznacz cały

# uname -a
Linux debian 2.6.38-2-amd64 #1 SMP Thu Apr 7 04:28:07 UTC 2011 x86_64 GNU/Linux
 # cat /etc/apt/sources.list
#

#sid
deb http://ftp.no.debian.org/debian/ sid main non-free contrib
deb-src http://ftp.no.debian.org/debian/ sid main non-free contrib

#testing
deb http://ftp.no.debian.org/debian/ testing main non-free contrib
deb-src http://ftp.no.debian.org/debian/ testing main non-free contrib

#stable
deb http://ftp.no.debian.org/debian/ squeeze main non-free contrib
deb-src http://ftp.no.debian.org/debian/ squeeze main non-free contrib

deb http://security.debian.org/ testing/updates main
deb-src http://security.debian.org/ testing/updates main

#deb http://ftp.no.debian.org/debian/ testing-updates main
#deb-src http://ftp.no.debian.org/debian/ testing-updates main
deb http://www.debian-multimedia.org testing main non-free
#skype only i386
#deb http://download.skype.com/linux/repos/debian/ stable non-fre
 # cat /etc/apt/preferences
Package: *
Pin: release a=squeeze
Pin-Priority: 700

Package: *
Pin: release a=testing
Pin-Priority: 750

Package: *
Pin: release a=sid
Pin-Priority: 650

Package: rtorrent
Pin: version 0.8.6-1
Pin-Priority: 1000
 #


: 06 maja 2011, 15:38
autor: fnmirk
Przedstaw wynik:

Kod: Zaznacz cały

apt-cache policy ekg2

: 06 maja 2011, 15:54
autor: Redhead

Kod: Zaznacz cały

# apt-cache policy ekg2
ekg2:
  Installed: (none)
  Candidate: 1:0.3.1-1
  Version table:
     1:0.3.1-1+b1 0
        500 http://ftp.no.debian.org/debian/ sid/main amd64 Packages
     1:0.3.1-1 0
        750 http://ftp.no.debian.org/debian/ testing/main amd64 Packages
Oczywiście aplikacji non stop używam.

Kod: Zaznacz cały

# aptitude show ekg2
Package: ekg2
New: yes
State: not installed
Version: 1:0.3.1-1
Priority: optional
Section: net
Maintainer: Marcin Owsiany <porridge@debian.org>
Uncompressed Size: 20,5 k
Depends: ekg2-core (= 1:0.3.1-1), ekg2-ui-ncurses (= 1:0.3.1-1), ekg2-jabber (= 1:0.3.1-1)
Recommends: ekg2-dbg
Suggests: ekg2-gnupg, ekg2-scripting-python, ekg2-scripting-perl, ekg2-ui-gtk, ekg2-xosd
Description: instant messenger and IRC client for UNIX systems
 EKG2 is an open source instant messenger program for UNIX systems. The program has a plugin-based structure, and supports multiple protocols, currently Jabber, ICQ, Gadu-Gadu, IRC, RivChat, PolChat, NNTP and RSS. Also a generic
 filesystem-based communication mechanism called "xmsg" is supported.

 The program has many useful features. Here is a list - unless specified they are included in the ekg2-core package.
 * irssi-like ncurses interface, with mouse support [ekg2-ui-ncurses]
 * experimental GTK+ interface [ekg2-ui-gtk]
 * experimental HTTP interface
 * experimental 'remote' interface [ekg2-remote]
 * spell checking [ekg2-ui-ncurses]
 * "remote control" via pipe or socket
 * XOSD support [ekg2-xosd]
 * jogger.pl blog update support
 * a simple CAPTCHA (autoresponder)
 * Python and Perl scripting [ekg2-scripting-python, ekg2-scripting-perl]
 * launching shell commands on certain events
 * encryption support (SIM, GnuPG, ROT13) [ekg2-core, ekg2-gnupg]
 * logging to SQLite, plain text or XML files
 * sending SMs (using an external program such as sms-pl)
 * mail checking

 This is a meta-package which depends on a set of commonly used EKG2 packages.
Homepage: http://ekg2.org/

 #
Not installed. Ciekawe.

Robiłem wielokrotnie

Kod: Zaznacz cały

aptitude update && aptitude safe-upgrade && aptitude install ekg2
i nie ma żadnych błędów.

Kod: Zaznacz cały

# aptitude safe-upgrade
The following packages will be REMOVED:
  ekg2-core{u} ekg2-dbg{u} ekg2-jabber{u} ekg2-ui-ncurses{u} libgadu3{u}
The following packages will be upgraded:
  libbluray0
The following packages are RECOMMENDED but will NOT be installed:
  libbluray-bdj
1 packages upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
Need to get 79,3 kB of archives. After unpacking 7889 kB will be freed.
Do you want to continue? [Y/n/?] Y
Get:1 http://ftp.no.debian.org/debian/ sid/main libbluray0 amd64 0.2~git20110427.8b86664-1 [79,3 kB]
Fetched 79,3 kB in 0s (385 kB/s)
Reading changelogs... Done
(Reading database ... 123939 files and directories currently installed.)
Removing ekg2-jabber ...
Removing ekg2-dbg ...
Removing ekg2-core ...
Removing ekg2-ui-ncurses ...
Removing libgadu3 ...
Processing triggers for man-db ...
Processing triggers for menu ...
(Reading database ... 123693 files and directories currently installed.)
Preparing to replace libbluray0 0.2~git20110126-1.1 (using .../libbluray0_0.2~git20110427.8b86664-1_amd64.deb) ...
Unpacking replacement libbluray0 ...
Setting up libbluray0 (0.2~git20110427.8b86664-1) ...

Current status: 0 updates [-1].
 # aptitude install ekg2
The following NEW packages will be installed:
  ekg2 ekg2-core{a} ekg2-dbg{a} ekg2-jabber{a} ekg2-ui-ncurses{a} libgadu3{a}
0 packages upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2569 kB of archives. After unpacking 7930 kB will be used.
Do you want to continue? [Y/n/?] y
Selecting previously deselected package libgadu3.
(Reading database ... 123692 files and directories currently installed.)
Unpacking libgadu3 (from .../libgadu3_1%3a1.10.1-1_amd64.deb) ...
Selecting previously deselected package ekg2-core.
Unpacking ekg2-core (from .../ekg2-core_1%3a0.3.1-1_amd64.deb) ...
Selecting previously deselected package ekg2-ui-ncurses.
Unpacking ekg2-ui-ncurses (from .../ekg2-ui-ncurses_1%3a0.3.1-1_amd64.deb) ...
Selecting previously deselected package ekg2-jabber.
Unpacking ekg2-jabber (from .../ekg2-jabber_1%3a0.3.1-1_amd64.deb) ...
Selecting previously deselected package ekg2.
Unpacking ekg2 (from .../ekg2_1%3a0.3.1-1_amd64.deb) ...
Selecting previously deselected package ekg2-dbg.
Unpacking ekg2-dbg (from .../ekg2-dbg_1%3a0.3.1-1_amd64.deb) ...
(Noting disappearance of ekg2, which has been completely replaced.)
Processing triggers for menu ...
Processing triggers for man-db ...
Setting up libgadu3 (1:1.10.1-1) ...
Setting up ekg2-core (1:0.3.1-1) ...
Setting up ekg2-ui-ncurses (1:0.3.1-1) ...
Setting up ekg2-jabber (1:0.3.1-1) ...
Setting up ekg2-dbg (1:0.3.1-1) ...
Processing triggers for menu ...

 # aptitude safe-upgrade
The following packages will be REMOVED:
  ekg2-core{u} ekg2-dbg{u} ekg2-jabber{u} ekg2-ui-ncurses{u} libgadu3{u}
0 packages upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 7909 kB will be freed.
Do you want to continue? [Y/n/?] n
Abort.
 #

: 06 maja 2011, 16:59
autor: fnmirk
Spróbuj usunąć aplikację z opcją ,,purge'' i ponownie zainstaluj.

: 06 maja 2011, 17:19
autor: Redhead
Próbowałem juz tego.

Kod: Zaznacz cały

# aptitude purge ekg2-core ekg2                                  
# aptitude search ekg2
p   ekg2                                                                                                           - instant messenger and IRC client for UNIX systems                                                                        
i   ekg2-api-docs                                                                                                  - instant messenger and IRC client for UNIX systems - API documentation                                                    
p   ekg2-core                                                                                                      - instant messenger and IRC client for UNIX systems - main program                                                         
p   ekg2-dbg                                                                                                       - instant messenger and IRC client for UNIX systems - debugging symbols                                                    
p   ekg2-gnupg                                                                                                     - instant messenger and IRC client for UNIX systems - GnuPG                                                                
p   ekg2-jabber                                                                                                    - instant messenger and IRC client for UNIX systems - Jabber/XMPP                                                          
p   ekg2-remote                                                                                                    - instant messenger and IRC client for UNIX systems - remote interface                                                     
p   ekg2-scripting-perl                                                                                            - instant messenger and IRC client for UNIX systems - Perl scripting                                                       
p   ekg2-scripting-python                                                                                          - instant messenger and IRC client for UNIX systems - Python scripting                                                     
p   ekg2-ui-gtk                                                                                                    - instant messenger and IRC client for UNIX systems - GTK+ interface                                                       
p   ekg2-ui-ncurses                                                                                                - instant messenger and IRC client for UNIX systems - ncurses interface                                                    
p   ekg2-xosd                                                                                                      - instant messenger and IRC client for UNIX systems - X OSD                                                                
 # aptitude install ekg2
The following NEW packages will be installed:
  ekg2 ekg2-core{a} ekg2-dbg{a} ekg2-jabber{a} ekg2-ui-ncurses{a} libgadu3{a} 
0 packages upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2569 kB of archives. After unpacking 7930 kB will be used.
Do you want to continue? [Y/n/?] y
Selecting previously deselected package libgadu3.
(Reading database ... 123692 files and directories currently installed.)
Unpacking libgadu3 (from .../libgadu3_1%3a1.10.1-1_amd64.deb) ...
Selecting previously deselected package ekg2-core.
Unpacking ekg2-core (from .../ekg2-core_1%3a0.3.1-1_amd64.deb) ...
Selecting previously deselected package ekg2-ui-ncurses.
Unpacking ekg2-ui-ncurses (from .../ekg2-ui-ncurses_1%3a0.3.1-1_amd64.deb) ...
Selecting previously deselected package ekg2-jabber.
Unpacking ekg2-jabber (from .../ekg2-jabber_1%3a0.3.1-1_amd64.deb) ...
Selecting previously deselected package ekg2.
Unpacking ekg2 (from .../ekg2_1%3a0.3.1-1_amd64.deb) ...
Selecting previously deselected package ekg2-dbg.
Unpacking ekg2-dbg (from .../ekg2-dbg_1%3a0.3.1-1_amd64.deb) ...
(Noting disappearance of ekg2, which has been completely replaced.)
Processing triggers for menu ...
Processing triggers for man-db ...
Setting up libgadu3 (1:1.10.1-1) ...
Setting up ekg2-core (1:0.3.1-1) ...
Setting up ekg2-ui-ncurses (1:0.3.1-1) ...
Setting up ekg2-jabber (1:0.3.1-1) ...
Setting up ekg2-dbg (1:0.3.1-1) ...
Processing triggers for menu ...
                                         
 # aptitude safe-upgrade 
The following packages will be REMOVED:  
  ekg2-core{u} ekg2-dbg{u} ekg2-jabber{u} ekg2-ui-ncurses{u} libgadu3{u} 
0 packages upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 7909 kB will be freed.
Do you want to continue? [Y/n/?] n
Abort.
 # 

Kod: Zaznacz cały

$ rm -rf .ekg2/

: 06 maja 2011, 18:11
autor: fnmirk
Może wymuś wersję i spróbuj system zmusić do jej zatrzymania.

: 06 maja 2011, 18:21
autor: Redhead
Robiłem to w /etc/apt/preferences. Tak samo jak mam to z rtorrentem. Jednak dalej nic nie daje.

Kod: Zaznacz cały

Package: rtorrent
Pin: version 0.8.6-1
Pin-Priority: 1000
Coś mu sie zacieło :)

: 06 maja 2011, 18:26
autor: fnmirk
Zatrzymaj wersję pakietu z poziomu instalacji. W aptitude jest to opcja ,,hold''. Musisz sprawdzić bo nie używam aptitude.

: 06 maja 2011, 19:29
autor: Redhead
Wychodzi na to, że ekg2 nie ma w wersji testowej. Jest jednakże w Sidzie
Jako, że miałem apt-pinning zrobiony na wszystkie wersje z najwyższym priorytetem na testową, to to się wykluczało to. Jednak nie wiem czemu jak /etc/apt/preference trzyma mi wersje rtorrenta z wersji stabilnej, a nie chce trzyma ekg2 z Sida.
Chyba nie zamieszałem?

: 06 maja 2011, 19:52
autor: fnmirk
Przedstaw:

Kod: Zaznacz cały

apt-cache policy
Jaką masz domyślną wersję systemu?