Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can emerge (non-existent ?) package
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
luismanson
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2005
Posts: 123

PostPosted: Mon Oct 27, 2008 1:26 am    Post subject: can emerge (non-existent ?) package Reply with quote

Hi, can anyone help point me a solution for this:

('kde-base/kamera', '4.0.5', 'r0') ['kde-base/kamera-3.5.9', 'kde-base/kamera-4.0.5', 'kde-base/kamera-4.1.2']
!!! COUNTER file is missing for kde-base/kamera-4.0.5 in /var/db.
!!! Please run /usr/lib64/portage/bin/fix-db.py or
!!! remerge the package.

Vger ~ # emerge -C kamera

kde-base/kamera
selected: 3.5.9 4.0.5 4.1.2
protected: none
omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging kde-base/kamera-4.0.5...
No package files given... Grabbing a set.
('kde-base/kamera', '4.0.5', 'r0') ['kde-base/kamera-3.5.9', 'kde-base/kamera-4.0.5', 'kde-base/kamera-4.1.2']
!!! COUNTER file is missing for kde-base/kamera-4.0.5 in /var/db.
!!! Please run /usr/lib64/portage/bin/fix-db.py or
!!! remerge the package.


Vger ~ # /usr/lib64/portage/bin/fix-db.py
Traceback (most recent call last):
File "/usr/lib64/portage/bin/fix-db.py", line 49, in <module>
vardbdir = root+VDB_PATH+"/"
TypeError: unsupported operand type(s) for +: '_LegacyGlobalProxy' and 'str'


Vger ~ # emerge -C kamera

kde-base/kamera
selected: 3.5.9 4.0.5 4.1.2
protected: none
omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging kde-base/kamera-4.0.5...
No package files given... Grabbing a set.
('kde-base/kamera', '4.0.5', 'r0') ['kde-base/kamera-3.5.9', 'kde-base/kamera-4.0.5', 'kde-base/kamera-4.1.2']
!!! COUNTER file is missing for kde-base/kamera-4.0.5 in /var/db.
!!! Please run /usr/lib64/portage/bin/fix-db.py or
!!! remerge the package.
_________________
La wiki para usuarios novatos en GNU/Linux!
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Mon Oct 27, 2008 4:11 am    Post subject: Reply with quote

luismanson you might trythe last suggection by "emerge", !!! Please run /usr/lib64/portage/bin/fix-db.py or !!! remerge the package.
_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Mon Oct 27, 2008 4:18 am    Post subject: Reply with quote

Also you might try removing the problem db directories
Code:
rm -rf /var/db/pkg/kde-base/{kamera-3.5.9,kamera-4.0.5,kamera-4.1.2}
emerge -1 kamera
Back to top
View user's profile Send private message
luismanson
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2005
Posts: 123

PostPosted: Mon Oct 27, 2008 8:10 pm    Post subject: Reply with quote

hielvc wrote:
luismanson you might trythe last suggection by "emerge", !!! Please run /usr/lib64/portage/bin/fix-db.py or !!! remerge the package.


i already did that, sorry i did not post the emerge part, but you can see the output from the other two commands (in bold)

notHerbert lets try that...
_________________
La wiki para usuarios novatos en GNU/Linux!
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
Page 1 of 1

 
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