Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 254825 - repoman from portage 2.2_rc21 didnt update manifests if Manifest alrady exist
Summary: repoman from portage 2.2_rc21 didnt update manifests if Manifest alrady exist
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 210077 254662
  Show dependency tree
 
Reported: 2009-01-13 13:35 UTC by Alexey Shvetsov
Modified: 2009-01-14 08:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Shvetsov archtester gentoo-dev 2009-01-13 13:35:12 UTC
repoman form portage 2.2._rc21 didnt update manifest if it already exitst
for example if distfiles cahnges ( in my case its kdebase-4.1.4 ) and i want to update manifest then if Manifest exist in ebuilds dir repoman fix or repoman manifets cannot update it
[INFO] Setting paths:                                      
[INFO] PORTDIR = "/usr/portage"                            
[INFO] PORTDIR_OVERLAY = "/home/alexxy/kde"                
[INFO] checking package kde-base/dolphin                   
!!! No write access to '/usr/portage/distfiles'            
!!! Previously fetched file: 'kdebase-4.1.4.tar.bz2'       
!!! Reason: Filesize does not match recorded size          
!!! Got:      4403306                                      
!!! Expected: 4402975                                      
!!! File kdebase-4.1.4.tar.bz2 isn't fetched but unable to get it.
!!! File kdebase-4.1.4.tar.bz2 doesn't exist, can't update Manifest
Unable to generate manifest.
Comment 1 Zac Medico gentoo-dev 2009-01-13 19:54:12 UTC
This is the intended behavior. You can force it to update the digest like this:

  ebuild --force kdebase-4.1.4.ebuild digest

*** This bug has been marked as a duplicate of bug 253856 ***
Comment 2 Zac Medico gentoo-dev 2009-01-13 19:56:04 UTC
Reopening since the error message isn't very good. We can make it better.
Comment 3 Zac Medico gentoo-dev 2009-01-14 01:33:36 UTC
It's fixed in svn r12498 to look like this:

!!! No write access to '/usr/portage/distfiles'
!!! Previously fetched file: 'kdebase-4.1.4.tar.bz2'
!!! Reason: Filesize does not match recorded size
!!! Got:      4403306
!!! Expected: 4402975
!!! File kdebase-4.1.4.tar.bz2 is incorrect size, but unable to retry.
!!! Fetch failed for kdebase-4.1.4.tar.bz2, can't update Manifest
!!! If you would like to forcefully replace the existing Manifest entry
!!! for kdebase-4.1.4.tar.bz2, use the following command:
!!!    ebuild --force kdebase-4.1.4.ebuild manifest
Comment 4 Zac Medico gentoo-dev 2009-01-14 08:39:23 UTC
This is fixed in 2.1.6.6 and 2.2_rc22.