Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Replacement for Klamav with KDE-4
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Thu Dec 31, 2009 10:47 am    Post subject: Reply with quote

After doing the changes, if you still have problem adding sunrise overlay to layman, try this as root:
Code:

cd /usr/local/portage/layman
svn co svn://overlays.gentoo.org/proj/sunrise/reviewed sunrise

then
Code:

emege -va clamtk

If still it does not work, then we need someone knows to configure your firewall. Since normally you can emerge programs and fetch sources, it must not be the issue, though. Or you can easily create a local overlay to put the clamtk in it, until you solve the layman and portage sync issues.
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
lsegalla
l33t
l33t


Joined: 27 Jun 2007
Posts: 796

PostPosted: Thu Dec 31, 2009 11:55 am    Post subject: Reply with quote

Nowi can do emerge --sync, then i tried to add sunrise and got another error.
Then i tried to rm the dir (but that dir there isn't... the pc still tell me that i need to rm a dir of sunrise)
Then i rm another sunrise dir which is /usr/local/portage/layman/sunrise

Then i did the adding again
Code:
# layman -a sunrise
* Running command "/usr/bin/svn co "svn://overlays.gentoo.org/proj/sunrise/reviewed//" "/usr/local/portage/layman/sunrise""...
svn: Non riesco a connettermi all'host 'overlays.gentoo.org': Connessione rifiutata
* Failed to add overlay "sunrise".
* Error was: Adding the overlay failed! Possible remains of the opration have NOT been removed and may be left at /usr/local/portage/layman/sunrise. Please remove them manually if required.
user8-gentoo luca # layman -a sunrise
* Failed to add overlay "sunrise".
* Error was: Directory /usr/local/portage/layman/sunrise already exists. Will not overwrite its contents!


Finally i did what you explained (still get connection refused)
Code:
# svn co svn://overlays.gentoo.org/proj/sunrise/reviewed sunrise
svn: Non riesco a connettermi all'host 'overlays.gentoo.org': Connessione rifiutata


Some time ago, an IT technician re-configured my hardware firewall deleting a lot of old rules, so i had a lot of various problems. However, as i'm able to write new rules (according to him), i can try if i know what is needed by layman. For example i wasn't able to do an emerge --sync (but emerge-webrsync was working) and after that i've discovered that emerge use the TCP 873 (going OUT) i wrote a new rule and everything worked.

Then I can write a new rule on my firewall, if needed.
Back to top
View user's profile Send private message
lsegalla
l33t
l33t


Joined: 27 Jun 2007
Posts: 796

PostPosted: Thu Dec 31, 2009 12:29 pm    Post subject: Reply with quote

I'm doing a test with my firewall, i've opened all the navigation for diagnostics... :D
It seems that during the operation of layman adding sunrise my ip uses the outgoing TCP port 3690
If i close the new rule i created then i get again that error, so i need to create a new rule.

In fact, after the creation of that rule (outgoing TCP 3690) i get this (layman sunrise was already regularly added during testing of ALL OUTGOING LAN on my firewall)
Code:
# svn co svn://overlays.gentoo.org/proj/sunrise/reviewed sunrise
Estratta revisione 9794.


Finally i can see clamtk
Code:
# emerge -av clamtk

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! All ebuilds that could satisfy "app-antivirus/clamtk" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-antivirus/clamtk-4.22 (masked by: ~x86 keyword)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


Then i can unmask clamtk (using the autounmask tool, which is more fast for me)
Code:
# autounmask app-antivirus/clamtk-4.22

 autounmask version 0.27 (using PortageXS-0.02.09 and portage-2.1.6.13)

 * Using repositories:
     /usr/portage
     /usr/local/portage/layman/sunrise

 * Using package.keywords file: /etc/portage/package.keywords
 * Using package.unmask file: /etc/portage/package.unmask
 * Using package.use file: /etc/portage/package.use

 * Unmasking app-antivirus/clamtk-4.22 and its dependencies.. this might take a while..

 * Added '=app-antivirus/clamtk-4.22 ~x86' to /etc/portage/package.keywords
 * done!


Then i can emerge clamtk
Code:
# emerge -av clamtk

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] perl-core/Digest-MD5-2.39  45 kB [0]
[ebuild  N    ] perl-core/libnet-1.22  USE="-sasl" 67 kB [0]
[ebuild  N    ] dev-perl/HTML-Tagset-3.20  8 kB [0]         
[ebuild  N    ] dev-perl/Text-Glob-0.08  4 kB [0]           
[ebuild  N    ] dev-perl/Number-Compare-0.01  3 kB [0]     
[ebuild  N    ] dev-perl/Net-IP-1.25-r1  26 kB [0]         
[ebuild  N    ] dev-perl/Socket6-0.20  56 kB [0]           
[ebuild  N    ] dev-perl/Sub-Uplevel-0.20.02  18 kB [0]     
[ebuild  N    ] virtual/perl-Digest-MD5-2.39  0 kB [0]     
[ebuild  N    ] dev-perl/HTML-Parser-3.64  USE="-test" 87 kB [0]
[ebuild  N    ] dev-perl/File-Find-Rule-0.30  15 kB [0]         
[ebuild  N    ] virtual/perl-libnet-1.22  0 kB [0]             
[ebuild  N    ] dev-perl/IO-Socket-INET6-2.51  10 kB [0]       
[ebuild  N    ] dev-perl/Test-Exception-0.27  13 kB [0]
[ebuild  N    ] dev-perl/Carp-Clan-5.9  19 kB [0]
[ebuild  N    ] dev-perl/HTML-Tree-3.23  119 kB [0]
[ebuild  N    ] dev-perl/Digest-HMAC-1.01-r1  14 kB [0]
[ebuild  N    ] dev-perl/Net-DNS-0.65  USE="ipv6 -test" 154 kB [0]
[ebuild  N    ] dev-perl/Bit-Vector-6.4  129 kB [0]
[ebuild  N    ] dev-perl/Date-Calc-5.4  202 kB [0]
[ebuild  N    ] dev-perl/Crypt-SSLeay-0.57  121 kB [0]
[ebuild  N    ] dev-perl/libwww-perl-5.831  USE="ssl" 261 kB [0]
[ebuild  N    ] app-antivirus/clamtk-4.22  USE="nls" LINGUAS="it -ar -bg -cs -da -de -el -en_GB -es -fr -gl -he -hr -hu -ja -ko -ms -nb -nl -nn -pl -pt_BR -ro -ru -sk -sl -sv -tr -zh_CN" 318 kB [1]


Perfect... really nice clamtk!!
Thanks a lot!!
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Thu Dec 31, 2009 12:37 pm    Post subject: Reply with quote

lsegalla wrote:

Perfect... really nice clamtk!!
Thanks a lot!!

Glad to hear you got it working. :)
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum