Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Some way to protect packages from --depclean?
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ferreirafm
Guru
Guru


Joined: 28 Jul 2005
Posts: 487
Location: Sao Paulo, Brazil

PostPosted: Thu Aug 30, 2012 5:57 pm    Post subject: Reply with quote

Ok John,
I understood that there isn't such a command to do that. Other thing, is there a emerge option to remove a package from world without unmerge it? I don't want to edit world manually! I'm asking because I have some masked packages which I want to keep and never update them anymore. However, when I issue "emptytree", emerge complains:
Code:
 !!! All ebuilds that could satisfy "sci-visualization/gnuplot" have been masked.
!!! One of the following masked packages is required to complete your request:
- sci-visualization/gnuplot-4.6.0::gentoo (masked by: package.mask, ~amd64 keyword)
- sci-visualization/gnuplot-4.5.9999::science (masked by: package.mask, ~amd64 keyword)
- sci-visualization/gnuplot-4.4.9999::science (masked by: package.mask, ~amd64 keyword)
- sci-visualization/gnuplot-4.4.4-r1::gentoo (masked by: package.mask)

(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


!!! All ebuilds that could satisfy "sci-libs/scikits_statsmodels" have been masked.
!!! One of the following masked packages is required to complete your request:
- sci-libs/scikits_statsmodels-0.4.3::gentoo (masked by: ~amd64 keyword)
- sci-libs/scikits_statsmodels-0.4.0::gentoo (masked by: ~amd64 keyword)

(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


emerge: there are no ebuilds to satisfy "sys-kernel/gentoo-sources:2.6.36-r8".
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])

!!! All ebuilds that could satisfy "net-im/skype" have been masked.
!!! One of the following masked packages is required to complete your request:
- net-im/skype-4.0.0.8-r1::gentoo (masked by: ~amd64 keyword)
- net-im/skype-2.2.0.35-r99::gentoo (masked by: ~amd64 keyword)

(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook

So, I've unsuccessfully tried the use emerge option "noreplace" and "deselect".
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Thu Aug 30, 2012 6:14 pm    Post subject: Reply with quote

Yep. That would be
Code:
emerge --deselect packagename
:wink: You already found it.

The way to solve the problem (so to speak) is to move the ebuilds to your local overlay. Otherwise, Portage will continue to complain. Right now, the ebuilds have been removed from the Portage tree, which is where the, "There are no ebuilds to satisfy...," message is coming from. Give Portage the ebuilds and it'll stop complaining.

On further look at your error messages, something else is going on. I think you've got some manually masked packages there. Did you intend to mask the current stable versions? Could you look in /etc/portage/package.mask for things you might not want?

The way you keep a version is to mask all previous and future version, but not the version you want to keep. Eventually, the version you want to keep will be removed from the Portage tree and you'll have to move the ebuild to the local overlay to keep it. I think you can fix this yourself if you'll just adjust you masking.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
ferreirafm
Guru
Guru


Joined: 28 Jul 2005
Posts: 487
Location: Sao Paulo, Brazil

PostPosted: Fri Aug 31, 2012 5:50 pm    Post subject: Reply with quote

Hi John,
I've fixed most of those emerge warnings. However, I've got in troubles after move the gnuplot ebuild to my local overlay.
Code:
 mephisto gnuplot # ebuild gnuplot-4.2.6-r2.ebuild manifest
>>> Downloading 'http://distfiles.gentoo.org/distfiles/gnuplot-4.2.6.tar.gz'
--2012-08-31 12:21:34--  http://distfiles.gentoo.org/distfiles/gnuplot-4.2.6.tar.gz
Resolvendo distfiles.gentoo.org... 64.50.233.100, 64.50.236.52, 137.226.34.42, ...
Conectando-se a distfiles.gentoo.org|64.50.233.100|:80... conectado.
A requisição HTTP foi enviada, aguardando resposta... 404 Not Found
2012-08-31 12:21:35 ERRO 404: Not Found.

>>> Downloading 'http://garr.dl.sourceforge.net/gnuplot/gnuplot-4.2.6.tar.gz'
--2012-08-31 12:21:35--  http://garr.dl.sourceforge.net/gnuplot/gnuplot-4.2.6.tar.gz
Resolvendo garr.dl.sourceforge.net... 193.206.140.34, 2001:760:ffff:b0::34
Conectando-se a garr.dl.sourceforge.net|193.206.140.34|:80... conectado.
A requisição HTTP foi enviada, aguardando resposta... 302 Moved Temporarily
Localização: http://downloads.sourceforge.net/gnuplot/gnuplot-4.2.6.tar.gz?download&failedmirror=garr.dl.sourceforge.net [redirecionando]
--2012-08-31 12:21:36--  http://downloads.sourceforge.net/gnuplot/gnuplot-4.2.6.tar.gz?download&failedmirror=garr.dl.sourceforge.net
Resolvendo downloads.sourceforge.net... 216.34.181.59
Conectando-se a downloads.sourceforge.net|216.34.181.59|:80... conectado.
A requisição HTTP foi enviada, aguardando resposta... 301 Moved Permanently
Localização: http://downloads.sourceforge.net/project/gnuplot/gnuplot/4.2.6/gnuplot-4.2.6.tar.gz?download=&failedmirror=garr.dl.sourceforge.net [redirecionando]
--2012-08-31 12:21:37--  http://downloads.sourceforge.net/project/gnuplot/gnuplot/4.2.6/gnuplot-4.2.6.tar.gz?download=&failedmirror=garr.dl.sourceforge.net
Reaproveitando a conexão existente para downloads.sourceforge.net:80.
A requisição HTTP foi enviada, aguardando resposta... 302 Moved Temporarily
Localização: http://ufpr.dl.sourceforge.net/project/gnuplot/gnuplot/4.2.6/gnuplot-4.2.6.tar.gz [redirecionando]
--2012-08-31 12:21:38--  http://ufpr.dl.sourceforge.net/project/gnuplot/gnuplot/4.2.6/gnuplot-4.2.6.tar.gz
Resolvendo ufpr.dl.sourceforge.net... 200.236.31.2, 2801:82:80ff:8000::3
Conectando-se a ufpr.dl.sourceforge.net|200.236.31.2|:80... conectado.
A requisição HTTP foi enviada, aguardando resposta... 200 OK
Tamanho: 2936753 (2,8M) [application/x-gzip]
Salvando em: “/usr/portage/distfiles/gnuplot-4.2.6.tar.gz”

100%[=======================================>] 2.936.753   2,02M/s   em 1,4s   

2012-08-31 12:21:39 (2,02 MB/s) - “/usr/portage/distfiles/gnuplot-4.2.6.tar.gz” salvo [2936753/2936753]

>>> Downloading 'http://distfiles.gentoo.org/distfiles/gnuplot-4.2.5-lua-term.patch.bz2'
--2012-08-31 12:21:39--  http://distfiles.gentoo.org/distfiles/gnuplot-4.2.5-lua-term.patch.bz2
Resolvendo distfiles.gentoo.org... 156.56.247.195, 216.165.129.135, 64.50.233.100, ...
Conectando-se a distfiles.gentoo.org|156.56.247.195|:80... conectado.
A requisição HTTP foi enviada, aguardando resposta... 404 Not Found
2012-08-31 12:21:40 ERRO 404: Not Found.

>>> Downloading 'http://gentoo.ussg.indiana.edu/distfiles/gnuplot-4.2.5-lua-term.patch.bz2'
--2012-08-31 12:21:40--  http://gentoo.ussg.indiana.edu/distfiles/gnuplot-4.2.5-lua-term.patch.bz2
Resolvendo gentoo.ussg.indiana.edu... 156.56.247.195
Conectando-se a gentoo.ussg.indiana.edu|156.56.247.195|:80... conectado.
A requisição HTTP foi enviada, aguardando resposta... 404 Not Found
2012-08-31 12:21:40 ERRO 404: Not Found.

>>> Downloading 'http://gentoo.osuosl.org/distfiles/gnuplot-4.2.5-lua-term.patch.bz2'
--2012-08-31 12:21:40--  http://gentoo.osuosl.org/distfiles/gnuplot-4.2.5-lua-term.patch.bz2
Resolvendo gentoo.osuosl.org... 140.211.166.134
Conectando-se a gentoo.osuosl.org|140.211.166.134|:80... conectado.
A requisição HTTP foi enviada, aguardando resposta... 404 Not Found
2012-08-31 12:21:41 ERRO 404: Not Found.

>>> Downloading 'http://ftp.halifax.rwth-aachen.de/gentoo/distfiles/gnuplot-4.2.5-lua-term.patch.bz2'
--2012-08-31 12:21:41--  http://ftp.halifax.rwth-aachen.de/gentoo/distfiles/gnuplot-4.2.5-lua-term.patch.bz2
Resolvendo ftp.halifax.rwth-aachen.de... 137.226.34.42
Conectando-se a ftp.halifax.rwth-aachen.de|137.226.34.42|:80... conectado.
A requisição HTTP foi enviada, aguardando resposta... 404 Not Found
2012-08-31 12:21:44 ERRO 404: Not Found.

>>> Downloading 'http://gentoo-distfiles.mirrors.tds.net/distfiles/gnuplot-4.2.5-lua-term.patch.bz2'
--2012-08-31 12:21:44--  http://gentoo-distfiles.mirrors.tds.net/distfiles/gnuplot-4.2.5-lua-term.patch.bz2
Resolvendo gentoo-distfiles.mirrors.tds.net... 216.165.129.135
Conectando-se a gentoo-distfiles.mirrors.tds.net|216.165.129.135|:80... conectado.
A requisição HTTP foi enviada, aguardando resposta... 404 Not Found
2012-08-31 12:21:45 ERRO 404: Not Found.

!!! Couldn't download 'gnuplot-4.2.5-lua-term.patch.bz2'. Aborting.
!!! Fetch failed for gnuplot-4.2.5-lua-term.patch.bz2, can't update Manifest

It seems some gnuplot patches can't be found any more so as I couldn't build the manifest.


EDIT: I've downloaded gnuplot-4.2.5-lua-term.patch.bz2 from somewhere and put it inside of the local overlay directory, but emerge still issues "Couldn't download 'gnuplot-4.2.5-lua-term.patch.bz2'. Aborting.". Any help is appreciated.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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